mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s3:smb_macros.h: add IS_AD_DC as addition to IS_DC
In the long run we should remove this again (as well as IS_DC). But for now this makes some code changes in winbindd easier to follow. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13278 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
07844a9a13
commit
c58f8c3cd8
@ -214,6 +214,7 @@ copy an IP address from one buffer to another
|
||||
*****************************************************************************/
|
||||
|
||||
#define IS_DC (lp_server_role()==ROLE_DOMAIN_PDC || lp_server_role()==ROLE_DOMAIN_BDC || lp_server_role() == ROLE_ACTIVE_DIRECTORY_DC)
|
||||
#define IS_AD_DC (lp_server_role() == ROLE_ACTIVE_DIRECTORY_DC)
|
||||
|
||||
/*
|
||||
* If you add any entries to KERBEROS_VERIFY defines, please modify the below expressions
|
||||
|
Loading…
Reference in New Issue
Block a user