summaryrefslogtreecommitdiffstats
path: root/source4/param/loadparm.c
Commit message (Collapse)AuthorAgeFilesLines
* s4-loadparm: call reload_charcnv() also for a missing smb.confAndrew Tridgell2009-12-141-0/+4
| | | | | bin/net vampire with a missing smb.conf would segfault as the iconv convenience pointer had not been setup.
* s4:param remove reference to private header from source4/param/param.hBrad Hards2009-11-241-0/+1
| | | | | | | | | | | source4/param/param.h has a param.h is a public header (and parmlist isn't, even if the relative path could work), so I suggest making it a forward declaration in the header, and including parmlist.h in the implementation. (commit message included from e-mail by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4 - SID allocation using FDS DNA pluginEndi S. Dewata2009-11-021-0/+8
|
* s4:loadparm: don't leak the names of all shares in each lp_service() callStefan Metzmacher2009-10-241-1/+4
| | | | metze
* s4:loadparm - adapt "realm" handlingMatthias Dieter Wallnöfer2009-10-141-3/+23
| | | | | Change "lp_realm" behaviour to return the realm always upcased and add a function "lp_dnsdomain" which returns it always lowcased.
* parmlist: Add more tests.Jelmer Vernooij2009-09-271-12/+12
|
* s4-kcc: add a very simple KCCAndrew Tridgell2009-09-111-1/+1
| | | | | | | A KCC is a 'Knowledge Consistency Checker', a fancy name for a daemon that works out who will replicate with who in a AD domain. This implements an extremely simple KCC task that just wants to replicate with everyone :-)
* s4:param use talloc_unlink() to free iconv context holding referencesAndrew Bartlett2009-07-021-1/+1
|
* Don't use crossRef records to find our own domainAndrew Bartlett2009-05-261-0/+1
| | | | | | | | A single AD server can only host a single domain, so don't stuff about with looking up our crossRef record in the cn=Partitions container. We instead trust that lp_realm() and lp_workgroup() works correctly. Andrew Bartlett
* s4:loadparm: fix a comment typo. and line wrapping.Michael Adam2009-05-081-1/+2
| | | | Michael
* s4:loadparm: fix brace indentation and add brace for clarityMichael Adam2009-05-081-2/+4
| | | | Michael
* Replace get_myname() with the talloc version from v3-3-testVolker Lendecke2009-02-131-2/+2
|
* s4:loadparm: s/class/pclassStefan Metzmacher2009-02-021-9/+9
| | | | metze
* loadparm: Make sure various state variables get initialized even when weJelmer Vernooij2009-01-161-29/+40
| | | | couldn't load a default smb.conf file.
* Find default smb.conf path correctly, when it was not specified on theJelmer Vernooij2009-01-161-4/+10
| | | | command-line.
* When loading the default configuration, allow the configuration file to beJelmer Vernooij2009-01-061-2/+11
| | | | missing.
* s4:loadparm: start 'browser' rpc_serverStefan Metzmacher2008-12-061-1/+1
| | | | metze
* Fix memory leak.Jelmer Vernooij2008-11-031-1/+1
|
* Fix the build.Jelmer Vernooij2008-11-021-2/+3
|
* Remove global_loadparm.Jelmer Vernooij2008-11-021-2/+0
|
* Use environment variable rather than loadparm parameter when testingJelmer Vernooij2008-11-021-0/+8
| | | | nonblocking sockets.
* Remove use of global_loadparm when comparing nt status error - useJelmer Vernooij2008-11-021-0/+2
| | | | global variable instead.
* Move check of SMB_CONF_PATH to loadparm code.Jelmer Vernooij2008-11-021-1/+4
|
* Fix the build.Jelmer Vernooij2008-11-021-2/+0
|
* Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij2008-11-021-0/+12
| | | | should in the future only contain some settings required for gensec.
* Use a separate global for nonblocking socket testing rather than ↵Jelmer Vernooij2008-11-021-0/+3
| | | | global_loadparm.
* Rename param_opt.flags to priority.Jelmer Vernooij2008-11-011-4/+16
|
* Disable lanman authentication by default in Samba 4.Jelmer Vernooij2008-10-311-2/+2
|
* Remove dependency of charset code on loadparm.Jelmer Vernooij2008-10-241-1/+1
|
* Remove const so return value can be freed.Jelmer Vernooij2008-10-241-5/+5
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-10-231-1/+2
|\
| * Remove unused constants from local.h.Jelmer Vernooij2008-10-231-1/+2
| |
* | Make lp_tls_* return absolute paths.Jelmer Vernooij2008-10-231-5/+26
|/
* Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij2008-10-121-3/+3
|
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-111-1/+1
|
* Pass options struct into session initialization functions rather thanJelmer Vernooij2008-09-301-0/+8
| | | | using global_loadparm.
* Remove jsdir.Jelmer Vernooij2008-09-181-5/+0
|
* Use a configure-specified directory for the winbind priv pipeAndrew Bartlett2008-06-281-0/+4
| | | | | | | | This makes it easier for RPMs to specify an group for access to that directory. Andrew Bartlett (This used to be commit fa361354433fb9a5c09c84997a7c51f3052c294e)
* Allow the ntp_signd socket to be set from configure.Andrew Bartlett2008-05-291-0/+7
| | | | | | | | This will allow distributions to hard-code this path, particularly for selinux, and matches how we handle the winbind socket dir. Andrew Bartlett (This used to be commit c8b441650400ed1b24c89991f5752dad3c87795f)
* Bring up the ntp signing deamonAndrew Bartlett2008-05-281-1/+1
| | | | | | | This starts ntp_signd at startup, and fixes some build issues. Andrew Bartlett (This used to be commit cb0dcd5c3dfe2a46755270a4594b7289f555d814)
* Use new dynconfig.h location.Jelmer Vernooij2008-05-271-1/+1
| | | | (This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
* Fix 'oplocks' in loadparm.Andrew Bartlett2008-03-281-0/+1
| | | | | | | | I forgot one more place where I must specify the new config option. I wish this was more templated... Andrew Bartlett (This used to be commit 5a740f4daa79cf1b5fc9f24e424ae50e10932f4b)
* Fix how we initialise the oplocks parameter.Andrew Bartlett2008-03-271-2/+1
| | | | | Andrew Bartlett (This used to be commit 08ec91958d5d773dfc805869685094da749470e8)
* Make oplocks a per-share option.Andrew Bartlett2008-03-271-1/+5
| | | | | | | This even goes via the share options system (a very odd layer of indirection). Andrew Bartlett (This used to be commit f2c65f9907760b8852b70c53637388f08751ba88)
* Rework provision scripts for more testingAndrew Bartlett2008-03-071-0/+2
| | | | | | | | | | | | | | | This fixes up some issues with testdir (was not honoured) and increases test coverage. We now check all the major provision modes. In doing so, to make it possible to call from the multiple layers of 'sh', I have allowed 'dc' to alias 'domain controller' and 'member' to alias 'member server'. Fighting shell quoting in the test system was just too hard... Also fix upgrade.py Andrew Bartlett (This used to be commit 0923de12282b0e063dd73bc3e056dd5c3663c190)
* libcli/raw: make it possible to not send CAP_LEVEL_II_OPLOCKSStefan Metzmacher2008-03-061-2/+2
| | | | | | | | But the keep the default to always send it when the server supports it too. metze (This used to be commit 33caaef2e46557525a8ffb79d6dd0db46a079529)
* Remove sDefault as static variable.Jelmer Vernooij2008-02-281-71/+57
| | | | (This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)
* loadparm: Add configuration settings for idmap.Kai Blin2008-02-211-0/+8
| | | | | | | | | | | Default behaviour for "idmap trusted only" is "False", meaning idmap creates ID mappings for all SIDs. If set to "True", idmap will create SID mappings for trusted users only. "idmap database" allows to set the database idmap uses, defaulting to idmap,ldb (This used to be commit ed8178b110abcde95e5b18cfb22957c53fd3febd)
* loadparm: Clean up trailing whitespaceKai Blin2008-02-141-163/+163
| | | | | No code change. Couldn't resist. (This used to be commit abc816b3884838441ab379c9e31e16937caa4734)
* Remaining changes to implement the prefork process modelAndrew Bartlett2008-02-041-0/+2
| | | | | | | | | | | | | | | | | | | To use, run 'smbd -M prefork' By default, only the smb service is preforked. 4 children are created, and all listen for new connections. The Linux Kernel 'wake one' behaviour should ensure that only one is given the oportunity to accept. We need to look into the ideal number of worker children, as well as load balancing behaviours. To change, set: prefork children : smb = 6 valid service names (smb in this example) match those in 'server services'. Andrew Bartlett and David Disseldorp (This used to be commit 35313c0aa3fbfdd943edfb7bafd7645b1a0c54e9)