summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index bac85f3222..7b8b41b10a 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -287,9 +287,13 @@ got_connection:
not servicePrincipalName; found by Guenther Deschner @ Sernet.
Is this still correct? The comment does not match
- the code. --jerry */
+ the code. --jerry
+
+ Yes it is :)
+ - Guenther
+ */
- asprintf(&ads->auth.user_name, "host/%s", global_myname() );
+ asprintf(&ads->auth.user_name, "%s$", global_myname() );
}
if (!ads->auth.realm) {