Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
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.
  1. #1
    Just 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.

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Try nonanonymous logins instead, and see if that works.

  3. #3
    Just 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????

  4. $spacer_open
    $spacer_close
  5. #4
    Linux 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

  6. #5
    Just 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.

  7. #6
    Linux 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.

  8. #7
    Linux 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

  9. #8
    Just 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.

  10. #9
    Linux 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?

  11. #10
    Linux 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?

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •