Move some functions from ldap.c to ldap_util.c.
These will be used by the LDAP innetgr() implementation.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: ISC
|
||||
*
|
||||
* Copyright (c) 2003-2020 Todd C. Miller <Todd.Miller@sudo.ws>
|
||||
* Copyright (c) 2003-2023 Todd C. Miller <Todd.Miller@sudo.ws>
|
||||
*
|
||||
* This code is derived from software contributed by Aaron Spangler.
|
||||
*
|
||||
@@ -59,10 +59,6 @@ extern int ldapssl_set_strength(LDAP *ldap, int strength);
|
||||
# define LDAP_OPT_NETWORK_TIMEOUT LDAP_OPT_CONNECT_TIMEOUT
|
||||
#endif
|
||||
|
||||
#ifndef LDAP_OPT_SUCCESS
|
||||
# define LDAP_OPT_SUCCESS LDAP_SUCCESS
|
||||
#endif
|
||||
|
||||
#ifndef LDAPS_PORT
|
||||
# define LDAPS_PORT 636
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user