[Samba] samba 3.0.10

felipe.quintans at infoglobo.com.br felipe.quintans at infoglobo.com.br
Mon May 16 20:45:07 GMT 2005


Hello,
 
I have a problem with samba.
 
I want to restrict the access to a share. But with NT users.
 
Ex: I have to give write access to users fquintans and epinto (NT users) to the share testeedu.
 
I´m using net join command to join the NT domain. 
 
 
 
# Global parameters
[global]
        workgroup = OGMASTER
        server string = Servidor de Desenvolvimento
        security = share
#       security = DOMAIN
#       domain logons = yes
#       syslog = 0
#       log file = /usr/local/samba/var/log.%m
#       max log size = 0
#       max xmit = 65535
#       deadtime = 1
        ldap ssl = no
#       invalid users = root
        create mask = 6660
        directory mask = 0750
 
[txt]
        comment = Logs do SAT Desenvolvimento
        path = /oradata/satd/txt
        read only = No
 
[testefgq]
        comment = Logs do SAT Desenvolvimento
        path = /usr/local/samba
        username map = /usr/local/samba/lib/usermap
        public = yes
        writable = yes
        write list = fquintans
        read only = yes
        force user = fquintans
        guest ok = yes
        read list = epinto
#       valid users = fquintans
        admin users = fquintans
        available = yes
 
[testeedu]
        comment = Logs do SAT Desenvolvimento
        path = /usr/local/samba
        read list = epinto
        write list = epinto
        read only = No
        guest ok = Yes
 
[printers]
        comment = All printers
        path = /tmp
        guest ok = Yes
        printable = Yes
        browseable = No
 
[spooldcs]
        comment = Dir SPOOLDCS
        path = /atex/atex/spooldcs
        read only = No
        create mask = 0777
        guest ok = Yes
 
[ads]
        comment = Diretorio de ADV
        path = /atex/atex/ads
        read only = No
        create mask = 0777
        guest ok = Yes
        locking = No
        strict locking = No
 
[ads2]
        comment = Diretorio de ADV2
        path = /atex/atex/ads2
        read only = No
        create mask = 0777
        guest ok = Yes
        locking = No
        strict locking = No

 
Thanks for all.
Felipe Quintans


More information about the samba mailing list