Can anyone help me? I have Samba 2.0.5a running on SuSE Linux 6.0 (2.0.36) and Windows NT Server 4.0 SP4 (PDC). When I try to do a "smbclient -L MYUNIX" (according to the trouble shooting guide) I get the following message: Addes interface ip=195.90.254.xxx bcast=195.90.254.255 nmask=255.255.255.0 Password: Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 2.0.5a] tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalied.) I added my Linux machine to the NT Domain, and even if I try to do "smbclient -L MYUNIX -U myuser" and enter the correct password, I get this error message. But if I do "smbclient -L MYWINNT -U myuser", I get the list of shares on the NT machine. "myuser" is a regular user in Linux. What can be the reason of this? Any idea? 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 Global parameters [global] workgroup = MYDOMAIN netbios name = MYLINUX interfaces = 195.90.254.xxx/255.255.255.0 security = DOMAIN password server = MYWINNT wins support = no wins server = 195.90.254.xxx guest account = nobody [sicherung] comment = Sicherung path = /var/log read only = No writeable = Yes browseable = Yes public = Yes guest ok = Yes
On Mon, 4 Oct 1999, Jens Rieck wrote:> I have Samba 2.0.5a running on SuSE Linux 6.0 (2.0.36) and > Windows NT Server 4.0 SP4 (PDC). > > When I try to do a "smbclient -L MYUNIX" (according to the trouble > shooting guide) I get the following message: > > Addes interface ip=195.90.254.xxx bcast=195.90.254.255 nmask=255.255.255.0 > Password: > Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 2.0.5a] > tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in > a Tree Connect or Session Setup are invalied.) > > I added my Linux machine to the NT Domain, and even if I try > to do "smbclient -L MYUNIX -U myuser" and enter the correct > password, I get this error message. But if I do "smbclient > -L MYWINNT -U myuser", I get the list of shares on the NT > machine. "myuser" is a regular user in Linux. > > What can be the reason of this? Any idea?Try: smbclient -L MYUNIX -N For me that always works when asking a samba server, and almost never to a NT machine. I have no idea why (but when it becomes important to me maybe I'll go find out why :) Samba uses the PDC to check valid usernames (& passwords) when security is set to domain. At least that is what my little test shows: cola:~/tmp>smbclient -L server -Ulocal_server_user Password: <local_password> session setup failed: ERRSRV - ERRbadpw cola:~/tmp>smbclient -L server -Uadministrator Password: <domain password> Sharename Type Comment ... /Urban
We're using an RS6000 w/ Win95 clients and only wanting to authenticate through our NT PDC. We don't want to use the matching username/pswd at the AIX level...if their network login passes the PDC and provided they belong to the proper workgroup, they should be able to map). When I run through the diagnostic steps and issue "smbclient //testsrv/ads" (I didn't actually use quotes in the command), I get the following: added interface ip=192.168.200.349 bcast=192.168.200.255 nmask=255.255.255.0 Password: Anonymous login successful Domain=[ATEX] OS=[Unix] Server=[Samba 2.2.2] tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) testsrv{root}# Our smb.conf is as follows: [global] workgroup = ATEX dns proxy = yes security = domain encrypt passwords = yes password server = * netbios name = testsrv [ads] read only = no path = /ads Does anyone have an idea what we're doing wrong? Thanks for any assistance. Darin DeCounter Atex Assistant System Administrator Las Vegas Review-Journal 702-387-5230 ddecounter@reviewjournal.com
We're using an RS6000 w/ Win95 clients and only wanting to authenticate through our NT PDC. We don't want to use the matching username/pswd at the AIX level...if their network login passes the PDC and provided they belong to the proper workgroup, they should be able to map (is it even possible to do this?). When I run through the diagnostic steps and issue "smbclient //testsrv/ads" (I didn't actually use quotes in the command), I get the following: added interface ip=192.168.200.349 bcast=192.168.200.255 nmask=255.255.255.0 Password: Anonymous login successful Domain=[ATEX] OS=[Unix] Server=[Samba 2.2.2] tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) testsrv{root}# Our smb.conf is as follows: [global] workgroup = ATEX dns proxy = yes security = domain encrypt passwords = yes password server = * netbios name = testsrv [ads] read only = no path = /ads Does anyone have an idea what we're doing wrong? Thanks for any assistance. Darin DeCounter Atex Assistant System Administrator Las Vegas Review-Journal 702-387-5230 ddecounter@reviewjournal.com
Apparently Analagous Threads
- Tree connect failed: ERRSRV - ERRbadpw (2nd try)
- SAMBA digest 2259 / Tree connect failed: ERRSRV - ERRbadpw
- SAMBA digest 2259
- 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 (...)