Re: [Samba] unix password sync = yes, did not sync unix passwd

2006-09-18 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/12/2006 03:38 AM, beast escreveu:
 I'm not sure when the last time I run smbpasswd to change the user
 password, however when I run it only change NT and LM hash attribute,
 not the unix passwd attributes.
 
 smb.conf:
 ...
   passdb backend = ldapsam:ldap://127.0.0.1;
   unix password sync = yes
   passwd program = /usr/local/sbin/passwd.pl %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
 *passwd:*all*authentication*tokens*updated*successfully*

Are you using LDAP? What about using 'ldap passwd sync'?


 However it was working find (able to change unix as well as NT password)
 when I run from Windows client, such as:
 c:\ net user example testonly /domain
 
 This is incorrect, at least per (surprise) pdbedit documentation:
  Note
 
  pdbedit does not call the unix password syncronisation
 script if
  unix password sync has been set. It only updates the data
 in the
  Samba user database.
 
  If you wish to add a user and synchronise the password
 that  im-
  mediately, use smbpasswd's -a option.
 
 Ver: samba-3.0.20b
 
 
 --beast

Kind regards,

- --
Felipe Augusto van de Wiel [EMAIL PROTECTED]
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFFDqC8Cj65ZxU4gPQRAsLuAKCnRec3ktz9sDhNi0B6EX9Wti+13ACdHiyO
19OZ8FjG8iF2f5J+dDoyVUc=
=oz+1
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] unix password sync = yes, did not sync unix passwd

2006-09-12 Thread beast
I'm not sure when the last time I run smbpasswd to change the user 
password, however when I run it only change NT and LM hash attribute, 
not the unix passwd attributes.


smb.conf:
...
  passdb backend = ldapsam:ldap://127.0.0.1;
  unix password sync = yes
  passwd program = /usr/local/sbin/passwd.pl %u
  passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*


However it was working find (able to change unix as well as NT password) 
when I run from Windows client, such as:

c:\ net user example testonly /domain

This is incorrect, at least per (surprise) pdbedit documentation:
 Note

 pdbedit does not call the unix password syncronisation 
script if
 unix password sync has been set. It only updates the data 
in the

 Samba user database.

 If you wish to add a user and synchronise the password 
that  im-

 mediately, use smbpasswd's -a option.

Ver: samba-3.0.20b


--beast


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