git.samba.org
/
jelmer
/
swat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67ba274
)
fix: the group description was not being saved when the group was first created
author
Ricardo Velhote
<rvelhote@gmail.com>
Tue, 25 May 2010 22:40:25 +0000
(23:40 +0100)
committer
Ricardo Velhote
<rvelhote@gmail.com>
Tue, 25 May 2010 22:40:25 +0000
(23:40 +0100)
swat/controllers/account.py
patch
|
blob
|
history
diff --git
a/swat/controllers/account.py
b/swat/controllers/account.py
index b5c2edb3182e148c0e3098691d6260c6c17e1985..b374a2c87d592a7930f75a3c2e058fadea44ec5a 100644
(file)
--- a/
swat/controllers/account.py
+++ b/
swat/controllers/account.py
@@
-365,12
+365,10
@@
class SAMPipeManager:
def add_group(self, group):
(group_handle, rid) = self.pipe.CreateDomainGroup(self.domain_handle, self.set_lsa_string(group.name), security.SEC_FLAG_MAXIMUM_ALLOWED)
group.rid = rid
- group = self.fetch_group(rid, group)
-
+
self.update_group(group)
group = self.fetch_group(rid, group) # just to make sure we have the updated group properties
-
-
+
self.group_list.append(group)
def update_user(self, user):