summaryrefslogtreecommitdiffstats
path: root/source3/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:smbd split smbd/server.c into smbd/server.c and smbd/server_exit.cAndrew Bartlett2010-05-282-146/+173
| | | | | | Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth: Added a function to get the server_info from the system user.Andreas Schneider2010-05-281-0/+5
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-lanman: Fix api_RNetUserGetInfo level 2 marshalling offset calculation.Günther Deschner2010-05-281-16/+16
| | | | | | | | 54 + 4 = 58 (and not 60). Found by torture test. Guenther
* s3:auth Free sampass as soon as we have server_infoSimo Sorce2010-05-282-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>
* s3:auth use info3 in auth_serversupplied_infoSimo Sorce2010-05-287-25/+25
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Fix a bad memleak in the async echo responderVolker Lendecke2010-05-271-1/+1
|
* s3: Remove an unused variableVolker Lendecke2010-05-271-1/+0
|
* s3-lanman: use samr for api_RNetUserGetInfo.Günther Deschner2010-05-271-27/+130
| | | | | | Following MS-RAP 3.2.5.13 NetUserGetInfo Command. Guenther
* s3:rpc_server: pass down local and remote tsocket_address to np_open()Stefan Metzmacher2010-05-271-1/+4
| | | | metze
* s3:smbd: add PIPE_BUSY handling for SMBtrans calls on named pipesStefan Metzmacher2010-05-271-0/+11
| | | | metze
* s3-lanman: remove defines now provided by IDL.Günther Deschner2010-05-261-10/+0
| | | | Guenther
* s3-samr: move chgpasswd.c out of smbd and into the samr server.Günther Deschner2010-05-261-1122/+0
| | | | Guenther
* s3-smbd: remove unused change/check_lanman_password.Günther Deschner2010-05-261-203/+59
| | | | Guenther
* s3-lanman: parse encrypted and min_pwd_length in api_SetUserPassword().Günther Deschner2010-05-261-3/+25
| | | | Guenther
* s3-lanman: use samr for api_SetUserPassword().Günther Deschner2010-05-261-38/+123
| | | | Guenther
* s3-lanman: Migrated to rpc_connect_spoolss_pipe().Simo Sorce2010-05-261-28/+9
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Standardize debug messages for read and write.Jeremy Allison2010-05-252-3/+11
| | | | Jeremy.
* If using fake oplocks, use the correct SMB2 type code for "no oplock".Jeremy Allison2010-05-211-1/+1
| | | | Jeremy.
* Don't forget brackets around bitwise tests.Jeremy Allison2010-05-211-1/+1
| | | | Jeremy.
* Make DFS work over SMB2.Jeremy Allison2010-05-213-11/+43
| | | | Jeremy.
* Make krb5 over SMB2 identical to the way we handle it in SMB1.Jeremy Allison2010-05-211-2/+50
| | | | Jeremy.
* s3: added support for fake oplocks in SMB2.Ira Cooper2010-05-211-2/+14
|
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-215-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>
* Fix bug #7410 - samba sends "raw" inode number as uniqueid with unix ↵Jeremy Allison2010-05-203-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.
* s3-lanman: Fix various RAP printing calls according to win98 testing and ↵Günther Deschner2010-05-201-10/+10
| | | | | | MS-RAP docs. Guenther
* s3 smb2: Fix the build without kerberosKai Blin2010-05-201-0/+2
| | | | Jeremy, please check
* Fix bug 7442 - Samba returns incorrect SMB2 QFS device info.Jeremy Allison2010-05-191-2/+9
| | | | | | Add the correct devicetype and characteristics for this info level. Jeremy.
* Fix connecting to [homes] share over SMB2.Jeremy Allison2010-05-191-3/+20
| | | | Jeremy.
* After talking with Microsoft engineers, immediately replyingJeremy Allison2010-05-191-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.
* After talking with Microsoft engineers, the "lock spin time" isJeremy Allison2010-05-191-1/+2
| | | | | | no longer used in SMB2. Jeremy.
* (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from ↵Jeremy Allison2010-05-1914-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.
* Implement missing info level SMB_FILE_LINK_INFORMATION.Jeremy Allison2010-05-182-5/+101
| | | | | | | Fix bug #7435 - SMB2 hardlink fails (invalid level). Found at the Microsoft plugsharing plugfest. Jeremy.
* Keep track of credits we're giving out. Set initial credits to 1 (MS-SMB2 ↵Jeremy Allison2010-05-182-1/+9
| | | | | | spec required). Jeremy.
* s3-rpc_client: move protos to init_spoolss.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-rpc_client: move protos to cli_spoolss.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2010-05-182-19/+20
| | | | Guenther
* s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner2010-05-181-2/+2
| | | | Guenther
* s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner2010-05-181-14/+14
| | | | Guenther
* s3-build: fix the build.Günther Deschner2010-05-181-1/+1
| | | | Guenther
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-185-20/+13
|
* Plumb in krb5 to the SMB2 sessionsetup code. First cut of this code.Jeremy Allison2010-05-172-11/+404
| | | | Jeremy.
* s3-registry: only include registry headers when really needed.Günther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-crypto: only include crypto headers when crypto is done.Günther Deschner2010-05-181-0/+1
| | | | Guenther
* Refactor the sessionsetup SMB2 code to make it easy to addJeremy Allison2010-05-171-140/+293
| | | | | | krb5. Fix a memory leak in returning security blobs. Jeremy
* Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.Jeremy Allison2010-05-132-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.
* Be more forgiving on client oplock break failure (as Windows does). Remove a ↵Jeremy Allison2010-05-135-8/+1
| | | | | | global. Jeremy.
* Treat an open of stream ::$DATA as an open of the base file.Jeremy Allison2010-05-131-1/+23
| | | | | | This fixes a class of SMB_ASSERT failures when doing stream tests. Jeremy.
* s3:smbd Remove calls to namecache_enable()Andrew Bartlett2010-05-131-2/+0
| | | | | | This only prints a DEBUG() Andrew Bartlett
* Pass more SMB2 oplock tests. Only oplock stream tests left to fix.Jeremy Allison2010-05-122-1/+10
| | | | Jeremy.
* s3-lanman: use samr for api_SamOEMChangePassword().Günther Deschner2010-05-121-9/+49
| | | | Guenther