i tried in the smb.conf [global] unyx password sinc = yes pam password change = yes obey pam restrictions = yes and have compiled samba with pam support (im using redhat 7.2 and samba 2.2.2 rpm version from ftp.samba.org for redhat) if i logon in my linux box (telnet or ssh) with user xxx i have a message displayed "Warning you password expire in xx (5) days" if i put in /etc/shadow the correct value again in ssh or telnet i see "Your password has expired" and the change password appear but if i logon with a win98/Me workstation to my SMB PDC 1) in the case i have xx days for change password i login normally but no message appear 2) if my password expire by ssh or telnet , by SMB login from win98 dont let me saying my password is incorrect. from i know when this is set from a NT PDC SERVER the win98 must be supplied the change password message and let me change it.. but using samba i cant.. any idea?? thx -------------- next part -------------- HTML attachment scrubbed and removed
sorry.. it was a typo in the email transciption... in smb.conf doing testparm its all OK! ............ ----- Original Message ----- From: "Steve" <steve@videogroup.com> To: "Ariel Mella" <ariel@jusbaires.gov.ar> Sent: Wednesday, October 31, 2001 11:50 AM Subject: Re: password expire in samba PDC> Maybe if you try 'unix password sync' it might work better. > > On Wednesday 31 October 2001 09:20, you wrote: > > i tried in the smb.conf > > [global] > > unyx password sinc = yes > > pam password change = yes > > obey pam restrictions = yes > > > > and have compiled samba with pam support (im using redhat 7.2 and samba > > 2.2.2 rpm version from ftp.samba.org for redhat) if i logon in my linuxbox> > (telnet or ssh) with user xxx i have a message displayed "Warning you > > password expire in xx (5) days" if i put in /etc/shadow the correctvalue> > again in ssh or telnet i see "Your password has expired" and the change > > password appear but if i logon with a win98/Me workstation to my SMBPDC> > 1) in the case i have xx days for change password i login normally butno> > message appear 2) if my password expire by ssh or telnet , by SMB login > > from win98 dont let me saying my password is incorrect. from i know when > > this is set from a NT PDC SERVER the win98 must be supplied the change > > password message and let me change it.. but using samba i cant.. anyidea??> > thx > > ---------------------------------------- > Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1" > Content-Transfer-Encoding: quoted-printable > Content-Description: > ---------------------------------------- > > -- > > Steve Szmidt > V.P. Information > Video Group Distributors, Inc. >
> Ariel Mella wrote: > > i tried in the smb.conf > [global] > unyx password sinc = yes > pam password change = yes > obey pam restrictions = yes > > and have compiled samba with pam support (im using redhat 7.2 and > samba 2.2.2 rpm version from ftp.samba.org for redhat) > if i logon in my linux box (telnet or ssh) with user xxx i have a > message displayed "Warning you password expire in xx (5) days" > if i put in /etc/shadow the correct value again in ssh or telnet i see > "Your password has expired" and the change password appear > but if i logon with a win98/Me workstation to my SMB PDC > 1) in the case i have xx days for change password i login normally but > no message appearThere is no support for this in the Win9X series of clients, Sorry.> 2) if my password expire by ssh or telnet , by SMB login from win98 > dont let me saying my password is incorrect. > from i know when this is set from a NT PDC SERVER the win98 must be > supplied the change password message and let me change it.. but using > samba i cant.. > any idea?? > thxThe upcoming Samba 3.0 will return a more interesting error code, but I'm not sure the Win9X client has the capacity to deal with it in any case. Are you saying that it works with an NT PDC for a Win9X cleint? Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Samba Team member, Build Farm maintainer abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net