[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

getpeercred() on kfreebsd?



Hello list (I'm not subscribed so please keep me in Cc).

I'm the maintainer of nss-ldapd. There is a slight problem on
kfreebsd-i386 and kfreebsd-amd64.

What is the best way on these architectures to get information about
clients that connect through a named socket?

I currently use this code:
http://arthurenhella.demon.nl/viewcvs/nss-ldapd/nss-ldapd/compat/getpeercred.c?view=markup
which works on a number of platforms but uses the fallthrough code at
the end on kfreebsd ports:
http://buildd.debian-ports.org/fetch.php?pkg=nss-ldapd&ver=0.6.2&arch=kfreebsd-i386&stamp=1210083229&file=log&as=raw
http://buildd.debian-ports.org/fetch.php?pkg=nss-ldapd&ver=0.6.2&&arch=kfreebsd-amd64&stamp=1209995009&file=log&as=raw

Also, the nss-ldapd test suite seems to fail on io.debian.org but not on
asdfasdf.debian.net. I haven't yet investigates this further though.

-- 
-- arthur - adejong@debian.org - http://people.debian.org/~adejong --

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: