[Samba-it] Scriptare le ACL...

Maurizio Marini maumar at datalogica.com
Tue Sep 1 04:54:46 MDT 2009


On Wednesday 27 May 2009, Marco Gaiarin wrote:
> Avrei la necessità di definire programmaticamente (eg, scriptare) la
> definizione di ACL su alcune share di rete, ovvero definire un set di
Ciao Marco
ho letto che dal POST che ti funzionano le ACL

In una azienda ns cliente, mi hanno chiesto ieri di inibire la cancellazione 
di files su tutte le share di rete, la rete ha server samba e server w2k

Sui server w2k (che sono anche PD) tasto destro, permission, avanzate e ho 
tolto i diritti di delete da qualsiasi utente, come al solito in windows 
funziona tutto ;)

in samba sto uscendo matto...
ho messo 

        map acl inherit = yes
        inherit acls = yes
        inherit permissions = yes
        nt acl support = yes
        force unknown acl user = Yes

come ho trovato su:
http://www.howtoforge.com/mandriva-directory-server-on-debian-etch

sul server samba che e' joinato al'AD che gira sul server w2k.

Come spiegato in:
http://us6.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html

la / e' montata con l'acl, come suggerito dall'howto di mds

ho provato a:

Procedure 16.3. Instructions

   1. After launching the MMC with the Computer Management snap-in, click the 
menu item Action and select Connect to another computer. If you are not logged 
onto a domain you will be prompted to enter a domain login user identifier and 
a password. This will authenticate you to the domain. If you are already 
logged in with administrative privilege, this step is not offered.

   2. If the Samba server is not shown in the Select Computer box, type in the 
name of the target Samba server in the field Name:. Now click the on [+] next 
to System Tools, then on the [+] next to Shared Folders in the left panel.

   3. In the right panel, double-click on the share on which you wish to set 
access control permissions. Then click the tab Share Permissions. It is now 
possible to add access control entities to the shared folder. Remember to set 
what type of access (full control, change, read) you wish to assign for each 
entry. 



La versione di samba e' la 3.0.10, e' molta vecchia, conviene aggiornare per 
risolvere i miei problemi?

Quale e' un buon howto per fare funzionare queste ACL?

Ultima domanda: e' possibile inibire la cancellazione come si fa in windows?

Grazie

	Maurizio




-- 
A. Because people read from top to bottom.
Q. Why should I not top post?



More information about the samba-it mailing list