From 316cfee01c0040d1eca1e7ee18057fcc6f084baa Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 8 Dec 2000 19:35:58 +0000 Subject: Added OLD_NTDOMAIN to remove warnings about undefined functions. Jeremy. (This used to be commit f4c32a75e6e60eae6078449478d04ff22373d817) --- source3/smbd/sec_ctx.c | 2 ++ source3/smbd/vfs-wrap.c | 2 ++ source3/smbd/vfs.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/source3/smbd/sec_ctx.c b/source3/smbd/sec_ctx.c index f3adcfce8f..eaaae9ace7 100644 --- a/source3/smbd/sec_ctx.c +++ b/source3/smbd/sec_ctx.c @@ -1,3 +1,4 @@ +#define OLD_NTDOMAIN 1 /* Unix SMB/Netbios implementation. Version 1.9. @@ -446,3 +447,4 @@ void init_sec_ctx(void) current_user.vuid = UID_FIELD_INVALID; current_user.nt_user_token = NULL; } +#undef OLD_NTDOMAIN diff --git a/source3/smbd/vfs-wrap.c b/source3/smbd/vfs-wrap.c index 9007eb3b6d..3ecad48371 100644 --- a/source3/smbd/vfs-wrap.c +++ b/source3/smbd/vfs-wrap.c @@ -1,3 +1,4 @@ +#define OLD_NTDOMAIN 1 /* Unix SMB/Netbios implementation. Version 1.9. @@ -505,3 +506,4 @@ BOOL vfswrap_set_nt_acl(files_struct *fsp, char *name, uint32 security_info_sent { return set_nt_acl(fsp, security_info_sent, psd); } +#undef OLD_NTDOMAIN diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 3db150ab6f..cbd1fd6825 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -1,3 +1,4 @@ +#define OLD_NTDOMAIN 1 /* Unix SMB/Netbios implementation. Version 1.9. @@ -884,3 +885,4 @@ BOOL reduce_name(connection_struct *conn, char *s,char *dir,BOOL widelinks) return(True); #endif } +#undef OLD_NTDOMAIN -- cgit