From: Jamie C. <jca...@we...> - 2012-03-07 02:50:28
|
On 06/Mar/2012 13:08 Jonathan Reed <jre...@gm...> wrote .. > I'm trying to validate my ldap config in webmin but keep getting the error > message "no users found under base". > > I've configured the ldap module, and I can browse the ldap directory from > my configured base. I reckon my config file is correct because i can even > list users and groups on the command line with getent passwd/group from the > same system. I've set the correct search paths and told webmin to search > the entire subtree to find the users and groups. Its funny because when I > use the webmin ldap browser module, I can find all of my users just fine. > Is there some sort of trick to this? > > Authen::PAM is installed at version 0.16 and I'm running centos. I'm able > to ssh into the machine just fine with my ldap credentials as a user, and > my pam file for sshd and webmin are the same. > > My end goal is to have users from ldap or kerberos be able to login to > webmin but I've figured I need to configure my ldap client first before > attempting that. Though if there is an easier way then please let me know. Do the objects in your LDAP database have the posixAccount object class? If not, they won't be recognized by Webmin (or linux) as Unix users.. - Jamie |