|
|
|
@ -1221,14 +1221,18 @@ This command is not allowed."))
|
|
|
|
|
@adminConnectLdap
|
|
|
|
|
def fullElementMailSambaDNtoText(self, relDN=""):
|
|
|
|
|
"""Выводит все внутренние элементы ветки Samba и Mail в виде текста"""
|
|
|
|
|
return self.fullElementDNtoText(relDN,'(|(|(|(|(|(ou:dn:=Samba)\
|
|
|
|
|
(ou:dn:=Unix))(ou:dn:=LDAP))(ou:dn:=Mail))(!(ou:dn:=Services)))(ou=Services))')
|
|
|
|
|
return self.fullElementDNtoText(relDN,'(&(|(|(|(|(|(ou:dn:=Samba)\
|
|
|
|
|
(ou:dn:=Unix))(ou:dn:=LDAP))(ou:dn:=Mail))(!(ou:dn:=Services)))(ou=Services))\
|
|
|
|
|
(!(|(&(&(ou:dn:=Users)(ou:dn:=Mail))(uid=*))(&(&(ou:dn:=Groups)(ou:dn:=Mail))\
|
|
|
|
|
(cn=*)))))')
|
|
|
|
|
|
|
|
|
|
@adminConnectLdap
|
|
|
|
|
def fullElementMailUnixDNtoText(self, relDN=""):
|
|
|
|
|
"""Выводит все внутренние элементы ветки Unix и Mail в виде текста"""
|
|
|
|
|
return self.fullElementDNtoText(relDN,'(|(|(|(|(ou:dn:=Unix)\
|
|
|
|
|
(ou:dn:=LDAP))(ou:dn:=Mail))(!(ou:dn:=Services)))(ou=Services))')
|
|
|
|
|
return self.fullElementDNtoText(relDN,'(&(|(|(|(|(ou:dn:=Unix)\
|
|
|
|
|
(ou:dn:=LDAP))(ou:dn:=Mail))(!(ou:dn:=Services)))(ou=Services))\
|
|
|
|
|
(!(|(&(&(ou:dn:=Users)(ou:dn:=Mail))(uid=*))(&(&(ou:dn:=Groups)(ou:dn:=Mail))\
|
|
|
|
|
(cn=*)))))')
|
|
|
|
|
|
|
|
|
|
@adminConnectLdap
|
|
|
|
|
def deleteDN(self, relDelDN):
|
|
|
|
|