summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2006-03-08 21:29:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:11:08 -0500
commit924be0421772c1a161a8cf300e88748dab25c709 (patch)
tree632c1bf439302e10725a1ed02e079d1876148d67 /source3
parentf27228fc317ec8ad717beee18a0a193650addde9 (diff)
downloadsamba-924be0421772c1a161a8cf300e88748dab25c709.tar.gz
samba-924be0421772c1a161a8cf300e88748dab25c709.tar.bz2
samba-924be0421772c1a161a8cf300e88748dab25c709.zip
r14053: Implement Simo's suggestion: don't use /dev/null for a 'bad' path for
users/workstations (This used to be commit 2690f015be1f7eb9802f652810e73ff5f5688304)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc_samsync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c
index 4d8af2a9ce..3c53b5ebfa 100644
--- a/source3/utils/net_rpc_samsync.c
+++ b/source3/utils/net_rpc_samsync.c
@@ -1158,7 +1158,7 @@ static NTSTATUS populate_ldap_for_ldif(fstring sid, const char *suffix, const ch
fprintf(add_fd, "gidNumber: 514\n");
fprintf(add_fd, "uid: nobody\n");
fprintf(add_fd, "uidNumber: 999\n");
- fprintf(add_fd, "homeDirectory: /dev/null\n");
+ fprintf(add_fd, "homeDirectory: /nobodyshomedir\n");
fprintf(add_fd, "sambaPwdLastSet: 0\n");
fprintf(add_fd, "sambaLogonTime: 0\n");
fprintf(add_fd, "sambaLogoffTime: 2147483647\n");
@@ -1472,7 +1472,7 @@ static NTSTATUS fetch_account_info_to_ldif(SAM_DELTA_CTR *delta, GROUPMAP *group
if (!*homedir) {
pstr_sprintf(homedir, "/home/%s", username);
} else {
- pstr_sprintf(homedir, "/dev/null");
+ pstr_sprintf(homedir, "/nobodyshomedir");
}
}