1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00

lp_security() is a function not an integer

(This used to be commit 71907f32ba9c8700ba185b565a50c55a3a451758)
This commit is contained in:
Andrew Tridgell 2003-06-23 06:38:19 +00:00
parent ab1ccfc487
commit fd87564eec

View File

@ -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"));