Re: getent passwd not displaying???

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

 



Singh Raina, Ajeet wrote:

Hi,

I have been using the Fedora DS Console for adding users under ou=People, dc=csse, dc=edu, dc=com. Now I have two projects : SMS and Payment.

Under the two project I have group of Users. Now what I did is I created ou=SMS, dc=csse, dc=edu, dc=com and ou =Payment,dc=csse,dc=edu,dc=com.

Now when I am trying # getent passwd <user added under Payment> it is not working.

Can anyone please help me with this. Also. I want is NOT TO give access rights for one project user to access the other one .

If you are adding user's under ou=People, dc=csse, dc=edu, dc=com. , and then creating user's also in ou=sms, dc=csse, dc=edu, dc=com and ou =Payment,dc=csse,dc=edu,dc=com.

You should probably create ou=sms and ou=Payment under ou=people,

For example you should create some thing like this
ou=People, ou=SMS, dc=csse,  dc=edu, dc=com
ou=People,ou=Payment,dc=csse,dc=edu,dc=com.

And then your /etc/ldap.conf should have
nss_base_passwd        ou=People,dc=dc=csse,  dc=edu, dc=com?sub

Or if you want the user's of Ou=People,ou=Payment should only be able to login

then your /etc/ldap.conf should be
nss_base_passwd        ou=People,ou=Payment,dc=dc=csse,  dc=edu, dc=com?one

Regards
Niranjan







Pls Help



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

------------------------------------------------------------------------

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux