Author: vlendec Date: 2005-02-10 08:15:30 +0000 (Thu, 10 Feb 2005) New Revision: 5313
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5313 Log: Janitor for herb, maybe this time done right ... Modified: trunk/source/smbd/trans2.c Changeset: Modified: trunk/source/smbd/trans2.c =================================================================== --- trunk/source/smbd/trans2.c 2005-02-10 08:12:49 UTC (rev 5312) +++ trunk/source/smbd/trans2.c 2005-02-10 08:15:30 UTC (rev 5313) @@ -2192,6 +2192,7 @@ return UNIXERROR(def_class,def_code); } +#if defined(HAVE_POSIX_ACLS) /**************************************************************************** Utility function to count the number of entries in a POSIX acl. ****************************************************************************/ @@ -2306,6 +2307,7 @@ return True; } +#endif /**************************************************************************** Reply to a TRANS2_QFILEPATHINFO or TRANSACT2_QFILEINFO (query file info by @@ -2871,6 +2873,7 @@ break; } +#if defined(HAVE_POSIX_ACLS) case SMB_QUERY_POSIX_ACL: { SMB_ACL_T file_acl = NULL; @@ -2947,6 +2950,7 @@ data_size = (num_file_acls + num_def_acls)*SMB_POSIX_ACL_ENTRY_SIZE + SMB_POSIX_ACL_HEADER_SIZE; break; } +#endif default: return ERROR_DOS(ERRDOS,ERRunknownlevel); @@ -3756,6 +3760,7 @@ return(-1); } +#if defined(HAVE_POSIX_ACLS) case SMB_SET_POSIX_ACL: { uint16 posix_acl_version; @@ -3805,6 +3810,7 @@ send_trans2_replies(outbuf, bufsize, params, 2, *ppdata, 0); return(-1); } +#endif default: return ERROR_DOS(ERRDOS,ERRunknownlevel);