* [gentoo-user] LDAP with no privileged login
@ 2006-10-12 15:50 Leandro Melo de Sales
2006-10-12 16:39 ` Pawel Kraszewski
0 siblings, 1 reply; 2+ messages in thread
From: Leandro Melo de Sales @ 2006-10-12 15:50 UTC (permalink / raw
To: gentoo-user
Hi list,
I'm configured a LDAP server to be used as a users database. Now, I
want to setup linux box clients to auth against LDAP server. I
installed ldap-pam and ldap-nss. In /etc/ldap.conf file I have to
inform rootdn password. What is the best way to do this since the
configuration file has to be readable to all. I think that use
privileged login in this situation (even if I use /etc/ldap.secret
file) is dangerous. So, should I created a LDAP user just to be used
as a rootdn login? how can I create a nonprivileged login?
Thank you,
Leandro.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] LDAP with no privileged login
2006-10-12 15:50 [gentoo-user] LDAP with no privileged login Leandro Melo de Sales
@ 2006-10-12 16:39 ` Pawel Kraszewski
0 siblings, 0 replies; 2+ messages in thread
From: Pawel Kraszewski @ 2006-10-12 16:39 UTC (permalink / raw
To: gentoo-user
Dnia czwartek, 12 października 2006 17:50, Leandro Melo de Sales napisał:
> I'm configured a LDAP server to be used as a users database. Now, I
> want to setup linux box clients to auth against LDAP server. I
> installed ldap-pam and ldap-nss. In /etc/ldap.conf file I have to
> inform rootdn password. What is the best way to do this since the
> configuration file has to be readable to all. I think that use
> privileged login in this situation (even if I use /etc/ldap.secret
> file) is dangerous. So, should I created a LDAP user just to be used
> as a rootdn login? how can I create a nonprivileged login?
1. You create user in LDAP tree _outside_ ou=people tree
2. Set password for it and disable shell login (just in case)
3. Tell ldap-nss to use this user as binddn= with pass bindpw=
4. Allow owner of the record (logged-on user) to change his/her password
--
Pawel Kraszewski
www.kraszewscy.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-12 16:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12 15:50 [gentoo-user] LDAP with no privileged login Leandro Melo de Sales
2006-10-12 16:39 ` Pawel Kraszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox