Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-05-13 | s3:libsmb: return NT_STATUS_CONNECTION_INVALID if the fd is -1 | Bo Yang | 1 | -5/+7 | |
This way we can destinguish between requests which failed because the connection broke after they were triggered and the requests which are started on an already broken connection. This also moves the check to cli_smb_req_iov_send() where it really belongs. metze | |||||
2009-05-13 | s3: return proper error code in cli_smb_req_send | Bo Yang | 5 | -38/+82 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-05-12 | Clean up assignments to iov_base, ensure it's always cast to void *. This ↵ | Jeremy Allison | 6 | -18/+18 | |
should quieten some warnings with picky compilers on the buildfarm. Jeremy. | |||||
2009-05-10 | Provide a libsmbclient interface for programs requiring threads | Derrell Lipman | 2 | -0/+176 | |
- This adds two functions: smbc_thread_posix() which provides access to the internal threading implementation using pthread; and smbc_thread_impl() where the user provides each of the functions required by Samba, to give access to the thread implementation's native capabilities. Derrell | |||||
2009-05-09 | s3:libsmb: fix layering of cli_ntrename_internal and its callers | Stefan Metzmacher | 1 | -29/+35 | |
It's easier to have cli_ntrename_internal as a semetric async tevent_req function. cli_ntrename() and cli_nt_hardlink() should be callers on top of cli_ntrename_internal(). metze | |||||
2009-05-07 | Async API needs all parameters to be kept around until sent, | Jeremy Allison | 1 | -55/+15 | |
ensure they're attached to the state structure. Thanks to Metze for pointing this out. Jeremy. | |||||
2009-05-07 | Make cli_tcon_andx chainable | Volker Lendecke | 1 | -15/+42 | |
2009-05-07 | Make cli_session_setup_guest chainable | Volker Lendecke | 1 | -9/+31 | |
2009-05-07 | s3-credentials: protect netlogon_creds_server_step() against NULL creds. | Günther Deschner | 1 | -0/+4 | |
Found by SCHANNEL torture tests. Guenther | |||||
2009-05-06 | Make cli_setatr async. | Jeremy Allison | 3 | -2/+129 | |
Jeremy. | |||||
2009-05-06 | Make cli_setattrE async. | Jeremy Allison | 2 | -26/+98 | |
Jeremy. | |||||
2009-05-05 | Make cli_getatr() async. | Jeremy Allison | 2 | -27/+126 | |
Jeremy. | |||||
2009-05-05 | Make cli_getattrE async. | Jeremy Allison | 3 | -33/+132 | |
Jeremy. | |||||
2009-05-04 | Fix the async calls for the posix_unlink and posix_rmdir. | Jeremy Allison | 1 | -13/+49 | |
Jeremy. | |||||
2009-04-30 | Cause cli_close to return an NTSTATUS. | Jeremy Allison | 2 | -81/+4 | |
Jeremy. | |||||
2009-04-30 | Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int. | Jeremy Allison | 10 | -73/+72 | |
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy. | |||||
2009-04-29 | Make cli_unlink async. | Jeremy Allison | 2 | -28/+93 | |
Jeremy. | |||||
2009-04-29 | More async calls in libsmb/clifile.c | Jeremy Allison | 1 | -50/+170 | |
Jeremy. | |||||
2009-04-29 | s3: fix crash in winbindd | Bo Yang | 1 | -0/+4 | |
2009-04-28 | Doh ! Don't need "int dummy" when we have state :-). | Jeremy Allison | 1 | -1/+0 | |
Jeremy. | |||||
2009-04-28 | Convert cli_rename to async. | Jeremy Allison | 2 | -25/+108 | |
Jeremy. | |||||
2009-04-28 | Convert cli_posix_unlink() and cli_posix_rmdir() | Jeremy Allison | 1 | -63/+190 | |
to async. First trans calls I've done. Jeremy. | |||||
2009-04-28 | Fix a type-punned warning | Volker Lendecke | 1 | -1/+1 | |
2009-04-27 | [FIX Bug 6235] domain enumeration breaks if master browser has space in name | Derrell Lipman | 1 | -1/+2 | |
Jeremy: please review to ensure this doesn't appear to break anything The function name_status_find() is documented as used for finding a server's name given its IP address. It was, however, looking for the first matching name which could be a group name at times. This fix ensures that group names are skipped when scanning for a matching name. Derrell | |||||
2009-04-24 | find/replace. Change uintX types to uintX_t types to tidy up the code. | Jeremy Allison | 1 | -38/+38 | |
Jeremy. | |||||
2009-04-23 | errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFUL | Kai Blin | 1 | -1/+1 | |
This allows us to distinguish on NTSTATUS level if we got a WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR. | |||||
2009-04-22 | Make dskattr async. | Jeremy Allison | 1 | -38/+102 | |
Jeremy. | |||||
2009-04-22 | Make cli_chkpath async. | Jeremy Allison | 1 | -0/+121 | |
Jeremy | |||||
2009-04-22 | errormap: Add wbcErr to NTSTATUS mappings | Kai Blin | 1 | -0/+41 | |
2009-04-21 | s3:libsmb: always use the tevent_req_nomem() for checking allocation failures | Stefan Metzmacher | 1 | -6/+6 | |
This will also make sure we cleanup 'req' in case of an error. metze | |||||
2009-04-21 | Make rmdir async. | Jeremy Allison | 2 | -59/+92 | |
Jeremy. | |||||
2009-04-21 | Make cli_mkdir async. Change it to return NTSTATUS. | Jeremy Allison | 2 | -2/+111 | |
Jeremy. | |||||
2009-04-21 | s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-04-20 | Merge commit 'origin/master' into libcli-auth-merge-without-netlogond | Andrew Bartlett | 1 | -1/+1 | |
2009-04-20 | s3:ntlmssp Remove use of talloc(NULL) in NTLMSSP code | Andrew Bartlett | 2 | -12/+12 | |
2009-04-20 | s3:ntlmssp Fix segfault: msrpc_gen now uses talloc() | Andrew Bartlett | 1 | -46/+8 | |
2009-04-16 | When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-04-16 | Fix crash bug in NTLMSSP caused by msrpc_parse() moving to talloc | Andrew Bartlett | 1 | -4/+2 | |
2009-04-14 | More work to adapt to merged libcli/auth function prototypes | Andrew Bartlett | 4 | -16/+19 | |
2009-04-14 | Rework Samba3 to use new libcli/auth code (partial) | Andrew Bartlett | 8 | -2266/+26 | |
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett | |||||
2009-04-14 | Convert Samba3 to use the common lib/util/charset API | Andrew Bartlett | 4 | -18/+18 | |
This removes calls to push_*_allocate() and pull_*_allocate(), as well as convert_string_allocate, as they are not in the common API To allow transition to a common charcnv in future, provide Samba4-like strupper functions in source3/lib/charcnv.c (the actual implementation remains distinct, but the API is now shared) Andrew Bartlett | |||||
2009-04-14 | Solve some of the conflict between Samba3 and Samba4 push_string | Andrew Bartlett | 3 | -21/+23 | |
This renames push_string in Samba3 into push_string_base and push_string_check for the two different use cases. This should allow push_string to be imported from Samba4, using it's calling conventions. | |||||
2009-04-12 | Fix a bug in smbclient not sending the correct called name | Volker Lendecke | 1 | -1/+5 | |
Jeremy, I think the ability to say smbclient //foo/bar -I <ip-address> -p 139 making the called name to "foo" got lost with 3d2d0203. Was this removed deliberately? If so, please revert this patch. If not, please merge appropriately. Thanks, Volker | |||||
2009-04-08 | Convert cli_push to tevent_req | Volker Lendecke | 1 | -69/+58 | |
Metze, please check! Thanks, Volker | |||||
2009-04-08 | Convert cli_pull to tevent_req | Volker Lendecke | 1 | -45/+40 | |
2009-04-07 | s3:kerberos Rework smb_krb5_unparse_name() to take a talloc context | Andrew Bartlett | 1 | -11/+12 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-04-06 | Add a bad hack to enable level 2 oplocks in torture_open_connection_share | Volker Lendecke | 1 | -0/+4 | |
2009-04-06 | Make cli_oplock_ack async | Volker Lendecke | 1 | -29/+94 | |
2009-04-06 | Add async oplock waiter | Volker Lendecke | 1 | -1/+101 | |
2009-04-06 | Never hand out 0xffff as a mid | Volker Lendecke | 1 | -1/+1 | |
This is used for oplock replies |