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 | fd87564eecfb2329edc8e2b9631f728adaa73b96 (patch) | |
tree | dff804e6f4572cf7510cbec49efe3e0d030f54b8 /source3/nsswitch | |
parent | ab1ccfc487caf112c2dfcac6a8a23533e6a23e84 (diff) | |
download | samba-fd87564eecfb2329edc8e2b9631f728adaa73b96.tar.gz samba-fd87564eecfb2329edc8e2b9631f728adaa73b96.tar.bz2 samba-fd87564eecfb2329edc8e2b9631f728adaa73b96.zip |
lp_security() is a function not an integer
(This used to be commit 71907f32ba9c8700ba185b565a50c55a3a451758)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_group.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |