Hey guys - After messing with suse's config menus and boxes trying to config samba, I figured I'd write the conf file myself. Here's where it gets tricky. First what I want to do -
Share 'filevault' shares /storage/
The user 'tux' (gid=users) should have full access
The group 'users' should be able to read/execute
anyone else it forbidden
As such, the umask of /storage is 0027, uid=tux, gid=users
If I could set up guest logins to the smb share that could have r/x access that would be nice, but I don't understand how, so I just made a user named 'guest' in group 'users'
Here's my smb.conf file:
## Share disabled by YaST
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2005-11-11
include = /etc/samba/dhcp.conf
*logon path = \\%L\profiles\.msprofile
*logon home = \\%L\%U\.9xprofile
*logon drive = P:
*add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = no
restrict anonymous = yes
max protocol = NT
ldap ssl = No
server signing = Auto
*guest account = guest
preferred master = no
server string =
encrypt password = yes
smb passwd file = /etc/smbpasswd
path = /storage/
read only = no
case sensitive = no
msdfs proxy = no
valid users = tux root guest
Ok, the lines with a * are lines I have no idea what they do, despite reading lots of documentation. I still can't log into this share no matter what I do.
What I did was
cat /etc/passwd | mksmbpasswd.sh > /etc/smbpasswd
and add the last two lines of the [general] section - what I assumed that would do was let me log into the share using my unix user accounts.
Ok - I need a lot of clarification, on what I'm probably doing wrong, guest accounts, and the asterisked lines. Thank in advance!