summaryrefslogtreecommitdiff
path: root/examples/LDAP
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-12-16 18:14:10 +0000
committerJeremy Allison <jra@samba.org>2003-12-16 18:14:10 +0000
commit2ff5ed955566e676e9d683c72e315a13a555b4dd (patch)
treedef0d204552d5d0c95d96a9dec8e4a07caf27369 /examples/LDAP
parent5121bd6edeaecc6e39e17257bfa54358f5b9f468 (diff)
downloadsamba-2ff5ed955566e676e9d683c72e315a13a555b4dd.tar.gz
samba-2ff5ed955566e676e9d683c72e315a13a555b4dd.tar.bz2
samba-2ff5ed955566e676e9d683c72e315a13a555b4dd.zip
Small fix from Jérôme Tournier <jerome.tournier@IDEALX.com>
Jeremy. (This used to be commit 6ce7932520c0e5417e3b8a214a97244d10bdf4ad)
Diffstat (limited to 'examples/LDAP')
-rwxr-xr-xexamples/LDAP/smbldap-tools/smbldap-migrate-accounts.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/LDAP/smbldap-tools/smbldap-migrate-accounts.pl b/examples/LDAP/smbldap-tools/smbldap-migrate-accounts.pl
index 0a66eaaa08..54e4d7f7e3 100755
--- a/examples/LDAP/smbldap-tools/smbldap-migrate-accounts.pl
+++ b/examples/LDAP/smbldap-tools/smbldap-migrate-accounts.pl
@@ -45,8 +45,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"]
]