|
From: Jonathan R. <jre...@gm...> - 2012-03-07 22:39:31
|
users are being mapped using nss_ldap in ldap.conf with: nss_map_objectclass posixAccount user so the linux system operates fine with that directive. Though if I understand you right, the perl module doesnt do mapping like this? Do the objects in your LDAP database have the posixAccount object class? No. This unfortunately is Active Directory. I had already extended the schema prior to this, and I suppose the adding of this object class gets left out. Even adding posixAccount with ldifde has posed some difficulties today. On Tue, Mar 6, 2012 at 9:49 PM, Jamie Cameron <jca...@we...> wrote: > 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 > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > |