1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +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 commit is contained in:
Günther Deschner
2006-06-09 11:02:52 +00:00
committed by Gerald (Jerry) Carter
parent 60b5f9618b
commit f6516a799a

View File

@@ -287,9 +287,13 @@ got_connection:
not servicePrincipalName; found by Guenther Deschner @ Sernet. not servicePrincipalName; found by Guenther Deschner @ Sernet.
Is this still correct? The comment does not match 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) { if (!ads->auth.realm) {