1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r16117: Make winbindd work again in security=ads.

We still used the old HOST/* UPN to get e.g. users, now we need
samaccountname$@REA.LM.

Guenther
(This used to be commit f6516a799a)
This commit is contained in:
Günther Deschner 2006-06-09 11:02:52 +00:00 committed by Gerald (Jerry) Carter
parent c12c557a13
commit 97f496a0e3

View File

@ -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) {