summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:smbd: fully construct the dptr before allocating a dnum in the bitmapStefan Metzmacher2011-11-101-27/+29
| | | | metze
* s3:smbd: avoid string_set() in dir.cStefan Metzmacher2011-11-101-2/+9
| | | | | | And do some more error checks. metze
* s3-py_passdb Ensure that group mapping list input is initailisedAndrew Bartlett2011-11-091-1/+2
| | | | | | This may help to ensure we consistantly crash on an incorrect de-reference. Andrew Bartlett
* s3-passdb Initialise the correct level of pointer dereferenceAndrew Bartlett2011-11-091-1/+1
| | | | | | | | *pp_rmap may be NULL or un-initialised data. This was introduced by 995d1567265be178b4e45f79ea4562a7041ffa52. Andrew Bartlett
* s3:registry: prevent unnecessary transactions in regdb_initMichael Adam2011-11-091-0/+4
| | | | | | | | Skip the transaction for the upgrade code, if the database is already at code-level. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 9 15:06:59 CET 2011 on sn-devel-104
* s3: Use autotools to set the winbind socket directory.Andreas Schneider2011-11-091-5/+7
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Nov 9 13:31:27 CET 2011 on sn-devel-104
* s3:smb2_server: grant credits in async interim responses (bug #8357)Stefan Metzmacher2011-11-091-1/+3
| | | | | | | | | | | The first fix for bug #8357 intruduced a regression, so that we no longer grant credits for real async interim responses with STATUS_PENDING. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 9 11:56:29 CET 2011 on sn-devel-104
* s3:libsmb: consistently use state->size in cli_write_andx_create() (bug #5326)Stefan Metzmacher2011-11-091-1/+1
| | | | | | | | | | | | Otherwise we may get unexpected results. This is a fix that was missing in commit 95595dd93fd04999fcf56ecaab7c29b064d021f8 (s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)) metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 9 10:13:32 CET 2011 on sn-devel-104
* s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)Stefan Metzmacher2011-11-081-4/+15
| | | | | | | | | | Print shares doesn't support CAP_LARGE_WRITEX, while it's negotiated by the file server part. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 8 17:01:36 CET 2011 on sn-devel-104
* s3:libsmb: correctly parse the LANMAN2.1 negprot response from OS/2 (bug #8584)Stefan Metzmacher2011-11-081-4/+30
| | | | metze
* s3:libsmb: key_len is 8bit only in the NT1 caseStefan Metzmacher2011-11-081-1/+1
| | | | metze
* s3: Remove two unused variablesVolker Lendecke2011-11-081-2/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 8 10:14:36 CET 2011 on sn-devel-104
* Add the SEC_DIR_LIST check to dptr_create().Jeremy Allison2011-11-071-0/+27
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 7 21:11:03 CET 2011 on sn-devel-104
* s3-wafbuild: Fix inotify detection (bug 8580)Björn Baumbach2011-11-071-2/+3
| | | | | | | | | Enable inotify if sys or kernel inotify is available. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 7 16:28:38 CET 2011 on sn-devel-104
* s3-build: Fix inotify detection (bug 8580)Björn Baumbach2011-11-071-2/+4
| | | | | | Enable inotify if sys or kernel inotify is available. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: return NT_STATUS_OK for if a request is not the last one in the chainStefan Metzmacher2011-11-071-0/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 7 11:38:05 CET 2011 on sn-devel-104
* s3:libsmb: make sure have_andx_command() returns false for non AndX commandsStefan Metzmacher2011-11-071-3/+7
| | | | metze
* s3:libsmb: remember the seqnum on all chained requestsStefan Metzmacher2011-11-071-0/+6
| | | | | | | This is needed in order to verify the incoming signature correctly. metze
* s3:libsmb: get cmd of the chained request before changing wct_ofsStefan Metzmacher2011-11-071-2/+1
| | | | metze
* s3:smb2cli: ignore the NBT/Length header in smb2cli_inbuf_parse_compound()Stefan Metzmacher2011-11-061-7/+7
| | | | | | | | | | This is not needed and in future we want to support SMBDirect, which add a different header. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Nov 6 17:17:04 CET 2011 on sn-devel-104
* Move the SEC_DIR_LIST check into dptr_create for SMB2 and now for SMB1.Jeremy Allison2011-11-052-5/+6
| | | | | | | The pathname check still needs fixing. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Nov 5 01:38:00 CET 2011 on sn-devel-104
* can_write_to_file() does now take share permissions into account. Fix comment.Jeremy Allison2011-11-041-1/+0
|
* No longer do the pre-check on DELETE_ACCESS - we're correctly checking the ↵Jeremy Allison2011-11-041-22/+0
| | | | ACL every time now.
* Remove can_access_file_acl(). We no longer need this duplicate code (hurrah!).Jeremy Allison2011-11-044-56/+9
|
* Remove can_access_file_data() - make it use the standard ↵Jeremy Allison2011-11-043-60/+7
| | | | smbd_check_access_rights() instead.
* Add const to the smb_filename argument of smbd_check_access_rights().Jeremy Allison2011-11-043-17/+9
|
* Expose smbd_check_access_rights() to other modules.Jeremy Allison2011-11-042-1/+4
|
* Rename smbd_check_open_rights() to smbd_check_access_rights() as we're going ↵Jeremy Allison2011-11-041-15/+15
| | | | to remove the static from this.
* Replace smb1_file_se_access_check() with just se_access_check().Jeremy Allison2011-11-041-30/+21
|
* Move root check out of smb1_file_se_access_check() in preparation for ↵Jeremy Allison2011-11-041-13/+25
| | | | deleting this function.
* smb1_file_se_access_check() is now static to smbd/open.cJeremy Allison2011-11-042-6/+1
|
* Revert "Change function signature of check_parent_access() to take char * ↵Jeremy Allison2011-11-042-10/+6
| | | | | | | | instead of struct smb_filename." This reverts commit a11c0a41a35aa2b1c14333552045a65e3e50df1e. Not needed.
* Revert "Call check_parent_access() on readdir."Jeremy Allison2011-11-041-13/+0
| | | | | | This reverts commit a763edaf9c76afe2546c035fc090370301dd347b. Checking the wrong thing..
* Properly fix bug #8384 - Windows XP clients seem to crash smbd process every ↵Henry Wong2011-11-041-0/+1
| | | | | | | | | once in a while. Ensure we correctly null out the referenced pointer when we decrease the ref. count. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Nov 4 21:12:13 CET 2011 on sn-devel-104
* s3:smbd increase a debug levelChristian Ambach2011-11-041-5/+6
| | | | logging disconnected clients with level 1 swamps the logs
* s3:smbd: also send the server name in the negprot responseStefan Metzmacher2011-11-041-0/+8
| | | | | | | | | This matches W2K (at least sp4) and higher. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Nov 4 15:50:06 CET 2011 on sn-devel-104
* s3:libsmb: also remember the optional server name from the negprot responseStefan Metzmacher2011-11-042-2/+24
| | | | | | W2K (at least sp4) and higher also send the server name. metze
* s3:libsmb: the workgroup in the non-extended-security negprot is not aligned ↵Stefan Metzmacher2011-11-041-2/+5
| | | | | | | | (#8573) I've tested the fix against NT4 sp6a, W2K sp4, W2K8R2 and Win8pre0. metze
* s3:selftest: improve logging in the registry upgrade testMichael Adam2011-11-041-27/+46
| | | | | | | | Don't only log to the log file. Give "make test" a cance to grab some output. And add some more messages. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Nov 4 01:58:20 CET 2011 on sn-devel-104
* s3-selftest: add new registry upgrade test to test listBjörn Baumbach2011-11-041-0/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-selftest: introduce registry upgrade testBjörn Baumbach2011-11-041-0/+176
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Fix bug #8562 - talloc: double free error.Jeremy Allison2011-11-041-2/+9
| | | | | | | Ensure we don't access an undefined pointer. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Nov 4 00:09:46 CET 2011 on sn-devel-104
* waf: convert NDR_NBT into shared library.Günther Deschner2011-11-031-1/+1
| | | | Guenther
* nbt: trim down header dependencies of nbt.idl.Günther Deschner2011-11-031-0/+1
| | | | Guenther
* nbt: merge in LIBCLI_NDR_NETLOGON helper into NDR_NBT.Günther Deschner2011-11-032-2/+2
| | | | Guenther
* librpc: remove nbt dependency to samr.Günther Deschner2011-11-031-0/+1
| | | | Guenther
* librpc: only let NDR_NBT depend on NDR_NBT_BUF.Günther Deschner2011-11-031-1/+1
| | | | Guenther
* s3:param: change default of "* signing" to "default"Stefan Metzmacher2011-11-031-2/+2
| | | | | | | | | This should not change the bahavior. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 3 18:33:34 CET 2011 on sn-devel-104
* s3:smbd: make use of SMB_SIGNING_* constantsStefan Metzmacher2011-11-034-10/+12
| | | | metze
* s3:libsmb: make use of SMB_SIGNING_* constantsStefan Metzmacher2011-11-031-4/+4
| | | | metze