diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-06-23 06:38:19 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-06-23 06:38:19 +0000 |
commit | 71907f32ba9c8700ba185b565a50c55a3a451758 (patch) | |
tree | 1ab36222d498978cdb6ca1f9361011ce13f7ae2e /source/nsswitch | |
parent | efad5dab522c466ae9e6bc114d0a0e6d1a7ed06d (diff) | |
download | samba-71907f32ba9c8700ba185b565a50c55a3a451758.tar.gz samba-71907f32ba9c8700ba185b565a50c55a3a451758.tar.xz samba-71907f32ba9c8700ba185b565a50c55a3a451758.zip |
lp_security() is a function not an integer
Diffstat (limited to 'source/nsswitch')
-rw-r--r-- | source/nsswitch/winbindd_group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_group.c b/source/nsswitch/winbindd_group.c index 6749f55bff3..11884af4cf0 100644 --- a/source/nsswitch/winbindd_group.c +++ b/source/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")); |