Hi all together, all answers to my first posting didn't help to solve my problem. Maybe this can help you. When I'm doing: smbclient -L MYLINUX -U MYUSER I get the following message: Added interface ip=195.90.254.xxx broadcast=295.90.254.255 nmask=255.255.255.0 Password: <enter password for myuser> Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 2.0.5a] Tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password in Tree connect or Session setup is invalid.) And that's what in log.smb: [1999/10/07 10:59:12, 0] smbd/uid.c:become_gid(105) Couldn't set effective gid to 65534 currently set to (real=0,eff=0) [1999/10/07 10:59:12, 0] smbd/uid.c:become_gid(107) Looks like your OS doesn't like high gid values - try using a different [1999/10/07 10:59:12, 0] smbd/service.c:make_connection(463) Can't become connected user! I'm using Samba 2.0.5a on SuSE Linux 6.0 (Kernel 2.0.36). MYLINUX is a member of MYDOMAIN. If I'm doing smbclient -L MYWINNT -U MYUSER I get back the list of shares on MYWINNT. MYUSER is a Linux user and is in /etc/smbpasswd. As far as I know gid 65534 belongs to "nobody", so MYUSER is not envolved yet. Thanks in advance... Mit freundlichen Gr??en, das pixelconcept Team i.A. Jens Rieck ________________________________________________________________ P I X E L C O N C E P T GmbH * K?nigsplatz 36A * 34117 Kassel Tel.: 0561/789845-0 * Fax 0561/789845-19 * www.pixelconcept.de
Jens Rieck wrote:> > When I'm doing: smbclient -L MYLINUX -U MYUSER > I get the following message: > > Added interface ip=195.90.254.xxx broadcast=295.90.254.255 > nmask=255.255.255.0 > Password: <enter password for myuser> > Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 2.0.5a] > Tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password in > Tree connect or Session setup is invalid.) > > And that's what in log.smb: > > [1999/10/07 10:59:12, 0] smbd/uid.c:become_gid(105) > Couldn't set effective gid to 65534 currently set to (real=0,eff=0) > [1999/10/07 10:59:12, 0] smbd/uid.c:become_gid(107) > Looks like your OS doesn't like high gid values - try using a different > [1999/10/07 10:59:12, 0] smbd/service.c:make_connection(463) > Can't become connected user! > > > As far as I know gid 65534 belongs to "nobody", so MYUSER is not > envolved yet.Right. But I bet you have guest account = nobody, which is used to get a sharelist (smbclient -L) from the server. You are asked for a password of MYUSER, but nevertheless the sharelist is retrieved as guest. It's all clearly stated in the logs! Cheers, Michal
Hi, we had exactly the same problem. It seems the binary version of samba that comes with SuSE 6.0 has been compiled on the wrong kernel. Just recompile it from the sources on the production kernel without smbmount (configure --without-smbmount), and you should be ok. cheers Alain Rassel Jens Rieck wrote:> > Hi all together, > > all answers to my first posting didn't help to solve my > problem. > > Maybe this can help you. > > When I'm doing: smbclient -L MYLINUX -U MYUSER > I get the following message: > > Added interface ip=195.90.254.xxx broadcast=295.90.254.255 > nmask=255.255.255.0 > Password: <enter password for myuser> > Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 2.0.5a] > Tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password in > Tree connect or Session setup is invalid.) > > And that's what in log.smb: > > [1999/10/07 10:59:12, 0] smbd/uid.c:become_gid(105) > Couldn't set effective gid to 65534 currently set to (real=0,eff=0) > [1999/10/07 10:59:12, 0] smbd/uid.c:become_gid(107) > Looks like your OS doesn't like high gid values - try using a different > [1999/10/07 10:59:12, 0] smbd/service.c:make_connection(463) > Can't become connected user! > > I'm using Samba 2.0.5a on SuSE Linux 6.0 (Kernel 2.0.36). MYLINUX > is a member of MYDOMAIN. If I'm doing smbclient -L MYWINNT -U MYUSER > I get back the list of shares on MYWINNT. MYUSER is a Linux user > and is in /etc/smbpasswd. > > As far as I know gid 65534 belongs to "nobody", so MYUSER is not > envolved yet. > > Thanks in advance... > > Mit freundlichen Gr??en, > das pixelconcept Team > > i.A. Jens Rieck > ________________________________________________________________ > P I X E L C O N C E P T GmbH * K?nigsplatz 36A * 34117 Kassel > Tel.: 0561/789845-0 * Fax 0561/789845-19 * www.pixelconcept.de
Maybe Matching Threads
- Tree connect failed: ERRSRV - ERRbadpw
- SAMBA digest 2259
- SAMBA digest 2259 / Tree connect failed: ERRSRV - ERRbadpw
- smbmount and session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.
- I am getting "sessionsetup failed: ERRSRV - ERRbadpw (...)