diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-04-09 11:46:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:33 -0500 |
commit | 83e11ba86c2401ece3c845fd10c22b84e6be7811 (patch) | |
tree | 4441dcc906c860effaadcf6e730245ef10626103 /source3/nsswitch | |
parent | 16167208cfb5d8f995126a4af98911240d58e007 (diff) | |
download | samba-83e11ba86c2401ece3c845fd10c22b84e6be7811.tar.gz samba-83e11ba86c2401ece3c845fd10c22b84e6be7811.tar.bz2 samba-83e11ba86c2401ece3c845fd10c22b84e6be7811.zip |
r6263: Get rid of generate_wellknown_sids, they are const static and initializable
statically.
Volker
(This used to be commit 3493d9f383567d286e69c0e60c0708ed400a04d9)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/wb_client.c | 2 | ||||
-rw-r--r-- | source3/nsswitch/winbindd.c | 2 | ||||
-rw-r--r-- | source3/nsswitch/winbindd_util.c | 3 |
3 files changed, 1 insertions, 6 deletions
diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c index 3a920c1134..5e08c0853e 100644 --- a/source3/nsswitch/wb_client.c +++ b/source3/nsswitch/wb_client.c @@ -28,8 +28,6 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_WINBIND -extern DOM_SID global_sid_NULL; /* NULL sid */ - NSS_STATUS winbindd_request(int req_type, struct winbindd_request *request, struct winbindd_response *response); diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c index 6f4a0a2753..6840dd9187 100644 --- a/source3/nsswitch/winbindd.c +++ b/source3/nsswitch/winbindd.c @@ -898,8 +898,6 @@ int main(int argc, char **argv) idmap_proxyonly(); } - generate_wellknown_sids(); - /* Unblock all signals we are interested in as they may have been blocked by the parent process. */ diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index b9fb49ea7f..686caf19f3 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/nsswitch/winbindd_util.c @@ -24,7 +24,6 @@ #include "includes.h" #include "winbindd.h" -extern DOM_SID global_sid_Builtin; extern struct winbindd_methods cache_methods; extern struct winbindd_methods passdb_methods; @@ -105,7 +104,7 @@ static BOOL is_internal_domain(const DOM_SID *sid) /* Add a trusted domain to our list of domains */ static struct winbindd_domain *add_trusted_domain(const char *domain_name, const char *alt_name, struct winbindd_methods *methods, - DOM_SID *sid) + const DOM_SID *sid) { struct winbindd_domain *domain; const char *alternative_name = NULL; |