projects
/
mirror
/
userdir-ldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
988b89d
)
Patch by aba: Import the host base dn from the configuration file,
author
joey
<>
Sat, 11 Aug 2007 09:36:42 +0000
(09:36 +0000)
committer
joey
<>
Sat, 11 Aug 2007 09:36:42 +0000
(09:36 +0000)
thus make ud-host useable outside of .debian.org as well
ud-host
patch
|
blob
|
history
diff --git
a/ud-host
b/ud-host
index
5ab2617
..
1183aa5
100755
(executable)
--- a/
ud-host
+++ b/
ud-host
@@
-242,7
+242,7
@@
else:
l = ldap.open(LDAPServer);
l.simple_bind_s("","")
-HBaseDn =
"ou=hosts,dc=debian,dc=org";
+HBaseDn =
HostBaseDn
if ListMode == 1:
Attrs = l.search_s(HBaseDn,ldap.SCOPE_ONELEVEL,"host=*")