summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug 7781 - Samba transforms ShareName to lowercase (sharename) when ↵Jeremy Allison2010-11-101-9/+3
| | | | | | | | | adding new share via MMC Change the find_service() interface to not depend on fstring, and create a useable talloc-based interface. Jeremy.
* s3: Allow disabling of mdns registrationsVolker Lendecke2010-11-051-0/+12
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Nov 5 11:24:41 UTC 2010 on sn-devel-104
* s3-param Fix up lp_set_cmdline() not to re-store cmdline options on each reloadAndrew Bartlett2010-11-021-4/+9
| | | | | | | | | | | The previous code was buggy in that it did not honour the 'store' argument to lp_set_cmdline_helper(), and would use the stored parameter after freeing it when handling overwritten values. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 2 05:19:17 UTC 2010 on sn-devel-104
* Revert "Wrap security_token_has_privilege() with a check for ↵Jeremy Allison2010-10-221-8/+0
| | | | | | | | | | | | lp_enable_privileges(). Needed" Not needed - privileges code prevents "enable privileges = no" from adding privileges anyway. This reverts commit a8b95686a7bde3f96f141b6938e24e101567ef54. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 23:41:36 UTC 2010 on sn-devel-104
* Wrap security_token_has_privilege() with a check for lp_enable_privileges(). ↵Jeremy Allison2010-10-221-0/+8
| | | | | | | | | | | Needed to maintain compatibility with smb.conf manpage. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 18:15:48 UTC 2010 on sn-devel-104
* Don't arbitrarily clean all parametric options in add_a_service(),Jeremy Allison2010-10-161-3/+3
| | | | | | | | | | | | | that is called from many places, not just smb.conf processing. Only clean parametric options when doing actual smb.conf reading (or registry equivalent). Michael Adams, Volker, Metze, please check. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 16 06:46:19 UTC 2010 on sn-devel-104
* s3: Remove talloc_autofree_context() from loadparm.cVolker Lendecke2010-10-081-6/+5
| | | | None of these uses requires a special destructor
* s3-build: only include smbldap.h where needed.Günther Deschner2010-09-201-0/+1
| | | | Guenther
* s3-misc: Introduce lp_ncalrpc_dir() in S3, like we have in S4.Simo Sorce2010-09-151-0/+14
|
* Allows changing the maximum number of simultaneous clients in winbindd ↵Pierre Carrier2010-09-141-1/+12
| | | | | | through an smb.conf option. Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-param: added lp_set_cmdline() and --option= parameterAndrew Tridgell2010-09-021-5/+151
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3: Remove an unused macroVolker Lendecke2010-08-281-2/+0
|
* s3-build: use dbwrap.h only where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3:param Clarify parameter name on init_globals()Andrew Bartlett2010-08-221-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>
* s3:loadparm: make lp_load_ex static. We have wrappers for external callers.Michael Adam2010-08-201-7/+7
|
* s3-build: only include smb_signing.h where needed.Günther Deschner2010-08-181-0/+2
| | | | Guenther
* s3-param: also remove lp_update_encrypted from loadparm.Günther Deschner2010-08-161-1/+0
| | | | | | Andreas, please check. Guenther
* s3-auth: Remove obsolete 'update encrypted' option.Andreas Schneider2010-08-161-9/+0
|
* s3:loadparm: add new boolean parameter "idmap read only"Michael Adam2010-08-141-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.
* s3:loadparm: remove parameter "idmap alloc backend"Michael Adam2010-08-141-11/+0
|
* s3-loadparm: Added some comments to lp_load_ex calls.Andreas Schneider2010-08-131-9/+10
| | | | Signed-off-by: Simo Sorce <idra@samba.org>
* s3-param: include svcctl headers in loadparm.Günther Deschner2010-08-061-0/+1
| | | | Guenther
* s3: avoid global include of ads.h.Günther Deschner2010-08-051-0/+2
| | | | Guenther
* s3:param Put 'server_role' functions in another file.Andrew Bartlett2010-06-011-84/+0
| | | | | | Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:param Add helper function to get at Gobals.iDomainMasterAndrew Bartlett2010-06-011-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>
* s3: Don't announce readraw and writeraw with the async echo responderVolker Lendecke2010-05-311-2/+18
|
* Make DFS work over SMB2.Jeremy Allison2010-05-211-6/+0
| | | | Jeremy.
* Set SMB2 max read/write/trans sizes to Win7 compatible - 1Mb.Jeremy Allison2010-05-211-3/+3
| | | | Jeremy.
* s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2010-05-181-2/+2
| | | | Guenther
* smbconf: only include smbconf headers where needed.Günther Deschner2010-05-181-0/+3
| | | | Guenther
* Fix bug #7263 - Unable to print using Samba 3.5.1 and cups-1.1.23-40.46 on ↵Luca Olivetti2010-05-041-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.
* 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