Re: LDAP authentication
От | Fathi Ben Nasr |
---|---|
Тема | Re: LDAP authentication |
Дата | |
Msg-id | 200210241051.g9OApGv05892@smtp.planet.tn обсуждение исходный текст |
Ответ на | LDAP authentication (Richard Ray <rray1@netdoor.com>) |
Список | pgsql-general |
Create a file named postgresql in your /etc/pam.d/ directory with this content #%PAM-1.0 auth required /lib/security/pam_ldap.so #nullok #set_secrpc account required /lib/security/pam_ldap.so and something like this in your pg_hba.conf host all 10.0.0.0 255.0.0.0 pam It worked for me. Unfortunately/fortunatly you have to create each user who will acces the database but this can be done easily (i.e. through a php script on an autheticated web location) Fathi Ben Nasr Tommi Mäkitalo a écrit : > Postgresql supports pam. And there is pam_ldap. I haven't tried out yet. But > I'm sure you need to create users in postgresql. Just authentication comes > through pam. There is no nss_ldap as far as I know. > > Tommi > > Am Mittwoch, 23. Oktober 2002 21:38 schrieb Richard Ray: > > Does anyone know if anyone has tried to use LDAP for authentication? > > The management here is insisting on it. I'll write it from scratch if > > neccassary. Any hints or pointers are appreciated. > > > > Thanks > > Richard > > > > ---------------------------(end of broadcast) --------------------------- > > TIP 2: you can get off all lists at once with the unregister command > > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly (See attached file: smime.p7s)
Вложения
В списке pgsql-general по дате отправления: