Lines Matching refs:basedn
457 def search(self, basedn, criteria, attributes, scope=ldap.SCOPE_SUBTREE):
460 :param str base: basedn of ldap server
470 result = self.conn.search_s(basedn, ldap.SCOPE_SUBTREE,
492 def posix_user(self, org_unit, basedn, user_attr):
495 :param str basedn: Base dn ('dc=example,dc=test')
540 user_dn = 'uid=%s,%s,%s' % (uid, org_unit, basedn)
547 def posix_group(self, org_unit, basedn, group_attr):
550 :param str basedn: Base dn ('dc=example,dc=test')
564 group_dn = 'cn=%s,%s,%s' % (group_cn, org_unit, basedn)
569 def enable_autofs_schema(self, basedn):
572 :param str basedn: base dn of the ldap server
611 nisMapName: auto.home""") % (basedn, basedn, basedn, basedn, basedn, basedn)