Find the answer to your Linux question:
Results 1 to 4 of 4
I am trying to access a samba share on my webserver so i can edit files on my computer. How is this done? I have setup the samba server to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790

    Samba share


    I am trying to access a samba share on my webserver so i can edit files on my computer. How is this done? I have setup the samba server to only allow one user (me) to access it. Now, i wanna mount this share on my pc at login, how is this done? I have added an extra line in my fstab saying:
    Code:
    //server1/webserver  /mnt/server          smbfs      defaults,rw,user=root 0 0
    But when i try to mount it as root it sez:
    Code:
    2620: session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
    SMB connection failed
    Anyone know what's wrong?
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  2. #2
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    You need to add your workgroup, username and password like so

    //192.168.0.1/home /mnt/home smbfs workgroup=MY_WORKGROUP,username=my_username,passwo rd=my_password,user 0 0

  3. #3
    Just Joined!
    Join Date
    Feb 2004
    Location
    Calgary Alberta
    Posts
    19
    THANK YOU GIRO!!!!!!
    I have been fighting with this FOREVER!!!
    I didn't know there was a workgroup option.
    now I can finally automount this stuff at startup

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    This still doesn't work. I (for some reason) can't even acceses the share through samba now!
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

Posting Permissions

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