Environment
Novell Open Enterprise Server 11 SP2 (OES11SP2)
Novell Open Enterprise Server 11 SP1 (OES11SP1)
Domain Services for Windows
DSfW
Situation
xadsd crashes frequently
Domain Services for Windows Daemon crashes frequently
in /var/log/messages we have the following events:
Aug 29 16:49:50 s1580dsfw1 xadsd: [SECURITY] Impersonated user NOVELL\P0214649$
Aug 29 16:49:50 s1580dsfw1 xadsd: [SECURITY] Impersonated user NOVELL\P0367516$
Aug 29 16:49:50 s1580dsfw1 krb5kdc: [KDC] Regenerating authorization data for cross-realm client 2101914294@NOVELL.COM
Aug 29 16:49:50 s1580dsfw1 xadsd: [SAMSS] SamrEnumerateUsersInDomain: failed to query display information at Index 0, domain <dc=novell,dc=com>: Timed out
Aug 29 16:49:50 s1580dsfw1 kernel: [7240752.840286] xadsd[30175]: segfault at b4cdad18 ip 00007f07ba35cf48 sp 00007f07b4cda2e0 error 4 in libdcerpc.so.1.0.2[7f07ba321000+6a000]
Resolution
Fix is in December 2014 Maintenance Patch
Cause
a.) IDL_msp->IDL_elts_in_use not reset to 0 before sending exception in case transmit fails in rpc_ss_xmit_iovec_if_necess
b.) Assert instead of return if the thread is found to be orphan in rpc__cn_assoc_receive_frag.
c.) Uninitialized vairables causing crash if timeout happens in enumdomusers call.
d.) rpcd crash if call_rep is NULL in receive_dispatch