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.
On Tue, Dec 29, 2009 at 4:47 PM, Carlos Santana <neubyr at gmail.com> 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: >I would start at reading the following information: http://wiki.samba.org/index.php/Samba_&_LDAP http://samba.org/samba/docs/man/Samba-Guide/happy.html John
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