search for: slaptest

Displaying 9 results from an estimated 9 matches for "slaptest".

2010 Jun 29
1
slapd auxpropfunc error no mechanism available
Hi,guys: I am trying to setup OpenLDAP on CentOS 5.3 i386 for a client of mine. everytime I try running 'service ldap start', I get the following in syslog: root at xx ~: tailf /var/log/messages .....slaptest: sql_select option missing ....slaptest: auxpropfunc error no mechanism available ....slapd[4392]: sql_select option missing ....slapd[4392]: auxpropfunc error no mechanism available ....ldap: slapd startup failed I have checked the permissions on /etc/ldap.conf and /etc/openldap.conf and the two...
2011 Oct 26
4
openldap missing modules
Hi List, I'm currently setting up an openldap server and included the following lines in my slapd.conf : modulepath /usr/lib/ldap moduleload back_hdb after finishing up my config and i run slaptest on it i get an error saying that the modulepath doesn't exist. I checked and it indeed isn't there , in fact i can find it anywhere on my system (centos 5.7). the packages i've installed through yum are openldap openldap-servers and openldap-client. does anyone know where to find this f...
2007 Mar 10
8
LDAP Server configs
Hi Guys, I'm creating an ldap server for my network. I'm quite confuse about /etc/ldap.conf and /etc/openldap/ldap.conf files. What are the difference of those two config files? Thanks! cheers, kintaro Oe --------------------------------- Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. -------------- next part -------------- An HTML
2009 Mar 03
2
openldap 2.4.11 ......unable to start on reboot
...ion files for slapd: bdb_db_open: database "o=netserv_ldap": unclean shutdown detected; attempting recovery. bdb_db_open: database "o=netserv_ldap": recovery skipped in read-only mode. Run manual recovery if errors are encountered. ch_calloc of 1 elems of 480000004 bytes failed slaptest: ../../../servers/slapd/ch_malloc.c:107: ch_calloc: Assertion `0' failed. i tried to do some recovery as mentioned in vairous archives : cd /var/lib/ldap slapd_db_recover -v but it still not able to restart it give me the same error [root at system-test40 ldap]# /etc/init.d/ldap restart St...
2006 Mar 06
2
Unable to join to domain: The username could not be found.
...try to join the domain, windows system wants username and password. It refuses it if I give wrong creds and if I give the true ones, refuses again with "the user name could not be found" I've tried signorseal patch, configured local policy but no hopes. Also samba config test and slaptest returns OK. Any help will be highly appreciated. Thanks in advance. Hakan BAYINDIR
2005 Aug 24
1
Samba Schema Error? Setting up PDC with LDAP
...the slapd.conf file: include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/opendlap/schema/samba.schema when I run /usr/sbin/slaptest, I get a "bad configuration file!" message. But when I comment out the samba.schema and the three lines with index sambaSID, index sambaPrimaryGroupSID and index sambaDomainName the slaptest says that everything is correct. I assume there must be some error in the samba.schema file. But...
2009 Jan 18
2
Starting slapd: /bin/bash: /tmp/start-slapd.K12378: Permission denied
...db.002 -rw------- 1 ldap ldap 270336 Jan 16 17:41 __db.003 -rw------- 1 ldap ldap 98304 Jan 16 17:41 __db.004 -rw------- 1 ldap ldap 352256 Jan 16 17:41 __db.005 -rw------- 1 ldap ldap 24576 Jan 16 17:41 __db.006 -rw------- 1 ldap ldap 10485760 Jan 16 17:41 log.0000000001 When I run slaptest, it doesn't look great, but it doesn't look like a problem... $ sudo /usr/sbin/slaptest bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2) Expect poor performance for suffix dc=XXXX,dc=net. bdb_db_open: db_open(/var/lib/ldap/id2entry.bdb) failed: No such file or...
2009 Jun 26
2
smblap-useradd problem
...creates at least some samba related attributes. But "sambaPrimaryGroupSID" is not set.... I can now use phpldapadmin to add the sambaPrimaryGroupSID and set it to : S-1-5-21-3439781798-418094041-3636104912-513 without any problems... I add here the output of some commands : fano2:~# slaptest /usr/local/etc/openldap/slapd.conf: line 84: rootdn is always granted unlimited privileges. config file testing succeeded fano2:~# testparm Load smb config files from /etc/samba/smb.conf Processing section "[** Not shown here due to security purpose **]" [Snip.] Processing section &quo...
2015 Nov 27
2
LDAP setup on Centos 7
...cat reset_ldap.sh #!/bin/bash -x systemctl stop slapd rpm -e openldap-servers openldap-clients cd /var/lib rm -Rf ldap cd /etc/openldap/ rm -Rf slapd.d/ yum -y install openldap-servers openldap-clients cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG systemctl start slapd slaptest -F /etc/openldap/slapd.d [root at ollie2 ~]# Do I need to do anything else, as it would appear that there is something I'm missing.