Find the answer to your Linux question:
Results 1 to 9 of 9
Trying to mount a network drive on a windows 2003 server share but all I get is this access denied message: Code: smbmount //sow-sr-003/wikidb /mnt/backup -o username=toryan@cc3-sbhs.internal Password: 4996: session ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    6

    [Samba] trouble mounting windows 2003 shares - Access Denied


    Trying to mount a network drive on a windows 2003 server share but all I get is this access denied message:
    Code:
    smbmount //sow-sr-003/wikidb /mnt/backup -o username=toryan@cc3-sbhs.internal
    Password:
    4996: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
    SMB connection failed
    I've checked the permissions for the share on the windows 2003 server, and the user has full control over the folder. The server name and path are correct, and I'm entering the correct password.

    I have googled for this and come up with many results but nothing that seems to fit. It seems there may be some problem with samba itself, but I don't understand it well enough to diagnose.

    Anyone have any ideas?

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    how about this
    Code:
    smbmount //sow-sr-003/wikidb /mnt/backup -o username=DOMAIN/toryan
    also, do you have mount.cifs, I have better luck with that sometimes.

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Posts
    6
    Quote Originally Posted by jledhead View Post
    how about this
    Code:
    smbmount //sow-sr-003/wikidb /mnt/backup -o username=DOMAIN/toryan
    also, do you have mount.cifs, I have better luck with that sometimes.
    No luck with domain/username, unfortunately, and mount.cifs returns:
    Code:
    sow-wiki:/etc/samba# mount.cifs //sow-sr-003/wikidb /mnt/backup user=cc3-sbhs.internal/toryan
    Password:
    mount error 13 = Permission denied
    Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    are you root, I think only root can mount

  6. #5
    Just Joined!
    Join Date
    Oct 2006
    Posts
    6
    Quote Originally Posted by jledhead View Post
    are you root, I think only root can mount
    Using root terminal so yes.

  7. #6
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    not sure then, this is the command I use
    Code:
     mount.cifs //fqdn/c$ /home/DOMAIN/username/mnt -o username=domain/myusername

  8. #7
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,760
    Windows domains have different security levels depending on their compatibility mode. You will also probably have better luck using the NETBIOS domain name instead of the full ADS name with suffix.

    Code:
    user=cc3-sbhs/toryan

    * I am guessing that the domain netBIOS name is cc3-sbhs

  9. #8
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    try
    Code:
    smbmount //sow-sr-003/wikidb /mnt/backup -o username=toryan,workgroup=cc3-sbhs.internal

  10. #9
    Just Joined!
    Join Date
    Nov 2008
    Location
    Sao Paulo
    Posts
    3

    trouble mounting windows 2003 shares - Access Denied

    Quote Originally Posted by careless_user View Post
    Trying to mount a network drive on a windows 2003 server share but all I get is this access denied message:
    Code:
    smbmount //sow-sr-003/wikidb /mnt/backup -o username=toryan@cc3-sbhs.internal
    Password:
    4996: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
    SMB connection failed
    I successfully mounted some Windows 2003 shares in a Domain environment using this....

    mount.cifs //192.168.0.10/share /mnt/backup -o iocharset=utf8,username=toryan,password=*****,doma in=sbhs.internal,file_mode=0777,dir_mode=0777

    See if you get any lucky.

Posting Permissions

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