The Samba-Bugzilla – Bug 1849
cli_query_secdesc fails on NetApp ONTAP
Last modified: 2005-08-24 10:21:30 UTC
I have a situation where the call through the cli_query_secdesc api
against two separate NetApp filers running ONTAP 6.4.2p6 and 6.5.2 is
failing. It works fine against an NT4 server.
All volumes on the filer are running in CIFS native mode.
The filer is a member of a mixed-mode Active Directory domain.
The language on the filer is set to en_US.
This happens with both samba-3.0.2 and samba-3.0.7 running on debian
stable. With samba-3.0.2 on debug level 10, I see:
sec_io_desc sd data
prs_mem_get: reading data of size 2 would overrun buffer.
Failed to parse secdesc
as the last entries in the log which would seem to indicate that the
security descriptor is somehow not the correct size that samba is
expecting. With samba-3.0.7, the code segfaults.
I have a small python script that uses the python2.2-samba libs from
samba.org to pull owner and group info off of files which is how I
I have debug=10 captures and tcpdump pcap files for the dialog between
samba and the NetApp ONTAP 6.4.2p6 for both samba 3.0.2 and 3.0.7 at:
The attached python script (with changes to the configuration information at the
top) runs to completion in my testing against the latest development code.
Please test against the most recent release, and reopen this bug if you still
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.