Hi, I hope someone can help me. I've configured samba on 2 machines now, 1st machine ok, but the 2nd one have problems. Same samba settings and versions. When I tried to access the samba server folder at the network neighbourhood, I got this error: "The server is not configured for transactions" Hence I went to check the DIAGNOSIS.txt file and did the tests ..... they passed except test4, in which I did "smbclient //SERVER/tmp", it asked me for password, when I input the root password it said "session setup failed:ERRSRV - ERRbadpw (Bad passwd - /name/password pair in a tree Connect or Session setup are invalid" I've created SERVER in the NT server and also did "smbpasswd -j <domain> -r <nt_server>" earlier in fact redid it before restarting samba daemons. Thanks in advance, Chen Kee Chuan email:kc.chen@net-linx.com.my
Hi, You should add root (and any other users that will access the shares) to the smbpasswd database. Logged on as root, do 'smbpasswd -a', enter your password twice and it should be done. For other users, you can type 'smbpasswd -a username' (as long as the username exists in the unix passwd database first). cheers Gustavo> -----Original Message----- > From: Chen Kee Chuan [mailto:kc.chen@net-linx.com.my] > Sent: ter?a-feira, 25 de setembro de 2001 04:52 > To: samba@samba.org > Subject: unable to access folder > > > Hi, > > I hope someone can help me. I've configured samba on 2 > machines now, 1st > machine ok, but the 2nd one have problems. Same samba > settings and versions. > > When I tried to access the samba server folder at the network > neighbourhood, > I got this error: "The server is not configured for transactions" > Hence I went to check the DIAGNOSIS.txt file and did the > tests ..... they > passed except test4, in which I did "smbclient > //SERVER/tmp", it asked me > for password, when I input the root password it said "session setup > failed:ERRSRV - ERRbadpw (Bad passwd - /name/password pair in > a tree Connect > or Session setup are invalid" > > I've created SERVER in the NT server and also did "smbpasswd > -j <domain> -r > <nt_server>" earlier in fact redid it before restarting samba daemons. > > Thanks in advance, > > > Chen Kee Chuan > email:kc.chen@net-linx.com.my > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Hello, I guess you are using domain authentication. How does your smb.conf look like? Are there entries like: security = domain encrypt passwords = yes password server = * Also, while adding domain users to the smbpasswd database you shouldn't enter any password, just hit enter twice. What is the result of 'smbclient -L hostname'? (run as root, using the root password when asked) cheers Gustavo> -----Original Message----- > From: Chen Kee Chuan [mailto:kc.chen@net-linx.com.my] > Sent: ter?a-feira, 25 de setembro de 2001 23:12 > To: Michels, Gustavo [EES/BR]; samba@samba.org > Subject: RE: unable to access folder > > > Hi Gustavo, > > Thanks, I tried smbpasswd -a (root and a few users names), > works well, and > created text in the smbpasswd file, but still could not > access the folder > with same error message. Also restarted the smb daemons, and > redid created > SERVER in the NT server and also did "smbpasswd -j <domain> > -r <nt_server>" > earlier in fact redid it before restarting samba daemons. > Strangely still no effect. > > Appreciate any further ideas, > > Thanks again, > Chen > > -----Original Message----- > From: Michels, Gustavo [EES/BR] > [mailto:gustavo.michels@emersonenergy.com] > Sent: Tuesday, September 25, 2001 7:28 PM > To: Chen Kee Chuan; samba@samba.org > Subject: RE: unable to access folder > > > Hi, > > You should add root (and any other users that will access the > shares) to the > smbpasswd database. Logged on as root, do 'smbpasswd -a', enter your > password twice and it should be done. For other users, you can type > 'smbpasswd -a username' (as long as the username exists in > the unix passwd > database first). > > cheers > Gustavo > > > -----Original Message----- > > From: Chen Kee Chuan [mailto:kc.chen@net-linx.com.my] > > Sent: ter?a-feira, 25 de setembro de 2001 04:52 > > To: samba@samba.org > > Subject: unable to access folder > > > > > > Hi, > > > > I hope someone can help me. I've configured samba on 2 > > machines now, 1st > > machine ok, but the 2nd one have problems. Same samba > > settings and versions. > > > > When I tried to access the samba server folder at the network > > neighbourhood, > > I got this error: "The server is not configured for transactions" > > Hence I went to check the DIAGNOSIS.txt file and did the > > tests ..... they > > passed except test4, in which I did "smbclient > > //SERVER/tmp", it asked me > > for password, when I input the root password it said "session setup > > failed:ERRSRV - ERRbadpw (Bad passwd - /name/password pair in > > a tree Connect > > or Session setup are invalid" > > > > I've created SERVER in the NT server and also did "smbpasswd > > -j <domain> -r > > <nt_server>" earlier in fact redid it before restarting > samba daemons. > > > > Thanks in advance, > > > > > > Chen Kee Chuan > > email:kc.chen@net-linx.com.my > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > >
Hi again Gustavo, I tried 'smbclient -L hostname' without the password and I got this.... Anonymous login successful Domain=[nt server] OS=[Unix] Server=[Samba 2.2.0] tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) regards, Chen -----Original Message----- From: Sent: Thursday, September 27, 2001 9:46 AM To: 'Michels, Gustavo [EES/BR]'; 'samba@lists.samba.org' Subject: RE: unable to access folder Hi Gustavo, here's the entry of my smb.conf [global] workgroup = <workgroup> security = server password server = <nt server> encrypt passwords = yes smb passwd file = /etc/smbpasswd session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) I got the error above when I tried to run 'smbclient -L hostname' which is odd... I'm not sure where else to check. Hope to hear from you soon, Thanks again, Chen -----Original Message----- From: Michels, Gustavo [EES/BR] [mailto:gustavo.michels@emersonenergy.com] Sent: Wednesday, September 26, 2001 8:17 PM To: Chen Kee Chuan; samba@lists.samba.org Subject: RE: unable to access folder Hello, I guess you are using domain authentication. How does your smb.conf look like? Are there entries like: security = domain encrypt passwords = yes password server = * Also, while adding domain users to the smbpasswd database you shouldn't enter any password, just hit enter twice. What is the result of 'smbclient -L hostname'? (run as root, using the root password when asked) cheers Gustavo> -----Original Message----- > From: Chen Kee Chuan [mailto:kc.chen@net-linx.com.my] > Sent: ter?a-feira, 25 de setembro de 2001 23:12 > To: Michels, Gustavo [EES/BR]; samba@samba.org > Subject: RE: unable to access folder > > > Hi Gustavo, > > Thanks, I tried smbpasswd -a (root and a few users names), > works well, and > created text in the smbpasswd file, but still could not > access the folder > with same error message. Also restarted the smb daemons, and > redid created > SERVER in the NT server and also did "smbpasswd -j <domain> > -r <nt_server>" > earlier in fact redid it before restarting samba daemons. > Strangely still no effect. > > Appreciate any further ideas, > > Thanks again, > Chen > > -----Original Message----- > From: Michels, Gustavo [EES/BR] > [mailto:gustavo.michels@emersonenergy.com] > Sent: Tuesday, September 25, 2001 7:28 PM > To: Chen Kee Chuan; samba@samba.org > Subject: RE: unable to access folder > > > Hi, > > You should add root (and any other users that will access the > shares) to the > smbpasswd database. Logged on as root, do 'smbpasswd -a', enter your > password twice and it should be done. For other users, you can type > 'smbpasswd -a username' (as long as the username exists in > the unix passwd > database first). > > cheers > Gustavo > > > -----Original Message----- > > From: Chen Kee Chuan [mailto:kc.chen@net-linx.com.my] > > Sent: ter?a-feira, 25 de setembro de 2001 04:52 > > To: samba@samba.org > > Subject: unable to access folder > > > > > > Hi, > > > > I hope someone can help me. I've configured samba on 2 > > machines now, 1st > > machine ok, but the 2nd one have problems. Same samba > > settings and versions. > > > > When I tried to access the samba server folder at the network > > neighbourhood, > > I got this error: "The server is not configured for transactions" > > Hence I went to check the DIAGNOSIS.txt file and did the > > tests ..... they > > passed except test4, in which I did "smbclient > > //SERVER/tmp", it asked me > > for password, when I input the root password it said "session setup > > failed:ERRSRV - ERRbadpw (Bad passwd - /name/password pair in > > a tree Connect > > or Session setup are invalid" > > > > I've created SERVER in the NT server and also did "smbpasswd > > -j <domain> -r > > <nt_server>" earlier in fact redid it before restarting > samba daemons. > > > > Thanks in advance, > > > > > > Chen Kee Chuan > > email:kc.chen@net-linx.com.my > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > >