3.0.21pre2/rc1 and acl compatibility, deleted function in parse_prs.c

Thomas Bork tombork at web.de
Sat Nov 12 19:31:58 GMT 2005


First a repost from samba-testers at samba.org (is anybody reading this list?):

documentation for acl compatibility:

acl compatibility (S)

This parameter specifies what OS ACL semantics should be compatible 
with. Possible values are winnt for Windows NT 4, win2k for Windows 2000 
and above and auto. If you specify auto, the value for this parameter 
will be based upon the version of the client. There should be no reason 
to change this parameter from the default.

Default: acl compatibility = Auto
Example: acl compatibility = win2k


mg2 1.2.0cvs2005-11-10 # testparm -sv 2>/dev/null | grep 'acl comp'
         acl compatibility =
mg2 1.2.0cvs2005-11-10 # grep 'acl comp' /etc/smb.conf
mg2 1.2.0cvs2005-11-10 # grep -r 'acl compatibility' 
/usr/src/SAMBA_3_0_RELEASE/source
/usr/src/SAMBA_3_0_RELEASE/source/param/loadparm.c:     {"acl 
compatibility", P_STRING, P_GLOBAL, &Globals.szAclCompat, 
handle_acl_compatibility,  NULL, FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL},
/usr/src/SAMBA_3_0_RELEASE/source/param/.svn/text-base/loadparm.c.svn-base: 
     {"acl compatibility", P_STRING, P_GLOBAL, &Globals.szAclCompat, 
handle_acl_compatibility,  NULL, FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL},

Seems the default is *not* auto.

If setting 'acl compatibility = auto' in smb.conf:

mg2 1.2.0cvs2005-11-10 # grep 'acl compatibility' /etc/smb.conf
acl compatibility = auto
mg2 1.2.0cvs2005-11-10 # testparm -sv 2>/dev/null | grep 'acl compatibility'
         acl compatibility =
mg2 1.2.0cvs2005-11-10 #



Second a question @Jeremy:
You added the function only back to trunk and not to SAMBA_3_0:

http://websvn.samba.org/cgi-bin/viewcvs.cgi?rev=11486&view=rev
http://websvn.samba.org/cgi-bin/viewcvs.cgi?rev=11446&view=rev

Thats why the function is also not in SAMBA_3_0_RELEASE for the upcoming 
3.0.21rc1:

http://websvn.samba.org/cgi-bin/viewcvs.cgi/branches/SAMBA_3_0_RELEASE/source/rpc_parse/parse_prs.c?rev=11590&view=markup

Is this correct?


der tom


More information about the samba-technical mailing list