[Samba] Samba with LDAP Authentication

Aaron E. ssureshot at gmail.com
Wed Jan 11 06:40:56 MST 2012

Check out SASL library's

On 01/10/2012 04:35 PM, steve wrote:
> On 01/10/2012 09:50 PM, Amit More wrote:
>> Hello All,
>> I want to authenticate existing LDAP users to samba shares. From what
>> i have been reading, it seems like there are two ways to achieve this
>> 1. Configure samba to use plaintext passwords (encrypt passwords = no
>> in smb.conf) and configure clients to send unencrypted passwords.
>> 2. Use smbpasswd utility to add users. Using this utility the user's
>> samba password will be different from the LDAP password.
>> I don't want to use plaintext authentication so cannot use the first
>> method described here. I also want the samba password to be the same
>> as the LDAP password and must be in sync.
>> Is there anyway to achieve this? Can anyone please point me in the
>> right direction? I would really appreciate your help.
>> Thanks,
>> Amit
> Hi. We have a one password solution like you describe running on
> openSUSE. There is a good howto here:
> http://digiplan.eu.org/ldap-samba-howto-v4.html
> It may get you started at least.
> Steve

More information about the samba mailing list