diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-06-10 12:27:05 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-06-10 12:27:05 +0000 |
commit | 959ff024daf61b86ec1d487582dd663ab95d24d1 (patch) | |
tree | 038527c468681641e253db71dd6d61b93f5ec3fb /source3/include | |
parent | 97a8dd6d9a3cf9351b4e636c4c8d1907080df9f8 (diff) | |
download | samba-959ff024daf61b86ec1d487582dd663ab95d24d1.tar.gz samba-959ff024daf61b86ec1d487582dd663ab95d24d1.tar.bz2 samba-959ff024daf61b86ec1d487582dd663ab95d24d1.zip |
Remove "sids.h" as it really wasn't being used anywhere, and was exporting
the (now static) global_sam_sid.
The only place it was being used was to return global_sid_NULL to some
uid->sid functions - and I'm not convinced this is correct in any case.
Andrew Bartlett
(This used to be commit e2a76a7fc94dd59c09bba3cda91446fad9f8c0e0)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ntdomain.h | 1 | ||||
-rw-r--r-- | source3/include/sids.h | 39 |
2 files changed, 0 insertions, 40 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 57eb4f4331..ffb9c96b72 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -374,6 +374,5 @@ struct acct_info #include "rpc_wkssvc.h" #include "rpc_spoolss.h" #include "rpc_dfs.h" -#include "sids.h" #endif /* _NT_DOMAIN_H */ diff --git a/source3/include/sids.h b/source3/include/sids.h deleted file mode 100644 index 279fd86f80..0000000000 --- a/source3/include/sids.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - Unix SMB/CIFS implementation. - SMB parameters and setup - Copyright (C) Andrew Tridgell 1992-2000 - Copyright (C) Luke Kenneth Casson Leighton 1996-2000 - Copyright (C) Elrond 2000 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*/ - -#ifndef _SIDS_H -#define _SIDS_H - -extern DOM_SID *global_sam_sid; -extern fstring global_sam_name; - -extern DOM_SID global_member_sid; - -extern DOM_SID global_sid_S_1_5_32; /* local well-known domain */ -extern DOM_SID global_sid_S_1_1; /* Global Domain */ -extern DOM_SID global_sid_NULL; - -extern const DOM_SID *global_sid_everyone; -extern const DOM_SID *global_sid_system; /* SYSTEM */ -extern const DOM_SID *global_sid_builtin; - -#endif /* _SIDS_H */ |