summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
AgeCommit message (Collapse)AuthorFilesLines
2010-08-26s3-build: use dbwrap.h only where needed.Günther Deschner1-0/+1
Guenther
2010-08-22s3:param Clarify parameter name on init_globals()Andrew Bartlett1-4/+4
This parameter is used with the registry backend to cause the globals table to be re-initialised. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
2010-08-20s3:loadparm: make lp_load_ex static. We have wrappers for external callers.Michael Adam1-7/+7
2010-08-18s3-build: only include smb_signing.h where needed.Günther Deschner1-0/+2
Guenther
2010-08-16s3-param: also remove lp_update_encrypted from loadparm.Günther Deschner1-1/+0
Andreas, please check. Guenther
2010-08-16s3-auth: Remove obsolete 'update encrypted' option.Andreas Schneider1-9/+0
2010-08-14s3:loadparm: add new boolean parameter "idmap read only"Michael Adam1-0/+12
This will be used to be able to put the default idmap config read only. This can make sense for instance with the tdb2 idmap backend and using the idmap script feature.
2010-08-14s3:loadparm: remove parameter "idmap alloc backend"Michael Adam1-11/+0
2010-08-13s3-loadparm: Added some comments to lp_load_ex calls.Andreas Schneider1-9/+10
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-06s3-param: include svcctl headers in loadparm.Günther Deschner1-0/+1
Guenther
2010-08-05s3: avoid global include of ads.h.Günther Deschner1-0/+2
Guenther
2010-06-01s3:param Put 'server_role' functions in another file.Andrew Bartlett1-84/+0
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01s3:param Add helper function to get at Gobals.iDomainMasterAndrew Bartlett1-0/+12
This is needed for a future split out of the server_role code. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-31s3: Don't announce readraw and writeraw with the async echo responderVolker Lendecke1-2/+18
2010-05-21Make DFS work over SMB2.Jeremy Allison1-6/+0
Jeremy.
2010-05-21Set SMB2 max read/write/trans sizes to Win7 compatible - 1Mb.Jeremy Allison1-3/+3
Jeremy.
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner1-2/+2
Guenther
2010-05-18smbconf: only include smbconf headers where needed.Günther Deschner1-0/+3
Guenther
2010-05-04Fix bug #7263 - Unable to print using Samba 3.5.1 and cups-1.1.23-40.46 on ↵Luca Olivetti1-4/+5
SLES10. Fix cups encryption setting I had the same problem and it's due to the fact that samba doesn't respect the "cups encryption" setting since lp_cups_encrypt changes the value: if you set "cups encryption=no", the first call will change it to HTTP_ENCRYPT_NEVER, since that is 1 (i.e. true), the next call will change it to HTTP_ENCRYPT_ALWAYS and after that it'll remain set as HTTP_ENCRYPT_ALWAYS. This patch fixes this problem. Don't mix up the HTTP_ENCRYPT_XXX constants up with the enumeration constants (True, False, Auto) used in the loadparm code.
2010-04-13s3: Cache the username map in gencacheVolker Lendecke1-0/+11
This is for uses with a heavy-weight username map script
2010-04-06Parameterize "smb2 max read", "smb2 max write", "smb2 max trans".Jeremy Allison1-0/+37
Set to 64k by default. Jeremy.
2010-03-28s3: Use bitmap_talloc in loadparmVolker Lendecke1-5/+6
2010-03-26Fix bug #7240 - Net usershare is not case sensitive.Jeremy Allison1-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.
2010-03-22share_info.tdb could use non-canonicalized sharenames.Jeremy Allison1-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.
2010-03-22s3: Add the "ctdb locktime warn threshold" parameterVolker Lendecke1-0/+12
This is mainly a debugging aid for post-mortem analysis in case a cluster file system is slow.
2010-03-22s3:param: add "async smb echo handler" optionStefan Metzmacher1-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
2010-03-22s3: Add "log writeable files on exit" parameterVolker Lendecke1-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.
2010-02-11Remove lp_safe_widelinks() -> convert to just lp_widelinks. Suggestion from ↵Jeremy Allison1-3/+18
Volker. Create widelinks_warning(int snum) to cover the message needed in make_connection. Jeremy.
2010-02-11Introduce lp_safe_widelinks()Simo Sorce1-0/+16
This way we avoid any chance that a configuration reload may turn back on wide links when unix extensions are enabled.
2010-02-10Revert "Change the default of "nmbd bind explicit broadcast" to "no""Jeremy Allison1-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.
2010-02-10Change the default of "nmbd bind explicit broadcast" to "no"Jeremy Allison1-3/+3
until the double processing problem in bug #7118 is fixed. Jeremy.
2010-02-08Make "nmbd bind explicit broadcast" on by default.Jeremy Allison1-0/+5
Fix a comment typo. Jeremy.
2010-02-08s3:nmbd: change "nmbd:bind explicit broadcast" into "nmbd bind explicit ↵Stefan Metzmacher1-0/+11
broadcast" metze
2010-02-05Fix bug 7104 - "wide links" and "unix extensions" are incompatible.Jeremy Allison1-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.
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: 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 Jacke1-0/+20
Thanks to Dan Cox for initial patch for 3.0. This closes #2350.
2009-12-07s3: de-deprecate "write cache size" to prevent its removal without a proper ↵Volker Lendecke1-1/+1
alternative
2009-12-02Fix bug #6837 - "Too many open files" when trying to access large number of ↵Jeremy Allison1-0/+16
files from Windows 7. Original patch by me fixed up with the correct open files number by jmaggard10@hotmail.com. Jeremy.
2009-11-30s3: Fix crash in free_file_list().Bo Yang1-3/+4
Signed-off-by: Bo Yang <boyang@samba.org>
2009-11-29s3: Restore "fake directory create times" as a share parameterVolker Lendecke1-4/+5
2009-11-29s3: "load_usershare_shares" only looks at the mode and uidVolker Lendecke1-2/+1
2009-11-29s3: "load_usershare_service" only looks at the mode and uidVolker Lendecke1-2/+1
2009-11-29s3: "usershare_exists" only looks at the mode and mtimeVolker Lendecke1-1/+1
2009-11-29s3: "process_usershare_file" only looks at the dev, ino, mode and sizeVolker Lendecke1-1/+1
2009-11-29s3: "process_usershare_file" only looks at the mode and sizeVolker Lendecke1-1/+1
2009-11-29s3: "parse_usershare_file" only looks at the mode and uidVolker Lendecke1-2/+1
2009-11-29s3: Pass the "fake dir create times" parameter to sys_*statVolker Lendecke1-6/+9
Step 0 to restore it as a per-share paramter
2009-11-23Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() ↵Volker Lendecke1-3/+2
explicit" This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af.
2009-11-21s3: Make alloc_sub_basic() staticVolker Lendecke1-16/+17