[Samba] unable to change passwd from win XP--solved
Steve Glasser
steve at fpig.net
Mon Sep 25 20:03:52 GMT 2006
On Monday 25 September 2006 11:01, Steve Glasser wrote:
> On Saturday 23 September 2006 04:24, Rory Vieira wrote:
> > Steve,
> >
> > On 9/22/06, Steve Glasser <steve at fpig.net> wrote:
> > > Hi list,
> > >
> > > # sync smb passwords with linux passwords
> > > unix password sync = yes
> >
> > Ok, I have this line...
> >
> > > passwd program = /usr/bin/passwd %u
> > > passwd chat = *new*password* %n\n*Re-enter*new*password* %n\n
> > > *Password*changed*
> > > passwd chat debug = yes
> >
> > I don't have this stuff though,
> > I DO have an additional line:
> >
> > pam password change = yes
> >
> > which works for me :)
> >
> > Hope this helps,
>
> This works on my test boxen, which are windows xp pro and ubuntu dapper
> server, samba v 3.0.22. However on my production server (mandriva 2006
> samba v 3.0.20) I get a message "you do not have permission to change your
> password".
>
> I assume this is related to pam; where do I start looking?
>
> Thanks, Steve
OK, problem fixed,
For mandriva to allow passwd changes from windows clients, you need
1. pam password change = yes
2. password chat = *new*password* %n\n*Re-enter*new*password* %n\
*Password*changed* (to change the unix passwd, no?)
This allows windows users to change both the samba and unix passwords from
windows.
Thanks everyone
Steve G
More information about the samba
mailing list