Software :: Openldap Does Not Start / Slapd Does Nothing?

Dec 21, 2010

I was trying to run openldap in /usr/local/libexec on ./slapd command.

As usual, it doesn't respond anything which is normal (side qns: can anyone tell me why ./slapd doesn't even return me a status message?)

Then I went on to check ps -ef | grep slapd, but found that the ./slapd was not in process at all (means its not running). If it ran successfully, it should be in my process.

View 3 Replies


ADVERTISEMENT

Server :: Ldap Cannot Carry Slapd.conf Changes Or Did Not Use /etc/openldap/slapd.conf?

Aug 20, 2010

I am setting up LDAP server, i set slapd.conf(dc=proldap,dc=com) and start ldap it is OK but when i check using ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts result is : namingContexts: dc=my-domain,dc=com

it seems that it did not use my slapd.conf so i tried removing my slapd.conf from /etc/openldap and start slapd again and it did start with no errors. and when i do ldapsearch again still uses dc=my-domain,dc=com

I tried searching about this in google and found no answers,

my reference in setting up ldap is the link below. but it seemed that it always uses another configuration not the one i modified

I'm using Fedora12, ldap version 2.4.19. i installed ldap by yum install url

url

View 12 Replies View Related

Ubuntu Installation :: OpenLDAP Slapd / Can't Stop The Service With Service Slapd Stop?

Oct 20, 2010

I am trying to setup LDAP server on Ubuntu 10.04 and am sticking to the old /etc/ldap/slapd.conf file configuration.

I had to comment ldapi:/// from /etc/default/slapd since it was giving 'Address already in use error'. Also had to juggle with pid directory and file issues

After that I was able to start the slapd daemon (service slapd start) but now I am running into multiple issues:

1. Can't stop the service with service slapd stop

Code:
## Service stop returns 0, maybe because start-stop-daemon is not giving error
#service slapd stop
Stopping OpenLDAP: slapd.
# echo $?
0

Will switching to BDB database resolve this ?Also can't I slapcat at non-root user ??

View 2 Replies View Related

Software :: Openldap (slapd) - Authentication Using Simple Name?

Aug 6, 2010

Is it possible to set up slapd to authenticate users using a simple name instead of a dn?

View 1 Replies View Related

Fedora :: Openldap(slapd) Starts With The Wrong NamingContext?

Jan 29, 2010

I am using Fedora12. I installed the following packages:
openldap-servers-2.4.19-1.fc12.x86_64
openldap-clients-2.4.19-1.fc12.x86_64
openldap-2.4.19-1.fc12.x86_64
db4-4.7.25-13.fc12.x86_64

Where should I dig, what I'm doing wrong ?

View 7 Replies View Related

Ubuntu Servers :: Slapd(openLDAP) Refuses Connections?

May 24, 2010

I have slapd-server running but it seems to refuse connections in a very odd way. Wireshark shows that everytime JavaEE-client tries to connect, only 2 packages are sent. As I understand, in tcp/ip protocol, the first is just "hello, who's there". The last is just a message consisting of ACK and RST. I think RST means "we're done". At this point I don't think any credentials are checked so I don't know what could be wrong

View 1 Replies View Related

CentOS 5 :: OpenLdap First Start: Bdb_db_open: Warning - No DB_CONFIG File Found

Feb 22, 2009

I'm stepping out with LDAP for the first time. It's up and running. My Question is really closer to DB4, the Berkely database. When I start the ldap service I get this output:

# service ldap restart
Stopping slapd: [ OK ]
Checking configuration files for slapd: bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2)
Expect poor performance for suffix dc=example,dc=com.
config file testing succeeded

View 3 Replies View Related

Fedora :: Error: Package Openldap-2.4.21-6.fc13.x86_64 (which Is Newer Than Openldap-2.4.21-4.fc13.i686

Jun 8, 2010

Code:
$ su -c 'yum install wine'
this forum won't let me put all the text in Transaction Check Error: package openldap-2.4.21-6.fc13.x86_64 (which is newer than openldap-2.4.21-4.fc13.i686) is already installed package nss-softokn-freebl-3.12.4-19.fc13.x86_64 (which is newer than nss-softokn-freebl-3.12.4-17.fc13.i686) is already installed

View 4 Replies View Related

Ubuntu Servers :: 10.04 Can't Install SLAPD

Jan 16, 2011

I use Ubuntu server 10.04 I try to install slapd, but i get the following error

Code:
libldap-2.4-2 (= 2.4.21-0buntu5.2) but 2.4.21-0ubuntu5.3 is to be installed
E: Broken packages

And also, when I try to install some other packages such as nagios, squid, .. I get the some list of errors. One of the error say something like

Code:
Failed to fetch http://id.archive.ubuntu.com/ubuntu/pool/main/n/nagios-plugins/nagios-plugins-standard_1.14.14-1ubuntu1_i386.deb Temporary failure resolving 'id.archive.ubuntu.com'

What to do? Should I edit /etc/apt/source.list to point to other repo site?

View 2 Replies View Related

Software :: Can't Install Slapd - Broken Package

Oct 7, 2010

Can't install slapd (OpenLDAP) server on my laptop running Ubuntu 10.04 (lucid) Gives broken package error

Code:
sudo apt-get install slapd
Reading package lists... Done
Building dependency tree
Reading state information... Done

[Code].....

View 2 Replies View Related

Debian :: LDAP On Squeeze (6.0) Missing Slapd.conf?

Mar 1, 2011

I try to setup OpenLDAP on Debian Squeeze.But it seems the documentation I found is differed than the installation.

Normally I would expect /etc/ldap/slapd.conf as also mentioned at url.However this file does not exists and I got the feeling Debian changes a lot with the default (bit poor if you asked me).Seems they created a LDAP database and put the config in there, correct me if I am wrong?A folder /etc/ldap/slapd.d is created with some config inside. And also a /etc/ldap/ldap.conf does exist.

Is there any documentation on this, and what if I would like to have a flat config in /etc/ldap/slapd.conf?

View 4 Replies View Related

Networking :: Ubuntu (lucid) - Clearing/flushing/purging Slapd?

Aug 4, 2010

I'd like to clear the slapd DB so that I could reinstall it from scratch, however, when I remove the package and reinstall it, I still get some items in there.How can I purge/flush/remove everything from slapd?Instructions I follow to do the set up?https://help.ubuntu.com/10.04/server...ap-server.html

View 3 Replies View Related

General :: Index An Ldap Database Without Shutting Down Or Stoping The Slapd?

Feb 26, 2010

I want to index my openLDAP database without shutting down or stopping by slapd. Is there a way to do that.

I also have master - slave architecture setuped for the replication.

View 4 Replies View Related

General :: LDAP: Ldapsearch Can't Return More Than 500 Results; Also, Can't Find Slapd.conf?

Feb 20, 2010

If I do something to the effect of this:ldapsearch -b "dc=example,dc=com" -x -z 3000

I'll get this back at the end of the result set:
# search result
search: 2
result: 4 Size limit exceeded

The thing is is that I have way more (thousands) than what's being displayed here. And I've tried to mess around with /etc/ldap.conf, changing the SIZELIMIT directive to something else, 10000, let's say, and restarting the server, but the same goddamn thing happens.

I've been messing around with this for quite some time now, hopefully someone will be able to shed some light on this so that I can learn my way out of this mess that is LDAP. Also in a related matter, I'm running Mint (based off of Ubuntu), and all the documentation that I've seen (probably read a good 100+ pages in a few days now on this) keeps telling me to make changes to my slapd.conf file. What slapd.conf file? It doesn't exist, I can't find it at least. find / -name slapd.conf turns up nothing.

View 10 Replies View Related

Server :: Debian: Custom LDAP Schemas Without Utilizing Slapd.conf?

Mar 1, 2010

Slapd is up and running perfectly well, and I can add and remove entries without a problem. My OS is the Ubuntu based Mint.

So I was hoping for someone to give me a nudge in the right direction for doing this without a slapd.conf file, or directions for how to force slapd to pay attention to a slapd.conf file whose location I specify.

I've tried messing around with /etc/ldap/ldap.conf to no avail, I've tried just putting in a custom slapd.conf file but slapd doesn't pay attention to it.

And to the best of my knowledge I can't find anything written on this specific topic. I can find plenty on slapd.conf's, but that's just taunting me considering I don't even have it on my system.

View 1 Replies View Related

Server :: OpenLDAP And TLS-SSL ?

Jan 25, 2011

I configured my openldap but now I want to implement SSL-TLS

This is my basic slapd.conf configuration

Code:

And I created this script (simple I know) to create this TLS/SSL Config but it won't work users cannot login

path when I am moving certs /etc/openldap/cacerts

Code:

As you see I create the key and certificate, assign permissions, add stuff to slapd.conf and finally copy thecer to a client PC

On client side I use authconfig-tui

My enviroment is Centos 5.5

what is wrong on my config?

View 5 Replies View Related

Software :: Using The TLS With Openldap?

Apr 22, 2011

I'm tried to config TLS with Openldap follow this site [URL]. when attempted to sign the cert request by my CA. I have a fault:

root@ldap:/usr/local/openssl/bin# ./CA.sh -sign
Using configuration from /usr/lib/ssl/openssl.cnf
Error opening CA private key ./demoCA/private/cakey.pem

[code]....

View 2 Replies View Related

OpenSUSE :: 11.2 - How To Enable TLS / SSL On OpenLDAP

Jul 6, 2010

Every time I try to setup TLS in openldap using the yast applet. The database blows up and dies. I cannot restart the ldap service unless I create a new database. Basically I get LDAP up and working perfectly. Then I use yast to go and enable TLS and SSL support. I put in the paths of the certs. Then hit okay and that is when it blows up. I cannot restart the service. I follow the directions exactly in the link below.
OpenLDAP Faq-O-Matic: How do I use TLS/SSL?
Where is says "using certificates".

Here is what it says in the /var/log/messages
Code:
Jul 6 16:45:31 leia slapd[23996]: @(#) $OpenLDAP: slapd 2.4.17 (Oct 24 2009 04:51:18) $#012#011abuild@build32:/usr/src/packages/BUILD/openldap-2.4.17/servers/slapd
Jul 6 16:45:31 leia slapd[23996]: config error processing cn=schema,cn=config:
Jul 6 16:45:31 leia slapd[23996]: slapd stopped.
Jul 6 16:45:31 leia slapd[23996]: connections_destroy: nothing to destroy.
Jul 6 16:45:31 leia startproc: startproc: exit status of parent of /usr/lib/openldap/slapd: 1

How can I enable TLS/SSL on openldap in opensuse 11.2 without the database dying?

View 2 Replies View Related

Red Hat / Fedora :: Add Entry Into Openldap?

May 27, 2011

I was trying to find documentation on how to add an a new object into openldap, however I can not seam to find a good walk through.

Just so everyone knows what I'm trying to do, I need to add a new object called bannerid, this bannerid is a unique id that will help me find student accounts in my openldap directly much quicker.

View 2 Replies View Related

Server :: Add A New Schema To Openldap 2.4.11?

Jan 28, 2009

Openldap 2.4.11 uses cn=config as the main configuration instead of slapd.conf .

How to add a new schema to openldap 2.4.11 that uses cn=config.

View 12 Replies View Related

Server :: Openldap And Self Authentication?

Aug 24, 2010

I was thinking of merging my openldap and samba bdc servers. Is it ok for a server to authenticate against itself? (ie ldap.conf points to localhost)

View 1 Replies View Related

Server :: OpenLDAP Configuration On Red Hat 5.4?

Jul 13, 2011

I have a RHEL 5.4 server installed in a server farm. The server is administered under a central AD, which means that administrators are registered in the AD.

However, I have to deploy an application on the linux server, that will use it's own OpenLDAP server. This means that this application will be the client to the LDAP server installed on the same RHEL server.

I tried installing OpenLDAP using yum and it resulted in a very fatal issue. Somehow the configuration files used for finding the Linux server from the AD was overwritten and the Linux server was not reachable anymore.

After some investigations, and possibly, rebuild, the server has been handed over to me.

The problem is how should I install OpenLDAP so that the existing connection to AD is not lost.

On the Linux server I see a /etc/openldap directory but only contains ldap.conf and cacerts directory.

View 3 Replies View Related

Server :: Cannot Map SASL DN To OpenLDAP's DN

Jul 27, 2011

I am having some trouble with Cyrus SASL and OpenLDAP. I tried to configure OpenLDAP using SASL for all conection but I cannot map the SASL-DN to OpenLDAP's DN. Below is my configuration file, slapd.conf

[code]...

After I finished the configuration, I try to use ldapsearch tool to verify, but I cannot:

[code]...

View 10 Replies View Related

Ubuntu :: Retrieve User Dn Value In Openldap?

Aug 24, 2010

We are in the process of integrating openldap into our application and existing AD used is MSAD. We would like to access the users created in openldap in our application(Java code) and then autheticate them against the details in AD(openldap). We are using Spring LDAP connection for fetching openldap connections. We have the following code with MSAD:

Code:

userAttributes.get("distinguishedName").toString()

this works because MSAD user objectclass has an attribute 'distinguishedName' to get the user DN. There is no such provision in openldap or is there anyother way to retrieve the DN in openldap ?

View 1 Replies View Related

Ubuntu :: OpenLDAP + Dovecot Login On 11.04

Aug 7, 2011

I have OpenLDAP and Dovecot installed based on the following documents. DovecotLDAP OpenLDAPServer (using RTC) When Dovecot is set up to log in with out using LDAP connections work fine. However as soon as I change the dovecot.conf to use ldap I get the following error when trying to log in:

[Code]....

View 1 Replies View Related

Server :: Configure Netgroup In Openldap?

Jan 31, 2011

I want to configure Netgroup in openldap. I am using Redhat Linux 5.5.

View 1 Replies View Related

Server :: OpenLDAP - Changing DN Format?

Apr 30, 2010

I currently have an OpenLDAP server where everytime I add a new user their DN looks like this:
DN: cn=username,ou=people,dc=domainname,dc=com
Is their anyway I can change there dn to be in the following format?
username@domainname.com

View 4 Replies View Related

Server :: Ubuntu 10.0.4 LTS Openldap Configuration

Aug 5, 2010

I'm having much problems trying to configure openldap on Ubuntu 10.0.4 LTS
I have tried many tutorials, many configuration but still without results, I made the following script (for not repeating the same work, again & again)

Code:
#!/bin/sh
passwd=xxxxxx
dc1=host
dc2=com

[Code]....

View 14 Replies View Related

Software :: Can't Get SASL Working With OpenLDAP + TLS

May 24, 2011

I'm trying to get SASL working with OpenLDAP + TLS. I got it working without TLS with these settings:

[code]...

What i'm doing wrong?

View 1 Replies View Related

CentOS 5 Server :: How To Install OpenLDAP

Nov 23, 2009

I want to build a domain like abc.com in my LAN environment. Kindly tell me step by step procedure of installing OpenLDAP on CentOS 5.3.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved