summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Convert cli_get_fs_attr_info to the async APIVolker Lendecke2009-11-213-42/+87
|
* s3: Fix the build on SolarisVolker Lendecke2009-11-172-7/+7
|
* s3:libsmb: avoid passing a function call as function parameterStefan Metzmacher2009-11-162-21/+21
| | | | | | | Using a helper variable makes it easier to "step" into the desired function within gdb. metze
* s3: Add min_setup, min_param and min_data to cli_trans_recvVolker Lendecke2009-11-145-121/+61
| | | | | | | | | | Every caller that expects to receive something needs to check if enough was sent. Make this check mandatory for everyone. Yes, this makes the parameter list for cli_trans a bit silly, but that's just the way it is: A silly protocol request :-) While there, convert some _done functions to tevent_req_simple_finish_ntstatus.
* s3: Convert cli_set_unix_extensions_capabilities_send to asyncVolker Lendecke2009-11-141-37/+79
|
* s3: Tiny logic simplificationVolker Lendecke2009-11-141-10/+11
|
* s3: Convert cli_unix_extensions_version to asyncVolker Lendecke2009-11-132-43/+127
|
* Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison2009-11-124-6/+6
| | | | | initialize return variables. Jeremy.
* s3-kerberos: avoid using ERROR_TABLE_BASE_krb5 without checking.Günther Deschner2009-11-121-0/+4
| | | | Guenther
* s3-kerberos: add smb_krb5_principal_get_realm().Günther Deschner2009-11-121-0/+25
| | | | Guenther
* s3: Convert libsmb/cli_message to the async APIVolker Lendecke2009-11-101-97/+348
|
* Fix bug 6880 - cannot list workgroup serversJeremy Allison2009-11-091-5/+14
| | | | | | | reported by Alban Browaeys <prahal@yahoo.com> with fix. Revert 2e989bab0764c298a2530a2d4c8690258eba210c with extra comments - this broke workgroup enumeration. Jeremy.
* s3: Try to avoid dns searches with an empty siteVolker Lendecke2009-11-091-1/+1
|
* Revert "s3-kerberos: add smb_krb5_parse_name_flags()."Günther Deschner2009-11-061-18/+0
| | | | This reverts commit 17ef153b68795fec681f9ce17c198236aba2b1c2.
* s3-kerberos: support S4U2SELF impersionation through cli_krb5_get_ticket().Günther Deschner2009-11-061-5/+20
| | | | Guenther
* s3-kerberos: use smb_krb5_get_credentials in ads_krb5_mk_req.Günther Deschner2009-11-061-4/+7
| | | | Guenther
* s3-kerberos: modify cli_krb5_get_ticket to take a new impersonate_princ_s arg.Günther Deschner2009-11-062-3/+5
| | | | Guenther
* s3-kerberos: add smb_krb5_get_{creds,credentials} incl. support for S4U2SELF ↵Günther Deschner2009-11-061-1/+270
| | | | | | impersonation. Guenther
* s3-kerberos: add smb_krb5_parse_name_flags().Günther Deschner2009-11-061-0/+18
| | | | Guenther
* libcli/nbt Move more of lmhosts lookup into common codeAndrew Bartlett2009-11-041-45/+15
| | | | | | This aims to eventually share this with Samba4. Andrew Bartlett
* s3: Remove debug_ctx()Volker Lendecke2009-11-031-1/+1
| | | | | | | | smbd just crashed on me: In a debug message I called a routine preparing a string that itself used debug_ctx. The outer routine also used it after the inner routine had returned. It was still referencing the talloc context that the outer debug_ctx() had given us, which the inner DEBUG had already freed.
* Convert from numbers to correct SMB_FIND_XX constant names.Jeremy Allison2009-11-021-8/+12
| | | | Jeremy.
* Fix bug 6572 - libsmbclient: unable to access 'msdfs proxy' share.SATOH Fumiyasu2009-10-282-46/+111
|
* Simplify the logic.Jeremy Allison2009-10-221-5/+2
| | | | Jeremy.
* Fix bug 6829 - smbclient does not show special characters properly.Jeremy Allison2009-10-222-0/+20
| | | | | | | | | | | | All successful calls to cli_session_setup() *must* be followed by calls to cli_init_creds() to stash the credentials we successfully connected with. There were 2 codepaths where this was missing. This caused smbclient to be unable to open the \srvsvc pipe to do an RPC netserverenum, and cause it to fall back to a RAP netserverenum, which uses DOS codepage conversion rather than the full UCS2 of RPC, so the returned characters were not correct (unless the DOS codepage was set correctly). Phew. That was fun to track down :-). Jeremy.
* s3: fixed krb5 build problem on ubuntu karmicAndrew Tridgell2009-10-161-0/+9
| | | | | | | Karmic has MIT krb5 1.7-beta3, which has the symbol krb5_auth_con_set_req_cksumtype but no prototype for it. See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531635
* s3-spnego: fix memleak in spnego_parse_auth().Günther Deschner2009-10-151-1/+5
| | | | Guenther
* s3-spnego: Fix Bug #6815. Windows 2008 R2 SPNEGO negTokenTarg parsing failure.Günther Deschner2009-10-151-19/+12
| | | | | | | | | | When parsing a SPNEGO session setup retry (falling back from KRB5 to NTLMSSP), we failed to parse the ASN1_ENUMERATED negResult in the negTokenTarg, thus failing spnego_parse_auth() completely. By just using the shared spnego/asn1 code, we get the parsing the correct way. Guenther
* s3:torture: Add a notify-bench testVolker Lendecke2009-10-131-0/+4
| | | | | | | This is a test that creates and deletes files in a directory as fast as the network allows it. At the same time, it opens a filechangenotify. This test is done to just torture handling a single directory together with the notify infrastructure.
* s3:libsmb: Add cli_notifyVolker Lendecke2009-10-131-0/+140
|
* s3: use enum netr_SchannelType all over the place.Günther Deschner2009-10-131-2/+2
| | | | Guenther
* s3-netlogon: allow to change any type of trust account password in ↵Günther Deschner2009-10-131-6/+39
| | | | | | trust_pw_find_change_and_store_it(). Guenther
* s3-netlogon: pass down account name to remote password set functions.Günther Deschner2009-10-131-0/+3
| | | | Guenther
* Revert "s3: Attempt to fix machine password change"Volker Lendecke2009-10-051-3/+5
| | | | | | This reverts commit 20a8ea91e10af167067cc794a251265aaf489e75. Ooops, this should not have been committed.
* s3: Attempt to fix machine password changeVolker Lendecke2009-10-051-5/+3
|
* s3: Fix nonempty blank linesVolker Lendecke2009-10-051-4/+4
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* ds-flags: use the new name DS_DNS_FOREST_ROOTAndrew Tridgell2009-10-021-1/+1
| | | | | Update to use the new DS_DNS_FOREST_ROOT name, which makes it clearer what this bit means (according to MS-ADTS doc)
* Second part of fix for bug #6235 - domain enumeration breaks if master ↵Jeremy Allison2009-09-281-1/+1
| | | | | | | browser has space in name. Ensure we ask for the #20 name as we're using it as a server. Jeremy.
* s3:gencache: Add a "was_expired" argument to gencache_get_data_blobVolker Lendecke2009-09-231-1/+1
| | | | | This is set to true if the routine returns failure due to an existing but expired entry.
* spnego: share spnego_parse.Günther Deschner2009-09-174-369/+10
| | | | Guenther
* s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.Günther Deschner2009-09-151-1/+1
| | | | Guenther
* libcli:nbt make the lmhosts parsing code and dependicies commonAndrew Bartlett2009-09-151-128/+0
| | | | | | This starts the process to have Samba4 use lmhosts. Andrew Bartlett
* Second part of bug fix for 6606.Volker Lendecke2009-09-141-0/+6
| | | | s3:libsmb: Fix bug 6606 -- short reads in smbclient were not handled
* Fix bug 6726 - Filename length overwrites oplock request field in ↵Jeremy Allison2009-09-141-1/+1
| | | | | | cli_nt_create(). Jeremy.
* s3:libsmb: Fix bug 6606 -- short reads in smbclient were not handledVolker Lendecke2009-09-141-4/+118
|
* s3-nterr: print a NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED.Günther Deschner2009-09-131-0/+1
| | | | Guenther
* s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_spnego_ntlmssp ↵Günther Deschner2009-09-111-0/+1
| | | | | | and cli_rpc_pipe_open_ntlmssp. Guenther
* s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE.Günther Deschner2009-09-111-0/+1
| | | | Guenther
* s3-nterr: add NT_STATUS_RPC_NT_PROTOCOL_ERROR to nt_errstr().Günther Deschner2009-09-111-0/+1
| | | | Guenther
* s3-nterr: add NT_STATUS_RPC_NT_CALL_FAILED.Günther Deschner2009-09-081-0/+1
| | | | Guenther