summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix bug 6673 - smbpasswd does not work with "unix password sync = yes".Jeremy Allison2009-09-061-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.
* s3:libsmb: Convert (state->received) to (state->received != 0)Volker Lendecke2009-09-051-1/+1
| | | | This confused me for a second, this should not happen a second time :-)
* s3:libsmb: Attempt to fix bug 6665Volker Lendecke2009-09-031-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.
* s3-smbpasswd: Fix Bug #6584: allow DOM\user when changing passwords remotely.Simo Sorce2009-09-021-3/+16
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-ntlmssp: use generated ntlmssp code for debugging purpose.Günther Deschner2009-08-281-0/+69
| | | | Guenther
* s3-ntlmssp: add NDR helper routines for ntlmssp.Günther Deschner2009-08-282-0/+189
| | | | Guenther
* s3-ntlmssp: use interface constants in TargetInfo blob.Günther Deschner2009-08-281-5/+5
| | | | Guenther
* s3-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.Günther Deschner2009-08-281-16/+14
| | | | Guenther
* s3-ntlmssp: remove trailing whitespace.Günther Deschner2009-08-272-125/+125
| | | | Guenther
* s3-credentials: remove unused code.Günther Deschner2009-08-271-293/+0
| | | | Guenther
* s3/debug: make SPENGO OID list appear under one debug headerSteven Danneman2009-08-261-1/+4
|
* s3-netlogon: let get_md4pw() return a struct samr_Password.Günther Deschner2009-08-261-3/+1
| | | | | | (in preparation of credential merge). Guenther
* Add some const to dsgetdcnameVolker Lendecke2009-08-251-5/+5
|
* s3:dsgetdcname: Fix a crash in dsgetdcnameVolker Lendecke2009-08-201-0/+2
| | | | | | | When returning NT_STATUS_OK we can't leave *info == NULL, this crashes in is_closest_site called from dsgetdcname(). Signed-off-by: Günther Deschner <gd@samba.org>
* s3:dsgetdcname: Inline dsgetdcname_cache_refreshVolker Lendecke2009-08-201-26/+7
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Fix Red Hat bugzilla bug : https://bugzilla.redhat.com/show_bug.cgi?id=516165Jeremy Allison2009-08-191-1/+1
| | | | | | | | | | nautilus fails to copy files from an SMB share. This is a show-stopper for 3.4.1 (I'll open a Samba.org bug). Although gnome-vfs is doing *incredibly* stupid things by asking for a read size of 65535 - this translates on the wire to a 65534 byte read followed by a 1 byte read. Please send this back to the gnome developers that they will ge horrid on the wire performance for this. Jeremy.