← Back to team overview

enterprise-support team mailing list archive

Re: [Question #198051]: Samba vs Unix permissions

 

Question #198051 on samba in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/samba/+question/198051

    Status: Needs information => Open

Stefano Malini gave more information on the question:
What is not clear? this is my smb.conf

root@amahoro:~# cat /etc/samba/smb.conf
[global]

#identificazione
workgroup = AMAHORO
netbios name = SERVER
server string = amahoro
security = user
usershare path = /var/lib/samba/usershares
usershare max shares = 100
usershare allow guests = yes
#usershare owner only = yes

username map = /etc/samba/usermap

os level = 255
preferred master = yes
local master = yes
domain master = yes
admin users = Administrator root @"Domain Admins"

#opzioni di rete
hosts allow = 192.168.5.0/24 localhost

#opzioni per il log
log file = /var/log/samba/log.%u
max log size = 1000
log level = 3

#opzioni per l'accesso alle condivisioni
encrypt passwords = yes
null passwords = no
security = user
#smb passwd file = /etc/samba/smbpasswd
#username map = /etc/samba/smbusers


#LDAP
passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=Manager,dc=amahoro,dc=bi
ldap suffix = dc=amahoro,dc=bi
ldap machine suffix = ou=Computers
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
ldap delete dn = yes
ldap ssl = no
passwd program = /usr/sbin/smbldap-passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authen$
add user script = /usr/sbin/smbldap-useradd -m "%u"
ldap delete dn = Yes
delete user script = /usr/sbin/smbldap-userdel "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"

[homes]
comment = Home Directories
path = /users/%S
#valid users = %u
read only = No
create mask = 0700
directory mask = 0700
browseable = No

[users]
path = /users
comment = Leçon
browseable = yes
public = yes
writable = no

-- 
You received this question notification because you are a member of
Ubuntu Server/Client Support Team, which is an answer contact for samba
in Ubuntu.