From: Günther Deschner Date: Thu, 2 Apr 2009 16:48:15 +0000 (+0200) Subject: s3-lsa: use LSA_ROLE definitions in _lsa_QueryInfoPolicy(). X-Git-Tag: tdb-1.1.5~1031^2~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31ab1d6a6487fb442ccd5b2cd093b4a2b7b80291;p=thirdparty%2Fsamba.git s3-lsa: use LSA_ROLE definitions in _lsa_QueryInfoPolicy(). Guenther --- diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c index 0eee4a903b6..0ce2b40f656 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -648,14 +648,14 @@ NTSTATUS _lsa_QueryInfoPolicy(pipes_struct *p, * only a BDC is a backup controller * of the domain, it controls. */ - info->role.role = 2; + info->role.role = LSA_ROLE_BACKUP; break; default: /* * any other role is a primary * of the domain, it controls. */ - info->role.role = 3; + info->role.role = LSA_ROLE_PRIMARY; break; } break;