<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Looks like maybe OmniOS's included kerberos installation was not configured to use gss. As you have noted, gssapi is provided separately from kerberos-v5, and is also part of the default installation.<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">vagrant@omnios-vagrant:~/pykerberos-1.1.5$ krb5-config --cflags</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">-I/usr/include/kerberosv5</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">vagrant@omnios-vagrant:~/pykerberos-1.1.5$ ls /usr/include/gssapi/</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">gssapi_ext.h&nbsp; gssapi.h</div><div class=""><br class=""></div><div class="">Maybe I can rebuild it with the right flags…</div><div class=""><br class=""></div><div class="">-dre</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 7, 2014, at 11:58 AM, Andre LaBranche &lt;<a href="mailto:dre@apple.com" class="">dre@apple.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">Hi,<br class=""><br class="">I’m grabbing an OmniOS ISO to try this in a VM. I have very little solaris experience, so we’ll see how it goes :)<br class=""><br class="">It seems that something about your kerberos installation is different from what PyKerbeors expects.<br class=""><br class="">Since you mentioned iOS and OS X clients, you might consider simply disabling kerberos in the Calendar Server setup, since the native clients at least do not support it (I’m not sure if Android clients support kerberos).<br class=""><br class="">I see your post on the OmniOS forum… hopefully they can help.<br class=""><br class="">-dre<br class=""><br class=""><blockquote type="cite" class="">On Oct 5, 2014, at 4:57 AM, Olaf Marzocchi &lt;<a href="mailto:lists@marzocchi.net" class="">lists@marzocchi.net</a>&gt; wrote:<br class=""><br class="">Hello again,<br class="">may I ask again if someone is able to help me with the issue? my only alternative is to abandon CalendarServer.<br class=""><br class="">Regards,<br class="">Olaf Marzocchi<br class=""><br class=""><br class=""><br class="">Il giorno 14/set/2014, alle ore 12:44, Olaf Marzocchi &lt;<a href="mailto:lists@marzocchi.net" class="">lists@marzocchi.net</a>&gt; ha scritto:<br class=""><br class=""><blockquote type="cite" class=""><br class="">Dear all,<br class="">I am preparing a server based on OmniOS (kernel illumos), let’s say the successor of OpenIndiana (OpenSolaris) and I would like to offer CalDAV/CardDAV to the users. I chose calendarserver because the users use iOS, OS X, Android.<br class=""><br class="">I run “python setup.py” and everything runs well (I just needed to put the GNU tar in the path before the one provided by OmniOS/illumos) until PyKerberos.<br class=""><br class="">------<br class="">~/CalendarServer/CalendarServer-5.2 $ ./run -s<br class=""><br class="">Using built libevent.<br class=""><br class="">Using built memcached.<br class=""><br class="">Using built PostgreSQL.<br class=""><br class="">Using built OpenLDAP.<br class=""><br class="">Using built libffi.<br class=""><br class="">Using system version of setuptools.<br class=""><br class="">Building Zope Interface...<br class=""><br class="">Using system version of pyOpenSSL.<br class=""><br class="">Building PyKerberos...<br class=""><br class="">gcc: error: /usr/bin/krb5-config:: No such file or directory<br class="">gcc: error: Unknown: No such file or directory<br class="">gcc: error: option: No such file or directory<br class="">gcc: error: `gssapi': No such file or directory<br class="">gcc: error: use: No such file or directory<br class="">gcc: error: `--help': No such file or directory<br class="">gcc: error: for: No such file or directory<br class="">gcc: error: usage: No such file or directory<br class="">gcc: error: unrecognized command line option '--'<br class="">error: command 'gcc' failed with exit status 1<br class=""><br class="">~/CalendarServer/CalendarServer-5.2 $ cd ../PyKerberos<br class=""><br class="">~/CalendarServer/PyKerberos $ python setup.py build<br class=""><br class="">running build<br class="">running build_ext<br class="">building 'kerberos' extension<br class="">gcc -m64 -fno-strict-aliasing -std=c99 -m64 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c src/kerberos.c -o build/temp.solaris-2.11-i86pc-2.6/src/kerberos.o /usr/bin/krb5-config: Unknown option `gssapi' -- use `--help' for usage<br class="">gcc: error: /usr/bin/krb5-config:: No such file or directory<br class="">gcc: error: Unknown: No such file or directory<br class="">gcc: error: option: No such file or directory<br class="">gcc: error: `gssapi': No such file or directory<br class="">gcc: error: use: No such file or directory<br class="">gcc: error: `--help': No such file or directory<br class="">gcc: error: for: No such file or directory<br class="">gcc: error: usage: No such file or directory<br class="">gcc: error: unrecognized command line option '--'<br class="">error: command 'gcc' failed with exit status 1<br class=""><br class="">~/src/CalendarServer/PyKerberos $ &nbsp;krb5-config --all --libs —cflags<br class=""><br class="">Version: &nbsp;&nbsp;&nbsp;&nbsp;Solaris Kerberos (based on MIT Kerberos 5 release 1.6.3)<br class="">Vendor: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sun Microsystems, Inc.<br class="">Prefix: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/usr<br class="">Exec_prefix: /usr<br class="">-I/usr/include/kerberosv5<br class="">-L/usr/lib -R/usr/lib -lkrb5<br class="">------<br class=""><br class="">As you can see, “gssapi” does not show up when requested with<br class="">extra_link_args = commands.getoutput("krb5-config --libs gssapi").split(),<br class="">even if the gssapi packages are installed (I never tested Kerberos though):<br class="">------<br class="">~/src/CalendarServer/PyKerberos $ pkg search gssapi<br class=""><br class="">INDEX &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ACTION VALUE &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PACKAGE<br class="">pkg.summary set &nbsp;&nbsp;&nbsp;GSSAPI CONFIG V2 &nbsp;&nbsp;pkg:/service/security/gss@0.5.11-0.151010<br class="">pkg.summary set &nbsp;&nbsp;&nbsp;GSSAPI V2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pkg:/system/library/security/gss@0.5.11-0.151010<br class="">pkg.summary set &nbsp;&nbsp;&nbsp;kernel GSSAPI V2 &nbsp;&nbsp;pkg:/system/kernel/security/gss@0.5.11-0.151010<br class="">basename &nbsp;&nbsp;&nbsp;dir &nbsp;&nbsp;&nbsp;usr/include/gssapi pkg:/system/header@0.5.11-0.151010<br class=""><br class="">~/src/CalendarServer/PyKerberos $ pkg info pkg:/service/security/gss@0.5.11-0.151010 pkg:/system/library/security/gss@0.5.11-0.151010 pkg:/system/kernel/security/gss@0.5.11-0.151010 pkg:/system/header@0.5.11-0.151010<br class=""><br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name: service/security/gss<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;Summary: GSSAPI CONFIG V2<br class=""> Description: Generic Security Service Application Program Interface, Version<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 - config<br class=""> &nbsp;&nbsp;&nbsp;Category: System/Security<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;State: Installed<br class=""> &nbsp;&nbsp;Publisher: omnios<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;Version: 0.5.11<br class="">Build Release: 5.11<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Branch: 0.151010<br class="">Packaging Date: Mon Apr 28 19:28:56 2014<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Size: 17.53 kB<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FMRI: <a href="pkg://omnios/service/security/gss@0.5.11,5.11-0.151010:20140428T192856Z" class="">pkg://omnios/service/security/gss@0.5.11,5.11-0.151010:20140428T192856Z</a><br class=""><br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name: system/header<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;Summary: SunOS Header Files<br class=""> Description: SunOS C/C++ header files for general development of software<br class=""> &nbsp;&nbsp;&nbsp;Category: System/Core<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;State: Installed<br class=""> &nbsp;&nbsp;Publisher: omnios<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;Version: 0.5.11<br class="">Build Release: 5.11<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Branch: 0.151010<br class="">Packaging Date: Mon Apr 28 19:29:16 2014<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Size: 12.19 MB<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FMRI: <a href="pkg://omnios/system/header@0.5.11,5.11-0.151010:20140428T192916Z" class="">pkg://omnios/system/header@0.5.11,5.11-0.151010:20140428T192916Z</a><br class=""><br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name: system/kernel/security/gss<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;Summary: kernel GSSAPI V2<br class=""> Description: Generic Security Service Application Program Interface, Version<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 - kernel<br class=""> &nbsp;&nbsp;&nbsp;Category: System/Security<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;State: Installed<br class=""> &nbsp;&nbsp;Publisher: omnios<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;Version: 0.5.11<br class="">Build Release: 5.11<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Branch: 0.151010<br class="">Packaging Date: Mon Apr 28 19:29:21 2014<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Size: 335.22 kB<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FMRI: <a href="pkg://omnios/system/kernel/security/gss@0.5.11,5.11-0.151010:20140428T192921Z" class="">pkg://omnios/system/kernel/security/gss@0.5.11,5.11-0.151010:20140428T192921Z</a><br class=""><br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name: system/library/security/gss<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;Summary: GSSAPI V2<br class=""> Description: Generic Security Service Application Program Interface, Version<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 - user<br class=""> &nbsp;&nbsp;&nbsp;Category: System/Security<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;State: Installed<br class=""> &nbsp;&nbsp;Publisher: omnios<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;Version: 0.5.11<br class="">Build Release: 5.11<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Branch: 0.151010<br class="">Packaging Date: Mon Apr 28 19:29:26 2014<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Size: 687.41 kB<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FMRI: <a href="pkg://omnios/system/library/security/gss@0.5.11,5.11-0.151010:20140428T192926Z" class="">pkg://omnios/system/library/security/gss@0.5.11,5.11-0.151010:20140428T192926Z</a><br class="">------<br class=""><br class=""><br class="">Could anyone help me with the issue? <br class=""><br class="">Thanks<br class="">Olaf Marzocchi<br class=""></blockquote><br class="">_______________________________________________<br class="">calendarserver-users mailing list<br class=""><a href="mailto:calendarserver-users@lists.macosforge.org" class="">calendarserver-users@lists.macosforge.org</a><br class="">https://lists.macosforge.org/mailman/listinfo/calendarserver-users<br class=""></blockquote><br class="">_______________________________________________<br class="">calendarserver-users mailing list<br class=""><a href="mailto:calendarserver-users@lists.macosforge.org" class="">calendarserver-users@lists.macosforge.org</a><br class="">https://lists.macosforge.org/mailman/listinfo/calendarserver-users<br class=""></div></blockquote></div><br class=""></div></div></body></html>