s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[nivanova/samba-autobuild/.git] / source3 / lib / privileges.c
index 00dfefebc1829d29f385ece01c0240e486329176..a793d7755953da58c7cbbdc67fcc3e23f3803595 100644 (file)
 
 
 #include "includes.h"
+#include "lib/privileges.h"
 #include "dbwrap.h"
 #include "libcli/security/privileges_private.h"
 #include "../libcli/security/security.h"
+#include "passdb.h"
 
 #define PRIVPREFIX              "PRIV_"
 
@@ -91,7 +93,7 @@ static bool get_privileges( const struct dom_sid *sid, uint64_t *mask )
        data = dbwrap_fetch_bystring( db, talloc_tos(), keystr );
 
        if ( !data.dptr ) {
-               DEBUG(3, ("get_privileges: No privileges assigned to SID "
+               DEBUG(4, ("get_privileges: No privileges assigned to SID "
                          "[%s]\n", sid_string_dbg(sid)));
                return False;
        }