3 --- smbldap-populate.orig 2008-04-22 17:13:29.000000000 +0900
5 @@ -214,7 +214,7 @@ uidNumber: $adminUidNumber\n";
6 $userHome=~s/\%U/$adminName/;
7 $entries.="homeDirectory: $userHome\n";
9 - $entries.="homeDirectory: /dev/null\n";
10 + $entries.="homeDirectory: /nonexistent\n";
12 $entries.="sambaPwdLastSet: 0
14 @@ -240,7 +240,7 @@ sambaLMPassword: XXX
17 sambaSID: $config{SID}-$adminrid
18 -loginShell: /bin/false
19 +loginShell: /sbin/nologin
20 gecos: Netbios Domain Administrator
22 dn: uid=$guestName,$config{usersdn}
23 @@ -256,7 +256,7 @@ objectClass: shadowAccount
26 uidNumber: $guestUidNumber
27 -homeDirectory: /dev/null
28 +homeDirectory: /nonexistent
31 sambaLogoffTime: 2147483647
32 @@ -282,7 +282,7 @@ sambaNTPassword: NO PASSWORDXXXXXXXXXXXX
33 # account disabled by default
34 sambaAcctFlags: [NUD ]
35 sambaSID: $config{SID}-2998
36 -loginShell: /bin/false
37 +loginShell: /sbin/nologin
39 dn: cn=Domain Admins,$config{groupsdn}