[Samba] directory permissions

Dale Schroeder dale at BriannasSaladDressing.com
Tue Sep 21 12:01:36 MDT 2010


  You must click on the "Advanced" button of the Security tab to see 
folder permissions.

Dale


On 09/21/2010 6:53 AM, szymon giel wrote:
> Hi,
> I have configured samba PDC and BDC servers with ldap backend (debian). All
> users home directories and shares are on Samba member server (opensolaris).
> everything works fine except fact that on windows i can't see permissions on
> folders. On files permissions are displayed correctly. if I tick permissions
> on folders in windows space they disapper after clicking "apply" but
> permissions on unix space changes to correct one. what should i do to have
> permissions on folders displayed?
> thanks
>
> Samba Member Server Version 3.0.34 conf:
> [global]
> unix charset = LOCALE
> workgroup = OX
> netbios name = THOR
> server string = Samba Member Server Version %v
> interfaces = aggr0, lo
> security = DOMAIN
> passdb backend = ldapsam:"ldap://nix.ac.uk .uk ldap://nix2.ac.uk"
> username map = /etc/sfw/smbusers
> log level = 1
> syslog = 0
> log file = /var/log/samba/%m.log
> max log size = 50
> smb ports = 139
> name resolve order = wins hosts bcast
> keepalive = 60
> wins server = 192.168.175.11
> ldap admin dn = uid=samba,ou=DSA,dc=dil,dc=edu
> ldap group suffix = ou=Groups
> ldap idmap suffix = ou=Idmap
> ldap machine suffix = ou=Computers
> ldap suffix = dc=dil,dc=edu
> ldap user suffix = ou=People
> utmp = Yes
> idmap backend = "ldap:ldap://nix.ac.uk ldap://nix2.ac.uk"
> idmap uid = 15000-20000
> idmap gid = 15000-20000
> winbind trusted domains only = Yes
> acl check permissions = No
> create mask = 0700
> directory mask = 0700
> map archive = No
>
> [homes]
> comment = Home Directories
> path = /home/%U
> read only = No
> hide files = /*.ini/
> browseable = No
>
>
> Samba PDC (3.4.8-SerNet-Debian)conf:
>
> [global]
> unix charset = LOCALE
>   workgroup = OX
> netbios name = NIX
> server string = Samba PDC Version %v
> interfaces = eth0, lo
> bind interfaces only = Yes
> passdb backend = ldapsam:ldap://nix.ac.uk
> username map = /etc/samba/smbusers
> log level = 1
> syslog = 0
> log file = /var/log/samba/log.%m
> max log size = 50
> smb ports = 139
> name resolve order = wins hosts bcast
> time server = Yes
> printcap name = cups
> disable spoolss = Yes
> add user script = /usr/sbin/smbldap-useradd -m -a "%u"
> delete user script = /usr/sbin/smbldap-userdel "%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"
> add machine script = /usr/sbin/smbldap-useradd -w "%m"
> logon script = scripts\logon.bat
> logon path = \\THOR\%U\windows\.profiles\%a
> logon drive = H:
> logon home = \\THOR\%U\windows
> domain logons = Yes
> os level = 100
> preferred master = Yes
> local master = No
> domain master = Yes
> wins server = 192.168.175.11
> ldap admin dn = uid=samba,ou=DSA,dc=dil,dc=edu
> ldap group suffix = ou=Groups
> ldap idmap suffix = ou=Idmap
> ldap machine suffix = ou=Computers
> ldap suffix = dc=dil,dc=edu
> ldap user suffix = ou=People
>   idmap backend = ldap:ldap://nix.ac.uk
> idmap uid = 15000-20000
> idmap gid = 15000-20000
> map acl inherit = Yes
>
> [homes]
> comment = Home Directories
> valid users = %S
> read only = No
> hide files = /*.jpg/*.ini/
> browseable = No
> browsable = No
>
> [netlogon]
> comment = Network Logon Service
> path = /var/lib/samba/netlogon
> guest ok = Yes
> browseable = No
> browsable = No
> locking = No


More information about the samba mailing list