Browse Source

Added ld_services_dn in ldif file.

tags/3.5.0_alpha1
Самоукин Алексей 10 years ago
parent
commit
9dd20ff118
2 changed files with 5 additions and 2 deletions
  1. +1
    -2
      ldif/base.ldif
  2. +4
    -0
      pym/cl_ldap_service.py

+ 1
- 2
ldif/base.ldif View File

@@ -6,7 +6,7 @@ dc: #-ld_base_root-#
o: Calculate Directory Server

# Services
dn: ou=Services,#-ld_base_dn-#
dn: #-ld_services_dn-#
objectClass: top
objectClass: organizationalUnit
ou: Services
@@ -28,4 +28,3 @@ objectClass: person
objectClass: top
description: LDAP Proxy User
userPassword: #-ld_bind_hash-#


+ 4
- 0
pym/cl_ldap_service.py View File

@@ -237,3 +237,7 @@ class ldapService(shareVars, shareldap):
self.clVars.Write("sr_ldap_set","on",force=True)
self.printOK(_("LDAP service configured") + " ...")
return True
def printVars(self, *arg, **argv):
"""Печать существующих переменных"""
self.clVars.printVars(*arg, **argv)

Loading…
Cancel
Save