summaryrefslogtreecommitdiff
path: root/examples/LDAP/smbldap-tools
diff options
context:
space:
mode:
Diffstat (limited to 'examples/LDAP/smbldap-tools')
-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"]
]