11-04-2018
How to add new server into ldap?
Hello Admins,
I need help in adding newly built solaris 10 zone into LDAP server. We have LDAP server running on Solaris 10. We just built new solaris zone and would like to add it to LDAP server. The LDAP serves as centralized user administration. Please let me know the steps.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Can somebody help me with ldapsearch? I am a newbie with linux and trying to do a ldapquery to resolve a full name from Active Directory?
When i give the command ldapsearch -h sso541885 "cn=mloon"
I get the error "ldap_sasl_interactive_bind_s: can't contact ldap server
Regards,
... (6 Replies)
Discussion started by: vanloonmichel
6 Replies
2. UNIX for Advanced & Expert Users
Hi,
I'm using debian etch in my server and have a preconfigured LDAP server. I want to know which configuration can I use to configure libnss-ldap. My main questions is:
Does the LDAP database require login?
Special LDAP privileges for root?
Make the configuration file readable/writeable by... (1 Reply)
Discussion started by: mjdousti
1 Replies
3. Solaris
hi,
I found /etc/rc2.d/S**ldap.client, while it's just the client of LDAP, where can I found the ldap server? when/where/how did it start on solaris 9/10?
Could anyone help me?
Best Wishes. (1 Reply)
Discussion started by: a2156z
1 Replies
4. Shell Programming and Scripting
HI All
I need help to understand how the ldap works in Solaris 9 & Solaris 10.
Kindly provide me some helpful commands related to LDAP
Regards
Jagan (2 Replies)
Discussion started by: jaganblore
2 Replies
5. Debian
Hi every body!
I have an debian lenny server with samba and openldap on it.
1. Problem: i can not login ldap user auth.log: nss_ldap: could not connect to any LDAP server as cn=admin,dc=innsbruck,dc=sti,dc=at - Can't contact LDAP server
2. Problem: auth.log: nss_ldap: failed to bind to... (1 Reply)
Discussion started by: magge
1 Replies
6. UNIX for Advanced & Expert Users
I'm doing a lot of research on ldap server, and wanted to know the best and easiest OS to deploy it on. Please submit OS type and version. We are planning to deploy this in the next a couple of months. Probably deploy this as a VMware VM, but we have SPARC and x64 physical servers we can use.
... (2 Replies)
Discussion started by: joesomontan
2 Replies
7. UNIX and Linux Applications
Hi,
i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers.
Where you can read how to do it? Or can tell me how to do it?
Thanks.
P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies
8. UNIX and Linux Applications
Hello everyone
I wanted to asked you guys for advice regarding the requirement to have Open LDAP Server in organization.
I installed Open LDAP Server, and also Client machine for testing before I put into production.
Everything works fine, along with a friendly web interface, him I add user... (1 Reply)
Discussion started by: James Stone
1 Replies
9. Red Hat
after configured ldap server with 5 user name
ldapuser1
ldapuser2
ldapuser3
ldapuser4
ldapuser5
i have configured ldap client in client pc, this five users sucessfully login in client pc, now i want add one more user ldapuser6 how to add (0 Replies)
Discussion started by: ainstin
0 Replies
10. Solaris
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 directory
SYNOPSIS
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)