summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2009-11-21s3: Fix some nonempty blank linesVolker Lendecke9-568/+468
2009-11-21s3: Remove a struct typedefVolker Lendecke1-6/+6
2009-11-21s3: Convert cli_get_fs_attr_info to the async APIVolker Lendecke3-42/+87
2009-11-17s3: Fix the build on SolarisVolker Lendecke2-7/+7
2009-11-16s3:libsmb: avoid passing a function call as function parameterStefan Metzmacher2-21/+21
Using a helper variable makes it easier to "step" into the desired function within gdb. metze
2009-11-14s3: Add min_setup, min_param and min_data to cli_trans_recvVolker Lendecke5-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.
2009-11-14s3: Convert cli_set_unix_extensions_capabilities_send to asyncVolker Lendecke1-37/+79
2009-11-14s3: Tiny logic simplificationVolker Lendecke1-10/+11
2009-11-13s3: Convert cli_unix_extensions_version to asyncVolker Lendecke2-43/+127
2009-11-12Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison4-6/+6
initialize return variables. Jeremy.
2009-11-12s3-kerberos: avoid using ERROR_TABLE_BASE_krb5 without checking.Günther Deschner1-0/+4
Guenther
2009-11-12s3-kerberos: add smb_krb5_principal_get_realm().Günther Deschner1-0/+25
Guenther
2009-11-10s3: Convert libsmb/cli_message to the async APIVolker Lendecke1-97/+348
2009-11-09Fix bug 6880 - cannot list workgroup serversJeremy Allison1-5/+14
reported by Alban Browaeys <prahal@yahoo.com> with fix. Revert 2e989bab0764c298a2530a2d4c8690258eba210c with extra comments - this broke workgroup enumeration. Jeremy.
2009-11-09s3: Try to avoid dns searches with an empty siteVolker Lendecke1-1/+1
2009-11-06Revert "s3-kerberos: add smb_krb5_parse_name_flags()."Günther Deschner1-18/+0
This reverts commit 17ef153b68795fec681f9ce17c198236aba2b1c2.
2009-11-06s3-kerberos: support S4U2SELF impersionation through cli_krb5_get_ticket().Günther Deschner1-5/+20
Guenther
2009-11-06s3-kerberos: use smb_krb5_get_credentials in ads_krb5_mk_req.Günther Deschner1-4/+7
Guenther
2009-11-06s3-kerberos: modify cli_krb5_get_ticket to take a new impersonate_princ_s arg.Günther Deschner2-3/+5
Guenther
2009-11-06s3-kerberos: add smb_krb5_get_{creds,credentials} incl. support for S4U2SELF ↵Günther Deschner1-1/+270
impersonation. Guenther
2009-11-06s3-kerberos: add smb_krb5_parse_name_flags().Günther Deschner1-0/+18
Guenther
2009-11-04libcli/nbt Move more of lmhosts lookup into common codeAndrew Bartlett1-45/+15
This aims to eventually share this with Samba4. Andrew Bartlett
2009-11-03s3: Remove debug_ctx()Volker Lendecke1-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.
2009-11-02Convert from numbers to correct SMB_FIND_XX constant names.Jeremy Allison1-8/+12
Jeremy.
2009-10-28Fix bug 6572 - libsmbclient: unable to access 'msdfs proxy' share.SATOH Fumiyasu2-46/+111
2009-10-22Simplify the logic.Jeremy Allison1-5/+2
Jeremy.
2009-10-22Fix bug 6829 - smbclient does not show special characters properly.Jeremy Allison2-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.
2009-10-16s3: fixed krb5 build problem on ubuntu karmicAndrew Tridgell1-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
2009-10-15s3-spnego: fix memleak in spnego_parse_auth().Günther Deschner1-1/+5
Guenther
2009-10-15s3-spnego: Fix Bug #6815. Windows 2008 R2 SPNEGO negTokenTarg parsing failure.Günther Deschner1-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
2009-10-13s3:torture: Add a notify-bench testVolker Lendecke1-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.
2009-10-13s3:libsmb: Add cli_notifyVolker Lendecke1-0/+140
2009-10-13s3: use enum netr_SchannelType all over the place.Günther Deschner1-2/+2
Guenther
2009-10-13s3-netlogon: allow to change any type of trust account password in ↵Günther Deschner1-6/+39
trust_pw_find_change_and_store_it(). Guenther
2009-10-13s3-netlogon: pass down account name to remote password set functions.Günther Deschner1-0/+3
Guenther
2009-10-05Revert "s3: Attempt to fix machine password change"Volker Lendecke1-3/+5
This reverts commit 20a8ea91e10af167067cc794a251265aaf489e75. Ooops, this should not have been committed.
2009-10-05s3: Attempt to fix machine password changeVolker Lendecke1-5/+3
2009-10-05s3: Fix nonempty blank linesVolker Lendecke1-4/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2009-10-02ds-flags: use the new name DS_DNS_FOREST_ROOTAndrew Tridgell1-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)
2009-09-28Second part of fix for bug #6235 - domain enumeration breaks if master ↵Jeremy Allison1-1/+1
browser has space in name. Ensure we ask for the #20 name as we're using it as a server. Jeremy.
2009-09-23s3:gencache: Add a "was_expired" argument to gencache_get_data_blobVolker Lendecke1-1/+1
This is set to true if the routine returns failure due to an existing but expired entry.
2009-09-17spnego: share spnego_parse.Günther Deschner4-369/+10
Guenther
2009-09-15s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.Günther Deschner1-1/+1
Guenther
2009-09-15libcli:nbt make the lmhosts parsing code and dependicies commonAndrew Bartlett1-128/+0
This starts the process to have Samba4 use lmhosts. Andrew Bartlett
2009-09-14Second part of bug fix for 6606.Volker Lendecke1-0/+6
s3:libsmb: Fix bug 6606 -- short reads in smbclient were not handled
2009-09-14Fix bug 6726 - Filename length overwrites oplock request field in ↵Jeremy Allison1-1/+1
cli_nt_create(). Jeremy.
2009-09-14s3:libsmb: Fix bug 6606 -- short reads in smbclient were not handledVolker Lendecke1-4/+118
2009-09-13s3-nterr: print a NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED.Günther Deschner1-0/+1
Guenther
2009-09-11s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_spnego_ntlmssp ↵Günther Deschner1-0/+1
and cli_rpc_pipe_open_ntlmssp. Guenther
2009-09-11s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE.Günther Deschner1-0/+1
Guenther