summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2010-05-31s3-build: only use ndr_security.h where needed.Günther Deschner5-0/+5
Guenther
2010-05-29s3:smbd Use the right num_sidsSimo Sorce1-1/+1
We use s_i->ptok->num_sids everywhere else in this call and then suddenly we reference s_i->num_sids
2010-05-28s3:smbd move messaging_context and memcache into globals.cAndrew Bartlett2-26/+27
This helps vfstest, which previously had duplicate copies of these functions. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3:smbd split reload services/printers functions from server.cAndrew Bartlett2-82/+109
This helps vfstest, as it previously had duplicate copies of these functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3:smbd split smbd/server.c into smbd/server.c and smbd/server_exit.cAndrew Bartlett2-146/+173
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3-auth: Added a function to get the server_info from the system user.Andreas Schneider1-0/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28s3-lanman: Fix api_RNetUserGetInfo level 2 marshalling offset calculation.Günther Deschner1-16/+16
54 + 4 = 58 (and not 60). Found by torture test. Guenther
2010-05-28s3:auth Free sampass as soon as we have server_infoSimo Sorce2-0/+2
We don't keep sampass in server_info anymore So it makes no sense to keep it around. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28s3:auth use info3 in auth_serversupplied_infoSimo Sorce7-25/+25
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-27s3: Fix a bad memleak in the async echo responderVolker Lendecke1-1/+1
2010-05-27s3: Remove an unused variableVolker Lendecke1-1/+0
2010-05-27s3-lanman: use samr for api_RNetUserGetInfo.Günther Deschner1-27/+130
Following MS-RAP 3.2.5.13 NetUserGetInfo Command. Guenther
2010-05-27s3:rpc_server: pass down local and remote tsocket_address to np_open()Stefan Metzmacher1-1/+4
metze
2010-05-27s3:smbd: add PIPE_BUSY handling for SMBtrans calls on named pipesStefan Metzmacher1-0/+11
metze
2010-05-26s3-lanman: remove defines now provided by IDL.Günther Deschner1-10/+0
Guenther
2010-05-26s3-samr: move chgpasswd.c out of smbd and into the samr server.Günther Deschner1-1122/+0
Guenther
2010-05-26s3-smbd: remove unused change/check_lanman_password.Günther Deschner1-203/+59
Guenther
2010-05-26s3-lanman: parse encrypted and min_pwd_length in api_SetUserPassword().Günther Deschner1-3/+25
Guenther
2010-05-26s3-lanman: use samr for api_SetUserPassword().Günther Deschner1-38/+123
Guenther
2010-05-26s3-lanman: Migrated to rpc_connect_spoolss_pipe().Simo Sorce1-28/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-25Standardize debug messages for read and write.Jeremy Allison2-3/+11
Jeremy.
2010-05-21If using fake oplocks, use the correct SMB2 type code for "no oplock".Jeremy Allison1-1/+1
Jeremy.
2010-05-21Don't forget brackets around bitwise tests.Jeremy Allison1-1/+1
Jeremy.
2010-05-21Make DFS work over SMB2.Jeremy Allison3-11/+43
Jeremy.
2010-05-21Make krb5 over SMB2 identical to the way we handle it in SMB1.Jeremy Allison1-2/+50
Jeremy.
2010-05-21s3: added support for fake oplocks in SMB2.Ira Cooper1-2/+14
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett5-28/+28
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-20Fix bug #7410 - samba sends "raw" inode number as uniqueid with unix ↵Jeremy Allison3-10/+35
extensions. Move to a consistent get_FileIndex() function for all inode returns, that checks if st_dev on the file is identical to the top directory dev_t of the exported share, and if so uses the raw 64-bit inode number. If it isn't (we've traversed a mount point) - return what we used to do for Windows which is the concatination of the bottom 32-bits of the inode with the 32-bit device number. We can get more creative with this over time (hashing?) if we want as now all inode returns go through this single function. Jeremy.
2010-05-20s3-lanman: Fix various RAP printing calls according to win98 testing and ↵Günther Deschner1-10/+10
MS-RAP docs. Guenther
2010-05-20s3 smb2: Fix the build without kerberosKai Blin1-0/+2
Jeremy, please check
2010-05-19Fix bug 7442 - Samba returns incorrect SMB2 QFS device info.Jeremy Allison1-2/+9
Add the correct devicetype and characteristics for this info level. Jeremy.
2010-05-19Fix connecting to [homes] share over SMB2.Jeremy Allison1-3/+20
Jeremy.
2010-05-19After talking with Microsoft engineers, immediately replyingJeremy Allison1-1/+6
on compound requests on open being deferred for a sharing violation is a Windows bug. Re-enable the code that simply delays the compound response if the delay time is less than 2 seconds. Jeremy.
2010-05-19After talking with Microsoft engineers, the "lock spin time" isJeremy Allison1-1/+2
no longer used in SMB2. Jeremy.
2010-05-19(Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from ↵Jeremy Allison14-13/+24
64-bit Vista client It turns out that the persistent handles are used by the Microsoft redirector to index files on oplock break requests. So even if we don't do durable handles (yet) we must set the persistent handle on create. For now just use the same handle value as we use for volatile. Jeremy.
2010-05-18Implement missing info level SMB_FILE_LINK_INFORMATION.Jeremy Allison2-5/+101
Fix bug #7435 - SMB2 hardlink fails (invalid level). Found at the Microsoft plugsharing plugfest. Jeremy.
2010-05-18Keep track of credits we're giving out. Set initial credits to 1 (MS-SMB2 ↵Jeremy Allison2-1/+9
spec required). Jeremy.
2010-05-18s3-rpc_client: move protos to init_spoolss.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_spoolss.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2-19/+20
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner1-2/+2
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner1-14/+14
Guenther
2010-05-18s3-build: fix the build.Günther Deschner1-1/+1
Guenther
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij5-20/+13
2010-05-17Plumb in krb5 to the SMB2 sessionsetup code. First cut of this code.Jeremy Allison2-11/+404
Jeremy.
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner1-0/+1
Guenther
2010-05-18s3-crypto: only include crypto headers when crypto is done.Günther Deschner1-0/+1
Guenther
2010-05-17Refactor the sessionsetup SMB2 code to make it easy to addJeremy Allison1-140/+293
krb5. Fix a memory leak in returning security blobs. Jeremy
2010-05-13Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.Jeremy Allison2-1/+15
The end_data argument to smbd_dirptr_lanman2_entry() must include the safety margin, as internally it's actually used to allow detection of string name pushes that were truncated. Ensure space_remaining can never go negative due to padding. Jeremy.
2010-05-13Be more forgiving on client oplock break failure (as Windows does). Remove a ↵Jeremy Allison5-8/+1
global. Jeremy.