Results 1 to 10 of 14
im running win2k and redhat7.2. i went through all the newbie guides but still have a problem trying to log into the windowz box. when i try the smbclient it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-21-2003 #1Just Joined!
- Join Date
- Aug 2002
- Posts
- 26
another samba problem
im running win2k and redhat7.2. i went through all the newbie guides but still have a problem trying to log into the windowz box. when i try the smbclient it says:
Anonymouse login successful
Domain blah blah blah
tree connect failed: ERRDOS - ERRnoaccess (Access Denied)
i did the nmbfind and it shows the windowz, and when i do the smbclient to show the shares all i get is:
Sharename Type Comment
Error returning browse list ERRDOS - ERRnoaccess (Access Denied)
but then shows the server and workgroup info.
Any help would be appreciated.
So basically it wont let me get at the shares so i cant mount it on my linuz box.
- 01-21-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Try nonanonymous logins instead, and see if that works.
- 01-21-2003 #3Just Joined!
- Join Date
- Aug 2002
- Posts
- 26
ok so i got the smbclient working that way by entering the username and password but the smbmount still doesnt work. here is what i got and get:
smbmount /windowz1/temp1 /temp username=blah password=blah
then it asks me for a password again and gives me this error:
session setup failed: ERRDOS - ERRnoccess (Access Denied)
SMB Connection Failed
Any Help Here????
- 01-21-2003 #4Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
i think its smbmount //sever/share /mnt/point -o your,optoins,here
Actually you are supposed to call that from the mount command though.
mount -t smbfs -o user=blah,pass=blah //server/share /mnt/point
- 01-21-2003 #5Just Joined!
- Join Date
- Aug 2002
- Posts
- 26
still nothing, i dont think its a problem with the command im running but more along the lines of the connection. None of the commands u replied with worked either.
- 01-21-2003 #6Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
The syntax for your command was not correct so it won't work. The problem is samba cant resolve your netbios name of your windows box.
mount -t smbfs -o user=blah,pass=blah,ip=ip //server/share /mnt/point
That line will work if its a resolving issue.
- 01-21-2003 #7Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
Wait, are you running 2 seperate machines or dual booting? If you are dual booting you cant use samba to access your windows partition.
mount -t ntfs /dev/hdX /mnt/point
hdX=your windows partition
- 01-21-2003 #8Just Joined!
- Join Date
- Aug 2002
- Posts
- 26
genlee, i did that exact line and it said same thing, session setup failed SMB connection failed. i have allready done this setup at home and have it working, it has to be something with the windows box. i logged the traffic and i send a session request and get a negative session request. it is something with the smb setup between the two boxes.
- 01-21-2003 #9Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
smbclient -L host
That should display all the avail shares on your windows box. Can you paste the output?
- 01-21-2003 #10Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
genlee: That was one of the first things he tried, if you read the first post.
smonice: Can you see if the password is sent encrypted in the net traffic log?



