Sponsored Content
Operating Systems Solaris How to add new server into ldap? Post 303025520 by jlliagre on Sunday 4th of November 2018 08:07:05 PM
Old 11-04-2018
There is nothing specific regarding the fact it is a zone. Just configure the zone OS as an LDAP client, assuming the ldap server is already correctly set-up .

If the server has a configuration profile, you can simply use it with:

Code:
ldapclient init -a profile=profileName ldapServer

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ldapsearch (Can't contact ldap server)

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

Finding LDAP server configurations

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

How to disable LDAP server on solaris9/10?

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

need help on configuring LDAP server on solaris

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

nss_ldap failed to bind to LDAP server

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

LDAP SERVER: OS TO USE

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

Server migration from samba+ldap to windows server 2003

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

Implementation of Open LDAP Server

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

How to add ldapusers in ldap server?

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

LDAP Client not connecting to LDAP server

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
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)
All times are GMT -4. The time now is 03:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy