AdminUser again, not User
[mirror/userdir-ldap.git] / ud-userimport
index fceaf4e..90a8de6 100755 (executable)
@@ -241,7 +241,7 @@ for (switch, val) in options:
 # Main program starts here
 
 # Connect to the ldap server
-l = passwdAccessLDAP(LDAPServer, BaseDn, User)
+l = passwdAccessLDAP(LDAPServer, BaseDn, AdminUser)
 
 if (Passwd != ""):
    DoPasswd(l,Passwd);