X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-host;fp=ud-host;h=1183aa52c50b3fc0bbb6c7b97113a3fd81fa54b0;hb=b16d5723e935432b9a26699a1c73618e1c35acf4;hp=5ab261732af0a2b78d2ba530ec5674b5e6d52253;hpb=988b89d92fcb60624068681b77f669815f266056;p=mirror%2Fuserdir-ldap.git diff --git a/ud-host b/ud-host index 5ab2617..1183aa5 100755 --- 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=*")