Find the answer to your Linux question:
Results 1 to 6 of 6
ok guys im so close i can taste it i set up samba and im trying to acces from windows xp. i can see the drive if i go to ...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    13

    samba help

    ok guys im so close i can taste it i set up samba and im trying to acces from windows xp. i can see the drive if i go to run and type the ip adress but when i click on the share i get an error that says "sharename" in this case "sam is not accessible" you might not have permission under this network resource. so how do i give myself permissions. I have followed several tutorials tried different types of set up , restart of samba and what not. but still nothing. What im missing??? im so frustuated. I should mentioned that i have been at this for 3 days now and still cant get it to work.
    i have red hat linux 5.1 and window xp proffesional.
    Any help would be must appreciated.
    Thanks
    Miguel

  2. #2
    Just Joined!
    Join Date
    Nov 2010
    Posts
    13
    1. Is "sam" a user on the linux machine?
    2. Did you add "sam" as a samba user (smbpasswd)?
    3. Is "sam" a user on the Windows machine?

    Can we inspect your /etc/samba/smb.conf file?

  3. #3
    Just Joined!
    Join Date
    Dec 2010
    Posts
    13
    Quote Originally Posted by JoelIT View Post
    1. Is "sam" a user on the linux machine?
    2. Did you add "sam" as a samba user (smbpasswd)?
    3. Is "sam" a user on the Windows machine?

    Can we inspect your /etc/samba/smb.conf file?
    sam is the name of the share drive or folder. the user miguel83 is the username and password im using
    here is the smb.conf file.
    im sining in to samba as miguel83 and password.
    [sam]
    comment = sambaDrive
    path = /home/miguel83/Desktop/Server/sam
    writeable = yes
    ; browseable = yes
    guest ok = yes

  4. #4
    Just Joined!
    Join Date
    Nov 2010
    Posts
    13
    Have you added miguel83 as a samba user (smbpasswd)?
    Do you have the line security = user in your [global] section?

  5. #5
    Just Joined!
    Join Date
    Dec 2010
    Posts
    13
    Quote Originally Posted by JoelIT View Post
    Have you added miguel83 as a samba user (smbpasswd)?
    Do you have the line security = user in your [global] section?
    I have. in fact i can see the share drives in windows xp i can but when i click on them i get this error

    \\new-host\sam is not accessible. you might not have permission to this network resource.

    the network cannot be found.

    if i log onto linux machine i get this same error.

    IN FACT when i run net view from windows box i get this



    Share name Type Used as Comment

    -------------------------------------------------
    homes Disk Home Directories
    jamintel Disk Home Directories
    sam Disk sambaDrive
    The command completed successfully.

  6. #6
    Just Joined!
    Join Date
    Nov 2010
    Posts
    13
    try adding the line valid users = %S
    if that doesn't work change that to valid users = miguel83

Posting Permissions

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