I have got it. It works now. The problem actually lies with the passwd
chat line. This applies to Mandrake Distro.
[global]
..
preferred master = yes
logon script = netlogon.bat
passwd chat = *New*UNIX*password* %n\n
*Retype*new*UNIX*password* %n
*passwd:all*authentication*tokens*updated*successfully*
security = user
...
Just wanted to share with you ppl.
Cheers
Elliot
-----Original Message-----
From: Lim Swee Tat [mailto:st_lim@eXtropia.com]
Sent: Wednesday, September 18, 2002 12:03 PM
To: Elliot
Subject: Re: [slugnet] Cannot change password!!!
Hiya Elliot,
I'm sorry, but I dun think you attached it at all. Which email client
are you using?? Outlook or Outlook Express?? Either way, I think it's
better if you try another method of attaching a file.
Ciao
ST Lim
>
> On [Wed, Sep 18, 2002 at 10:37:39AM +0800], Elliot
> <elliot.williams@mutualinterest.com.sg> wrote:
> > From: "Elliot" <elliot.williams@mutualinterest.com.sg>
> > To: "'Lim Swee Tat'" <st_lim@stlim.net>
> > Subject: RE: [slugnet] Cannot change password!!!
> > Date: Wed, 18 Sep 2002 10:37:39 +0800
> >
> > > > <elliot.williams@mutualinterest.com.sg> wrote:
> > > > > From: "Elliot"
<elliot.williams@mutualinterest.com.sg>
> > > > > To: <samba@lists.samba.org>
> > > > > Cc: <slugnet@lists.lugs.org.sg>
> > > > > Date: Tue, 17 Sep 2002 15:43:10 +0800
> > > > > Subject: [slugnet] Cannot change password!!!
> > > > >
> > > > > Hi guys.. I need your help.
> > > > >
> > > > >
> > > > > I have managed to setup samba as a pdc for my windows
clients
> > > > > to connect to it.. They are all using w2k
proffesional.it
> > > > > seems that i cannot change my password from my w2k
> > > > > professional client
> > > > when using
> > > > > samba as a pdc
> > > > >
> > > > > .... can anyone pls help me??????????
> > > > >
> > > > > it keeps saying that old password is wrong .. when if
fact
> > > > it is not.
> > > > > This Is my smb.conf .. I am running samba 2.2.5 with
linux
> > > > > mandrake 8.2
> > > > >
> > > > >
> > > > >
> > > > > [global]
> > > > > path = /home
> > > > > log file = /var/log/samba-log.
> > > > > domain master = yes
> > > > > add user script = /usr/sbin/useradd -d
/dev/null -g
> > > > > 100 -s
> >
> > > > > /bin/false -M %$
> > > > > encrypt passwords = yes
> > > > > logon path = \\%L\profiles\%U
> > > > > socket options = TCP_NODELAY IPTOS_LOWDELAY
> SO_RCVBUF=8192
> > > > > max log size = 50
> > > > > hosts allow = 192.168.1.
> > > > > preferred master = yes
> > > > > logon script = netlogon.bat
> > > > > smb passwd file =
/usr/local/samba/private/smbpasswd
> > > > > passwd chat = *new password*%n\n *new
password*%n\n
> > > > *changed*
> > > > > passwd chat debug = false
> > > > > passwd program = /usr/bin/passwd %u
> > > > > unix password sync = true
> > > > > null passwords = yes
> > > > > security = user
> > > > > domain logons = yes
> > > > > log level = 2
> > > > > workgroup = domain_sg
> > > > > server string = Samba PDC running %v
> > > > > local master = yes
> > > > > netbios name = aries
> > > > > logon drive = H:
> > > > > os level = 33
> > > > > logon home = \\%L\%U/.profile
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >