smbldap-tools problems
Jérôme Tournier
jerome.tournier at idealx.com
Tue Dec 16 09:35:15 GMT 2003
Le Mon, Dec 15, 2003 at 02:02:03AM -0300, Rodrigo Henriquez M. a ecrit:
> I'm using pwdump2 to extract the user passwords and information from
> the AD. It works fine.
You should better used vampire now !
Anyway, you'll find a patch for smbldap-migrate-accounts.pl. This script
was not maintained anymore because vampire is the better way for
migrating.
I don't have any NT4 server here. If you still have problems, can you
send me a dump, so i can find what is wrong ?
Thanks :)
--
Jérôme Tournier IDEALX SAS
Administrateur Systèmes 15-17 Avenue de Segur
jerome.tournier at IDEALX.com 75007 PARIS
Tel.: 01 44 42 00 53 Fax.: 01 44 42 00 01
gpg key ID: 0xDA962B24 (pgp.mit.edu)
-------------- next part --------------
--- smbldap-migrate-accounts.pl.orig 2003-12-16 10:29:17.000000000 +0100
+++ smbldap-migrate-accounts.pl 2003-12-16 10:30:05.000000000 +0100
@@ -47,8 +47,8 @@ sub modify_account
my $ldap_master=connect_ldap_master();
my $modify = $ldap_master->modify ("uid=$login,$basedn",
changes => [
- replace => [lmpassword => "$lmpwd"],
- replace => [ntpassword => "$ntpwd"],
+ replace => [sambaLMPassword => "$lmpwd"],
+ replace => [sambaNTpassword => "$ntpwd"],
replace => [gecos => "$gecos"],
replace => [sambaHomePath => "$homedir"]
]
More information about the samba-technical
mailing list