Re: OpenBSD server with samba and openldap

2009-05-14 Thread Pedro Almeida
On May 14, 2009, at 9:25 AM, BSD nuub wrote: On this page, there's something that bothers me: Please note that, though Samba account information will be stored in LDAP, smbd(8) will still obtain the user's UNIX account information via the standard C library calls, such as getpwnam() (see

Re: OpenBSD server with samba and openldap

2009-05-14 Thread Paul M
I recall seeing in the samba docs that setting the account info in samba could optionally also add the entries on the unix side - meaning you only need to set set it once. I'm hazy on the details, perhaps look into alternatives to using LDAP. When I've done this I've always entered them

Re: OpenBSD server with samba and openldap

2009-05-14 Thread richardtoohey
Quoting Paul M l...@no-tek.com: I recall seeing in the samba docs that setting the account info in samba could optionally also add the entries on the unix side - meaning you only need to set set it once. I'm hazy on the details, perhaps look into alternatives to using LDAP. When I've done

Re: OpenLDAP w/o bdb okay?

2009-05-06 Thread Dan
Henning Brauer(lists-open...@bsws.de)@2009.01.06 14:42:09 +0100: * Toni Mueller openbsd-m...@oeko.net [2009-01-06 12:25]: openldap is still a piece of shit, but the ldbm backend is probably the sanest one. This pattern comes up often, but almost noone suggests an alternative LDAP

Re: OpenLDAP w/o bdb okay?

2009-01-18 Thread Henning Brauer
* dan-openbsd-m...@ourbrains.org dan-openbsd-m...@ourbrains.org [2009-01-16 19:38]: Henning Brauer(lists-open...@bsws.de)@2009.01.06 14:42:09 +0100: I am not aware of any. Lack of options doesn't make openldap better. There is an option for people who have very basic LDAP needs - tinyldap

Re: OpenLDAP w/o bdb okay?

2009-01-16 Thread dan-openbsd-misc
Henning Brauer(lists-open...@bsws.de)@2009.01.06 14:42:09 +0100: I am not aware of any. Lack of options doesn't make openldap better. There is an option for people who have very basic LDAP needs - tinyldap from fefe.de. It's high quality but lacks many features at the time.

Re: OpenLDAP w/o bdb okay?

2009-01-07 Thread Toni Mueller
On Tue, 06.01.2009 at 06:27:17 -0500, ppruett-lists ppru...@webengr.com wrote: Actually a lot linux users suggest using mysql for the non relational authentication tables ;) I knew you've got to be kidding! -- Kind regards, --Toni++

Re: OpenLDAP w/o bdb okay?

2009-01-07 Thread Toni Mueller
openldap better. agreed, but it makes bashing openldap sort of futile. -- Kind regards, --Toni++

Re: OpenLDAP w/o bdb okay?

2009-01-06 Thread Rubin
checked the libc btree code, a crash while writing out a page split would corrupt the subtree. I am using openldap with ldbm backend in an not exactly small installation for 9 or 10 years now. I have never ever experienced a broken database. never. I second that, 5+ years of ldbm backend

Re: OpenLDAP w/o bdb okay?

2009-01-06 Thread ppruett-lists
Here's an untested tarball of an updated openldap port, split into directories for 2.3 and 2.4: http://spacehopper.org/tmp/openldap.tgz This issue has been kicked around for maybe two years, it has been on the misc list before, https://kerneltrap.org/mailarchive/openbsd-misc/2007/5/20

Re: OpenLDAP w/o bdb okay?

2009-01-06 Thread ppruett-lists
This pattern comes up often, but almost noone suggests an alternative LDAP server package Actually a lot linux users suggest using mysql for the non relational authentication tables ;)

Re: OpenLDAP w/o bdb okay?

2009-01-06 Thread Toni Mueller
Hi, On Tue, 06.01.2009 at 01:08:27 +0100, Henning Brauer lists-open...@bsws.de wrote: I am using openldap with ldbm backend in an not exactly small installation for 9 or 10 years now. I have never ever experienced a broken database. never. my last encounter with ldbm, a few years back, drove

Re: OpenLDAP w/o bdb okay?

2009-01-06 Thread Stuart Henderson
Moving this to po...@. Reply-To/MFT set, please honour it. On 2009/01/06 06:11, ppruett-lists wrote: Here's an untested tarball of an updated openldap port, split into directories for 2.3 and 2.4: http://spacehopper.org/tmp/openldap.tgz This issue has been kicked around for maybe two

Re: OpenLDAP w/o bdb okay?

2009-01-06 Thread Henning Brauer
* Toni Mueller openbsd-m...@oeko.net [2009-01-06 12:25]: openldap is still a piece of shit, but the ldbm backend is probably the sanest one. This pattern comes up often, but almost noone suggests an alternative LDAP server package. I am not aware of any. Lack of options doesn't make

Re: OpenLDAP w/o bdb okay?

2009-01-05 Thread tico
Damn, forgot to send my response to list: Message-ID: 49624a88.3020...@raapid.net Date: Mon, 05 Jan 2009 11:59:36 -0600 From: tico tico-o...@raapid.net User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: P.Pruett ppru...@webengr.com Subject: Re: OpenLDAP w/o bdb okay

Re: OpenLDAP w/o bdb okay?

2009-01-05 Thread Philip Guenther
On Mon, Jan 5, 2009 at 5:30 AM, P.Pruett ppru...@webengr.com wrote: For OpenBSD 4.4 and current the flavor bdb is broken on openldap BROKEN=OpenLDAP 2.3 is incompatible with Berkeley DB 4.6 Most past articles have strongly suggested haveing openldap use bdb as its storage method. Seeing

Re: OpenLDAP w/o bdb okay?

2009-01-05 Thread ppruett-lists
concerned that The LDBM backend is now obsolete for openldap since 2.4.12. http://www.openldap.org/lists/openldap-software/200810/msg00154.html

Re: OpenLDAP w/o bdb okay?

2009-01-05 Thread ppruett-lists
For OpenBSD 4.4 and current the flavor bdb is broken on openldap BROKEN=OpenLDAP 2.3 is incompatible with Berkeley DB 4.6 So, what to do? My experience is that compiling BDB and OpenLDAP yourself isn't hard, yep, I remember compiling apache back in the middle 90's For security

OpenLDAP w/o bdb okay?

2009-01-05 Thread P.Pruett
For OpenBSD 4.4 and current the flavor bdb is broken on openldap BROKEN=OpenLDAP 2.3 is incompatible with Berkeley DB 4.6 Most past articles have strongly suggested haveing openldap use bdb as its storage method. Seeing that even the current port is not ready to implement OpenLDAP 2.4

Re: OpenLDAP w/o bdb okay?

2009-01-05 Thread Claudio Jeker
bdb could be okay, but as an afore mentioned in this thread I am concerned that The LDBM backend is now obsolete for openldap since 2.4.12. http://www.openldap.org/lists/openldap-software/200810/msg00154.html And do you think that your bdb based database will work over an update? I think I had

Re: OpenLDAP w/o bdb okay?

2009-01-05 Thread Vijay Sankar
P.Pruett wrote: For OpenBSD 4.4 and current the flavor bdb is broken on openldap BROKEN=OpenLDAP 2.3 is incompatible with Berkeley DB 4.6 Most past articles have strongly suggested haveing openldap use bdb as its storage method. Seeing that even the current port is not ready to implement

Re: OpenLDAP w/o bdb okay?

2009-01-05 Thread Stuart Henderson
On 2009-01-05, ppruett-lists ppru...@webengr.com wrote: So choices for those with older openbsd port of openldap with bdb flavor are: * don't upgrade ( bad choice) * upgrade to openbsd 4.4 or current using the official port and renter data storing in the obsolete backend ldbm (ughhh

Re: OpenLDAP w/o bdb okay?

2009-01-05 Thread Philip Guenther
OpenLDAP has any databases that will satisfy you. Philip Guenther

Re: OpenLDAP w/o bdb okay?

2009-01-05 Thread Henning Brauer
btree code, a crash while writing out a page split would corrupt the subtree. I am using openldap with ldbm backend in an not exactly small installation for 9 or 10 years now. I have never ever experienced a broken database. never. trying bdb lead to disasters all over the place. but admittedly

Re: OpenBSD 4.3 - openldap - slaptest not found - ~/.profile PATH

2008-10-24 Thread soko . tica
On 10/23/08, Almir Karic [EMAIL PROTECTED] wrote: most likelly /usr/local/sbin is not in your root's PATH, do PATH=$PATH:/usr/local/sbin as root and slaptest should be found. Would you kindly demonstrate a foolproof root's ~/.profile, since I wasn't able to figure the lines to do it

Re: OpenBSD 4.3 - openldap - slaptest not found - ~/.profile PATH

2008-10-24 Thread Almir Karic
sudo which slaptest will tell you where in your PATH slaptest is. add that to your root's PATH and it will work. also, depending on you are invoking the root shell .profile might not be executed at all. On Fri, Oct 24, 2008 at 10:42:10AM +0200, [EMAIL PROTECTED] wrote: On 10/23/08, Almir Karic

Re: OpenBSD 4.3 - openldap - slaptest not found

2008-10-23 Thread Almir Karic
Mazzechio http://www.kernel-panic.it/openbsd/pdc/ and I'm facing a strange problem I'm not able to figure. Following the instructions, upon configuration of /etc/openldap/slapd.conf, I'm not able to execute slaptest -u as root, but once I'm logged as user, sudo slaptest -u executes and config file test

OpenBSD 4.3 - openldap - slaptest not found

2008-10-23 Thread soko.tica
I've been trying to set OpenBSD 4.3 (release) primary domain controller according to howto o Danielle Mazzechio http://www.kernel-panic.it/openbsd/pdc/ and I'm facing a strange problem I'm not able to figure. Following the instructions, upon configuration of /etc/openldap/slapd.conf, I'm not able

OpenLDAP

2008-10-21 Thread John Nietzsche
Dear members list, i would like to know if openldap (in ports collection) will be shipped with suport for BDB in openbsd 4.4 ports infra structure? Thanks a lot for your time and cooperation. Best regards, John.

Re: OpenLDAP

2008-10-21 Thread Philip Guenther
On Tue, Oct 21, 2008 at 12:33 PM, John Nietzsche [EMAIL PROTECTED] wrote: i would like to know if openldap (in ports collection) will be shipped with suport for BDB in openbsd 4.4 ports infra structure? Since the release is frozen, UTSL: http://www.openbsd.org/cgi-bin/cvsweb/ports/databases

Re: OpenLDAP

2008-09-08 Thread my mail
--- On Wed, 9/3/08, Philip Guenther [EMAIL PROTECTED] wrote: From: Philip Guenther [EMAIL PROTECTED] Subject: Re: OpenLDAP To: John Nietzsche [EMAIL PROTECTED] Cc: misc misc@openbsd.org Date: Wednesday, September 3, 2008, 6:00 PM On Wed, Sep 3, 2008 at 4:15 AM, John Nietzsche [EMAIL

Re: OpenLDAP

2008-09-08 Thread Rogier Krieger
to pollute the archives rather than help. .if ${FLAVOR:L:Mbdb} BROKEN= OpenLDAP 2.3 is incompatible with Berkeley DB 4.6 If you want to use bdb as a backend, you'll likely have to compile OpenLDAP manually (see Philip Guenther's earlier post [2] in this thread, for instance

OpenLDAP

2008-09-03 Thread John Nietzsche
Hi, is there any chance the next openbsd release holds an unbroken OpenLDAP? Thanks in advance.

Re: OpenLDAP

2008-09-03 Thread Henning Brauer
* John Nietzsche [EMAIL PROTECTED] [2008-09-03 13:22]: is there any chance the next openbsd release holds an unbroken OpenLDAP? I'd say the chance of ever having an unbroken OpenLDAP release on any OS is pretty damn low. that said, openldap works as well on openbsd as it does on other oses

Re: OpenLDAP

2008-09-03 Thread Nick Guenther
On Wed, Sep 3, 2008 at 7:15 AM, John Nietzsche [EMAIL PROTECTED] wrote: Hi, is there any chance the next openbsd release holds an unbroken OpenLDAP? Thanks in advance. And how is it broken exactly? I was able to install it just a month ago and I didn't see anything obviously wrong. -Nick

Re: OpenLDAP

2008-09-03 Thread John Nietzsche
I am in need for performance. Is replacing bdb with ldbm a good ideia? Thanks once more. On Wed, Sep 3, 2008 at 10:28 AM, Henning Brauer [EMAIL PROTECTED] wrote: * John Nietzsche [EMAIL PROTECTED] [2008-09-03 13:22]: is there any chance the next openbsd release holds an unbroken OpenLDAP

Re: OpenLDAP

2008-09-03 Thread bofh
On Wed, Sep 3, 2008 at 9:28 AM, Nick Guenther [EMAIL PROTECTED] wrote: On Wed, Sep 3, 2008 at 7:15 AM, John Nietzsche [EMAIL PROTECTED] wrote: Hi, is there any chance the next openbsd release holds an unbroken OpenLDAP? Since openbsd doesn't include ldap, I would guess that any (future

Re: OpenLDAP

2008-09-03 Thread Ted Unangst
On 9/3/08, John Nietzsche [EMAIL PROTECTED] wrote: I am in need for performance. Is replacing bdb with ldbm a good ideia? Is working faster than not working?

Re: OpenLDAP

2008-09-03 Thread Dorian Büttner
release holds an unbroken OpenLDAP? I'd say the chance of ever having an unbroken OpenLDAP release on any OS is pretty damn low. that said, openldap works as well on openbsd as it does on other oses. the only thing that does not work in 4.4 is the bdb backend. but then, the bdb backend has almost

Re: OpenLDAP

2008-09-03 Thread Philip Guenther
On Wed, Sep 3, 2008 at 4:15 AM, John Nietzsche [EMAIL PROTECTED] wrote: is there any chance the next openbsd release holds an unbroken OpenLDAP? I presume you're referring to the port/packages version. The answer depends on whose definition of unbroken you prefer. The last word I heard from

OpenLDAP and BDB: i am desperated

2008-09-02 Thread John Nietzsche
Hi list, i have just installed OpenBSD and i would like to use it (the server with OpenBSD) as a directory services. When i try to install openldap from ports i am prevented with the following message: === openldap-client-2.3.39 is marked as broken: OpenLDAP 2.3 is incompatible with Berkeley DB

Re: OpenLDAP and BDB: i am desperated

2008-09-02 Thread Stuart Henderson
On 2008-09-02, John Nietzsche [EMAIL PROTECTED] wrote: i have just installed OpenBSD and i would like to use it (the server with OpenBSD) as a directory services. When i try to install openldap from ports i am prevented with the following message: === openldap-client-2.3.39 is marked

openldap-server on 4.3? (newbie)

2008-08-14 Thread Ross Tucker
/pdc2.html but I cannot get openldap-server to build from the ports, because the bdb flavor is marked broken in 4.3! In the tutorial, he just continues on without explaining what to do. What ought I do to get openldap-server to build? Thank you very much for your patience and time. Ross Tucker

SOLVED: openldap-server on 4.3? (newbie)

2008-08-14 Thread Ross Tucker
Thanks for the bandwidth. Ross

Re: openldap-server on 4.3? (newbie)

2008-08-14 Thread Stuart Henderson
On 2008-08-14, Ross Tucker [EMAIL PROTECTED] wrote: I am trying to set my new OpenBSD 4.3 installation up as a PDC for a windows network. I am following directions from http://www.kernel-panic.it/openbsd/pdc/pdc2.html but I cannot get openldap-server to build from the ports, because the bdb

Re: slapd hangs, was: Re: OpenLDAP and Berkeley DB 4.6

2008-08-06 Thread my mail
--- On Tue, 8/5/08, Marc Balmer [EMAIL PROTECTED] wrote: From: Marc Balmer [EMAIL PROTECTED] Subject: Re: slapd hangs, was: Re: OpenLDAP and Berkeley DB 4.6 To: Toni Mueller [EMAIL PROTECTED] Cc: misc@openbsd.org ports@, and CC the maintainer (in this case, me). TIA! openldap

slapd hangs, was: Re: OpenLDAP and Berkeley DB 4.6

2008-08-05 Thread Toni Mueller
. Maybe it has something to do that the server in question runs as a syncrepl client together with TLS (master is openldap-server-2.3.33p1-bdb on 4.2). In any case, the only way to get slapd down seems to be to kill -9 it, which is _very_ugly_ for other reasons. My other slapd instances don't have

Re: slapd hangs, was: Re: OpenLDAP and Berkeley DB 4.6

2008-08-05 Thread Marc Balmer
that now, slapd can't be stopped. Maybe it has something to do that the server in question runs as a syncrepl client together with TLS (master is openldap-server-2.3.33p1-bdb on 4.2). In any case, the only way to get slapd down seems to be to kill -9 it, which is _very_ugly_ for other reasons. My

Re: OpenLDAP and Berkeley DB 4.6

2008-03-10 Thread Quanah Gibson-Mount
--On Sunday, March 09, 2008 11:13 PM +0800 Dongsheng Song [EMAIL PROTECTED] wrote: Since OpenLDAP 2.3 is incompatible[1] with Berkeley DB 4.6, so I must stick to BDB 4.5 or upgrade to OpenLDAP 2.4 ? Yes. --Quanah -- Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc

OpenLDAP and Berkeley DB 4.6

2008-03-09 Thread Dongsheng Song
Since OpenLDAP 2.3 is incompatible[1] with Berkeley DB 4.6, so I must stick to BDB 4.5 or upgrade to OpenLDAP 2.4 ? [1] http://www.openbsd.org/cgi-bin/cvsweb/ports/databases/openldap/Makefile Thanks for some help. Dongsheng

Re: OpenLDAP and Berkeley DB 4.6

2008-03-09 Thread Stuart Henderson
On 2008-03-09, Dongsheng Song [EMAIL PROTECTED] wrote: Since OpenLDAP 2.3 is incompatible[1] with Berkeley DB 4.6, it is incompatible with DB 4.6.3 and up (where they quietly broke the API). 4.6.2 and below are ok. so I must stick to BDB 4.5 or upgrade to OpenLDAP 2.4 ? You have several

Re: openldap with dbv4 crash

2008-01-02 Thread Liviu Daia
On 1 January 2008, Daniel [EMAIL PROTECTED] wrote: Vijay Sankar mrta: [...] there's support in 2.4 but iirc it's not a simple thing to backport. Why should we backport the db4.6 support? We just need to use 2.4. [...] (1) Historically, upgrading existing OpenLDAP databases to new formats

Re: openldap with dbv4 crash

2008-01-02 Thread Vijay Sankar
On December 31, 2007 06:59:06 am Vijay Sankar wrote: On December 30, 2007 08:03:09 pm Stuart Henderson wrote: On December 29, 2007 11:23:19 am Daniel wrote: Hi (again, sorry, now with Subject)! Anyone experiencing or experienced segfaults with openldap using the bdb

Re: openldap with dbv4 crash

2008-01-02 Thread Daniel
so I am surprised to not have had a crash or any problems at all when I should have had seg faults! I am using all the samba-related schemas PLUS slurpd and I am still not seeing segfaults with OpenLDAP 2.3.33p2 and DB 4.6. I am not new to OpenBSD (have used it since 2.8 and have the CD's

Re: openldap with dbv4 crash

2008-01-01 Thread Daniel
Vijay Sankar mrta: On December 30, 2007 08:03:09 pm Stuart Henderson wrote: On December 29, 2007 11:23:19 am Daniel wrote: Hi (again, sorry, now with Subject)! Anyone experiencing or experienced segfaults with openldap using the bdb backed? I'm using -current ports tree, and built

Re: openldap with dbv4 crash

2008-01-01 Thread Stuart Henderson
On 2008/01/01 13:27, Daniel wrote: there's support in 2.4 but iirc it's not a simple thing to backport. Why should we backport the db4.6 support? We just need to use 2.4. Well, you mentioned one reason why not just upgrade: With openldap-2.4, one can not use the ldbm backend anymore

Re: openldap with dbv4 crash

2007-12-31 Thread Vijay Sankar
On December 30, 2007 08:03:09 pm Stuart Henderson wrote: On December 29, 2007 11:23:19 am Daniel wrote: Hi (again, sorry, now with Subject)! Anyone experiencing or experienced segfaults with openldap using the bdb backed? I'm using -current ports tree, and built

Re: openldap with dbv4 crash

2007-12-31 Thread Vijay Sankar
Quoting Vijay Sankar [EMAIL PROTECTED]: On December 30, 2007 08:03:09 pm Stuart Henderson wrote: On December 29, 2007 11:23:19 am Daniel wrote: Hi (again, sorry, now with Subject)! Anyone experiencing or experienced segfaults with openldap using the bdb backed? I'm using

Re: openldap with dbv4 crash

2007-12-30 Thread Daniel
)! Anyone experiencing or experienced segfaults with openldap using the bdb backed? I'm using -current ports tree, and built the openldap-{client,server}, dbv4 and cyrus-sasl2 packages from there. I will certanly provide much more info, I just want to know if there are other

Re: openldap with dbv4 crash

2007-12-30 Thread Stuart Henderson
On December 29, 2007 11:23:19 am Daniel wrote: Hi (again, sorry, now with Subject)! Anyone experiencing or experienced segfaults with openldap using the bdb backed? I'm using -current ports tree, and built the openldap-{client,server}, dbv4 and cyrus-sasl2 packages from

openldap with dbv4 crash

2007-12-29 Thread Daniel
Hi (again, sorry, now with Subject)! Anyone experiencing or experienced segfaults with openldap using the bdb backed? I'm using -current ports tree, and built the openldap-{client,server}, dbv4 and cyrus-sasl2 packages from there. I will certanly provide much more info, I just want to know

Re: openldap with dbv4 crash

2007-12-29 Thread Vijay Sankar
On December 29, 2007 11:23:19 am Daniel wrote: Hi (again, sorry, now with Subject)! Anyone experiencing or experienced segfaults with openldap using the bdb backed? I'm using -current ports tree, and built the openldap-{client,server}, dbv4 and cyrus-sasl2 packages from there. I

Re: openldap with dbv4 crash

2007-12-29 Thread Vijay Sankar
On December 29, 2007 02:15:15 pm Daniel wrote: On Sat, 29 Dec 2007 13:41:06 -0600 Vijay Sankar [EMAIL PROTECTED] wrote: On December 29, 2007 11:23:19 am Daniel wrote: Hi (again, sorry, now with Subject)! Anyone experiencing or experienced segfaults with openldap using the bdb

Re: openldap with dbv4 crash

2007-12-29 Thread Daniel
On Sat, 29 Dec 2007 13:41:06 -0600 Vijay Sankar [EMAIL PROTECTED] wrote: On December 29, 2007 11:23:19 am Daniel wrote: Hi (again, sorry, now with Subject)! Anyone experiencing or experienced segfaults with openldap using the bdb backed? I'm using -current ports tree, and built

Re: A very good OpenLDAP tutorial - Notes

2007-12-13 Thread xavier brinon
Thanks a lot, it gives the opportunity to read something new. Now I know better about it. I think it's a good idea to share our current reading. On Dec 13, 2007 12:25 AM, badeguruji [EMAIL PROTECTED] wrote: http://www.acay.com.au/~oscarp/tutor/ for all new Openldap users. thx, and sorry

Re: A very good OpenLDAP tutorial - Notes

2007-12-13 Thread Tom Rosso
I've been asked to deploy an openldap server so that we can test our software's authentication layer against it. I've never messed with LDAP before now, so I look forward to going through this tutorial. I read the first few slides last night and it looked pretty good. Thanks! Tom On Dec 12

A very good OpenLDAP tutorial - Notes

2007-12-12 Thread badeguruji
http://www.acay.com.au/~oscarp/tutor/ for all new Openldap users. thx, and sorry if you don't need this. -BG ~~Kalyan-mastu~~

openldap-client / cyrus-sasl-2.1.21p3-ldap problem

2007-06-07 Thread misc(at)openbsd.org
Hello, I have a strange problem: --8 # pkg_add -i cyrus-sasl-2.1.21p3-ldap Error from http://ftp-stud.fht-esslingen.de/pub/OpenBSD/4.1/packages/i386/: ftp: Writing -: Broken pipe Can't install cyrus-sasl-2.1.21p3-ldap: can't resolve openldap-client-2.3.33 Can't install openldap

Re: openldap -- syncrepl and dynamic backend modules (SOLVED)

2007-05-28 Thread Vijay Sankar
On Saturday 26 May 2007 14:14, Vijay Sankar wrote: I have been using the openldap (openldap-server-2.3.33p1-bdb) from ports and it works great when I use slurpd for replication. I would like to use syncrepl instead of slurpd, just to see what the benefits are. However I don't know how

openldap -- syncrepl and dynamic backend modules

2007-05-26 Thread Vijay Sankar
I have been using the openldap (openldap-server-2.3.33p1-bdb) from ports and it works great when I use slurpd for replication. I would like to use syncrepl instead of slurpd, just to see what the benefits are. However I don't know how to enable the dynamic backend modules since

Syslogd problems with local4/OpenLDAP logs

2007-05-24 Thread neustream
Hi, I'm having problems getting log messages from syslogd for local4 messages. In syslog.conf, I added: local4.*/var/log/ldap.log I issued a restart for syslogd: kill -HUP `cat /var/run/syslog.pid` I compiled OpenLDAP: --with-syslog --with-debug I start OpenLDAP

Re: Syslogd problems with local4/OpenLDAP logs

2007-05-24 Thread Vijay Sankar
` I compiled OpenLDAP: --with-syslog --with-debug I start OpenLDAP with: /usr/local/libexec/slapd -u _openldap -g _openldap -f /etc/openldap/slapd.conf I get no logs though. Anyone know what I'm missing here??? Did you do a touch /var/log/ldap.log? I have, as well, tried: logger

Re: Syslogd problems with local4/OpenLDAP logs

2007-05-24 Thread neustream
messages from syslogd for local4 messages. In syslog.conf, I added: local4.*/var/log/ldap.log I issued a restart for syslogd: kill -HUP `cat /var/run/syslog.pid` I compiled OpenLDAP: --with-syslog --with-debug I start OpenLDAP with: /usr/local/libexec/slapd -u

Re: Syslogd problems with local4/OpenLDAP logs

2007-05-24 Thread Vijay Sankar
with the /usr/local/libexec/slapd -u _openldap -g _openldap -f /etc/openldap/slapd.conf ? Can you verify with a ps auwx | grep slapd that it is running and listening on port 389? On my test system, I got the following when I tried your startup command unable to open pid file /var/run/slapd.pid 13

Re: Syslogd problems with local4/OpenLDAP logs

2007-05-24 Thread Antoine Jacoutot
On Thu, 24 May 2007, neustream wrote: Yes..I forgot to mention I did a: touch /var/log/ldap.log Yes but that the _openldap user have write access to the log file? -- Antoine

Re: Syslogd problems with local4/OpenLDAP logs

2007-05-24 Thread neustream
Thanks all for your help! Well yes slapd runs when I issue: /usr/local/libexec/slapd -u _openldap -g _openldap -f /etc/openldap/slapd.conf With ps ax | grep slapd, I get: 3347 ?? Is 0:00.03 /usr/local/libexec/slapd -u _openldap -g _openldap -f /etc/openldap/slapd.conf With netstat

Re: Syslogd problems with local4/OpenLDAP logs

2007-05-24 Thread neustream
Ok..well I am thinking, if I have: local4.*/var/log/ldap.log in syslog.conf and I issue: kill -HUP `cat /var/run/syslog.pid` Then this command should work: logger -p local4.info Hello World and log to /var/run/ldap.log. When I issue: logger -p mail.info Hello World I get Hello

Re: Syslogd problems with local4/OpenLDAP logs

2007-05-24 Thread Darren Spruell
On 5/24/07, neustream [EMAIL PROTECTED] wrote: Hi, I'm having problems getting log messages from syslogd for local4 messages. In syslog.conf, I added: local4.*/var/log/ldap.log I issued a restart for syslogd: kill -HUP `cat /var/run/syslog.pid` I compiled OpenLDAP

Re: Syslogd problems with local4/OpenLDAP logs

2007-05-24 Thread Diana Eichert
On Thu, 24 May 2007, Darren Spruell wrote: You've got tabs, or spaces between your local4.* and path? DS Yea someone else with the the same comment as mine for the original poster see this thread related to syslog configuration for slapd http://www.openldap.org/lists/openldap

Re: Syslogd problems with local4/OpenLDAP logs

2007-05-24 Thread neustream
.* and path? DS Yea someone else with the the same comment as mine for the original poster see this thread related to syslog configuration for slapd http://www.openldap.org/lists/openldap-software/200111/msg00307.html appears to be a similar question asked in Nov 2001 diana

Re: Syslogd problems with local4/OpenLDAP logs

2007-05-24 Thread Diana Eichert
On Thu, 24 May 2007, neustream wrote: Thanks all for your help. I was using vim with tabs converted to spaces in my vimrc. I edited /etc/syslog.conf with vi and used tabs between local4.* and path. Works now! Great! I'd call that pretty good support, ~ 3.5 hours from your original post

Re: OpenLDAP question

2007-05-23 Thread Mathieu Sauve-Frankel
On Mon, May 21, 2007 at 07:29:45AM +0200, Henning Brauer wrote: * Uv Pzaf [EMAIL PROTECTED] [2007-05-20 23:12]: I wonder why OpenBSD packages (i.e. openldap-server-2.3.24.tgz) still uses ldbm as database backend especially since the OpenLDAP folks are stating that this is no good any more

Re: OpenLDAP question

2007-05-22 Thread Henning Brauer
* Bryan Irvine [EMAIL PROTECTED] [2007-05-21 09:01]: Older versions of bdb went bad a fairly regular basis. I had DB's go corrupt as often as once a day under older verson of OL using bdb. This hasn't been a problem for a while though. I havn't had a db go bad in 2 years, even after power

Re: OpenLDAP question

2007-05-22 Thread Henning Brauer
* Dave Harrison [EMAIL PROTECTED] [2007-05-21 08:26]: Henning Brauer wrote: * Uv Pzaf [EMAIL PROTECTED] [2007-05-20 23:12]: I wonder why OpenBSD packages (i.e. openldap-server-2.3.24.tgz) still uses ldbm as database backend especially since the OpenLDAP folks are stating

Re: OpenLDAP question

2007-05-22 Thread Dave Harrison
Henning Brauer wrote: * Dave Harrison [EMAIL PROTECTED] [2007-05-21 08:26]: Henning Brauer wrote: * Uv Pzaf [EMAIL PROTECTED] [2007-05-20 23:12]: I wonder why OpenBSD packages (i.e. openldap-server-2.3.24.tgz) still uses ldbm as database backend especially since the OpenLDAP folks

Re: OpenLDAP question

2007-05-22 Thread Uv Pzaf
I still want to push this little points directly from the OpenLDAP faq: * back-ldbm is /obsolete/ and /should not be used/. *As a historical note, the back-ldbm code is a direct descendant of the original University of Michigan code. The age of the code and its byzantine data structures were

Re: OpenLDAP question

2007-05-21 Thread Dave Harrison
Henning Brauer wrote: * Uv Pzaf [EMAIL PROTECTED] [2007-05-20 23:12]: I wonder why OpenBSD packages (i.e. openldap-server-2.3.24.tgz) still uses ldbm as database backend especially since the OpenLDAP folks are stating that this is no good any more: (http://www.openldap.org/faq/data/cache/756

Re: OpenLDAP question

2007-05-21 Thread Bryan Irvine
On 5/20/07, Dave Harrison [EMAIL PROTECTED] wrote: Henning Brauer wrote: * Uv Pzaf [EMAIL PROTECTED] [2007-05-20 23:12]: I wonder why OpenBSD packages (i.e. openldap-server-2.3.24.tgz) still uses ldbm as database backend especially since the OpenLDAP folks are stating that this is no good

OpenLDAP question

2007-05-20 Thread Uv Pzaf
I wonder why OpenBSD packages (i.e. openldap-server-2.3.24.tgz) still uses ldbm as database backend especially since the OpenLDAP folks are stating that this is no good any more: (http://www.openldap.org/faq/data/cache/756.htm) and not bdb or hdb. By the way I'm just wondering i don't think i have

Re: OpenLDAP question

2007-05-20 Thread Henning Brauer
* Uv Pzaf [EMAIL PROTECTED] [2007-05-20 23:12]: I wonder why OpenBSD packages (i.e. openldap-server-2.3.24.tgz) still uses ldbm as database backend especially since the OpenLDAP folks are stating that this is no good any more: (http://www.openldap.org/faq/data/cache/756.htm) and not bdb or hdb

problem with openldap port

2007-03-06 Thread Jose Fragoso
Hi, I am running OpenBSD 4.0 stable. I updated the ports tree and tried cd /usr/ports/databases/openldap env FLAVOUR=bdb make install Although I think the script is building both client and server, it only adds the client package. autoconf-2.13p0 automatically configure source code on many

Re: problem with openldap port

2007-03-06 Thread Bryan Irvine
On 3/6/07, Jose Fragoso [EMAIL PROTECTED] wrote: Hi, I am running OpenBSD 4.0 stable. I updated the ports tree and tried cd /usr/ports/databases/openldap env FLAVOUR=bdb make install That's not a bug that's a feature! env FLAVOR=bdb env SUBPACKAGE=-server make install --Bryan

Re: problem with openldap port

2007-03-06 Thread Darren Spruell
On 3/6/07, Jose Fragoso [EMAIL PROTECTED] wrote: Hi, I am running OpenBSD 4.0 stable. I updated the ports tree and tried cd /usr/ports/databases/openldap env FLAVOUR=bdb make install Although I think the script is building both client and server, it only adds the client package. autoconf

openLDAP Unrecognized database type (bdb)

2007-02-12 Thread Antonis Faragitakis
Hi all, im trying to install openldap-server-2.3.11p4.tgz (i386) and openldap-client-2.3.11p4.tgz (i386) under OpenBSD3.9. After i've configured my slapd.conf im trying to start the server (slapd -d4 ) but the i get the following error: # /usr/local/libexec/slapd -d 4 @(#) $OpenLDAP: slapd

Re: openLDAP Unrecognized database type (bdb)

2007-02-12 Thread Vijay Sankar
On Monday 12 February 2007 09:27, Antonis Faragitakis wrote: Hi all, im trying to install openldap-server-2.3.11p4.tgz (i386) and openldap-client-2.3.11p4.tgz (i386) under OpenBSD3.9. After i've configured my slapd.conf im trying to start the server (slapd -d4 ) but the i get the following

Re: Openldap

2006-12-13 Thread Toni Mueller
Hi, On Fri, 08.12.2006 at 10:02:37 -0800, Bryan Irvine [EMAIL PROTECTED] wrote: I've been running 2.2.27 (with db4 FWIW) since august-ish of last year with zero corruption problems. please also be sure to enable the sync option on bdb databases. I've only experienced data loss when slapd went

Re: Openldap

2006-12-08 Thread Marc Balmer
Dr. Harry Knitter wrote: Am Montag, 4. Dezember 2006 20:23 schrieb Bryan Irvine: I have installed the following binaries: openldap-server-2.3.24 openldap-client-2.3.24 db-4.2.52p8 OS is OpenBSD 4.0 You need to install openldap-server-2.3.24-bdb If installed from ports use env FLAVOR=bdb make

Re: Openldap

2006-12-08 Thread Bryan Irvine
, but there was a version of openldap where that happened a lot. I was having to restore from backups about once a week. IIRC it was 2.2.24 (and earlier?). I've been running 2.2.27 (with db4 FWIW) since august-ish of last year with zero corruption problems. YMMV though. I only have a few tens-of-thousands of lookups

Re: Openldap

2006-12-05 Thread Dr. Harry Knitter
Am Montag, 4. Dezember 2006 20:23 schrieb Bryan Irvine: I have installed the following binaries: openldap-server-2.3.24 openldap-client-2.3.24 db-4.2.52p8 OS is OpenBSD 4.0 You need to install openldap-server-2.3.24-bdb If installed from ports use env FLAVOR=bdb make install to get

Re: Openldap

2006-12-05 Thread Bryan Irvine
You need to install openldap-server-2.3.24-bdb If installed from ports use env FLAVOR=bdb make install to get it, or if you used packages then use the bdb version. --Bryan I installed the package. However, on the mirror I used I don4t find any bdb version. So it is. I thought I

<    1   2   3   >