Find the answer to your Linux question:
Results 1 to 2 of 2
I have CentOS5.4 running Samba with 15 users. They are running windows XP-Professional Edition. Code: workgroup = satellite domain master = yes domain logons = yes preferred master = yes ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    87

    How do I map drives in Samba?


    I have CentOS5.4 running Samba with 15 users. They are running windows XP-Professional Edition.

    Code:
    workgroup = satellite
    domain master = yes
    domain logons = yes
    preferred master = yes
    logon script = %U.bat
    [netlogon]
    comment = Network Logon Service
    path = /home/netlogon
    guest ok = yes
    writeable = no
    share modes = no
    
    [public]
    path = /home/public
    public = yes
    only guest = yes
    writable = yes
    printable = no
    
    [private]
    path = /home/private
    public = no
    only guest = no
    writable = yes
    printable = no
    
    [shared]
    path = /home/shared
    public = yes
    only guest = yes
    writable = yes
    printable = no
    I turned off SELinux for Samba, started the samba server and rebooted the linux box.

    I added the users and the machine with pdbedit. The only drives that should show up are H: (for home) S: (for shared) P: (for public) and R: (for private). When I test the users, I do no see the drives. How/where am I supposed to set up these specific drive letters?

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,756
    You have listed Windows drive letters - mapping drive letters is done on the Windows client systems.

    A) You can manually map them.
    B) You can use a logon script to map them.

    Google: samba domain controller logon script

    Samba Documentation

Posting Permissions

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