[PATCHES] Fail over helper functions and reference counting wrappers
by Martin Nagy
Hi,
attached are patches needed for the fail over functionality. The
service discovery is not there yet, I want to hold of with that until I
have at least a basic SRV-based one so I can test it properly. It's
possible that we will discover something missing when we'll be
integrating it into providers. Together with Steven we at least figured
out that for ldapi:// for example we need an "extra" treatment. So I
made the name resolution optional and you can provide a server with
user data. The commit messages and header files should explain it
better.
Martin
13 years, 10 months
[PATCH] start adding an attribute map for generic attributes
by Simo Sorce
While adding infrastructure to use the USN counter for enumerations I
found that sdap_id_map is not really a good name as the map represent a
generic attribute map. This patch renames the structure and adds some
generic infrastructure for non user/group specific attribute mappings.
This infrastructure is not used yet, will be in the next patches.
Simo.
--
Simo Sorce * Red Hat, Inc * New York
13 years, 10 months
[PATCH] various fixes for tests
by Sumit Bose
Hi,
this three patches should fix some issues with the unit tests
0001: currently the tests are compiled without AM_CFLAGS, i.e. without
most of the warning enabled
0002: fixes the warnings that were discovered by 0001
0003: removes the test sysdb file before the tests are run. Now the
sysdb test can run successful even if a previous run leaves the ldb file
in a bad state.
bye,
Sumit
13 years, 10 months
[PATCH] Read rootDSE from LDAP server
by Simo Sorce
See git commit comment for a detailed explanation.
This is the first step toward making it possible to fully
auto-configure ldap/ipa options given only the server name.
Simo.
--
Simo Sorce * Red Hat, Inc * New York
13 years, 11 months
[PATCH] Clean up warnings in dhash tests
by Stephen Gallagher
Original warnings:
../../../common/dhash/dhash_test.c: In function ‘main’:
../../../common/dhash/dhash_test.c:288: warning: declaration of ‘i’
shadows a previous local
../../../common/dhash/dhash_test.c:115: warning: shadowed declaration is
here
../../../common/dhash/dhash_test.c:312: warning: declaration of ‘i’
shadows a previous local
../../../common/dhash/dhash_test.c:115: warning: shadowed declaration is
here
../../../common/dhash/dhash_test.c:332: warning: declaration of ‘i’
shadows a previous local
../../../common/dhash/dhash_test.c:115: warning: shadowed declaration is
here
../../../common/dhash/dhash_example.c: In function ‘main’:
../../../common/dhash/dhash_example.c:44: warning: passing argument 2 of
‘new_data’ discards qualifiers from pointer target type
../../../common/dhash/dhash_example.c:28: note: expected ‘char *’ but
argument is of type ‘const char *’
../../../common/dhash/dhash_example.c:55: warning: assignment discards
qualifiers from pointer target type
../../../common/dhash/dhash_example.c:76: warning: assignment discards
qualifiers from pointer target type
../../../common/dhash/dhash_example.c:94: warning: declaration of
‘my_data’ shadows a previous local
../../../common/dhash/dhash_example.c:44: warning: shadowed declaration
is here
../../../common/dhash/dhash_example.c:105: warning: assignment discards
qualifiers from pointer target type
--
Stephen Gallagher
RHCE 804006346421761
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
13 years, 11 months