Parent Directory | Revision Log | Patch
revision 339 by boklm, Wed Nov 17 15:13:07 2010 UTC | revision 340 by misc, Sat Nov 20 11:52:54 2010 UTC | |
---|---|---|
# | Line 9 try: | Line 9 try: |
9 | except ImportError, e: | except ImportError, e: |
10 | print "Please install python-ldap before running this program" | print "Please install python-ldap before running this program" |
11 | sys.exit(1) | sys.exit(1) |
12 | <% | |
dc_suffix = 'dc=' + domain.gsub('.',',dc=') | ||
%> | ||
13 | basedn="<%= dc_suffix %>" | basedn="<%= dc_suffix %>" |
14 | peopledn="ou=people,%s" % basedn | peopledn="ou=people,%s" % basedn |
15 | uris=['ldap://ldap.<%= domain %>'] | uris=['ldap://ldap.<%= domain %>'] |
|
ViewVC Help | |
Powered by ViewVC 1.1.30 |