summaryrefslogtreecommitdiff
path: root/source3/smbd/negprot.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-04-18 06:56:44 +0000
committerAndrew Tridgell <tridge@samba.org>2002-04-18 06:56:44 +0000
commitc0a991943044e038b78f796fb35d7625eb843d85 (patch)
tree5a837cd8ab9f1ec00c42d8a623795eb604dc8329 /source3/smbd/negprot.c
parent6a9bc86d62cc9ba532392af02a5d71e50b6b0411 (diff)
downloadsamba-c0a991943044e038b78f796fb35d7625eb843d85.tar.gz
samba-c0a991943044e038b78f796fb35d7625eb843d85.tar.bz2
samba-c0a991943044e038b78f796fb35d7625eb843d85.zip
fixed the fallback to a BDC for ADS connections
(This used to be commit 3e58a1ee83ea0b4347ce24e566445cc6cb67bb3a)
Diffstat (limited to 'source3/smbd/negprot.c')
-rw-r--r--source3/smbd/negprot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 18682e6c9f..c548ee6196 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -197,7 +197,7 @@ static int negprot_spnego(char *p)
blob = spnego_gen_negTokenInit(guid, OIDs_plain, "NONE");
} else {
ADS_STRUCT *ads;
- ads = ads_init(NULL, NULL, NULL, NULL);
+ ads = ads_init_simple();
/* win2000 uses host$@REALM, which we will probably use eventually,
but for now this works */
asprintf(&principal, "HOST/%s@%s", guid, ads->realm);