diff options
author | Jeremy Allison <jra@samba.org> | 2000-12-08 19:35:58 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-12-08 19:35:58 +0000 |
commit | 316cfee01c0040d1eca1e7ee18057fcc6f084baa (patch) | |
tree | 0b261ec7437b5844a46663e3e5a1c6d06ad30d4e /source3/smbd | |
parent | 0f1ead1c93f1dcbbb3f108e4d879778d6b00d82e (diff) | |
download | samba-316cfee01c0040d1eca1e7ee18057fcc6f084baa.tar.gz samba-316cfee01c0040d1eca1e7ee18057fcc6f084baa.tar.bz2 samba-316cfee01c0040d1eca1e7ee18057fcc6f084baa.zip |
Added OLD_NTDOMAIN to remove warnings about undefined functions.
Jeremy.
(This used to be commit f4c32a75e6e60eae6078449478d04ff22373d817)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/sec_ctx.c | 2 | ||||
-rw-r--r-- | source3/smbd/vfs-wrap.c | 2 | ||||
-rw-r--r-- | source3/smbd/vfs.c | 2 |
3 files changed, 6 insertions, 0 deletions
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 |