]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libcli/security: Avoid includes.h
authorVolker Lendecke <vl@samba.org>
Fri, 3 Mar 2023 17:41:33 +0000 (18:41 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 9 Mar 2023 18:10:33 +0000 (18:10 +0000)
Don't rebuild libcli/security when not necessary

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
12 files changed:
libcli/security/access_check.c
libcli/security/create_descriptor.c
libcli/security/display_sec.c
libcli/security/object_tree.c
libcli/security/sddl.c
libcli/security/secace.c
libcli/security/secacl.c
libcli/security/secdesc.c
libcli/security/security_descriptor.c
libcli/security/security_token.c
libcli/security/session.c
libcli/security/util_sid.c

index 7d8eca74c43c4cc7121bcc4969f518657e43addf..482ab4ce1457b6a5bca732c64346e76d3681b67f 100644 (file)
@@ -21,7 +21,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "includes.h"
+#include "replace.h"
+#include "lib/util/debug.h"
 #include "libcli/security/security.h"
 
 /* Map generic access rights to object specific rights.  This technique is
index ef60d847033fb5aa503298f5e96dd651ff53ac03..5a2351511cea3c146b149490b057d4a68c7d4bb9 100644 (file)
@@ -26,7 +26,8 @@
  *
  *  Author: Nadezhda Ivanova
  */
-#include "includes.h"
+#include "replace.h"
+#include "lib/util/debug.h"
 #include "libcli/security/security.h"
 #include "librpc/gen_ndr/ndr_security.h"
 
index d75b89071c34793685e9914eea76725ea0477e94..3fc338fb23350d6f2d0558082a8859561ea8697f 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "includes.h"
+#include "replace.h"
 #include "libcli/security/security.h"
 #include "librpc/ndr/libndr.h"
 #include "libcli/security/display_sec.h"
index fd00068ef7ab8eda788f644494d93afb45abc113..c1025e766f64a98fe59e4ac5e13cca409a6f7532 100644 (file)
@@ -28,7 +28,7 @@
  *
  *  Author: Nadezhda Ivanova
  */
-#include "includes.h"
+#include "replace.h"
 #include "libcli/security/security.h"
 #include "librpc/ndr/libndr.h"
 
index 2df1187e6b5cdd68423dff48e7ef2533d65ff517..076f040cfb8a48461b75a0413a9d0c4576da9395 100644 (file)
@@ -19,7 +19,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "includes.h"
+#include "replace.h"
+#include "lib/util/debug.h"
 #include "libcli/security/security.h"
 #include "librpc/gen_ndr/ndr_misc.h"
 #include "system/locale.h"
index c9ca823ce3978a6f86a4ba91e43cea09a534e9f8..2452da24b0f663643c7692b9e73d6820ea87f1f7 100644 (file)
@@ -20,7 +20,7 @@
  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "includes.h"
+#include "replace.h"
 #include "librpc/gen_ndr/ndr_security.h"
 #include "libcli/security/security.h"
 #include "lib/util/tsort.h"
index a367ab676d238e139da8c4b7293710495bf1215b..6c92a2eda76206c91c9d7fe22b8ecf43c7ba8f23 100644 (file)
@@ -20,7 +20,7 @@
  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "includes.h"
+#include "replace.h"
 #include "librpc/gen_ndr/ndr_security.h"
 #include "libcli/security/secace.h"
 #include "libcli/security/secacl.h"
index cd944306ee165af34df7c5b23c0c41721f747b99..010aec7fad36c5c60d77e348043b67b14a4086d7 100644 (file)
@@ -20,7 +20,9 @@
  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "includes.h"
+#include "replace.h"
+#include "lib/util/debug.h"
+#include "lib/util/fault.h"
 #include "librpc/gen_ndr/ndr_security.h"
 #include "libcli/security/security.h"
 
index 2d7c5e7a4342e7e617b9544b8e3175f01a6fb07a..34139503060e18b0244f39936c9e8e6c31d3ae84 100644 (file)
@@ -19,7 +19,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "includes.h"
+#include "replace.h"
 #include "libcli/security/security.h"
 #include "librpc/ndr/libndr.h"
 
index 03e7bb70743ba29cd3309e16ddf7e29a06d54472..17e69f861ff6b3348fa3a76706e13fe42ab6d6eb 100644 (file)
@@ -21,7 +21,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "includes.h"
+#include "replace.h"
+#include "lib/util/debug.h"
 #include "libcli/security/security_token.h"
 #include "libcli/security/dom_sid.h"
 #include "libcli/security/privileges.h"
index 76574515e2312b7464164b934e36a48c7bb32c36..8db341d29bcd15ca4bf19f502bc073648aa32ee6 100644 (file)
@@ -19,8 +19,9 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "includes.h"
+#include "replace.h"
 #include "libcli/security/security.h"
+#include "libcli/util/werror.h"
 #include "librpc/gen_ndr/auth.h"
 
 enum security_user_level security_session_user_level(struct auth_session_info *session_info,
index bd5103659e16ffec6e5da723ac7dbfca6dfdb547..30ac56789a51404ddf63519800d63cc8f53a6488 100644 (file)
@@ -23,7 +23,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "includes.h"
+#include "replace.h"
+#include "lib/util/samba_util.h"
 #include "../librpc/gen_ndr/ndr_security.h"
 #include "../librpc/gen_ndr/netlogon.h"
 #include "../libcli/security/security.h"