diff options
author | Gerald Carter <jerry@samba.org> | 2004-01-06 14:40:35 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-01-06 14:40:35 +0000 |
commit | db21c4e3367a6a987eca1df1629b4ff92350a348 (patch) | |
tree | 0e604a7df66ec74f6a10d6352d10da06d33e38f3 /examples/LDAP/smbldap-tools/smbldap-useradd.pl | |
parent | 18a4994e922f18a9912e7f895552548b566afa8b (diff) | |
download | samba-db21c4e3367a6a987eca1df1629b4ff92350a348.tar.gz samba-db21c4e3367a6a987eca1df1629b4ff92350a348.tar.bz2 samba-db21c4e3367a6a987eca1df1629b4ff92350a348.zip |
fix case in objectclass name (not that it really matters); patch from Darren Chew <darrenc@vicscouts.asn.au>
(This used to be commit 86e0015b06eb9590a6a3e64cb4fe5a88a9f156c2)
Diffstat (limited to 'examples/LDAP/smbldap-tools/smbldap-useradd.pl')
-rwxr-xr-x | examples/LDAP/smbldap-tools/smbldap-useradd.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/LDAP/smbldap-tools/smbldap-useradd.pl b/examples/LDAP/smbldap-tools/smbldap-useradd.pl index 9d90e4ec9a..918bd4a4f6 100755 --- a/examples/LDAP/smbldap-tools/smbldap-useradd.pl +++ b/examples/LDAP/smbldap-tools/smbldap-useradd.pl @@ -208,7 +208,7 @@ if (defined($tmp = $Options{'w'})) { if (!$with_smbpasswd) { # (jtournier) - # Objectclass sambaSAMAccount is now added directly by samba when joigning the domain (for samba3) + # Objectclass sambaSamAccount is now added directly by samba when joigning the domain (for samba3) #if (!add_samba_machine_mkntpwd($userName, $userUidNumber)) { # die "$0: error while adding samba account\n"; #} @@ -312,7 +312,7 @@ if (defined($Options{'a'})) { my $modify = $ldap_master->modify ( "uid=$userName,$usersdn", changes => [ - add => [objectClass => 'sambaSAMAccount'], + add => [objectClass => 'sambaSamAccount'], add => [sambaPwdLastSet => "$valpwdlastset"], add => [sambaLogonTime => '0'], add => [sambaLogoffTime => '2147483647'], |