s3-auth: remove global include of krb5pac.h.
authorGünther Deschner <gd@samba.org>
Tue, 31 Aug 2010 21:09:39 +0000 (23:09 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 31 Aug 2010 21:17:40 +0000 (23:17 +0200)
Guenther

auth/common_auth.h
source3/auth/user_info.c
source3/auth/user_krb5.c
source3/include/proto.h

index 4ae5df9a6b158c5f0b6887733611993bf055fc43..c64b46c7cf019b69b4bb91e9ce778171d2f41844 100644 (file)
@@ -17,8 +17,6 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "librpc/gen_ndr/krb5pac.h"
-
 #define USER_INFO_CASE_INSENSITIVE_USERNAME 0x01 /* username may be in any case */
 #define USER_INFO_CASE_INSENSITIVE_PASSWORD 0x02 /* password may be in any case */
 #define USER_INFO_DONT_CHECK_UNIX_ACCOUNT   0x04 /* don't check unix account status */
index d5319a465a2d4d3dbb88de0604a6af916fee8230..3d4ee08b9f6a0b15782af0315de910508d985ac6 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include "includes.h"
+#include "librpc/gen_ndr/samr.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_AUTH
index 580e71af86d8637e5d6dd59cbdb4db45e988e607..9d6b6a445bf47fa82f4921e26dc697f535c06bb5 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include "includes.h"
+#include "librpc/gen_ndr/krb5pac.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_AUTH
index 7af0d080114a171ee0558a1f64ad4a478bd45506..a49aa66564c185cc238ad5b56266e370e2ecd722 100644 (file)
@@ -4856,7 +4856,7 @@ const struct mangle_fns *posix_mangle_init(void);
 bool map_username(fstring user);
 
 /* The following definitions come from auth/user_krb5.c  */
-
+struct PAC_LOGON_INFO;
 NTSTATUS get_user_from_kerberos_info(TALLOC_CTX *mem_ctx,
                                     const char *cli_name,
                                     const char *princ_name,