sys_acl_add_perm

Medha Date mdate at austin.ibm.com
Thu Feb 15 21:19:46 GMT 2001


I'm still trying to get set_nt_acl to work.  I have a question which may seem
rather basic.  In the function 

sys_acl_add_perm( SMB_ACL_PERMSET_T permset, SMB_ACL_PERM_T perm)

Since it's necessary to change permset in sys_acl_add_perm, should the
function parameters not be:

sys_acl_add_perm( SMB_ACL_PERMSET_T *permset, SMB_ACL_PERM_T perm)

And shouldn't functions that call sys_acl_add_perm, such as
map_acl_perms_to_permset, send a pointer to the value of permset, instead of
the value itself?

I think I'm missing something obvious since posix acls and UNIXware ACLs
don't seem to have a problem with this.

- Medha
____________________________________________________
Medha Date             		t/l: 678-0670 	
Ph #:(512)838-0670		email: mdate at austin.ibm.com	
IBM Corporation			
				





More information about the samba-technical mailing list