search for: session_request

Displaying 1 result from an estimated 1 matches for "session_request".

2003 May 21
1
python bindings api
I'm trying to understand the python binding api in the samba-3.0alpha24 snapshot. In trying to get the security descriptor of a file, I have the following bit of code: from samba import smb creds = {...} # domain,username,password cnn = smb.connect("svr1") cnn.session_request("svr1") cnn.negprot() cnn.session_setup(creds) cnn.tconx("c$") fnum = cnn.nt_create_andx("boot.ini", FLAGS) # FLAGS = 1 secdesc = cnn.query_secdesc(fnum) Which raises the error: prs_mem_get: reading data of size 2 would overrun buffer. Failed to parse secdesc Traceba...