I have just installed openldap on solaris 8 machine and would like to configure ldap to store users username and password,
so that users can get authenticate by ldap.
How do I configure ldap to store username and password.
Any suggestion would be appreciated
Thanks in Advance (1 Reply)
Can I configure LDAP in Linux Server (ES 3) to make user authentication
for Internet users residing in same LAN ?
Users should be running Windows XP.....
So i mean a cross platform authentication.....
If any one have the solution please help me with details..... (2 Replies)
Hi,
i'm trying to import LDAP database to a new system and i need help with that. I've got a LDAP schema and a ldif file with all data, so how should i proceed with creating new schema and how to import data.
tnx in advance :) (5 Replies)
Hi
I am searching a tool like "LDAP Administrator 2011.1"/ "LDAP-SQL" but for the CLI.
Wish to use LDAP-SQL in scripts (non Windows GUI environment)
http://ldapadministrator.com/resources/english/2011.1/images/sqlquery_large.png
Softerra LDAP Administrator 2011.1 - What's New
OS is... (2 Replies)
Hi, We are trying to use LDAP to authenticate the login from our application. Our application is installed on AIX 6.1 and LDAP server is on active directory windows 2003.
We are getting the below error when we try to login. We have the required lib file in the path it is looking for. Any idea... (3 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)
Discussion started by: solaris_1977
9 Replies
LEARN ABOUT PHP
ldap_bind
LDAP_BIND(3) 1 LDAP_BIND(3)ldap_bind - Bind to LDAP directorySYNOPSIS
bool ldap_bind NULL NULL (resource $link_identifier, [string $bind_rdn], [string $bind_password])
DESCRIPTION
Binds to the LDAP directory with specified RDN and password.
PARAMETERS
o $link_identifier
- An LDAP link identifier, returned by ldap_connect(3).
o $bind_rdn
-
o $bind_password
-
If $bind_rdn and $bind_password are not specified, an anonymous bind is attempted.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Using LDAP Bind
<?php
// using ldap bind
$ldaprdn = 'uname'; // ldap rdn or dn
$ldappass = 'password'; // associated password
// connect to ldap server
$ldapconn = ldap_connect("ldap.example.com")
or die("Could not connect to LDAP server.");
if ($ldapconn) {
// binding to ldap server
$ldapbind = ldap_bind($ldapconn, $ldaprdn, $ldappass);
// verify binding
if ($ldapbind) {
echo "LDAP bind successful...";
} else {
echo "LDAP bind failed...";
}
}
?>
Example #2
Using LDAP Bind Anonymously
<?php
//using ldap bind anonymously
// connect to ldap server
$ldapconn = ldap_connect("ldap.example.com")
or die("Could not connect to LDAP server.");
if ($ldapconn) {
// binding anonymously
$ldapbind = ldap_bind($ldapconn);
if ($ldapbind) {
echo "LDAP bind anonymous successful...";
} else {
echo "LDAP bind anonymous failed...";
}
}
?>
SEE ALSO ldap_unbind(3).
PHP Documentation Group LDAP_BIND(3)