svn commit: samba r4453 - in branches/SAMBA_4_0/source/rpc_server/dssetup: .

tridge at samba.org tridge at samba.org
Fri Dec 31 12:10:36 GMT 2004


Author: tridge
Date: 2004-12-31 12:10:35 +0000 (Fri, 31 Dec 2004)
New Revision: 4453

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4453

Log:
use lp_server_role(), which currently returns 3, for the dssetup
role. The value '5', which is what my w2k3 DC returns, doesn't
work. I'm not sure why this is.

with this change the GUI ACL editor from w2k3 works properly, with
either server role in the HKLM registry.






Modified:
   branches/SAMBA_4_0/source/rpc_server/dssetup/dcesrv_dssetup.c


Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/dssetup/dcesrv_dssetup.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/dssetup/dcesrv_dssetup.c	2004-12-31 11:37:26 UTC (rev 4452)
+++ branches/SAMBA_4_0/source/rpc_server/dssetup/dcesrv_dssetup.c	2004-12-31 12:10:35 UTC (rev 4453)
@@ -56,7 +56,7 @@
 		if (r->out.info == NULL) {
 			return WERR_NOMEM;
 		}
-		r->out.info->basic.role = 5;
+		r->out.info->basic.role = lp_server_role();
 		r->out.info->basic.flags = 0x01000003;
 		r->out.info->basic.domain = samdb_result_string(res[0], "name", NULL);
 		r->out.info->basic.dns_domain = samdb_result_string(res[0], "dnsDomain", NULL);



More information about the samba-cvs mailing list