[Kroupware] Running Kolab on FreeBSD 5.1

Jarl Friis jarl at softace.dk
Wed Aug 27 08:50:00 CEST 2003


Christopher Lewis <chris at maximlighting.com> writes:

> Well, I've finally got a Kolab server running on FreeBSD.  Thanks to
> everyone that helped, either directly or indirectly.  For future
> reference (and for the aid of others), I'm providing my steps to
> install Kolab server on FreeBSD 5.1.
> 
> The biggest problem was getting Cyrus IMAPd to compile and run.
> Unfortunately, the groupfile hack doesn't work with BSD.  The
> fgetgrent call isn't available on BSD and needs to be replaced with
> something that is platform independent.  I'm sorry, but I don't know
> enough C to provide that.  Perhaps a Kolab developer can look at
> this.

if the fgetgrent call is only invoked as fgetgrent("/etc/group/") then
a replacement for fgetgrent could be getgrent, but to be POSIX
compliant, one should use getgrnam and getgrgid, and to iterate over
all groups the POSIX function getgroups must be used.

Jarl

-- 
Jarl Friis
Softace
Istedgade 138, 2th
1650 København V.
Denmark
Phone:  +45 26 13 20 90
E-mail: jarl at softace.dk
http://www.softace.dk/



More information about the Kroupware mailing list