summaryrefslogtreecommitdiffstats
path: root/source/param
Commit message (Collapse)AuthorAgeFilesLines
* 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. =========================================================== (cherry picked from commit 6fd272875d27c6974a194d0cb2cde39a98ca4af2)
* s3-loadparm: Fix resume command typo for "printing = vlp".Guenther Deschner2009-04-131-1/+1
|
* s3/loadparm: Fiy typos.Karolin Seeger2009-04-071-2/+2
| | | | | | | This used to be commit 44588095 in master. Karolin (cherry picked from commit 7648c51afaf844e576935dadc0d66a94e2cad28b)
* Remove "strict allocate = partial" code that got accidentally committed.Jeremy Allison2009-01-081-21/+6
| | | | Jeremy.
* refresh sequence number as soon as possible when domain->sequence_number == ↵boyang2009-01-071-6/+21
| | | | -1 or domain->last_status is not ok.
* s3/loadparm.c: Change default value for "ldap ssl".Karolin Seeger2008-12-171-1/+1
| | | | | | | | | | | | | | | | | | LDAP_SSL_ON is not defined at all. That's why the actual default value was "" for a long time. Set a more sensible default value without chnging the default behaviour. -----8<------------------snip--------------8<-------------- user@host:/data/git/samba/v3-0-test/source> git grep LDAP_SSL_ON | cat include/smb.h:enum ldap_ssl_types {LDAP_SSL_ON, LDAP_SSL_OFF, LDAP_SSL_START_TLS}; param/loadparm.c: Globals.ldap_ssl = LDAP_SSL_ON; ----->8------------------snap-------------->8-------------- It's the same in 3.2 and 3.3 series. Karolin (cherry picked from commit e6d883e003d4560c55259ae1cfdf7319602f76e3)
* Fix bug #5944 - nmbd does not boot if socket adress = "" is defined in smb.confYasuma Takeda2008-12-051-1/+15
|
* Now it's working, back port the aync fix for parsing large cups printer lists.Jeremy Allison2008-10-101-1/+1
| | | | Jeremy.
* Fix bug #5729. Explicitly allow "-valid".Jeremy Allison2008-09-031-1/+1
| | | | Jeremy
* Fix bug 5686 - libsmbclient segfaults with more than one SMBCCTX.Jeremy Allison2008-08-121-0/+1
| | | | | | | | | Here is a patch to allow many subsystems to be re-initialized. The only functional change I made was to remove the null context tracking, as the memory allocated here is designed to be left for the complete lifetime of the program. Freeing this early (when all smb contexts are destroyed) could crash other users of talloc. Jeremy.
* Fix swat. Bug #5613.Jeremy Allison2008-07-151-9/+0
| | | | Jeremy
* Always set "registry shares = yes" for "include = registry"Volker Lendecke2008-07-101-1/+5
| | | | | | | | | | | | This fixes the case where "include = registry" is set in the smb.conf text file and *only* shares (no [global] settings) are present in the registry. Michael, please check! Thanks, Volker (cherry picked from commit 6c80362e291d8c5e748b987a583e8e32acc36354)
* loadparm: fix process_registry_shares() when there is only [global] in registry.Michael Adam2008-07-101-0/+2
| | | | | | | | This fixes testparm printing "Error loading services." when there is only the global section in registry and no other service definition. Michael (cherry picked from commit 28d197220038b9a47af177b88a8587f865e45de5)
* loadarm: fix testparm with "config backend = registry".Michael Adam2008-07-101-2/+3
| | | | | | | | | | | Set the iServiceIndex to "-1" for starup with either config backend (originally only for text backend). Otherwise, process_registry_shares() will fail. Currently, the only user of lp_load_with_registry_shares() is testparm. Michael (cherry picked from commit 5e2b925367241c41793b2eb7a628e9fc9f3ac8ff)
* loadparm: add funcion lp_load_with_registry_shares().Michael Adam2008-07-101-0/+15
| | | | | | | | | This is like lp_load(), except that it will load the registry shares into the services aarray when registry shares are activated. Michael (cherry picked from commit b387c614ba8d1d3960f6917f03f0fd433cf2b2ee)
* loadparm: add call to do_section() to process_registry_service().Michael Adam2008-07-101-0/+4
| | | | | Michael (cherry picked from commit e1b76cd5d646bb9083cfca0d15a84183cad72882)
* loadparm: add parameter allow_registry_shares to lp_load_ex().Michael Adam2008-07-101-3/+10
| | | | | | | | This allows for registry shares to be activated, i.e. loaded into the services array at lp_load() time. Michael (cherry picked from commit b3233ecefd5df745ba7e10511f9ab36064036b10)
* loadparm: add a function process_registry_shares()Michael Adam2008-07-101-0/+37
| | | | | | | This loads the shares defined in registry into the services array. Michael (cherry picked from commit b3a90b72517c2e25d972796908aec4d2b85a030e)
* loadparm: refactor processing of service out of process_registry_globals()Michael Adam2008-07-101-8/+23
| | | | | | | into new function process_registry_service(). Michael (cherry picked from commit 2986e5174e69527465ae7ef8e108110416752b56)
* loadparm: refactor initalization of registry config out into lp_smbconf_ctx().Michael Adam2008-07-101-13/+22
| | | | | Michael (cherry picked from commit 83cd9f74d57c462ad5c8956b3ce3c81bea429b67)
* Patch from SATOH Fumiyasu <fumiyas@osstech.co.jp> for bug #5202. Re-activate ↵Jeremy Allison2008-07-031-1/+1
| | | | | | | "acl group control" parameter and make it only apply to owning group. Also added man page fix. Jeremy.
* Add ldap connection timeout for OpenLDAP and Netscape LDAP libs. This can be ↵Björn Jacke2008-06-031-1/+13
| | | | | | controlled via the ldap connection timeout parameter. This fixes fallbacks to secondary LDAP servers in multi LDAP server setups like in #4544 (cherry picked from commit 8e59a2fedc940b081222b0e8f90fe0c5a0981c06)
* loadparm: Fix activation of registry globals in lp_load_*.Michael Adam2008-05-101-2/+2
| | | | | | | | | This completes bba04a8fba6fd5cf62578733cfdabea590e8ff51: The reverted logic has to be put into the callers lp_load() and lp_load_initial_only() of lp_load_ex(), too. Silly bug. Michael
* fix some extrasemi compile warningsBjörn Jacke2008-05-081-2/+2
| | | | | (cherry picked from parts of cbdb79b7a1044945e515a294f487e4c1a9c91be5) (cherry picked from commit 49be6c8dac6ddb90cd3ea2324d2dbc5d7cc503dd)
* Revert "fix some extrasemi compile warnings"Michael Adam2008-05-081-2/+2
| | | | This reverts commit cbdb79b7a1044945e515a294f487e4c1a9c91be5.
* libsmbconf: rewrite API to use smbconf_service structMichael Adam2008-04-231-7/+5
| | | | | | instead of lists of strings and counters directly... Michael
* loadparm: reformat - fix whitespace/tabMichael Adam2008-04-211-1/+1
| | | | Michael
* loadparm: rename bNoIncludes to bAllowIncludeRegistry (inverting logic)Michael Adam2008-04-211-6/+7
| | | | | | This is what that variable controls now... Michael
* loadparm: make lo_load_initial() only skip registry include.Michael Adam2008-04-211-4/+3
| | | | | | | | | | | This is only to be able to set everything properly for registry before reading registry includes. This fixes "make test" as non-root user in a directory, where root-daemons have already created a messaging.tdb in the compiled in lockdir... Michael
* loadparm: make it possible to just load the config without following ↵Stefan Metzmacher2008-04-181-10/+43
| | | | | | "include =" statements metze
* loadparm: reactivate special semantics of "include = registry" for now.Michael Adam2008-04-171-0/+18
| | | | | | This includes the configuration stored in HKLM/Software/Samba/smbconf . Michael
* loadparm: remove pfunc parameter from process_registry_globals().Michael Adam2008-04-151-4/+5
| | | | | | Use do_parameter() directly. Michael
* loadparm: use the new smbconf_init() dispatcher for loading registry config.Michael Adam2008-04-131-2/+2
| | | | Michael
* fix some extrasemi compile warningsBjörn Jacke2008-04-101-2/+2
|
* loadparm: drop debug level in map_parameter from 0 to 1Michael Adam2008-04-101-1/+1
| | | | | | we don't want to see this all the times in tests. Michael
* loadparm: add userdata parameter to do_section() and do_parameter().Michael Adam2008-03-262-21/+25
| | | | | | | The userdata is currently unused. It can be used in the future for passing a context like in samba4 code. Michael
* libsmbconf: add a "path" variable to the conf context.Michael Adam2008-03-211-2/+2
| | | | | | | | | | | | | This is passed to the module init routines. In case of the registry, this is the path of the basekey in registry, that is to be used, defaulting to KEY_SMBCONF (HKLM\software\samba\smbconf), when NULL is given. This is the only case currently used. In order to support other keys, registry initialization for smbconf has to be changed to support different keys. Michael
* libsmbconf: add backend specific init function.Michael Adam2008-03-211-2/+2
| | | | | | | Hide generic init function taking smbconf_ops argument from public api. Michael
* libsmbconf: rename smbconf_open() to smbconf_init().Michael Adam2008-03-211-2/+2
| | | | | | That's more appropriate. Michael
* libsmbconf: change the API to always take the smbconf_ctx parameter first.Michael Adam2008-03-211-1/+1
| | | | | | | ..for consistency. Exception: the open/init function, where the smbconf_ctx is created from the given talloc context. Michael
* libsmbconf: change smbconf_get_seqnum() to smbconf_changed().Michael Adam2008-03-211-9/+5
| | | | | | | | The former seqnum is hidden inside a struct smbconf_csn. And the get_seqnum is united with a changed function that stores the seqnum inside the given csn. Michael
* loadparm: reenable checking files for updates while in registry configuration.Michael Adam2008-03-201-9/+0
| | | | | | This is necessary now that includes (to files) are enabled from registry. Michael
* loadparm: remove unneeded include.Michael Adam2008-03-201-1/+0
| | | | | | libnet.h unneeded after separation of libsmbconf from libnet. Michael
* libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .Michael Adam2008-03-171-8/+8
| | | | Michael
* loadparm: add a debug message.Michael Adam2008-03-121-0/+2
| | | | Michael
* loadparm: remove services read from smb.conf when starting over for config ↵Michael Adam2008-03-121-0/+1
| | | | | | backend registry. Michael
* loadparm: add convenience wrapper lp_kill_all_services()Michael Adam2008-03-121-0/+8
| | | | Michael
* loadparm: add a commentMichael Adam2008-03-121-0/+1
| | | | Michael
* loadparm: fix a comment typo.Michael Adam2008-03-121-1/+1
| | | | Michael
* loadparm: add utility function to check for config backend file.Michael Adam2008-03-121-1/+9
| | | | Michael