[Samba] LDAP and samba

Ryan Suarez ryan.suarez at sheridanc.on.ca
Tue Dec 29 15:17:39 MST 2009


Carlos Santana wrote:
> Hi,
>
> I am not sure how to configure LDAP authentication with samba. I have
> a windows box, which is part of Active Directory domain and does user
> authentication against it. I would like to use same user credentials
> and map them to a appropriate network drive (linux home dirs). In
> short, Linux user's home dir should be available on Windows box also.
>
> I looked at the smb.conf man page, but I couldn't figure out how to
> configure LDAP. I have following doubts:
>
> 1. I see passdb option in Standalone Server and Domain Member options.
> Which one should be used / what is the significance of each option?
>
> 2. Some sample configurations have specified 'ldap admin dn' and
> smbpasswd while configuring LDAP for samba. I am assuming it is not
> required for LDAP anonymous bind. Please correct me if I am wrong.
>
> Thanks,
> CS.
>   

Ideally, you'd also want your linux machine as a member of your AD 
domain and use Winbind for user credentials.

http://samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html
 


More information about the samba mailing list