[389-users] Help Needed -----Linux Ldap Client machine unable to login Fedors DS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hakuna Matata a ?crit :
> This is what it is returning....
>
> i guess i have to rebuild the client with CentOS 5.2 (though i have no
> reason but still).....
>
>   
not sure
I did a mistake about ldapsearch so I resume the situation :

You have a client Centos 5.3 with ip adress : 192.168.5.4
You have a server FDS with ip adress : 192.168.5.1
You have a user in FDS test01 with dn: 
cn=test01,ou=Users,dc=vfds,dc=local with uid = t01, uid number = 2223, 
gid = 2223, home dir = /home/test and login shell= /bin/test

You want to log in with user test01 on the client station through the 
FDS server

So you check the configuration of the client :
/etc/nsswitch is correct
/etc/ldap.conf is correct
/etc/pam.d/system-auth is correct
/etc/pam.d/login is correct
you can ping from client to server and vice-versa

ok now you have to check the server side, this can be done with the 
tools ldapsearch, from the client you make a request with ldapsearch to 
get the information from the FDS server
But before this, I didn't see your misconfiguration of the user test01 
in the attribute login shell = /bin/test . I see it just now.
This attribute must be a valid shell on the client i.e /bin/bash or 
/bin/sh or what else you want but a valid shell, I don't think that 
/bin/test permit you to log in the client (on centos5.3 the program 
/bin/test doesn't exist !!)

thus the first thing you can do is to change the attribute login shell 
from /bin/test to /bin/bash
then try to login  the station with user t01.

For further verification of the server side you can do a request 
ldapsearch :

ldapsearch  -x  -h 192.168.5.1    -b "dc=vfds,dc=local"  'uid=t01'
and show the output











[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux