$NetBSD: patch-ae,v 1.1.1.1 2008/06/16 16:04:25 taca Exp $ --- smbldap-populate.orig 2008-04-22 17:13:29.000000000 +0900 +++ smbldap-populate @@ -214,7 +214,7 @@ uidNumber: $adminUidNumber\n"; $userHome=~s/\%U/$adminName/; $entries.="homeDirectory: $userHome\n"; } else { - $entries.="homeDirectory: /dev/null\n"; + $entries.="homeDirectory: /nonexistent\n"; } $entries.="sambaPwdLastSet: 0 sambaLogonTime: 0 @@ -240,7 +240,7 @@ sambaLMPassword: XXX sambaNTPassword: XXX sambaAcctFlags: [U ] sambaSID: $config{SID}-$adminrid -loginShell: /bin/false +loginShell: /sbin/nologin gecos: Netbios Domain Administrator dn: uid=$guestName,$config{usersdn} @@ -256,7 +256,7 @@ objectClass: shadowAccount gidNumber: 514 uid: $guestName uidNumber: $guestUidNumber -homeDirectory: /dev/null +homeDirectory: /nonexistent sambaPwdLastSet: 0 sambaLogonTime: 0 sambaLogoffTime: 2147483647 @@ -282,7 +282,7 @@ sambaNTPassword: NO PASSWORDXXXXXXXXXXXX # account disabled by default sambaAcctFlags: [NUD ] sambaSID: $config{SID}-2998 -loginShell: /bin/false +loginShell: /sbin/nologin dn: cn=Domain Admins,$config{groupsdn} objectClass: top