|
|
@ -25,7 +25,6 @@ class UserAd: |
|
|
|
self.exists = self.chek_if_exists() |
|
|
|
if not self.exists: |
|
|
|
self.add() |
|
|
|
print self.exists |
|
|
|
self.memberOf = self.check_memberof() |
|
|
|
print self.memberOf |
|
|
|
|
|
|
@ -65,7 +64,7 @@ class UserAd: |
|
|
|
return exc |
|
|
|
else: |
|
|
|
self.sam.transaction_commit() |
|
|
|
self.chek_if_exists() |
|
|
|
self.exists = self.chek_if_exists() |
|
|
|
return False |
|
|
|
|
|
|
|
def set_passwd(self): |
|
|
|