From fd87564eecfb2329edc8e2b9631f728adaa73b96 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 23 Jun 2003 06:38:19 +0000 Subject: lp_security() is a function not an integer (This used to be commit 71907f32ba9c8700ba185b565a50c55a3a451758) --- source3/nsswitch/winbindd_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c index 6749f55bff..11884af4cf 100644 --- a/source3/nsswitch/winbindd_group.c +++ b/source3/nsswitch/winbindd_group.c @@ -459,7 +459,7 @@ static BOOL get_sam_group_entries(struct getent_state *ent) /* get the domain local groups if we are a member of a native win2k domain and are not using LDAP to get the groups */ - if ( lp_security != SEC_ADS && domain->native_mode + if ( lp_security() != SEC_ADS && domain->native_mode && strequal(lp_workgroup(), domain->name) ) { DEBUG(4,("get_sam_group_entries: Native Mode 2k domain; enumerating local groups as well\n")); -- cgit