summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_ads.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-05-12 13:09:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:53 -0500
commit5906b27ab5f425d737b94d02a9855205cb55c409 (patch)
treedc5542ab8236af4cf6e2dfaee16c655c1ed7696d /source3/nsswitch/winbindd_ads.c
parentd5e18ed8fdd114baa6e0060447dd46ae9fe3066a (diff)
downloadsamba-5906b27ab5f425d737b94d02a9855205cb55c409.tar.gz
samba-5906b27ab5f425d737b94d02a9855205cb55c409.tar.bz2
samba-5906b27ab5f425d737b94d02a9855205cb55c409.zip
r6755: removing domain_sid() since it is not referenced anymore
(This used to be commit 8104149e6f490fa1a298e61becc8df01ddd92008)
Diffstat (limited to 'source3/nsswitch/winbindd_ads.c')
-rw-r--r--source3/nsswitch/winbindd_ads.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c
index 4daf4ba989..5f23e755d4 100644
--- a/source3/nsswitch/winbindd_ads.c
+++ b/source3/nsswitch/winbindd_ads.c
@@ -892,36 +892,6 @@ done:
return result;
}
-/* find the domain sid for a domain */
-static NTSTATUS domain_sid(struct winbindd_domain *domain, DOM_SID *sid)
-{
- ADS_STRUCT *ads;
- ADS_STATUS rc;
-
- DEBUG(3,("ads: domain_sid\n"));
-
- ads = ads_cached_connection(domain);
-
- if (!ads) {
- domain->last_status = NT_STATUS_SERVER_DISABLED;
- return NT_STATUS_UNSUCCESSFUL;
- }
-
- rc = ads_domain_sid(ads, sid);
-
- if (!ADS_ERR_OK(rc)) {
-
- /* its a dead connection; don't destroy it though
- since that has already been done indirectly
- by ads_domain_sid() */
-
- domain->private = NULL;
- }
-
- return ads_ntstatus(rc);
-}
-
-
/* find alternate names list for the domain - for ADS this is the
netbios name */
static NTSTATUS alternate_name(struct winbindd_domain *domain)
@@ -972,7 +942,6 @@ struct winbindd_methods ads_methods = {
lookup_groupmem,
sequence_number,
trusted_domains,
- domain_sid,
alternate_name
};