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 | 30a180f2fce8cf6a3e5548f6bba453272ba70b33 (patch) | |
tree | c53c7e102386745abe16078b9051381fa3155c5f /source/winbindd/idmap_nss.c | |
parent | 1bd98521dc3f16ad77ccccd3979288c58e03ebe8 (diff) | |
download | samba-30a180f2fce8cf6a3e5548f6bba453272ba70b33.tar.gz samba-30a180f2fce8cf6a3e5548f6bba453272ba70b33.tar.xz samba-30a180f2fce8cf6a3e5548f6bba453272ba70b33.zip |
idmap rewrite
Diffstat (limited to 'source/winbindd/idmap_nss.c')
-rw-r--r-- | source/winbindd/idmap_nss.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/source/winbindd/idmap_nss.c b/source/winbindd/idmap_nss.c index e4acd9ce65a..156fdc7cc9f 100644 --- a/source/winbindd/idmap_nss.c +++ b/source/winbindd/idmap_nss.c @@ -29,9 +29,9 @@ Initialise idmap database. *****************************/ -static NTSTATUS idmap_nss_int_init(struct idmap_domain *dom) +static NTSTATUS idmap_nss_int_init(struct idmap_domain *dom, + const char *params) { - dom->initialized = True; return NT_STATUS_OK; } @@ -44,10 +44,6 @@ static NTSTATUS idmap_nss_unixids_to_sids(struct idmap_domain *dom, struct id_ma TALLOC_CTX *ctx; int i; - if (! dom->initialized) { - return NT_STATUS_UNSUCCESSFUL; - } - ctx = talloc_new(dom); if ( ! ctx) { DEBUG(0, ("Out of memory!\n")); @@ -134,10 +130,6 @@ static NTSTATUS idmap_nss_sids_to_unixids(struct idmap_domain *dom, struct id_ma TALLOC_CTX *ctx; int i; - if (! dom->initialized) { - return NT_STATUS_UNSUCCESSFUL; - } - ctx = talloc_new(dom); if ( ! ctx) { DEBUG(0, ("Out of memory!\n")); |