[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-833-g31ab1d6

Günther Deschner gd at samba.org
Thu Apr 2 20:53:44 GMT 2009


The branch, master has been updated
       via  31ab1d6a6487fb442ccd5b2cd093b4a2b7b80291 (commit)
      from  168eb23252c14234d09f7038b9894edf86e0efe1 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 31ab1d6a6487fb442ccd5b2cd093b4a2b7b80291
Author: Günther Deschner <gd at samba.org>
Date:   Thu Apr 2 18:48:15 2009 +0200

    s3-lsa: use LSA_ROLE definitions in _lsa_QueryInfoPolicy().
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source3/rpc_server/srv_lsa_nt.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index 0eee4a9..0ce2b40 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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list