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:
committed by
Gerald (Jerry) Carter
parent
60b5f9618b
commit
f6516a799a
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user