develop
asamoukin 16 years ago
parent c56b34d46b
commit 258a64d845

@ -4048,6 +4048,9 @@ class servSamba(shareLdap):
elif userPwd and not flagFoundPasswd:
if not self.servUnixObj.modUserUnixPasswd(userName, {}, userPwd):
return False
else:
if not self.servUnixObj.modUserUnixServer(userName, {"V":""}):
return False
if userPwd:
textLine = self.execProg("smbpasswd -a -s %s" %(userName),
"%s\n%s\n" %(userPwd,userPwd))

Loading…
Cancel
Save