# Problem with apache mod\_auth\_kerb after krb5 patch

**URL:** <https://forums.suse.com/t/problem-with-apache-mod-auth-kerb-after-krb5-patch/27602>\
**Category:** SLES Updates\
**Created:** [November 9, 2015, 5:07pm UTC](https://forums.suse.com/t/problem-with-apache-mod-auth-kerb-after-krb5-patch/27602 "2015-11-09T17:07:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![EichhornT](https://avatars.discourse-cdn.com/v4/letter/e/ba9def/32.png) [@EichhornT](https://forums.suse.com/u/EichhornT)\
**Post date:** [November 9, 2015, 5:07pm UTC](https://forums.suse.com/t/problem-with-apache-mod-auth-kerb-after-krb5-patch/27602/1 "2015-11-09T17:07:33Z")

</div>

Hi,

we have a problem with our SLES 11 SP3 server after the last krb5 (Kerberos) update, patch slessp3-krb5-12185 ([http://lists.opensuse.org/opensuse-security-announce/2015-11/msg00007.html](http://lists.opensuse.org/opensuse-security-announce/2015-11/msg00007.html)).

After applying the patch our apache with mod\_auth\_kerb doesn’t work correctly with “KrbMethodNegotiate on” (in apache config. Activates SingleSignOn with IE and other browsers).

The apache error log shows this:

`[Mon Nov 09 15:49:29 2015] [debug] src/mod_auth_kerb.c(1667): [client 172.24.7.101] kerb_authenticate_user entered with user (NULL) and auth_type Kerberos
[Mon Nov 09 15:49:29 2015] [debug] src/mod_auth_kerb.c(1667): [client 172.24.7.101] kerb_authenticate_user entered with user (NULL) and auth_type Kerberos
[Mon Nov 09 15:49:29 2015] [debug] src/mod_auth_kerb.c(1277): [client 172.24.7.101] Acquiring creds for HTTP@server.domain
[Mon Nov 09 15:49:29 2015] [debug] src/mod_auth_kerb.c(1424): [client 172.24.7.101] Verifying client data using KRB5 GSS-API
[Mon Nov 09 15:49:29 2015] [debug] src/mod_auth_kerb.c(1440): [client 172.24.7.101] Client didn't delegate us their credential
[Mon Nov 09 15:49:29 2015] [debug] src/mod_auth_kerb.c(1459): [client 172.24.7.101] GSS-API token of length 185 bytes will be sent back
[Mon Nov 09 15:49:29 2015] [notice] child pid 16712 exit signal Segmentation fault (11)
`

After turning “KrbMethodNegotiate” off, so that the client will be asked for a password (when the setting “KrbMethodK5Passwd on” is set, but this was set even before the update), everything works just fine. In both situations the same keytab-file is used, no changes to the krb5.conf. Only the KrbMethodNegotiate change.

After downgrading the updated krb5 packages, everything works fine (again).

Does the mod\_auth\_kerb apache module need an update to work correctly with the fixed krb5 package?  
Any further advice?  
Any further data, config settings, etc. I can provide?

It’s a SLES 11 SP3 server (VM) with all packages updated

Thanks in advance.  
Eichhorn

---

<div class="post-metadata">

**Author:** ![EichhornT](https://avatars.discourse-cdn.com/v4/letter/e/ba9def/32.png) [@EichhornT](https://forums.suse.com/u/EichhornT)\
**Post date:** [November 11, 2015, 9:58am UTC](https://forums.suse.com/t/problem-with-apache-mod-auth-kerb-after-krb5-patch/27602/2 "2015-11-11T09:58:36Z")

</div>

Backtrace:

CODE backtrace  
#0 0x00007fac0b268089 in free () from /lib64/libc.so.6  
#1 0x00007fac07f82ac9 in ?? () from /usr/lib64/libgssapi\_krb5.so.2  
#2 0x00007fac07f82bc8 in ?? () from /usr/lib64/libgssapi\_krb5.so.2  
#3 0x00007fac07f6aa9a in gss\_delete\_sec\_context () from /usr/lib64/libgssapi\_krb5.so.2  
#4 0x00007fac081923dc in ?? () from /usr/lib64/apache2/mod\_auth\_kerb.so  
#5 0x00007fac0ce87f83 in ap\_run\_check\_user\_id ()  
#6 0x00007fac0ce8a308 in ap\_process\_request\_internal ()  
#7 0x00007fac0ce9c2c8 in ap\_process\_request ()  
#8 0x00007fac0ce99138 in ?? ()  
#9 0x00007fac0ce94c53 in ap\_run\_process\_connection ()  
#10 0x00007fac0cea109e in ?? ()  
#11 0x00007fac0cea138a in ?? ()  
#12 0x00007fac0cea1ea2 in ap\_mpm\_run ()  
#13 0x00007fac0ce790fd in main ()  
[/CODE]

---

<div class="post-metadata">

**Author:** ![EichhornT](https://avatars.discourse-cdn.com/v4/letter/e/ba9def/32.png) [@EichhornT](https://forums.suse.com/u/EichhornT)\
**Post date:** [November 16, 2015, 10:54am UTC](https://forums.suse.com/t/problem-with-apache-mod-auth-kerb-after-krb5-patch/27602/3 "2015-11-16T10:54:59Z")

</div>

Problem solved. Suse released a patch on Friday: [https://download.suse.com/Download?buildid=Q9sDoDWXtVg~](https://download.suse.com/Download?buildid=Q9sDoDWXtVg~)

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [November 19, 2015, 12:59pm UTC](https://forums.suse.com/t/problem-with-apache-mod-auth-kerb-after-krb5-patch/27602/4 "2015-11-19T12:59:57Z")

</div>

On 16/11/2015 09:04, EichhornT wrote:  
[color=blue]

> Problem solved. Suse released a patch on Friday:  
> [https://download.suse.com/Download?buildid=Q9sDoDWXtVg~](https://download.suse.com/Download?buildid=Q9sDoDWXtVg~)[/color]

## Thanks for taking the time to report back.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.
