Results 1 to 6 of 6

Thread: File sharing with Samba and Mac

Threaded View

  1. #1
    Join Date
    May 2011
    Beans
    6
    Distro
    Ubuntu 11.04 Natty Narwhal

    File sharing with Samba and Mac

    Hello all, thank you for reading my post. Fresh install of Ubuntu 10.04, I'm trying to share a directory from my Ubuntu 10.04 to a Mac 10.6.8

    I installed the Samba package from the Ubuntu Software Center, then right clicked on my /home/"user"/Music folder and selected the checkbox to share it. I got an alert about changing the permissions to which I agreed, save and exit.

    On my Mac 10.6.8, I can go File > Connect to Server > and enter the ip of my Ubuntu machine. I am asked for a username and password but they are rejected. If I try to log in as a Guest, it first shows me the Music share, but when I try to connect it says Guest Account not allowed.

    I looked in the /etc/samba/smb.conf file and it is not the one being used to share my folder as there is no Music share definition. Neither is the one located in /usr/share/samba.

    If I go to System > Preferences > Personal File Sharing Preferences : It says This feature cannot be enabled because the required packages are not installed.

    Here is the output of: net usershare info

    Code:
    user@computer:~$ net usershare info
    [music]
    path=/home/"user"/Music
    comment=
    usershare_acl=Everyone:F,
    guest_ok=n
    
    user@computer:~$
    And the output of: testparm -s

    Code:
    user@computer:~$ testparm -s
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
    Processing section "[printers]"
    Processing section "[print$]"
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    [global]
        server string = %h server (Samba, Ubuntu)
        map to guest = Bad User
        obey pam restrictions = Yes
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        dns proxy = No
        usershare allow guests = Yes
        panic action = /usr/share/samba/panic-action %d
    
    [printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        printable = Yes
        browseable = No
        browsable = No
    
    [print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers
    user@computer:~$
    So how is the Mac seeing the share? Is there a hidden config file somewhere?


    Stuck here, so thank you for any help with this. Cheers
    Last edited by worldwidejoe; November 26th, 2012 at 03:11 AM.

Tags for this Thread

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
  •