mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r5565: fix breakage on gcc 2.96
This commit is contained in:
parent
8bff048650
commit
67f8a1e3bc
@ -874,9 +874,9 @@ static int smbldap_connect_system(struct smbldap_state *ldap_state, LDAP * ldap_
|
||||
static int smbldap_open(struct smbldap_state *ldap_state)
|
||||
{
|
||||
int rc, opt_rc;
|
||||
SMB_ASSERT(ldap_state);
|
||||
BOOL reopen = False;
|
||||
|
||||
SMB_ASSERT(ldap_state);
|
||||
#ifndef NO_LDAP_SECURITY
|
||||
if (geteuid() != 0) {
|
||||
DEBUG(0, ("smbldap_open: cannot access LDAP when not root..\n"));
|
||||
|
Loading…
Reference in New Issue
Block a user