Absolute newbie to Ubuntu but decided to use an old machune as a server and followed this guide http://lifehacker.com/5919558/turn-a...ne-with-ubuntu.
This used the desktop version so i could also try out Ubuntu as well as set up a media server.
The guide went well up to not being able to create a password using smbpasswd -a.
To cut a very long story short I beleive that I may have mounted a created partion (media) and set up share via nautilus and ended up giving 777 privilages on that drive but not initially using Samba.
Managed to use sudo gksu system-config-samba working (that's when i realised Samba was not sharing) but still can't get full permissions on the drive for all users.
However if I add a file from my winXP laptop the Ububtu server does not own the file ("nobody" does) and so the file is locked to read only.
I want to be able to read and write to all files on this drive to and from both the laptop and the Ububtu Unity desktop which has it's own partition.
After this I hope to add back in some security measures.
Hope this will help to short out my mess.
Code:
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Processing section "[sda3]"
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
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[sda3]
path = /media/sda3
read only = No
guest ok = Yes
Thanks in advance.
Bookmarks