LDAP_SASL_BIND(3) 1 LDAP_SASL_BIND(3)ldap_sasl_bind - Bind to LDAP directory using SASLSYNOPSIS
bool ldap_sasl_bind NULL NULL NULL NULL NULL NULL NULL (resource $link, [string $binddn], [string $password], [string $sasl_mech],
[string $sasl_realm], [string $sasl_authc_id], [string $sasl_authz_id], [string $props])
DESCRIPTION
Warning
This function is currently not documented; only its argument list is available.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
NOTES
Note
Requirement
ldap_sasl_bind(3) requires SASL support ( sasl.h). Be sure --with-ldap-sasl is used when configuring PHP otherwise this function
will be undefined.
CHANGELOG
+--------+--------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+--------------------------------+
| 5.3.3 | |
| | |
| | Support on Windows was added. |
| | |
+--------+--------------------------------+
PHP Documentation Group LDAP_SASL_BIND(3)
Check Out this Related Man Page
sasl_listmech(3) SASL man pages sasl_listmech(3)NAME
sasl_listmech - Retrieve a list of the supported SASL mechanisms
SYNOPSIS
#include <sasl/sasl.h>
int sasl_listmech(sasl_conn_t *conn,
const char *user,
const char *prefix,
const char *sep,
const char *suffix,
const char **result,
unsigned *plen,
int *pcount);
DESCRIPTION
sasl_listmech() returns a string listing the SASL names of all the mechanisms available to the specified user. This is typically given to
the client through a capability command or initial server response. Client applications need this list so that they know what mechanisms
the server supports.
conn the SASL context for this connection user (optional) restricts the mechanism list to only those available to the user. prefix
appended to beginning of result sep appended between mechanisms suffix appended to end of result result NULL terminated result string
(allocated/freed by library) plen length of result filled in by library. May be NULL pcount Number of mechanisms available (filled in by
library). May be NULL
Example:
sasl_listmech(conn,NULL,"(",",",")",&mechlist,NULL,NULL);
may give the string
(ANONYMOUS,KERBEROS_V4,DIGEST-MD5)
as a result
RETURN VALUE
Returns SASL_OK on success. SASL error code on failure.
CONFORMING TO
RFC 4422
SEE ALSO sasl(3), sasl_errors(3), sasl_server_new(3), sasl_client_new(3)SASL 10 July 2001 sasl_listmech(3)
Hi,
I have configured ldap manually on solaris 10/11 machine with below entries:
# ldapclient list |grep sudo
NS_LDAP_SERVICE_SEARCH_DESC= sudoers:ou=SUDOers,dc=exm,dc=ple,dc=com
# cat /etc/nsswitch.conf |grep -i sudo
sudoers: files ldap
#
But groups available in LDAP server... (8 Replies)
I have very limited knowledge on LDAP configuration and have been trying fix one issue, but unsuccessful.
The server, I am working on, is Solaris-10 zone. sudoers is configured on LDAP (its not on local server). I have access to login directly on server with root, but somehow sudo is not working... (9 Replies)
Hello,
I have configured new LDAP and new LDAP clients. When I do "sudo su -", it shows me lot of information, which is not required on screen. I am not sure, if any debug mode is enabled or from where it can be turned off. Please suggest, if it is know for you.
-bash-3.2$ sudo su -
sudo:... (8 Replies)