summaryrefslogtreecommitdiffstats
path: root/source4/param
Commit message (Collapse)AuthorAgeFilesLines
* s4-provision: pass use_ntvfs from C wrappers and set to true in tests/vampireAndrew Bartlett2012-08-222-0/+3
| | | | | | None of these cases need the complexity of the s3fs backend. Andrew Bartlett
* lib/param: Remove 'case insensitive filesystem'Andrew Bartlett2012-07-241-1/+26
| | | | | | | | We use the slightly confusing 'case sensitive = yes' option for the same behaviour. This avoids adding even more confusing documentation for the ntvfs-only option. Andrew Bartlett
* s4-param: Use a unique header nameAndrew Bartlett2012-07-151-3/+3
|
* lib/param: Create a seperate server role for "active directory domain ↵Andrew Bartlett2012-06-151-1/+1
| | | | | | | | | | | | | | | controller" This will allow us to detect from the smb.conf if this is a Samba4 AD DC which will allow smarter handling of (for example) accidentially starting smbd rather than samba. To cope with upgrades from existing Samba4 installs, 'domain controller' is a synonym of 'active directory domain controller' and new parameters 'classic primary domain controller' and 'classic backup domain controller' are added. Andrew Bartlett
* Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2012-05-231-13/+0
| | | | | | | | | | | | | | | | | System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
* s4:param/tests: remove "security=server" testStefan Metzmacher2012-05-151-10/+0
| | | | metze
* UTIL_TDB: lowercase name.Jelmer Vernooij2012-05-031-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu May 3 20:18:22 CEST 2012 on sn-devel-104
* Move README file in the right place.Simo Sorce2012-04-191-4/+0
| | | | Someone forgot to move the README when they moved the code ...
* tdb_wrap: Move to specific directory.Jelmer Vernooij2012-03-101-1/+1
| | | | | | | | | | It's a bit confusing to mix low-level and high-level libraries. We had multiple libraries in one directory, and there were have circular dependencies with other libraries outside that directory (in this case, samba-hostconfig). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 10 23:13:01 CET 2012 on sn-devel-104
* s3-auth: Remove security=share (depricated since 3.6).Andrew Bartlett2012-03-041-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes security=share, which Samba implemented by matching the per-share password provided by the client in the Tree Connect with a selection of usernames supplied by the client, the smb.conf or guessed from the environment. The rationale for the removal is that for the bulk of security=share users, we just we need a very simple way to run a 'trust the network' Samba server, where users mark shares as guest ok. This is still supported, and the smb.conf options are documented at https://wiki.samba.org/index.php/Public_Samba_Server At the same time, this closes the door on one of the most arcane areas of Samba authentication. Naturally, full user-name/password authentication remain available in security=user and above. This includes documentation updates for username and only user, which now only do a small amount of what they used to do. Andrew Bartlett -------------- / \ / REST \ / IN \ / PEACE \ / \ | SEC_SHARE | | security=share | | | | | | 5 March | | | | 2012 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
* pyparam: fix formatting.Jelmer Vernooij2012-02-261-11/+11
|
* s4-param: Added bin_dir(),sbin_dir() methods to get compiled in dirsAmitay Isaacs2011-12-131-3/+17
|
* Revert making public of the samba-module library.Jelmer Vernooij2011-12-032-4/+4
| | | | | | | | | | | | | | | This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
* lib/param: Add tests for security= behaviour now it operates with server roleAndrew Bartlett2011-11-171-0/+41
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: Add tests for automatic server role guessingAndrew Bartlett2011-11-171-0/+81
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* py-param: Add python interface to get server_roleAmitay Isaacs2011-11-171-0/+15
|
* s4:param/provision: pass schema_dn to provision_get_schema()Stefan Metzmacher2011-11-152-2/+11
| | | | metze
* lib/util Rename samba_init_module_fns_run -> samba_module_init_fns_runAndrew Bartlett2011-10-281-1/+1
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename samba_init_module_fn -> samba_module_init_fnAndrew Bartlett2011-10-281-1/+1
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Split samba-modules library into public and private partsAndrew Bartlett2011-10-282-2/+2
| | | | | | | This will allow OpenChange to get at the symbols it needs, without exposing any more of this as a public API than we must. Andrew Bartlett
* lib/util Rename run_init_functions -> samba_init_module_fns_runAndrew Bartlett2011-10-281-1/+1
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename init_module_fn to samba_init_module_fnAndrew Bartlett2011-10-281-1/+1
| | | | | | This prepares for making the samba_module.h header public again, for OpenChange. I am keen to avoid too much API namespace pollution if we can.
* lib/util: Add back control of mmap and hash size in tdb for top level buildAndrew Bartlett2011-10-131-1/+1
| | | | | | | | This passes down a struct loadparm_context to allow these parameters to be checked. This may be s3 or s4 context, allowing the #if _SAMBA_BUILD_ macro to go away safely. Andrew Bartlett
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-116-4621/+5
| | | | | | | | | | | | This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
* s4-param copy print_parameter and equal_parameter in from source3Andrew Bartlett2011-10-071-10/+24
| | | | | | | | | This will allow these functions to be put into lib/param shortly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Oct 7 10:17:01 CEST 2011 on sn-devel-104
* param: Use a bool to hold boolean parametersAndrew Bartlett2011-10-071-7/+7
| | | | | | | All three-state parameters invoking Auto (2) are already declared as integers, not booleans. Andrew Bartlett
* lib/util: consolidate module loading into common codeAndrew Bartlett2011-10-064-137/+2
| | | | | | This creates a samba-modules private libary that handles the details. Andrew Bartlett
* s4:param/pyparam.c - suppress "P_SEP" compilation warningMatthias Dieter Wallnöfer2011-09-201-2/+2
| | | | Reviewed-by: Jelmer
* lib/util/charset: remove charset module loadingAndrew Bartlett2011-09-201-3/+3
| | | | | | | | | | | | | Now that the 'table' modules are gone, there is no reason for there to be charset modules at all. This builds the macosxfs and weird modules into the binary at the appropriate times, and changes the tests to test instead the difference between the remaining internal handlers and iconv(). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Sep 20 06:27:06 CEST 2011 on sn-devel-104
* s4-param void function cannot return valueAndrew Bartlett2011-09-081-1/+2
| | | | | | | | | This is even if the returned function is void, on Solaris. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Sep 8 16:38:30 CEST 2011 on sn-devel-104
* s4:param: make use of PROTOCOL_SMB2_02Stefan Metzmacher2011-09-051-1/+2
| | | | metze
* s4-services: disable the web server by defaultAndrew Tridgell2011-09-011-1/+1
| | | | | | | | the web server is not being actively maintained, and is causing problems with memory errors (as shown by valgrind). It is better to disable this until it can get some TLC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-param: Use s3 dump method if s3 context is definedAmitay Isaacs2011-08-261-0/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision set passdb backend to 'samba4' in template smb.conf filesAndrew Bartlett2011-08-221-0/+9
| | | | | | | This will allow smbpasswd, net sam and pdbedit to 'just work' against the newly created databases. Andrew Bartlett
* Use public pytalloc header file.Jelmer Vernooij2011-08-143-3/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 14 17:18:46 CEST 2011 on sn-devel-104
* s4-param Set szConfigFile even for s3 loadparm contextsAndrew Bartlett2011-08-131-4/+4
|
* param: Add smb.conf loading support to s3/s4 loadparm bridgeAndrew Bartlett2011-08-131-0/+4
|
* pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij2011-08-103-21/+21
|
* pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij2011-08-071-2/+2
|
* s4-param: Fix object names for python objects PyLoadparm and PyLoadparmContextAmitay Isaacs2011-07-281-2/+2
| | | | | | | Use the object names <modulename>.<objectname> to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* shares: Remove dependencies on share modules.Jelmer Vernooij2011-07-261-1/+1
| | | | The build system will already pull these in - if necessary.
* libsamba-util: Build in libbitmap.Jelmer Vernooij2011-07-261-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jul 26 14:45:27 CEST 2011 on sn-devel-104
* s4-param: use "state directory" and "cache directory" optionsBjörn Baumbach2011-07-211-4/+4
| | | | | | | instead of "state dir" and "cache dir" in order be compatible with the source3 code. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-param Handle P_CHAR and P_BOOLREV in pyparamAndrew Bartlett2011-07-201-0/+4
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-param finish services hooks for s4->s3 loadparm contextAndrew Bartlett2011-07-141-2/+26
|
* s4-param cope with parameters of type charAndrew Bartlett2011-07-141-0/+12
|
* s4:param: add "state dir" and "cache dir" optionsStefan Metzmacher2011-07-122-0/+76
| | | | metze
* lib/param: Merge struct loadparm_service into commonAndrew Bartlett2011-07-082-12/+19
| | | | | | | | | | | | | | | | | This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
* param: Move per-share parameters into a seperate file, to share with s3Andrew Bartlett2011-07-082-37/+5
| | | | | | | This will allow the struct loadparm_service to be in common between the two loadparm implementations in the tree. Andrew Bartlett
* s4-param Remove offset != -1 checksAndrew Bartlett2011-07-081-7/+2
| | | | | | No offset values are set to -1 in the parameter table Andrew Bartlett