[Fedora-directory-devel] How to configure new Backend database
by Eswar S
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..........
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
****************************************************************************
****************************
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!
17 years, 1 month
[Fedora-directory-devel] Please review: [Bug 230673] LDAPI: referral mode needs LDAPI socket?
by Noriko Hosoi
Summary: LDAPI: referral mode needs LDAPI socket?
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=230673
This changes make LDAPI turned "off" if ldapifilepath is not set in the
install inf file.
Sorry, I should have done the discussion on bugzilla from the
beginning. It's going to be a repeat, but for the record, if you could
review the changes and comment on the bug, I'd appreciate it.
--noriko
nhosoi(a)redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
devel_whiteboard| |review.comment#3?
Record of the email discussion:
------- Additional Comments From nhosoi(a)redhat.com 2007-03-02 16:38 EST
-------
(In reply to comment #0)
> > Description of problem:
> > [error #2]
> > [...]
> > Also, to work around this problem, is it okay to add this code to
> create the
> > directory to put the ldapi unix socket if it does not exist?
Richard Megginson wrote:
I don't think we should create the directory if it does not exist. That
doesn't seem right to me. I think we should just warn.
Pete Rowley wrote:
> > You know, given our server installs with newinst.pl in regular cases
> and all this has
> > default config set up for directories we already write to, perhaps
> the right thing to do
> > is to have default off for ldapi. That would have minimum impact on
> tests that don't
> > care about it (and are set up other ways) and wouldn't effect server
> installs through
> > regular means.
Richard Megginson wrote:
Then ds_newinst could set it to "on" if the user specified an
ldapifilepath. I think that would appease Andrew as well.
Based upon the suggestions from Pete and Rich, if setting
"ldapifilepath=/path/to/ldapifile/slapd-ID.socket" in the install inf
file is used as a trigger to set ldapi to "on". Otherwise, set to "off".
The function ds_gen_confs in create_instance.c switches between on and
off depending upon the existence of ldapifilepath value. Also, the ldapi
default setting in libglobs.c is changed to "off".
------- Additional Comments From nhosoi(a)redhat.com 2007-03-02 16:43 EST -------
Created an attachment (id=149157)
--> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=149157&action=view)
cvs diffs (admin/src/create_instance.c, servers/slapd/libglobs.c)
Changes:
create_instance.c: if ldapifilepath is not passed, LDAPI is disabled in the
newly created instance.
libglobs.c: LDAPI is disabled in the initial configuration parameter setting.
17 years, 1 month
[Fedora-directory-devel] [PATCH] split schema for minimal DS startup (samba4)
by Andrew Bartlett
I've split the 00core schema, into what we really require to start
Fedora DS, and rest. It is based on the work Satish earlier last year.
The server starts, but without a 'make check' target, I can't verify
what I've broken.
It does work for loading the Samba4 schema, and we now successfully
provision into the resultant directory. (it fails the tests miserably
however).
Also, can someone let me know where to register the schema file into the
build and install system?
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
[Fedora-directory-devel] Starting Fedora DS without shell scripts?
by Andrew Bartlett
On a Linux system, would it be possible to build Fedora DS without
setting LD_LIBRARY_PATH?
I thought I saw this being discussed at some point, and I wondered if I
could suggest it again. It could remove some of the shell-script
wrapper stuff, which kind of looks funny...
BTW, how is this packaged? I think the '-bin' versions of the commands
should be in libexec, if they are not to be directly executed...
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] Samba4 integration status
by Andrew Bartlett
I've now got Samba4 to provision to a Fedora DS server.
It is very easy to do, provided you have current CVS, and the patch I
included in my last mail to fedora-directory-devel.
To test Samba4 and Fedora DS, compile Fedora DS and Samba4 as usual,
from their respective version control systems.
Install Fedora DS, and note the prefix chosen.
In Samba's source/ dir, run:
TEST_LDAP=yes FEDORA_DS_PREFIX=/fedora-ds/prefix make quicktest
If you have OpenLDAP's slapd on the system, you can also try it for
comparison, by omitting the FEDORA_DS_PREFIX setting. It should pass
most of the tests (I know of a timeout on the RPC-LSA test).
Once we get 'make quicktest' passing, we can aim for the full 'make
test'.
Currently, it looks like there is a lot of work to do. This is
surprising, as OpenLDAP does better, and the two servers are not *that*
different...
To re-run any tests in the test environment, run:
TEST_LDAP=yes FEDORA_DS_PREFIX=/fedora-ds/prefix make testenv
This will set everything up, but instead of running tests, it will
launch an xterm, ready for manual testing/probing/debugging.
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