summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
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
2009-09-11s3-nterr: add NT_STATUS_RPC_NT_PROTOCOL_ERROR to nt_errstr().Günther Deschner1-0/+1
Guenther
2009-09-08s3-nterr: add NT_STATUS_RPC_NT_CALL_FAILED.Günther Deschner1-0/+1
Guenther
2009-09-06Fix bug 6673 - smbpasswd does not work with "unix password sync = yes".Jeremy Allison1-1/+1
Revert change from 3.3 -> 3.4 with read_socket_with_timeout changed from sys_read() to sys_recv(). read_socket_with_timeout() is called with non-fd's (with a pty in chgpasswd.c and with a disk file in lib/dbwrap_file.c via read_data()). recv works for the disk file, but not the pty. Change the name of read_socket_with_timeout() to read_fd_with_timeout() to make this clear (and add comments). Jeremy.
2009-09-05s3:libsmb: Convert (state->received) to (state->received != 0)Volker Lendecke1-1/+1
This confused me for a second, this should not happen a second time :-)
2009-09-03s3:libsmb: Attempt to fix bug 6665Volker Lendecke1-0/+6
Before the async libsmb rewrites, we sent tid==0 on negprot. With the rewrite, we send 0xffff. This *should* not matter, but this is one difference in the sniffs I see.
2009-09-02s3-smbpasswd: Fix Bug #6584: allow DOM\user when changing passwords remotely.Simo Sorce1-3/+16
Signed-off-by: Günther Deschner <gd@samba.org>
2009-08-28s3-ntlmssp: use generated ntlmssp code for debugging purpose.Günther Deschner1-0/+69
Guenther
2009-08-28s3-ntlmssp: add NDR helper routines for ntlmssp.Günther Deschner2-0/+189
Guenther
2009-08-28s3-ntlmssp: use interface constants in TargetInfo blob.Günther Deschner1-5/+5
Guenther
2009-08-28s3-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.Günther Deschner1-16/+14
Guenther
2009-08-27s3-ntlmssp: remove trailing whitespace.Günther Deschner2-125/+125
Guenther
2009-08-27s3-credentials: remove unused code.Günther Deschner1-293/+0
Guenther