acls smbcacls share

hakim hakim at mandrakesoft.Com
Tue Dec 21 15:52:11 GMT 2004


Hi,

Very thanks for your help 


When i type this command i have :


netname: user_e
        remark: 
        path:   C:\user_e
        password:
netname: ggg
        remark: 
        path:   C:\acl\ggg
        password:
DACL
        ACL     Num ACEs:       2       revision:       2
        ---
        ACE
                type: ACCESS ALLOWED (0) flags: 0
                Specific bits: 0xa9
                Permissions: 0x1200a9: SYNCHRONIZE_ACCESS
READ_CONTROL_ACCESS
                SID: S-1-5-21-1688021309-183578045-1594628879-1017

        ACE
                type: ACCESS ALLOWED (0) flags: 0
                Specific bits: 0x1ff
                Permissions: 0x1f01ff: SYNCHRONIZE_ACCESS
WRITE_OWNER_ACCESS WRITE_DAC_ACCESS READ_CONTROL_ACCESS DELETE_ACCESS
                SID: S-1-1-0

You can see the name share user_e and the file on this share C:\acl\ggg
but i can't see the acl .

This command list the share but no the acls .

other example :


netname: test_c
        remark:
        path:   C:\test_c
        password:
netname: test_tt
        remark:
        path:   C:\test_tt

Very thanks for your help



Le mardi 21 décembre 2004 à 15:56 +0100, Guenther Deschner a écrit :
> Hi
> 
> On Tue, Dec 21, 2004 at 03:35:32PM +0100, hakim wrote:
> > But i want to see the acls of the share .
> > 
> > Can i do it ?
> 
> sort of. You could try to run: 
> 
> rpcclient nt5 -U 'administrateur%test' -c "netshareenum 502" 
> 
> This will show you the security descriptors of your shares.
> 
> Hope that helps a bit,
> 
> Guenther
> 



More information about the samba-technical mailing list