[Fedora-directory-devel] Support for bitwise operations?
by Andrew Bartlett
It seems to me that Fedora DS does not support Microsoft's extended
match bitwise operations.
I chatted with Pete about it on IRC, but thought to document it here for
discussion. While it would be technically possible for me to filter
these on the client side, it becomes silly fast. I need the LDAP
backend side to handle these.
This is the kind of search Fedora DS needs to accept, for Samba4 to use
it as a backend:
(|(&(!(groupType:1.2.840.113556.1.4.803:=1))(groupType:1.2.840.113556.1.4.803:=2147483648)(groupType:1.2.840.113556.1.4.804:=10))
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc. http://redhat.com
17 years, 1 month
[Fedora-directory-devel] Why is there a Makefile in CVS?
by Andrew Bartlett
Why is there a Makefile (not Makefile.in) in CVS?
Isn't the first thing we want to do (on a checkout) a ./configure, which
will replace this file anyway?
Likewise, I'm confused: why do we allow prefix and exec_prefix to be
specified at 'make' (rather than configure) time? This is typically at
configure time in other open source projects. Changing this would seem
to remove some additional complexity from the build system...
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc. http://redhat.com
17 years, 1 month
[Fedora-directory-devel] Re: RPATH status
by Andrew Bartlett
On Fri, 2007-03-09 at 13:13 -0800, Ulrich Drepper wrote:
> Christopher Aillon wrote:
> >> 3 /usr/lib64/firefox-2.0.0.2
> >
> > Some of them are intentional, such as the above. It's either rpath or
> > munging LD_LIBRARY_PATH at startup if you want a working firefox.
>
> RPATH is perfectly fine for these purposes.
Do we have a preference against wrapper scripts for munging
LD_LIBRARY_PATH (I think we should)?
The reason I ask is that I've been looking at the Fedora DS situation
(now a package in extras), where every binary is wrapped in a shell
script to munge the LD_LIBRARY_PATH, which just seems wrong to me.
Likewise, where should a package place 'internal only' libraries, such
as libslapd for Fedora DS, and some similar libraries in an eventual
Samba4 package (to avoid bloat by static linking shared internal
functionality)?
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc. http://redhat.com
17 years, 1 month
[Fedora-directory-devel] A request for your input.
by lmth@deakin.edu.au
Hello
My name is Lara Thynne and I am a PhD candidate at Deakin University
Australia. I am currently researching the boundary between work and
leisure activities directly related to the open source community and
open source program development.
As part of this I am running a survey at the following address.
https://dcarf.deakin.edu.au/surveys/oss/
The survey is completely confidential and looks at your views and
motivations to use Open Source software and to participate in the
community.
It will only take a five to ten minutes to complete and your contact
details will not be recorded. You can withdraw your participation at
any stage.
I sincerely apologize for the spammish nature of this e-mail - I
don't mean to abuse this list. I am trying to collect responses
from as many open source developers and users as possible and a
mailing list like can be the only way to reach many developers.
Thanks again
Lara
P.S The program that I am using is open source, of course
(www.phpsurveyor.org)!
17 years, 1 month
[Fedora-directory-devel] CVS commits list?
by Andrew Bartlett
I appreciate the efforts that the Fedora DS team has made to post many
patches via Bugzilla for review, but I'm often still in the dark as to
when particular fixes hit the tree.
Is there any chance we can get a cvs commits mailing list? Or is there
one, and I just don't know about it?
Thanks,
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc. http://redhat.com
17 years, 1 month
Re: [Fedora-directory-devel] How to configure new Backend
by Howard Chu
> Date: Wed, 07 Mar 2007 14:32:28 +0530
> From: Eswar S <eswars(a)huawei.com>
> Thank you for Replay. As per FAQ I need to write my own plug-in for storing
> ldap entries into mssql/oracle database.
> I have seen slapi to write Server plug-in and examples provided at
> /opt/fedora-ds/plugins/slapd/slapi/examples. But I am not finding sample
> code for writing plug-in for Backend databases.
> Is there any sample code for writing plug-in for backend database?
>
> I am referring this link to write plug-in.
> http://www.redhat.com/docs/manuals/dir-server/plugin/7.1/pluginTOC.html
>
> Thank you
> Eswar S
You could just use OpenLDAP, which already provides a back-sql backend...
In any case, using SQL as a backing store for LDAP is a couple orders of
magnitude slower than using the native LDAP databases. Taking this
approach is OK when you need access to existing SQL data and have no
other choice. If you're just creating a new database, it's best to avoid
SQL entirely. In the case of OpenLDAP, using the proxycache overlay in
combination with the back-sql backend will improve search performance.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
Chief Architect, OpenLDAP http://www.openldap.org/project/
17 years, 1 month
RE:Re: [Fedora-directory-devel] How to configure new Backend
by Eswar S
Thank you for Replay. As per FAQ I need to write my own plug-in for storing
ldap entries into mssql/oracle database.
I have seen slapi to write Server plug-in and examples provided at
/opt/fedora-ds/plugins/slapd/slapi/examples. But I am not finding sample
code for writing plug-in for Backend databases.
Is there any sample code for writing plug-in for backend database?
I am referring this link to write plug-in.
http://www.redhat.com/docs/manuals/dir-server/plugin/7.1/pluginTOC.html
Thank you
Eswar S
****************************************************************************
****************************
This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!
Date: Mon, 05 Mar 2007 08:39:45 -0700
From: Richard Megginson <rmeggins(a)redhat.com>
Subject: Re: [Fedora-directory-devel] How to configure new Backend
database
To: "Fedora Directory server developer discussion."
<fedora-directory-devel(a)redhat.com>
Message-ID: <45EC39C1.2050306(a)redhat.com>
Content-Type: text/plain; charset="iso-8859-1"
Eswar S wrote:
> Hi
> I have configured my fedora LDAP with LDBM (as Default Installation) on
Red
> Hat machine. If I wanted to change my backed database. How can I change?
> Means how can I change to msSql /oracle/BDB..........
>
http://directory.fedora.redhat.com/wiki/FAQ#Can_I_replace_Sleepycat_with_Ora
cle.2C_or_Postgres.2C_etc..3F
> I observed that we need to add an entry under config tree of Fedora-ds
> with plug-in xxxx.so file with initialize function name.
> But for other database what is that xxxxxxx.so file and corresponding
> Function name??
>
> I am posting same second time ......
> Please help me to configure fedora-ds 7.1 ldap.
>
> Regards,
> Eswar S
> --
> Fedora-directory-devel mailing list
> Fedora-directory-devel(a)redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-devel
>
17 years, 1 month
[Fedora-directory-devel] Please review: [Bug 231093] db2bak: crash bug
by Noriko Hosoi
Summary: db2bak: crash bug
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=231093
Description of problem:
db2bak crashed in one of the failed test cases. Caused by the initial configuration error:
errors:[...] - Db home directory is not set. Possibly nsslapd-directory (optinally nsslapd-db-home-directory) is missing in the config file.
Still, the server should not crash.
[stacktrace]
#0 0xb6edd2c7 in dblayer_get_full_inst_dir (li=0x8127350, inst=0x8187f00,
buf=0xbfffc480 "", buflen=4096)
at ldap/servers/slapd/back-ldbm/dblayer.c:1209
#1 0xb6ee4d42 in dblayer_in_import (inst=0x8187f00)
at ldap/servers/slapd/back-ldbm/dblayer.c:5623
#2 0xb6ed8bd0 in ldbm_back_ldbm2archive (pb=0xbfffd570)
at ldap/servers/slapd/back-ldbm/archive.c:353
#3 0x0805d59e in slapd_exemode_db2archive () at ldap/servers/slapd/main.c:2457
#4 0x0805e5e7 in main (argc=6, argv=0xbfffdca4)
at ldap/servers/slapd/main.c:947
------- Additional Comments From nhosoi(a)redhat.com 2007-03-05 21:45 EST -------
Created an attachment (id=149315)
--> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=149315&action=view)
cvs diff dblayer.c
File: ldap/servers/slapd/back-ldbm/dblayer.c
Problem description:
The server instance home directory in the dblayer private structure
(li->li_dblayer_private) is empty. Either of these fields is supposed to be set:
dblayer_home_directory = 0x0
dblayer_dbhome_directory = 0x8125ba0 ""
Fix descrption: if the fields are not set, issues an error message and returns.
17 years, 1 month