|
79 |
found_attribs.append(attr) |
79 |
found_attribs.append(attr) |
80 |
if not attribs==[] and not indexes==[]: |
80 |
if not attribs==[] and not indexes==[]: |
81 |
print 'index\t%s %s'%(','.join(attribs),','.join(indexes)) |
81 |
print 'index\t%s %s'%(','.join(attribs),','.join(indexes)) |
82 |
@!@ |
|
|
83 |
|
82 |
|
84 |
limits users time.soft=-1 time.hard=-1 |
83 |
print |
|
|
84 |
for key in configRegistry.keys(): |
85 |
if key.startswith("ldap/limits"): |
86 |
value = configRegistry[key] |
87 |
selector = key.lstrip("ldap/limits") |
88 |
print "limits %s %s" % (selector, value) |
89 |
print |
85 |
|
90 |
|
86 |
@!@ |
|
|
87 |
if configRegistry['ldap/server/type'] == "slave": |
91 |
if configRegistry['ldap/server/type'] == "slave": |
88 |
if configRegistry.is_true("ldap/online/master", True): |
92 |
if configRegistry.is_true("ldap/online/master", True): |
89 |
print 'rootdn\t"cn=update,%s"'%configRegistry['ldap/base'] |
93 |
print 'rootdn\t"cn=update,%s"'%configRegistry['ldap/base'] |