naga_kishore_kommuri@yahoo.com
2008-Dec-17 16:38 UTC
[Samba] Segmentation fault in smbc_getxattr()->...->convert_sid_to_string() in samba-3.2.6
Hi, Got segmentation fault with the follwoing stacktrace while running "examples/libsmbclient/testacl13.c". #0 0x00000033a866f200 in strlen () from /lib64/tls/libc.so.6 #1 0x00000033a8642c51 in vfprintf () from /lib64/tls/libc.so.6 #2 0x00000033a8661bb4 in vsnprintf () from /lib64/tls/libc.so.6 #3 0x00000033a86481a1 in snprintf () from /lib64/tls/libc.so.6 #4 0x00002aaaaaaebf36 in convert_sid_to_string () from /usr/lib/libsmbclient.so.0 #5 0x00002aaaaaaedbda in cacl_get () from /usr/lib/libsmbclient.so.0 #6 0x00002aaaaaaf05ff in SMBC_getxattr_ctx () from /usr/lib/libsmbclient.so.0 #7 0x00002aaaaaae1d75 in smbc_getxattr () from /usr/lib/libsmbclient.so.0 #8 0x0000000000400fad in main () Can somebody please help me solve this. I'm unable to use smbc_getxattr() in the latest version of samba. thanks, -Kishore
Volker Lendecke
2008-Dec-17 17:17 UTC
[Samba] Segmentation fault in smbc_getxattr()->...->convert_sid_to_string() in samba-3.2.6
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20081217/f012e7e6/attachment.bin
naga_kishore_kommuri@yahoo.com
2008-Dec-18 03:45 UTC
[Samba] Segmentation fault in smbc_getxattr()->...->convert_sid_to_string() in samba-3.2.6
Hi Volker, Thanks a lot. That solves the problem. Thanks once again, -Kishore ----- Original Message ---- From: Volker Lendecke <Volker.Lendecke@SerNet.DE> To: naga_kishore_kommuri@yahoo.com Cc: samba@lists.samba.org Sent: Wednesday, December 17, 2008 10:52:17 PM Subject: Re: [Samba] Segmentation fault in smbc_getxattr()->...->convert_sid_to_string() in samba-3.2.6 On Wed, Dec 17, 2008 at 08:31:17AM -0800, naga_kishore_kommuri@yahoo.com wrote:> Hi, > Got segmentation fault with the follwoing stacktrace > while running "examples/libsmbclient/testacl13.c".Can you please try the attached patch? Thanks, Volker