Re: [Samba] Is smbpasswd against windows 2003 server working?

2003-11-21 Thread Tim Jordan
Andrew, what is a good way to troubleshoot winbind?  I can login using
w2k domain accts, I can use w2k domain groups on shares, but I can't
seem to use a domain account on a share:

[test]
path = /test
valid users = BUZZ
write list = BUZZ

The user on the windows client is promted for credentials but nothing
works
Please advise,
Tim

On Thu, 2003-11-20 at 19:42, 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)
 
 Andrew Bartlett
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Is smbpasswd against windows 2003 server working?

2003-11-21 Thread Vandeir Eduardo
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



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


[Samba] Is smbpasswd against windows 2003 server working?

2003-11-20 Thread Vandeir Eduardo
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.

Thanks.

__
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

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


Re: [Samba] Is smbpasswd against windows 2003 server working?

2003-11-20 Thread Andrew Bartlett
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)

Andrew Bartlett


-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba