svn commit: samba r20290 - in branches/SAMBA_3_0/source/nsswitch: .
idra at samba.org
idra at samba.org
Wed Dec 20 19:05:07 GMT 2006
Author: idra
Date: 2006-12-20 19:05:07 +0000 (Wed, 20 Dec 2006)
New Revision: 20290
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20290
Log:
Remove unused call
Modified:
branches/SAMBA_3_0/source/nsswitch/idmap_nss.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/idmap_nss.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/idmap_nss.c 2006-12-20 17:56:26 UTC (rev 20289)
+++ branches/SAMBA_3_0/source/nsswitch/idmap_nss.c 2006-12-20 19:05:07 UTC (rev 20290)
@@ -42,16 +42,8 @@
static NTSTATUS idmap_nss_unixids_to_sids(struct idmap_domain *dom, struct id_map **ids)
{
TALLOC_CTX *ctx;
- struct winbindd_domain *wdom;
int i;
- wdom = find_lookup_domain_from_name(dom->name);
- if (!wdom) {
- DEBUG(2, ("Can't lookup domain %s\n", dom->name));
- return NT_STATUS_NO_SUCH_DOMAIN;
- }
- wdom->initialized = False;
-
ctx = talloc_new(dom);
if ( ! ctx) {
DEBUG(0, ("Out of memory!\n"));
@@ -155,7 +147,7 @@
/* by default calls to winbindd are disabled
the following call will not recurse so this is safe */
winbind_on();
- ret =winbind_lookup_sid(ctx, ids[i]->sid, &dom_name, &name, &type);
+ ret = winbind_lookup_sid(ctx, ids[i]->sid, &dom_name, &name, &type);
winbind_off();
if (!ret) {
More information about the samba-cvs
mailing list