Environment
Situation
xadsd crashes in rpc_ss_ndr_marsh_struct () in libdcerpc.so.1 frequently
xadsd core stack:
#0 0x00007fbc862c0f18 in rpc_ss_ndr_marsh_struct () from /opt/novell/xad/lib64/libdcerpc.so.1
#1 0x00007fbc862c4a7a in rpc_ss_ndr_marsh_pointee () from /opt/novell/xad/lib64/libdcerpc.so.1
#2 0x00007fbc862c35ab in rpc_ss_ndr_marsh_interp () from /opt/novell/xad/lib64/libdcerpc.so.1
#3 0x00007fbc850c1d9e in ?? () from /opt/novell/xad/lib64/libxadsam.so.1
#4 0x00007fbc82e0c2df in rpc__cn_call_executor () from /opt/novell/xad/lib64/libprot_ncacn.so
#5 0x00007fbc862ab09c in ?? () from /opt/novell/xad/lib64/libdcerpc.so.1
#6 0x00007fbc85e666a6 in start_thread () from /lib64/libpthread.so.0
Resolution
Cause
Steps to reproduce the crash: 1. Create a group with no member. 2. Find its sid value using the command 'wbinfo -n <group name>' 3. Its rid value will be the last number of the sid value in the format S-<x>-<y>.....-<rid> 4. Execute the command : rpcclient -k localhost -c 'querygroupmem <rid>' The /var/log/messages and the core file generated