1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

Join as a server trust account if the server role is either PDC or BDC.

(This used to be commit 0784ab67addb3422a2d17363b4c3328d2e4b1008)
This commit is contained in:
Andrew Bartlett 2002-03-23 08:03:55 +00:00
parent 1bb3c9cd85
commit 26588248cd

View File

@ -136,7 +136,7 @@ int net_rpc_join_newstyle(int argc, const char **argv)
fstrcat(acct_name, "$");
strlower(acct_name);
acb_info = (lp_server_role() == ROLE_DOMAIN_BDC) ? ACB_SVRTRUST : ACB_WSTRUST;
acb_info = ((lp_server_role() == ROLE_DOMAIN_BDC) || lp_server_role() == ROLE_DOMAIN_PDC) ? ACB_SVRTRUST : ACB_WSTRUST;
result = cli_samr_create_dom_user(cli, mem_ctx, &domain_pol,
acct_name, acb_info,