Thread: File sharing with Samba and Mac
hello all, thank reading post. fresh install of ubuntu 10.04, i'm trying share directory ubuntu 10.04 mac 10.6.8
installed samba package ubuntu software center, right clicked on /home/"user"/music folder , selected checkbox share it. got alert changing permissions agreed, save , exit.
on mac 10.6.8, can go file > connect server > , enter ip of ubuntu machine. asked username , password rejected. if try log in guest, first shows me music share, when try connect says guest account not allowed.
looked in /etc/samba/smb.conf file , not 1 being used share folder there no music share definition. neither 1 located in /usr/share/samba.
if go system > preferences > personal file sharing preferences : says feature cannot enabled because required packages not installed.
here output of: net usershare info
and output of: testparm -scode:user@computer:~$ net usershare info [music] path=/home/"user"/music comment= usershare_acl=everyone:f, guest_ok=n user@computer:~$
so how mac seeing share? there hidden config file somewhere?code:user@computer:~$ testparm -s load smb config files /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 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 = 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:~$
stuck here, thank this. cheers
non-root user created shares (usershares) created @ /var/lib/samba/usershares. admin user can edit /etc/samba/smb.conf file configure 2 daemons (processes) run samba (smbd , nmbd) , create shares.
if don't grant access guests aren't allowed. @ share definition provided againto allow specific users able access shares, believe need add them samba users on machine serving shares , make sure have permissions set on shared folders.code:[music] path=/home/"user"/music comment= usershare_acl=everyone:f, guest_ok=n
if going might configure shares in smb,.conf file too. see here tutorial.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] File sharing with Samba and Mac
Ubuntu
Comments
Post a Comment