summaryrefslogtreecommitdiff
path: root/source4/rpc_server/drsuapi
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-11 23:14:07 +1000
committerAndrew Tridgell <tridge@samba.org>2009-09-11 23:14:07 +1000
commit97182d52dfff8ceca797a5c96122bf94731e79f0 (patch)
tree45fcf96fd1a5d928785e117b9084a1173c8e8697 /source4/rpc_server/drsuapi
parente4683bfb3b34eb4b0e9eecc5136d6bca9ce39369 (diff)
downloadsamba-97182d52dfff8ceca797a5c96122bf94731e79f0.tar.gz
samba-97182d52dfff8ceca797a5c96122bf94731e79f0.tar.bz2
samba-97182d52dfff8ceca797a5c96122bf94731e79f0.zip
s4-drs: fixed the ldap SPN in AddEntry
Diffstat (limited to 'source4/rpc_server/drsuapi')
-rw-r--r--source4/rpc_server/drsuapi/addentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/addentry.c b/source4/rpc_server/drsuapi/addentry.c
index 4ccf14d93a..ae478027a6 100644
--- a/source4/rpc_server/drsuapi/addentry.c
+++ b/source4/rpc_server/drsuapi/addentry.c
@@ -103,7 +103,7 @@ static WERROR drsuapi_add_SPNs(struct drsuapi_bind_state *b_state,
"E3514235-4B06-11D1-AB04-00C04FC2DCD2/%s/%s",
ntds_guid_str, dom_string);
el->values[0].length = strlen((char *)el->values[0].data);
- el->values[1].data = (uint8_t *)talloc_asprintf(el->values, "ldap/%s/%s",
+ el->values[1].data = (uint8_t *)talloc_asprintf(el->values, "ldap/%s._msdcs.%s",
ntds_guid_str, dom_string);
el->values[1].length = strlen((char *)el->values[1].data);