Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / sysutils / smbldap-tools / patches / patch-ae
blobfa1bff4017b273dbcf98d7719f827baf6b703da4
1 $NetBSD$
3 --- smbldap-populate.orig       2008-04-22 17:13:29.000000000 +0900
4 +++ smbldap-populate
5 @@ -214,7 +214,7 @@ uidNumber: $adminUidNumber\n";
6         $userHome=~s/\%U/$adminName/;
7         $entries.="homeDirectory: $userHome\n";
8      } else {
9 -       $entries.="homeDirectory: /dev/null\n";
10 +       $entries.="homeDirectory: /nonexistent\n";
11      }
12      $entries.="sambaPwdLastSet: 0
13  sambaLogonTime: 0
14 @@ -240,7 +240,7 @@ sambaLMPassword: XXX
15  sambaNTPassword: XXX
16  sambaAcctFlags: [U          ]
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
24  gidNumber: 514
25  uid: $guestName
26  uidNumber: $guestUidNumber
27 -homeDirectory: /dev/null
28 +homeDirectory: /nonexistent
29  sambaPwdLastSet: 0
30  sambaLogonTime: 0
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}
40  objectClass: top