summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-12-18Actually explain the twisty paths of tortured logic behindJeremy Allison1-14/+42
reply_doserror(), reply_nterror(), and reply_nterror(NT_STATUS_DOS()). Fix the call in rely_openerror() to actually force a DOS error for "too many open files". Jeremy.
2009-12-18reply_doserror() doesn't force DOS errors on the wire.Jeremy Allison1-10/+10
Start migrating uses of reply_doserror() to reply_nterror() with the correct mapping. Eventually we'll get to the point where we can change reply_doserror() to force a DOS error code on the wire, and can change calls to reply_nterror(req, NT_STATUS_DOS()) - which *does* force DOS errors on the wire - to reply_doserror(). Which might actually make the server code look like it's making sense. Jeremy.
2009-12-18reply_force_nterror() is not used anywhere. Remove it.Jeremy Allison2-3/+0
Jeremy.
2009-12-17Always map EMFILE to ERRDOS, ERRnofids, *NOT* NT_STATUS_TOO_MANY_OPENED_FILES.Jeremy Allison1-0/+4
This is what W2KR3 does for NTCreateX and openX calls. May be the correct fix for bug 6837 - "Too many open files" when trying to access large number of files. Jeremy.
2009-12-17Vector correctly through reply_openerror() (which uses the same logic).Jeremy Allison1-6/+1
Jeremy.
2009-12-17Fix bug #6939 - mangling method = hash breaks long filenames.Jeremy Allison1-1/+4
We were returning the wrong sense of the bool. must_mangle() has to return !NT_STATUS_IS_OK, not NT_STATUS_IS_OK. Jeremy.
2009-12-17s3: Run RPC-SAMBA3-GETALIASMEMBERSHIP-0 in make testVolker Lendecke1-0/+1
2009-12-17s3: Fix bug 6992, make test for getgrouplist cacheableJonas Gorski1-3/+3
2009-12-17s3-spoolss: fix rpcclient after setprinter IDL fixes.Günther Deschner1-2/+2
Guenther
2009-12-16Final part of the fix for 6837 - "Too many open files" when trying to access ↵Jeremy Allison1-12/+12
large number of files Win7 needs a min of 16k file handles to work against a server. Jeremy.
2009-12-16Add helpful debug of DACL for errors on ACL access.Jeremy Allison1-2/+10
Jeremy.
2009-12-16s3-pdbedit: allow to call "pdbedit -N description -u user" without ↵Günther Deschner1-2/+4
specifiyng "-r". Guenther
2009-12-15Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned ↵Jeremy Allison2-18/+25
attributes by protocol level. This makes us consistant in returning DOS attrs across all replies. Tested on OS/2 by Günter Kukkukk. Jeremy.
2009-12-15s3: Fix _samr_GetAliasMembership for results with 0 ridsVolker Lendecke1-0/+8
2009-12-12s3: Fix a very embarrassing build failureVolker Lendecke1-2/+2
2009-12-11s3:loadparm: Change the "ldap deref" value "defualt" to "auto".Karolin Seeger1-1/+1
That's an established value. Default is a bit confusing. Karolin
2009-12-10s3: add prototype to fix the buildBjörn Jacke1-0/+1
2009-12-10s3-selftest: enable RPC-SAMBA3-WINREG.Günther Deschner1-1/+1
Very strange we didn't run it before. Guenther
2009-12-10s3-rpcclient: allow to set offered size for enumkey command.Günther Deschner1-4/+9
Guenther
2009-12-10s3: make own defines for ldap deref typesBjörn Jacke1-6/+12
there are too many naming clashes between different ldap libs and ldb libs. Let's simply make our own defines. The numbers are well standarized. This also makes the default for "ldap deref" be "default" which means we won't tell the ldap library what to do. Ѕo by default it's all up to what the server and our libs think they should to do.
2009-12-10s3: add LDAP Alias Dereferencing supportBjörn Jacke2-0/+31
Thanks to Dan Cox for initial patch for 3.0. This closes #2350.
2009-12-10s3-spoolss: fix enumprinter key client and server.Günther Deschner2-4/+16
Guenther
2009-12-10s3-ldb: use GUID_to_ndr_blob()Andrew Tridgell1-2/+1
this also fixes an error in NTSTATUS handling
2009-12-10s3: check for PAM_RADIO_TYPE.Bo Yang1-0/+33
Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-09s3: keep subsecond times on cross-filesystem moves and don't follow linksBjörn Jacke1-0/+22
2009-12-09s3:configure: check for lutimes, futimes and futimensBjörn Jacke1-1/+1
2009-12-08s3: make sys_posix_fallocate more genericBjörn Jacke2-18/+15
this is in preparation for other preallocation methods to be introduced.
2009-12-08s3-spoolss: use SPOOLSS_ARCHITECTURE_ALL in driver enum server code.Günther Deschner1-1/+1
Guenther
2009-12-08s3-spoolss: cleanup _spoolss_EnumPrinterDrivers().Günther Deschner1-139/+6
Guenther
2009-12-08s3-spoolss: remove unused architecture from fill_printer_driver_info1().Günther Deschner1-5/+3
Guenther
2009-12-08s3-spoolss: remove ridiculous amount of duplicate driver code.Günther Deschner1-436/+44
Guenther
2009-12-08s3-spoolss: fully support level 8 drivers.Günther Deschner1-0/+305
Guenther
2009-12-08s3-spoolss: use driver level info8 everywhere in spoolss server internally.Günther Deschner5-211/+318
Guenther
2009-12-08s3: allocate only "new" space, not "old" sparse space in the posix_fallocate ↵Björn Jacke1-2/+3
path this makes the posix_fallocate path work analogous to the manual allocate path.
2009-12-07parent_sd can never be null in this function, so don'tJeremy Allison1-1/+5
check for it. Jeremy.
2009-12-07Hopefullt final fix for 6802 - acl_xattr.c module: A created folder does not ↵Jeremy Allison3-267/+168
properly inherit permissions from parent and 6938 - No hook exists to check creation rights when using acl_xattr module Volker was right (dammit :-). It's much easier to catch this case in the create_file() vfs call instead of trying to do everything inside open() and mkdir(). Hook all these functions to gain the desired effect. Jeremy.
2009-12-07s3: let gencache_init() use tdb_check()Stefan Metzmacher1-0/+25
If the check fails we try to clear the tdb and start with an empty cache. metze
2009-12-07s3: let netsamlogon_cache_init() use tdb_check()Stefan Metzmacher1-4/+42
If the check fails we try to unlink the old file and start with an empty cache. metze
2009-12-07s3: let tdb_validate_child() use tdb_check()Stefan Metzmacher1-0/+11
metze
2009-12-07s3: require tdb 1.1.7 with tdb_check()Stefan Metzmacher1-1/+1
metze
2009-12-07s3: de-deprecate "write cache size" to prevent its removal without a proper ↵Volker Lendecke1-1/+1
alternative
2009-12-07s3: fix net and rpcclient after setprinterdataex changes.Günther Deschner2-19/+17
Guenther
2009-12-07s3-spoolss: let _spoolss_DeletePrinterData call into ↵Günther Deschner1-38/+5
_spoolss_DeletePrinterDataEx. Guenther
2009-12-07s3-spoolss: let _spoolss_SetPrinterData call into _spoolss_SetPrinterDataEx.Günther Deschner1-74/+30
Guenther
2009-12-07s3-spoolss: let _spoolss_GetPrinterData call into _spoolss_GetPrinterDataEx.Günther Deschner1-101/+44
Guenther
2009-12-07s3-spoolss: a default printer should have at least a "PrintDriverData" key.Günther Deschner1-0/+7
Guenther
2009-12-07s3-winreg: fill in some inline comments.Günther Deschner1-10/+38
Guenther
2009-12-07s3-winreg: remove trailing whitespace.Günther Deschner1-40/+40
Guenther
2009-12-07s3:auth: Fix typo in debug message.Karolin Seeger1-2/+2
Karolin
2009-12-06streamline some log levels for invalid servicenamesChristian Ambach2-2/+2
I don't think we need to log the fact that a user gave a wrong sharename in Explorer with the highest log level. The level of this was not very consistent: service.c: DEBUG(3,("find_service() failed to find service %s\n", service)); service.c: DEBUG(0,("%s (%s) couldn't find service %s\n", smb2_tcon.c: DEBUG(1,("smbd_smb2_tree_connect: couldn't find service %s\n", This changes the last two to 3 as the first one. Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>