diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-13 12:07:40 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-08-12 11:28:29 +0200 |
commit | 340ab6a256802a22c11b7f707748397249075b65 (patch) | |
tree | 20d297829eb3e27c6c80ad537712627ae845a4ef /source3/winbindd/idmap_passdb.c | |
parent | 8d4bd2d960ebf11bc85891210c6f72a371e08417 (diff) | |
download | samba-340ab6a256802a22c11b7f707748397249075b65.tar.gz |
idmap rewrite
(This used to be commit 30a180f2fce8cf6a3e5548f6bba453272ba70b33)
Diffstat (limited to 'source3/winbindd/idmap_passdb.c')
-rw-r--r-- | source3/winbindd/idmap_passdb.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/source3/winbindd/idmap_passdb.c b/source3/winbindd/idmap_passdb.c index 17afd71ab87..4dcf74416c9 100644 --- a/source3/winbindd/idmap_passdb.c +++ b/source3/winbindd/idmap_passdb.c @@ -28,9 +28,8 @@ Initialise idmap database. *****************************/ -static NTSTATUS idmap_pdb_init(struct idmap_domain *dom) +static NTSTATUS idmap_pdb_init(struct idmap_domain *dom, const char *params) { - dom->initialized = True; return NT_STATUS_OK; } @@ -42,10 +41,6 @@ static NTSTATUS idmap_pdb_unixids_to_sids(struct idmap_domain *dom, struct id_ma { int i; - if (! dom->initialized) { - return NT_STATUS_UNSUCCESSFUL; - } - for (i = 0; ids[i]; i++) { /* unmapped by default */ @@ -78,10 +73,6 @@ static NTSTATUS idmap_pdb_sids_to_unixids(struct idmap_domain *dom, struct id_ma { int i; - if (! dom->initialized) { - return NT_STATUS_UNSUCCESSFUL; - } - for (i = 0; ids[i]; i++) { enum lsa_SidType type; union unid_t id; |