Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: Samba share

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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:
    //server1/webserver  /mnt/server          smbfs      defaults,rw,user=root 0 0
    But when i try to mount it as root it sez:
    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
    You need to add your workgroup, username and password like so

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

  3. #3
    Just Joined!
    Join Date
    Feb 2004
    Calgary Alberta
    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
  5. #4
    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