develop
asamoukin 16 years ago
parent faada80bdf
commit 6aa20c2b95

@ -1328,7 +1328,7 @@ class servUnix(shareLdap):
except:
self.printERROR(_("GID must be is number") + " ...")
return False
if self.searchGroupGid(gid):
if flagSearchGroups and self.searchGroupGid(gid):
self.printERROR(_("GID is found in") + " /etc/group ...")
return False
if self.searchUnixGid(gid):
@ -1340,7 +1340,6 @@ class servUnix(shareLdap):
if options.has_key('c'):
gecos = options['c']
self.clVars.Set("ur_group_comment",gecos)
ldifFile = self.ldifFileGroup
groupLdif = self.createLdif(ldifFile)
if not groupLdif:

Loading…
Cancel
Save