Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 4 of 4
  1. #1
    Airbrush is offline Registered User
    Join Date
    Nov 2001
    Location
    Stockholm
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Howto change sharing root for samba

    We got a server running OSX 10.3 (Not server) and I "want" to share a folder on our external RAID to our PCīs. But I canīt figur out how to change the root to that folder. The Built-in smb "on/off" does only share the home catalouge.
    Is this even possible to change?

  2. #2
    symphonix's Avatar
    symphonix is offline Scratch & Sniff Committee
    Join Date
    Jul 2001
    Location
    The Australian Jungles
    Posts
    4,025
    Thanks
    2
    Thanked 6 Times in 5 Posts
    Yes, I think it is in the Samba.conf file in /etc/ folder, though I'm not at my Mac at the moment so I can't confirm that.
    - iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
    - Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white

  3. #3
    dlloyd's Avatar
    dlloyd is offline Official Pianist
    Join Date
    Dec 2002
    Location
    At a keyboard. One or the other.
    Posts
    2,978
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If it's called smb.conf, yes there is. But I don't see anything in there about a path, at least, nothing uncommented.
    < Also Known As aeromusek in places >

    < PowerBook | 1.67GHz | 1024MB RAM | 120GB | 17" High Res >
    < iPod | 20GB | 3rd gen >


    "the show must go on" - the artists of the world

  4. #4
    symphonix's Avatar
    symphonix is offline Scratch &amp; Sniff Committee
    Join Date
    Jul 2001
    Location
    The Australian Jungles
    Posts
    4,025
    Thanks
    2
    Thanked 6 Times in 5 Posts
    That's right, you can edit the smb.conf file directly to create extra shares, and so on.
    For detailed info, go to http://samba.org/

    For a general guide though, I'm pretty sure you can just uncomment one of the example lines and modify it a bit to share any point on your filesystem.

    Check this example from the Samba docco (under smb.conf) ...

    The following sample section defines a file space share. The user has write access to the path /home/bar. The share is accessed via the share name “foo”:

    Example 1.

    [foo]
    path = /home/bar
    read only = read only = no
    - iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
    - Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white

 

 

Bookmarks

Posting Permissions

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