[Samba] linux windows synchronisation account : linux client configuration

2006-06-30 Thread Stephane Durieux

Hello,

I m trying to make unix and linux password synchronisation with samba 
using ldap backend, the only question that remains :


How can I make passwd command use the samba server ?

I have tried pam_smbpass.so librairy  in /etc/pam.d/common-password
but it only works on the samba server not on the linux client.

I have noticed in the documentation it s because synchronisation is made 
in the local smb backend
Besides, when I tried the net rpc password command on the client it 
try to connect to 127.0.0.1.


However I am almost sure that I have already make it work on a client 
but  I can remember how ... Does another pam librairy exist or is 
winbind the only solution


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


Re: [Samba] linux windows synchronisation account : linux client configuration

2006-06-30 Thread Edmundo Valle Neto

Stephane Durieux escreveu:

Hello,

I m trying to make unix and linux password synchronisation with samba 
using ldap backend, the only question that remains :


How can I make passwd command use the samba server ?


You can use the ldap passwd sync = yes option.
With that option the LDAP, NT and LM hashes are synchronized, when 
changed THROUGH SAMBA.





I have tried pam_smbpass.so librairy  in /etc/pam.d/common-password
but it only works on the samba server not on the linux client.




Linux clients can change the passwords using smbldap-passwd.

I have noticed in the documentation it s because synchronisation is 
made in the local smb backend
Besides, when I tried the net rpc password command on the client it 
try to connect to 127.0.0.1.


However I am almost sure that I have already make it work on a client 
but  I can remember how ... Does another pam librairy exist or is 
winbind the only solution


Thanks for reply



Regards.

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


Re: [Samba] linux windows synchronisation account : linux client configuration

2006-06-30 Thread Logan Shaw

On Fri, 30 Jun 2006, Edmundo Valle Neto wrote:

Stephane Durieux escreveu:


I m trying to make unix and linux password synchronisation with samba using 
ldap backend, the only question that remains :


How can I make passwd command use the samba server ?


You can use the ldap passwd sync = yes option.
With that option the LDAP, NT and LM hashes are synchronized, when changed 
THROUGH SAMBA.


I believe the question was how they can make /usr/bin/passwd
cause Samba passwords to be updated.  If a Unix (Linux) user
runs /usr/bin/passwd, it should not change just their Unix
password but should also change their LM and NT passwords.
At least that is the request as I am reading it.

In other words, the request is how to preserve the
/usr/bin/passwd interface that Unix users may be familiar with,
while at the same time not causing that interface to cause
passwords to go out of sync.

Unfortunately, I don't know an answer to that question...

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


Re: [Samba] linux windows synchronisation account : linux client configuration

2006-06-30 Thread simo
On Fri, 2006-06-30 at 11:24 -0500, Logan Shaw wrote:
 On Fri, 30 Jun 2006, Edmundo Valle Neto wrote:
  Stephane Durieux escreveu:
 
  I m trying to make unix and linux password synchronisation with samba 
  using 
  ldap backend, the only question that remains :
  
  How can I make passwd command use the samba server ?
 
  You can use the ldap passwd sync = yes option.
  With that option the LDAP, NT and LM hashes are synchronized, when changed 
  THROUGH SAMBA.
 
 I believe the question was how they can make /usr/bin/passwd
 cause Samba passwords to be updated.  If a Unix (Linux) user
 runs /usr/bin/passwd, it should not change just their Unix
 password but should also change their LM and NT passwords.
 At least that is the request as I am reading it.
 
 In other words, the request is how to preserve the
 /usr/bin/passwd interface that Unix users may be familiar with,
 while at the same time not causing that interface to cause
 passwords to go out of sync.

You can use pam_winbindd

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: [EMAIL PROTECTED]
http://samba.org

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