summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Rename ASN1_BITFIELD to ASN1_BIT_STRING.Kouhei Sutou2009-08-111-1/+1
| | | | X.690 uses "BIT STRING" not "BIT FIELD".
* Unable to browse DFS when using kerberosBo Yang2009-08-071-8/+14
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3: Remove invalid constantMatthias Dieter Wallnöfer2009-07-311-1/+0
|
* (Hopefully) fix the problem Kai reported withJeremy Allison2009-07-281-2/+3
| | | | | | net ads leave and IPv6. Ensure all DC lookups prefer IPv4. Jeremy.
* Added prefer_ipv4 bool parameter to resolve_name().Jeremy Allison2009-07-283-9/+62
| | | | | | | | | | W2K3 DC's can have IPv6 addresses but won't serve krb5/ldap or cldap on those addresses. Make sure when we're asking for DC's we prefer IPv4. If you have an IPv6-only network this prioritizing code will be a no-op. And if you have a mixed network then you need to prioritize IPv4 due to W2K3 DC's. Jeremy.
* Fix a valgrind error in cli_ctemp_doneVolker Lendecke2009-07-271-1/+3
| | | | | | | | | For performance reasons cli_smb_recv does not make copies of the buffers we received from the client, so both "vwv" and "bytes" vanish with TALLOC_FREE(subreq). I know this is a bit counter-intuitive, but I think in this case it's justified not to make copies. Comments?
* Make the smbd VFS typesafeVolker Lendecke2009-07-241-3/+3
|
* Make cli_send_mailslot() static. Preparing to do away with unexpected.tdb....Jeremy Allison2009-07-201-2/+1
| | | | Jeremy.
* More conversions of NULL -> talloc_autofree_context()Jeremy Allison2009-07-163-19/+24
| | | | | so we at least know when we're using a long-lived context. Jeremy.
* Replace more long-lived contexts with talloc_autofree_context().Jeremy Allison2009-07-161-1/+1
| | | | Jeremy.
* s3:libsmb: we need to include "includes.h" as first header to let code build ↵Stefan Metzmacher2009-07-151-1/+1
| | | | | | | | on all platforms This should fix the Tru64 build. metze
* Make cli_unlock and cli_unlock64 async. Fix POSIX lock test.Jeremy Allison2009-07-151-64/+206
| | | | Jeremy.