[Samba] Is smbpasswd against windows 2003 server working?

Vandeir Eduardo vanedu at inf.furb.br
Sat Nov 22 00:02:14 GMT 2003


On Fri, 21 Nov 2003, Andrew Bartlett wrote:

> On Fri, 2003-11-21 at 13:24, Vandeir Eduardo wrote:
> > Hi guys,
> >
> > me again. Please, I would like to know if this is a bug/
> > incompatibility with windows 2003 server.
> > I would like that someone that has accounts stored on windows
> > 2003 server make a test and try to change a password of one of
> > those users from a linux box using smbpasswd -r <w2k3_host> -U username.
> > For me it always complains about invalid username or password.
> > This work if I change a password of an user account stored on
> > a NT server, but not 2003 server.
> > Or anyone know another way to change an user password stored
> > on windows 2003 server from a linux box?
> >
> > I'm deseperate and would appreciate any hint.
>
> It is quite possible that they are not fully compatible, given some of
> the new 'security settings' that Win2k3 PDCs use by default.  In
> particular, smbpasswd -U -r uses a 'null session', which is defeated by
> 'restrict anonymous'.
>
> A kerberos password change might still work, and pam_winbind is
> certainly a good option (Samba 3.0)

No matter what I do smbpasswd doesn't work. So, following you sugestion,
I configured krb5.conf and tried kpasswd. It worked! Phew... Now I can
continue to migrate NT to w2k3.

Thanks for the tip!

__________________________________________
Vandeir Eduardo (CCNA)
Laboratório de Computação e Informática (LCI) - Campus IV
Fundacao Universidade Regional de Blumenau (FURB)
Rua Braz Wanka, 238 - CEP: 89.035-160 - Blumenau (SC)
Blumenau, SC, Brasil.
Fone: +55 (047) 321-7819 - Fax: 321-7802






More information about the samba mailing list