|
|
|
@ -5123,7 +5123,7 @@ class servLdap(shareLdap):
|
|
|
|
|
def removeLdapDatabase(self):
|
|
|
|
|
"""Удаляем предыдущую базу данных"""
|
|
|
|
|
self.execProg("rm -rf /var/lib/openldap-data/*")
|
|
|
|
|
self.printOK(_("Removed previous LDAP Database") + " ...")
|
|
|
|
|
self.printOK(_("Erased LDAP Database") + " ...")
|
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
def connectLdapServer(self):
|
|
|
|
@ -5342,30 +5342,30 @@ class cl_ldap(shareLdap):
|
|
|
|
|
'helpChapter':_("Common options"),
|
|
|
|
|
'help':_("display this help and exit")
|
|
|
|
|
},
|
|
|
|
|
{'progAccess':(6,),
|
|
|
|
|
'longOption':"help-ldap",
|
|
|
|
|
{'longOption':"help-jabber",
|
|
|
|
|
'helpChapter':_("Common options"),
|
|
|
|
|
'help':_("display help for LDAP service options")
|
|
|
|
|
'help':_("display help for Jabber service options")
|
|
|
|
|
},
|
|
|
|
|
{'longOption':"help-unix",
|
|
|
|
|
{'longOption':"help-all",
|
|
|
|
|
'helpChapter':_("Common options"),
|
|
|
|
|
'help':_("display help for Unix service options")
|
|
|
|
|
'help':_("display help for all services options")
|
|
|
|
|
},
|
|
|
|
|
{'longOption':"help-samba",
|
|
|
|
|
{'progAccess':(6,),
|
|
|
|
|
'longOption':"help-ldap",
|
|
|
|
|
'helpChapter':_("Common options"),
|
|
|
|
|
'help':_("display help for Samba service options")
|
|
|
|
|
'help':_("display help for LDAP service options")
|
|
|
|
|
},
|
|
|
|
|
{'longOption':"help-mail",
|
|
|
|
|
'helpChapter':_("Common options"),
|
|
|
|
|
'help':_("display help for Mail service options")
|
|
|
|
|
},
|
|
|
|
|
{'longOption':"help-jabber",
|
|
|
|
|
{'longOption':"help-samba",
|
|
|
|
|
'helpChapter':_("Common options"),
|
|
|
|
|
'help':_("display help for Jabber service options")
|
|
|
|
|
'help':_("display help for Samba service options")
|
|
|
|
|
},
|
|
|
|
|
{'longOption':"help-all",
|
|
|
|
|
{'longOption':"help-unix",
|
|
|
|
|
'helpChapter':_("Common options"),
|
|
|
|
|
'help':_("display help for all services options")
|
|
|
|
|
'help':_("display help for Unix service options")
|
|
|
|
|
},
|
|
|
|
|
{'progAccess':(0,),
|
|
|
|
|
'shortOption':"f",
|
|
|
|
|