1
0
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:
Gerald Carter 2005-02-25 18:38:19 +00:00 committed by Gerald (Jerry) Carter
parent 8bff048650
commit 67f8a1e3bc

View File

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