Re: [Samba] Samba with LDAP Authentication

2012-01-11 Thread Aaron E.

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.

HTH
Steve


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba with LDAP Authentication

2012-01-10 Thread steve

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.

HTH
Steve
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba with LDAP Authentication

2012-01-10 Thread Amit More
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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba