svn commit: samba r16117 - branches/SAMBA_3_0/source/libads
trunk/source/libads
gd at samba.org
gd at samba.org
Fri Jun 9 11:02:53 GMT 2006
Author: gd
Date: 2006-06-09 11:02:52 +0000 (Fri, 09 Jun 2006)
New Revision: 16117
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16117
Log:
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
Modified:
branches/SAMBA_3_0/source/libads/ldap.c
trunk/source/libads/ldap.c
Changeset:
Modified: branches/SAMBA_3_0/source/libads/ldap.c
===================================================================
--- branches/SAMBA_3_0/source/libads/ldap.c 2006-06-09 10:50:45 UTC (rev 16116)
+++ branches/SAMBA_3_0/source/libads/ldap.c 2006-06-09 11:02:52 UTC (rev 16117)
@@ -287,9 +287,13 @@
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) {
Modified: trunk/source/libads/ldap.c
===================================================================
--- trunk/source/libads/ldap.c 2006-06-09 10:50:45 UTC (rev 16116)
+++ trunk/source/libads/ldap.c 2006-06-09 11:02:52 UTC (rev 16117)
@@ -287,9 +287,13 @@
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) {
More information about the samba-cvs
mailing list