[Samba] smbldap-tools updates (diffs)
Chew, Darren
darrenc at vicscouts.asn.au
Sat Sep 20 06:45:17 GMT 2003
Hi all,
I have found the smbldap-tools provided in the samba 3 tarball to have a
few glitches with the samba 3 schema. I have made my changes and 'diffed'
them with the source.
root at localhost # pwd
/usr/local/samba/sbin
root at localhost # for i in *.p*; do echo $i; diff $i
/usr/local/src/samba-3.0.0rc4/examples/LDAP/smbldap-tools/$i; done
smbldap-groupadd.pl
smbldap-groupdel.pl
smbldap-groupmod.pl
1,2d0
< #!/usr/bin/perl
<
smbldap-groupshow.pl
smbldap-migrate-accounts.pl
45,46c45,46
< sambaLMPassword: $lmpwd
< sambaNTPassword: $ntpwd
---
> lmpassword: $lmpwd
> ntpassword: $ntpwd
smbldap-migrate-groups.pl
smbldap-passwd.pl
smbldap-populate.pl
119c119
< objectClass: sambaSamAccount
---
> objectClass: sambaSAMAccount
146c146
< objectClass: sambaSamAccount
---
> objectClass: sambaSAMAccount
smbldap-useradd.pl
275c275
< objectClass: sambaSamAccount
---
> objectClass: sambaSAMAccount
smbldap-userdel.pl
smbldap-usermod.pl
smbldap-usershow.pl
smbldap_conf.pm
smbldap_tools.pm
In summary the ones changed included:
smbldap-populate.pl:
changed sambaSAMAccount to sambaSamAccount (two instances)
smbldap-useradd.pl
changed sambaSAMAccount to sambaSamAccount (one instance)
smbldap-migrate-accounts.pl
changed lmpassword to sambaLMPassword
changed ntpassword to sambaNTPassword
Have fun.
Darren
More information about the samba
mailing list