search for: nt_create_andx

Displaying 4 results from an estimated 4 matches for "nt_create_andx".

2005 Apr 06
2
NT_Create_AndX
Hi - Is there a way to tell Samba to use the NT_Create_AndX style of commands (vs SMB_COM_OPEN)? Thanks, Zach
2003 May 21
1
python bindings api
...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 Traceback (most recent call last): File "<stdin>", line 1, in ? RuntimeError: query_secdesc failed...
2008 Aug 25
1
How to do a simple directory listing
...oes, and I see it's using FIND_FIRST2. This is fine, probably acceptable, but Samba returns a lot of information I do not need, such as file creation/access times. I just need filenames, and will only be reading from Samba. It ends up being more data to store in limited RAM and parse. Can NT_CREATE_ANDX be used to obtain a directory listing? The CIFS Technical Reference states "This command is used to create or open a file or directory". I thought I could specify a directory then use READ_ANDX, but I'm not surprised that didn't do what I had hoped. __________________________...
2005 Apr 28
3
Roaming profiles in domain level
Hi Everyone, Does anybody use roaming profiles in domain level? I'm looking for helps for setting up Samba as a NT4 domain member to support roaming profiles for sharing during domain logon of Windows clients. I ran into the problems. log files couldn't show specified messages, except for BUFFER_TOO_SMALL. If a profile share directory is mounted on a Windows NT DC or a Windows domain