[Freeipa-devel] [PATCH] added kerberos backend and kdc locator plugin

Sumit Bose sbose at redhat.com
Tue Jun 23 14:07:37 UTC 2009


Am 23.06.2009 15:35, schrieb Stephen Gallagher:
> On 06/23/2009 08:51 AM, Sumit Bose wrote:
>> Am 23.06.2009 13:53, schrieb Stephen Gallagher:
>>> On 06/23/2009 06:34 AM, Sumit Bose wrote:
>>>> Am 19.06.2009 13:39, schrieb Sumit Bose:
>>>>> Am 16.06.2009 00:49, schrieb Simo Sorce:
>>>>>> On Mon, 2009-06-15 at 15:43 +0200, Sumit Bose wrote:
>>>>>>> Simo, can you please review the tevent_req stuff. If
>>>>>>> I've done it right I will try and change the waitpid call to
>>>>>>> tevent_req.
>>>>>> Nope, not right according to the strict style.
>>>>>> Catch me on IRC tomorrow and we will go through an example.
>>>>>>
>>>>> Here is another try. Currently the tgt_req_* tevent_req is not really
>>>>> needed because the main pam handler could call read_pipe_* tvent_req
>>>>> directy. But I thought it might give us some more flexibility for future
>>>>> changes.
>>>>>
>>>> A few more changes as discussed on irc.
>>>> bye,
>>>> Sumit
>>>> ------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Freeipa-devel mailing list
>>>> Freeipa-devel at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/freeipa-devel
>>> Sumit, please update sssd.spec.in as well. This patch breaks it
>>> (unpackaged files).
>>>
>> Now, the *.la files are removed.
> 
>> bye,
>> Sumit
> 
> Nack:
> 
> make[3]: Entering directory `/home/sgallagh/workspace/sssd/x64/server'
> /bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../../server  -Wall -Iinclude -I.. -I-I/usr/include/dbus-1.0
> -I/usr/lib64/dbus-1.0/include   -I../../server/include -Iinclude -I.
>   -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include    -I
> ../../server/../replace -I../../server/../common/collection
> -I../../server/../common/trace -I../../server/../common/ini
> -DLIBDIR=\"/home/sgallagh/workspace/sssd/x64/chroot/lib\"
> -DVARDIR=\"/home/sgallagh/workspace/sssd/x64/chroot/var\"
> -DSHLIBEXT=\"\"
> -
> -DSSSD_LIBEXEC_PATH=\"/home/sgallagh/workspace/sssd/x64/chroot/libexec/sssd\"
> -DSHADOW_UTILS_PATH=\"/home/sgallagh/workspace/sssd/x64/chroot/sbin\"
> -DSSSD_INTROSPECT_PATH=\"\"
> -DSSSD_CONF_DIR=\"/home/sgallagh/workspace/sssd/x64/chroot/etc/sssd\"
> -DUSE_MMAP=1
> -DLOCALEDIR=\"\/home/sgallagh/workspace/sssd/x64/chroot/share/locale\"
>  -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
> -Wcast-align -Wwrite-strings  -g -O2 -MT
> krb5_plugin/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.lo -MD
> -MP -MF
> krb5_plugin/.deps/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.Tpo
> -c -o
> krb5_plugin/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.lo
> `test -f 'krb5_plugin/sssd_krb5_locator_plugin.c' || echo
> '../../server/'`krb5_plugin/sssd_krb5_locator_plugin.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../server -Wall
> -Iinclude -I.. -I-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
> -I../../server/include -Iinclude -I. -I/usr/include/dbus-1.0
> -I/usr/lib64/dbus-1.0/include -I ../../server/../replace
> -I../../server/../common/collection -I../../server/../common/trace
> -I../../server/../common/ini
> -DLIBDIR=\"/home/sgallagh/workspace/sssd/x64/chroot/lib\"
> -DVARDIR=\"/home/sgallagh/workspace/sssd/x64/chroot/var\"
> -DSHLIBEXT=\"\"
> -
> -DSSSD_LIBEXEC_PATH=\"/home/sgallagh/workspace/sssd/x64/chroot/libexec/sssd\"
> -DSHADOW_UTILS_PATH=\"/home/sgallagh/workspace/sssd/x64/chroot/sbin\"
> -DSSSD_INTROSPECT_PATH=\"\"
> -DSSSD_CONF_DIR=\"/home/sgallagh/workspace/sssd/x64/chroot/etc/sssd\"
> -DUSE_MMAP=1
> -DLOCALEDIR=\"/home/sgallagh/workspace/sssd/x64/chroot/share/locale\"
> -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
> -Wcast-align -Wwrite-strings -g -O2 -MT
> krb5_plugin/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.lo -MD
> -MP -MF
> krb5_plugin/.deps/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.Tpo
> -c ../../server/krb5_plugin/sssd_krb5_locator_plugin.c  -fPIC -DPIC -o
> krb5_plugin/.libs/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.o
> ../../server/krb5_plugin/sssd_krb5_locator_plugin.c:9:32: error:
> krb5/locate_plugin.h: No such file or directory
> ../../server/krb5_plugin/sssd_krb5_locator_plugin.c:18: error: expected
> ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?sssd_krb5_locator_init?
> ../../server/krb5_plugin/sssd_krb5_locator_plugin.c:64: error: expected
> ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?sssd_krb5_locator_lookup?
> ../../server/krb5_plugin/sssd_krb5_locator_plugin.c:126: error: expected
> ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?service_locator?
> make[3]: ***
> [krb5_plugin/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.lo]
> Error 1
> make[3]: Leaving directory `/home/sgallagh/workspace/sssd/x64/server'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/sgallagh/workspace/sssd/x64/server'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/sgallagh/workspace/sssd/x64/server'
> make: *** [all-recursive] Error 1
> 
> 

added krb5-devel to BuildRequires, configure stops when krb5-config is
missing.

bye,
Sumit
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-added-kerberos-locator-plugin.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090623/e43a478a/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-added-kerberos-backend-with-tevent_req-event-handlin.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090623/e43a478a/attachment-0001.ksh>


More information about the Freeipa-devel mailing list