Lines Matching refs:machinename
613 static int set_machine_info(const char *machinename,
627 len = strlen(machinename);
644 if (machinename[len-1] == '$') {
645 name = talloc_strdup(sam_pwent, machinename);
647 name = talloc_asprintf(sam_pwent, "%s$", machinename);
804 static int new_machine(const char *machinename, char *machine_sid)
817 len = strlen(machinename);
836 compatpwd = talloc_strdup(tosctx, machinename);
842 if (machinename[len-1] == '$') {
843 name = talloc_strdup(tosctx, machinename);
846 name = talloc_asprintf(tosctx, "%s$", machinename);
933 static int delete_machine_entry(const char *machinename)
938 if (strlen(machinename) == 0) {
949 if (machinename[strlen(machinename)-1] != '$') {
950 name = talloc_asprintf(samaccount, "%s$", machinename);
952 name = machinename;