summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2009-05-10Provide a libsmbclient interface for programs requiring threadsDerrell Lipman2-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-09s3:libsmb: fix layering of cli_ntrename_internal and its callersStefan Metzmacher1-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-07Async API needs all parameters to be kept around until sent,Jeremy Allison1-55/+15
ensure they're attached to the state structure. Thanks to Metze for pointing this out. Jeremy.
2009-05-07Make cli_tcon_andx chainableVolker Lendecke1-15/+42
2009-05-07Make cli_session_setup_guest chainableVolker Lendecke1-9/+31
2009-05-07s3-credentials: protect netlogon_creds_server_step() against NULL creds.Günther Deschner1-0/+4
Found by SCHANNEL torture tests. Guenther
2009-05-06Make cli_setatr async.Jeremy Allison3-2/+129
Jeremy.
2009-05-06Make cli_setattrE async.Jeremy Allison2-26/+98
Jeremy.
2009-05-05Make cli_getatr() async.Jeremy Allison2-27/+126
Jeremy.
2009-05-05Make cli_getattrE async.Jeremy Allison3-33/+132
Jeremy.
2009-05-04Fix the async calls for the posix_unlink and posix_rmdir.Jeremy Allison1-13/+49
Jeremy.
2009-04-30Cause cli_close to return an NTSTATUS.Jeremy Allison2-81/+4
Jeremy.
2009-04-30Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison10-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-29Make cli_unlink async.Jeremy Allison2-28/+93
Jeremy.
2009-04-29More async calls in libsmb/clifile.cJeremy Allison1-50/+170
Jeremy.
2009-04-29s3: fix crash in winbinddBo Yang1-0/+4
2009-04-28Doh ! Don't need "int dummy" when we have state :-).Jeremy Allison1-1/+0
Jeremy.
2009-04-28Convert cli_rename to async.Jeremy Allison2-25/+108
Jeremy.
2009-04-28Convert cli_posix_unlink() and cli_posix_rmdir()Jeremy Allison1-63/+190
to async. First trans calls I've done. Jeremy.
2009-04-28Fix a type-punned warningVolker Lendecke1-1/+1
2009-04-27[FIX Bug 6235] domain enumeration breaks if master browser has space in nameDerrell Lipman1-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-24find/replace. Change uintX types to uintX_t types to tidy up the code.Jeremy Allison1-38/+38
Jeremy.
2009-04-23errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFULKai Blin1-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-22Make dskattr async.Jeremy Allison1-38/+102
Jeremy.
2009-04-22Make cli_chkpath async.Jeremy Allison1-0/+121
Jeremy
2009-04-22errormap: Add wbcErr to NTSTATUS mappingsKai Blin1-0/+41
2009-04-21s3:libsmb: always use the tevent_req_nomem() for checking allocation failuresStefan Metzmacher1-6/+6
This will also make sure we cleanup 'req' in case of an error. metze
2009-04-21Make rmdir async.Jeremy Allison2-59/+92
Jeremy.
2009-04-21Make cli_mkdir async. Change it to return NTSTATUS.Jeremy Allison2-2/+111
Jeremy.
2009-04-21s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.Günther Deschner1-1/+1
Guenther
2009-04-20Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett1-1/+1
2009-04-20s3:ntlmssp Remove use of talloc(NULL) in NTLMSSP codeAndrew Bartlett2-12/+12
2009-04-20s3:ntlmssp Fix segfault: msrpc_gen now uses talloc()Andrew Bartlett1-46/+8
2009-04-16When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid.Jeremy Allison1-1/+1
Jeremy.
2009-04-16Fix crash bug in NTLMSSP caused by msrpc_parse() moving to tallocAndrew Bartlett1-4/+2
2009-04-14More work to adapt to merged libcli/auth function prototypesAndrew Bartlett4-16/+19
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett8-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-14Convert Samba3 to use the common lib/util/charset APIAndrew Bartlett4-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-14Solve some of the conflict between Samba3 and Samba4 push_stringAndrew Bartlett3-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-12Fix a bug in smbclient not sending the correct called nameVolker Lendecke1-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-08Convert cli_push to tevent_reqVolker Lendecke1-69/+58
Metze, please check! Thanks, Volker
2009-04-08Convert cli_pull to tevent_reqVolker Lendecke1-45/+40
2009-04-07s3:kerberos Rework smb_krb5_unparse_name() to take a talloc contextAndrew Bartlett1-11/+12
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06Add a bad hack to enable level 2 oplocks in torture_open_connection_shareVolker Lendecke1-0/+4
2009-04-06Make cli_oplock_ack asyncVolker Lendecke1-29/+94
2009-04-06Add async oplock waiterVolker Lendecke1-1/+101
2009-04-06Never hand out 0xffff as a midVolker Lendecke1-1/+1
This is used for oplock replies
2009-04-06Remove async_req based async libsmb infrastructureVolker Lendecke1-869/+0
2009-04-06Convert cli_open to tevent_reqVolker Lendecke1-46/+102
2009-04-06Convert cli_close to tevent_reqVolker Lendecke1-20/+66