Re: I have a problem about nsswitch.conf

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

 



左程立 wrote:

>Hello,everybody,
>
> 
>
>         I have configed LDAP Server on RedhatAS4, and config Redhat9 as a
>LDAP Client.
>
>         And I config /etc/pam.d/sshd use ldap, then I can login LDAP client
>via ssh.
>
>         Then I config /etc/nsswitch.conf on LDAP client below:
>
>                  Passwd: ldap files
>
>                   Shadow: ldap files
>
>                   Group: ldap files
>
> 
>
>         And then for test:
>
>         I new add a account ‘test’ that just exist LDAP database. Uid is
>1003
>
>         
>
>         [zuochengli@xxxxxxxxxxxxxxxxxxx home]$ touch /tmp/test
>
>         [zuochengli@xxxxxxxxxxxxxxxxxxx home]$ sudo chown 1003 /tmp/test
>
>         [zuochengli@xxxxxxxxxxxxxxxxxxx home]$ ls ?l /tmp/test
>
>         -rw-rw-r--    1  1003     zuochengli        0 Sep 26 21:21
>/tmp/test
>
>         
>
>         Client don’t find information via LDAP Server.
>
>         
>
>         What I need to do and then the Client can find information via LDAP
>Sever?
>
>         Any advice?
>
>         Thanks!!!
>
> 
>
> 
>
>MSN:zuochengli@xxxxxxxxxxx
>Tel:+86-10-58602288-6293
>FAX:+86-10-64315872,64312801
>
>欢迎访问 www.elong.com
>艺龙网信息技术(北京)有限公司
>
>地址:北京市朝阳区酒仙桥中路10号星科大厦B座三层 100021
>
> 
>
>  
>
On your client box redha, try authconfig command and select ldap options.

Use "getent passwd" command, you should get all of the users' information.

Good luck.

Allen Chen.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux