authtool should support proper LDAP checking
Bug #107693 reported by
Stephan Buys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Authentication Configuration |
New
|
Undecided
|
Unassigned |
Bug Description
The "LDAP Authentication" method should have a button: fetch DN, that does a:
ldapsearch -h HOSTNAME -x -b '' -s base '(objectclass=*)' namingContexts
This will return the possible naming contexts
A further search can then be done to determine if anonymous queries of the directory is possible (may affect logons)
Lastly a sanity check can be done to see if the necessary attributes for nss_ldap and pam_ldap are available.
To post a comment you must log in.
Support has been added to: https:/ /code.launchpad .net/~stephan- impilinux/ network- authentication/ authtool
This contains code (requires python-ldap) to automatically detect the base_dn