summaryrefslogtreecommitdiffstats
path: root/source3/lib/smbconf
Commit message (Collapse)AuthorAgeFilesLines
* s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett2010-11-021-1/+1
| | | | | | | | This change improves the setup_logging() API so that callers which wish to set up logging to stderr can simply ask for it, rather than directly modify the dbf global variable. Andrew Bartlett
* s3:registry: remove unneeded TALLOC_CTX argument from reg_deletekey_recursiveMichael Adam2010-09-221-3/+2
|
* s3:registry: move prototype from reg_init_smbconf.c to its own header.Michael Adam2010-09-211-0/+1
|
* s3:registry: move the reg_api prototypes to their own header.Michael Adam2010-09-211-0/+1
|
* s3:registry: move higher level function reg_open_path to new module reg_api_utilMichael Adam2010-09-201-0/+1
| | | | | The reg_api.c code should just export functions that direclty relate to winreg api calls.
* s3-auth Change struct nt_user_token -> struct security_tokenAndrew Bartlett2010-09-111-2/+2
| | | | | | | | This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-popt: Only include popt-common.h when needed.Andreas Schneider2010-08-051-0/+1
|
* s3-registry: avoid using registry_value union.Günther Deschner2010-07-021-20/+48
| | | | | | Just pull and push data as is. Guenther
* s3:registry: move prototype registry_create_admin_token() to new header ↵Michael Adam2010-05-251-0/+1
| | | | | | reg_util_token.h and use it only where necessary.
* s3:registry: extract the reg_backend_db prototypes into their own header.Michael Adam2010-05-251-0/+1
| | | | And use them only where needed.
* smbconf: only include smbconf headers where needed.Günther Deschner2010-05-183-0/+7
| | | | Guenther
* s3-registry: only include registry headers when really needed.Günther Deschner2010-05-181-0/+1
| | | | Guenther
* s3:libsmbconf: fix a comment typoMichael Adam2009-04-271-1/+1
| | | | Michael
* s3-secdesc: move all winreg access bits to IDL.Günther Deschner2009-04-211-1/+1
| | | | Guenther
* s3/smbconf_reg: Fix typo.Karolin Seeger2009-04-071-1/+1
| | | | Karolin
* fix "dubious escape" warning of Studio compilerBjörn Jacke2009-03-091-1/+1
|
* s3:smbconf: move smbconf_share_exists checks into backendMichael Adam2009-03-041-4/+9
| | | | Michael
* s3:libsmbconf: add transactions to the libsmbconf apiMichael Adam2009-02-261-0/+18
| | | | | | | | | This is useful for wrapping higher level aggregate operations in transactions. The text backend implementations just return WERR_OK, the registry backend implementatoins use the regdb_transaction_start|commit|cancel routines just added. Michael
* Speed up "net conf list"Volker Lendecke2009-02-261-115/+41
| | | | | | For 1000 shares this speeds up net conf list from .6 to .25 seconds on my box Signed-off-by: Michael Adam <obnox@samba.org>
* Speed up "net conf list"Volker Lendecke2009-02-261-0/+3
| | | | | | | With 1000 shares in the registry, this changed the time of "net conf list" from 1.1 seconds to .6 seconds. Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbconftort: don't use reserved words ('test:', 'failure:', 'success:')Stefan Metzmacher2009-01-301-31/+29
| | | | | | Temporary results printfs should not contain reserved subunit words. metze
* libsmbconf: move the non-registry parts of libsmbconf to top levelMichael Adam2009-01-216-1428/+0
| | | | Michael
* s3:libsmbconf: include smbconf headers with lib/smbconf prefixMichael Adam2009-01-212-4/+4
| | | | Michael
* s3:libsmbconf: use talloc_free instead of TALLOC_FREE in reg backendMichael Adam2009-01-211-20/+20
| | | | Michael
* s3:libsmbconf: use talloc_free instead of TALLOC_FREE in txt backendMichael Adam2009-01-211-5/+6
| | | | Michael
* s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_initMichael Adam2009-01-211-1/+1
| | | | Michael
* s3:libsmbconf: use talloc_free instead of TALLOC_FREE in testsuiteMichael Adam2009-01-211-5/+5
| | | | Michael
* s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_util.cMichael Adam2009-01-211-2/+2
| | | | Michael
* s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf.cMichael Adam2009-01-211-2/+2
| | | | Michael
* s3:libsmbconf: remove the init headers from smbconf.hMichael Adam2009-01-215-19/+100
| | | | | | | | | | give the smbconf_init() dispatcher and the backends (smbconf_reg and smbconf_txt) a header of their own each. This allows to use the basic infrastructure and single backends individually. Michael
* s3:libsmbconf: remove unused function smbconf_is_writeable_bystring()Michael Adam2009-01-212-27/+0
| | | | Michael
* Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij2008-11-012-14/+14
|
* [s3]libsmbconf: add utility function smbconf_is_writeable_bystring()Michael Adam2008-10-272-0/+27
| | | | | | | This checks the writeability of a config source specified by the config source name. Michael
* [s3]libsmbconf: add method is_writeable() and wrapper smbconf_is_writeable()Michael Adam2008-10-275-0/+29
| | | | | | This allows for per-config-source checking of write support. Michael
* [s3]libsmbconf: create text config in smbconftortMichael Adam2008-10-271-1/+38
| | | | Michael
* [s3]libsmbconf: return WERR_BADFILE when no path to text backend is provided.Michael Adam2008-10-271-1/+1
| | | | Michael
* [s3]libsmbconf: fall back to file backend when no valid backend was foundMichael Adam2008-10-271-4/+5
| | | | | | | | | Interpret the source string as a file name when it contains a ':' sign but the initial part is not a known backend. This might occur even implicitly when "%T" is used in an include file name (even though this is not realistic..). Michael
* [s3]libsmbconf: fix comment typo.Michael Adam2008-10-271-1/+1
| | | | Michael
* [s3]libsmbconf: add backend_requires_messaging() method to libsmbconf.Michael Adam2008-10-275-0/+28
| | | | | | | In a clustered environment, the registry backend needs messaging to be set up since ctdb requires this. Michael
* [s3]libsmbconf: remove unused define.Michael Adam2008-10-271-3/+0
| | | | Michael
* Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTSJelmer Vernooij2008-10-232-2/+2
| | | | previously present in Samba 3.
* Use separate make variables for libutil and libcrypto.Jelmer Vernooij2008-10-181-1/+1
|
* Jim Brown <jim.brown@miami.edu> was right, this needs to be a signed int orJeremy Allison2008-07-011-1/+1
| | | | | | the loop never terminates. Jeremy. (This used to be commit 80e547665d104a6db376ff4c48bcc01dfd3513ee)
* Fix problem noticed by Jim Brown <jim.brown@miami.edu>. When reverse ↵Jeremy Allison2008-07-011-1/+1
| | | | | | | | searching decrement index, not increment. Michael please check ! Jeremy. (This used to be commit d89f9d404f478fc9887bb6e67ce28a61464bcf93)
* libsmbconf: add "includes" to the forbidden_valnames[].Michael Adam2008-06-231-0/+1
| | | | | | | This removes the warning messages 'Unknown parameter encountered: "includes"'. Michael (This used to be commit b20019ceaaf4a8964792f6ba37f50f91b6847e7f)
* libsmbconf: fastpaths first in smbconf_reg_valname_valid().Michael Adam2008-06-231-2/+2
| | | | | | | Before dropping into lp_parameter_is_valid(). Michael (This used to be commit 59beb7acd777a4c224dce90fbbff7a137d2b89c1)
* Increase level of debug msg when a regkey is not foundVolker Lendecke2008-04-231-1/+1
| | | | | | This is a pretty normal situation if you have "include=registry" set but no configuration options have been set there yet. (This used to be commit 727127f1dcd49b31b5a48cc3f9314aa2380d60e1)
* libsmbconf: remove unnecessary talloc success check from smbconf_txt.cMichael Adam2008-04-231-8/+0
| | | | | | | talloc_stackframe() panics on NOMEM. Michael (This used to be commit dee57ad025e7ad9971e44ea30b6aab3806c06fc6)
* libsmbconf: remove unnecessary talloc success checks from smbconf_reg.cMichael Adam2008-04-231-12/+1
| | | | | | | talloc_stackframe panics on NOMEM. Michael (This used to be commit 03fd30eef803ff2718e7af618d38944d56ccd329)
* libsmbconf: remove unnecessary talloc success checks from smbconf.cMichael Adam2008-04-231-4/+0
| | | | | | | talloc_stackframe() panics on NOMEM. Michael (This used to be commit be4f8447ccd044563f6b12793ea64d9f38741861)