ruy.oliveira@mercantil.com.br
2005-Feb-03 18:34 UTC
Res: Re: [Samba] Simple LDAP authentication
OK !! What I should configure in smb.conf in order to use pam_ldap ?? Tanks again !! ---------------------------------------------------------------------------------------- Ruy de Oliveira - Analista de Suporte Mercantil do Brasil S/A Fone: (31) 3489-5960 - Fax: (31) 3489-5001 "Gerald (Jerry) Carter" <jerry@samba.org> 03/02/2005 14:24 Para: ruy.oliveira@mercantil.com.br cc: samba@lists.samba.org Assunto: Re: [Samba] Simple LDAP authentication -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ruy.oliveira@mercantil.com.br wrote: | | I want to authenticate user login to samba with LDAP (NDS in | fact), but I can?t change schema of LDAP (I'am not the NDS manager). | | Can I authenticate user if the BIND to LDAP succed, like | in apache (option AuthONBind) ???? You can use pam_ldap to bind to the server and have smbd use PAM. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCAl4xIR7qMdg1EfYRArIZAJ4o30m/tk4KiAb0M7wLB1xNC7Zc1ACgzgjR ACEeICR4owLw3yuH1xUeDjw=93iw -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ruy.oliveira@mercantil.com.br wrote: | | OK !! | What I should configure in smb.conf in order to use pam_ldap ?? See the Samba-HOW-Collection on build Samba to include--with-pam. The configure /etc/pam.d/samba appropriately. You stil needs uids/gids for user and groups though. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCAnuiIR7qMdg1EfYRAoMXAKC9fZCPEQFlasxyfsi2J+xNVqAeTwCcDNU7 eIrjUO9k2btypM9lEVdL6Uk=Blvg -----END PGP SIGNATURE-----
On Friday 04 February 2005 06:34, ruy.oliveira@mercantil.com.br wrote:> OK !! > What I should configure in smb.conf in order to use pam_ldap ??Why would smb.conf care about pam?> Tanks again !! > --------------------------------------------------------------------------- >------------- Ruy de Oliveira - Analista de Suporte > Mercantil do Brasil S/A > Fone: (31) 3489-5960 - Fax: (31) 3489-5001 > > > > > "Gerald (Jerry) Carter" <jerry@samba.org> > 03/02/2005 14:24 > > > Para: ruy.oliveira@mercantil.com.br > cc: samba@lists.samba.org > Assunto: Re: [Samba] Simple LDAP authentication > > ruy.oliveira@mercantil.com.br wrote: > | I want to authenticate user login to samba with LDAP (NDS in > | fact), but I can?t change schema of LDAP (I'am not the NDS manager). > | > | Can I authenticate user if the BIND to LDAP succed, like > | in apache (option AuthONBind) ???? > > You can use pam_ldap to bind to the server and have > smbd use PAM. > > > > > > > cheers, jerry > ====================================================================> Alleviating the pain of Windows(tm) ------- http://www.samba.org > GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc > "I never saved anything for the swim back." Ethan Hawk in Gattaca-- Tyler R. Retzlaff <rtr@myinternet.com.au> Operational Support Engineer myinternet Limited http://www.myinternet.com.au/