summaryrefslogtreecommitdiffstats
path: root/source3/param
Commit message (Collapse)AuthorAgeFilesLines
* s3: Cache the username map in gencacheVolker Lendecke2010-04-131-0/+11
| | | | This is for uses with a heavy-weight username map script
* Parameterize "smb2 max read", "smb2 max write", "smb2 max trans".Jeremy Allison2010-04-061-0/+37
| | | | | | Set to 64k by default. Jeremy.
* s3: Use bitmap_talloc in loadparmVolker Lendecke2010-03-281-5/+6
|
* Fix bug #7240 - Net usershare is not case sensitive.Jeremy Allison2010-03-261-51/+67
| | | | | | | | Updates usershare files in a backwards compatible way. I don't intend to back port this fix to 3.5.x as it depends on a version upgrade in the share_info.tdb share security database. Jeremy.
* share_info.tdb could use non-canonicalized sharenames.Jeremy Allison2010-03-221-6/+6
| | | | | | | | Fix this by moving canonicalization into lib/sharesec.c. Update the db version to 3. Ensures we always find share names with security descriptors attached. Jeremy.
* s3: Add the "ctdb locktime warn threshold" parameterVolker Lendecke2010-03-221-0/+12
| | | | | This is mainly a debugging aid for post-mortem analysis in case a cluster file system is slow.
* s3:param: add "async smb echo handler" optionStefan Metzmacher2010-03-221-0/+11
| | | | | | | | This will enable an extra forked process that will reply to SMBecho requests, while the main process is blocked by another request. metze
* s3: Add "log writeable files on exit" parameterVolker Lendecke2010-03-221-0/+13
| | | | | | | This boolean option controls whether at exit time the server dumps a list of files with debug level 0 that were still open for write. This is an administrative aid to find the files that were potentially corrupt if the network connection died.
* Remove lp_safe_widelinks() -> convert to just lp_widelinks. Suggestion from ↵Jeremy Allison2010-02-111-3/+18
| | | | | | | | Volker. Create widelinks_warning(int snum) to cover the message needed in make_connection. Jeremy.
* Introduce lp_safe_widelinks()Simo Sorce2010-02-111-0/+16
| | | | | This way we avoid any chance that a configuration reload may turn back on wide links when unix extensions are enabled.
* Revert "Change the default of "nmbd bind explicit broadcast" to "no""Jeremy Allison2010-02-101-3/+3
| | | | | | | | | This reverts commit 84fba3c1bc962804259f201d465acfdf0cd3c6a8. Now we have a "processed packet queue" in nmbd we can go back to doing this by default. Jeremy.
* Change the default of "nmbd bind explicit broadcast" to "no"Jeremy Allison2010-02-101-3/+3
| | | | | | until the double processing problem in bug #7118 is fixed. Jeremy.
* Make "nmbd bind explicit broadcast" on by default.Jeremy Allison2010-02-081-0/+5
| | | | | | Fix a comment typo. Jeremy.
* s3:nmbd: change "nmbd:bind explicit broadcast" into "nmbd bind explicit ↵Stefan Metzmacher2010-02-081-0/+11
| | | | | | broadcast" metze
* Fix bug 7104 - "wide links" and "unix extensions" are incompatible.Jeremy Allison2010-02-051-1/+1
| | | | | | | | | | | | | | | Change parameter "wide links" to default to "no". Ensure "wide links = no" if "unix extensions = yes" on a share. Fix man pages to refect this. Remove "within share" checks for a UNIX symlink set - even if widelinks = no. The server will not follow that link anyway. Correct DEBUG message in check_reduced_name() to add missing "\n" so it's really clear when a path is being denied as it's outside the enclosing share path. Jeremy.
* s3:loadparm: Change the "ldap deref" value "defualt" to "auto".Karolin Seeger2009-12-111-1/+1
| | | | | | That's an established value. Default is a bit confusing. Karolin
* s3: make own defines for ldap deref typesBjörn Jacke2009-12-101-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.
* s3: add LDAP Alias Dereferencing supportBjörn Jacke2009-12-101-0/+20
| | | | Thanks to Dan Cox for initial patch for 3.0. This closes #2350.
* s3: de-deprecate "write cache size" to prevent its removal without a proper ↵Volker Lendecke2009-12-071-1/+1
| | | | alternative
* Fix bug #6837 - "Too many open files" when trying to access large number of ↵Jeremy Allison2009-12-021-0/+16
| | | | | | | | files from Windows 7. Original patch by me fixed up with the correct open files number by jmaggard10@hotmail.com. Jeremy.
* s3: Fix crash in free_file_list().Bo Yang2009-11-301-3/+4
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3: Restore "fake directory create times" as a share parameterVolker Lendecke2009-11-291-4/+5
|
* s3: "load_usershare_shares" only looks at the mode and uidVolker Lendecke2009-11-291-2/+1
|
* s3: "load_usershare_service" only looks at the mode and uidVolker Lendecke2009-11-291-2/+1
|
* s3: "usershare_exists" only looks at the mode and mtimeVolker Lendecke2009-11-291-1/+1
|
* s3: "process_usershare_file" only looks at the dev, ino, mode and sizeVolker Lendecke2009-11-291-1/+1
|
* s3: "process_usershare_file" only looks at the mode and sizeVolker Lendecke2009-11-291-1/+1
|
* s3: "parse_usershare_file" only looks at the mode and uidVolker Lendecke2009-11-291-2/+1
|
* s3: Pass the "fake dir create times" parameter to sys_*statVolker Lendecke2009-11-291-6/+9
| | | | Step 0 to restore it as a per-share paramter
* Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() ↵Volker Lendecke2009-11-231-3/+2
| | | | | | explicit" This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af.
* s3: Make alloc_sub_basic() staticVolker Lendecke2009-11-211-16/+17
|
* s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicitVolker Lendecke2009-11-211-2/+3
|
* s3: Fix some nonempty blank linesVolker Lendecke2009-11-211-34/+33
|
* Remove "store create time" code, cause create time to be storedJeremy Allison2009-11-171-12/+0
| | | | | | | | | | | | in the "user.DOSATTRIB" EA. From the docs: In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store the create time for a file as well as the DOS attributes. This is done in a backwards compatible way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this extended attribute by earlier versions of Samba, but they will not be able to read the create time stored there. Storing the create time separately from the normal filesystem meta-data allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem. Passes make test but will need more testing. Jeremy.
* Second part of bugfix for 6865 - acl_xattr module: Has dependency that ↵Jeremy Allison2009-11-111-10/+0
| | | | | | | inherit acls = yes or xattrs are removed. We also need dos filemode = true set as well. Jeremy.
* s3-param: fix set_inherit_acls().Günther Deschner2009-11-091-0/+2
| | | | | | Jeremy, please check. Guenther
* Fix bug 6865 - acl_xattr module: Has dependency that inherit acls = yes or ↵Jeremy Allison2009-11-061-0/+8
| | | | | | xattrs are removed. Jeremy.
* s3: Add parameter "ctdb timeout"Volker Lendecke2009-11-051-0/+12
| | | | | | | | When something in the cluster blocks, it can happen that we wait indefinitely long for ctdb, just adding to the blocking condition. In theory, nothing should block, but as someone said "In practice the difference between theory and practice is larger than in theory". This adds a timeout parameter in seconds, after which we stop waiting for ctdb and panic.
* Remove "Protocol" as an extern, and add accessor functions.Jeremy Allison2009-11-041-2/+1
| | | | Jeremy.
* s3: Make "debug hires timestamp" default to trueVolker Lendecke2009-11-021-1/+1
| | | | It does not cost much and can help a lot when debugging
* s3: Rename new parameter "ldap ref follow" to "ldap follow referral".Karolin Seeger2009-10-261-5/+5
| | | | | | This parameter will be introduced with Samba 3.5.0. Karolin
* s3/loadparm: Fix severe HPUX compiler issue.Olaf Flebbe2009-10-131-0/+5
| | | | | Members of struct should be initialized explictly. Fixes bug #6804.
* s3/smbldap: add option to disable following LDAP refsJan Engelhardt2009-10-121-0/+11
| | | | Fix bug #6717.
* Fix for CVE-2009-2813.Jeremy Allison2009-10-011-1/+6
| | | | | | | | | | | | | | | =========================================================== == Subject: Misconfigured /etc/passwd file may share folders unexpectedly == == CVE ID#: CVE-2009-2813 == == Versions: All versions of Samba later than 3.0.11 == == Summary: If a user in /etc/passwd is misconfigured to have == an empty home directory then connecting to the home == share of this user will use the root of the filesystem == as the home directory. ===========================================================
* s3: BSD needs sys/sysctl.h included to build properlyBjörn Jacke2009-09-151-0/+4
| | | | | | FreeBSD (and other BSDs, too) need sys/sysctl.h inclueded to use sysctlbyname(). Thanks to Timur Bakeyev for that.
* Add a parameter to disable the automatic creation of krb5.conf filesVolker Lendecke2009-08-261-0/+12
| | | | | | | | | | | | | | This is necessary because MIT 1.5 can't deal with certain types (Tree Root) of transitive AD trusts. The workaround is to add a [capaths] directive to /etc/krb5.conf, which we don't automatically put into the krb5.conf winbind creates. The alternative would have been something like a "krb5 conf include", but I think if someone has to mess with /etc/krb5.conf at this level, it should be easy to add the site-local KDCs as well. Next alternative is to correctly figure out the [capaths] parameter for all trusted domains, but for that I don't have the time right now. Sorry :-)
* Add "store create time" parameter (docs to follow)Jeremy Allison2009-08-121-0/+12
| | | | | that stores the create time in the user.DosTimestamps EA. Jeremy.
* Attempt to fix the buildVolker Lendecke2009-07-141-22/+0
|
* Revert this commit :Jeremy Allison2009-07-141-0/+11
| | | | | | | | | | | s3: Make smbd aware of permission change of usershare. Since usershare are relatively volatile and non-previledge users must disconnect from smbd and reconnect to it to make share permission in effect. For now. This is a feature request and I think we need to design it a little differently so as not to touch core change_to_user() code. Jeremy.
* S3: Small fix to get rid of annoying log message.Bo Yang2009-07-151-0/+3
| | | | Signed-off-by: Bo Yang <boyang@samba.org>