summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf
AgeCommit message (Collapse)AuthorFilesLines
2010-07-02s3-registry: avoid using registry_value union.Günther Deschner1-20/+48
Just pull and push data as is. Guenther
2010-05-25s3:registry: move prototype registry_create_admin_token() to new header ↵Michael Adam1-0/+1
reg_util_token.h and use it only where necessary.
2010-05-25s3:registry: extract the reg_backend_db prototypes into their own header.Michael Adam1-0/+1
And use them only where needed.
2010-05-18smbconf: only include smbconf headers where needed.Günther Deschner3-0/+7
Guenther
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner1-0/+1
Guenther
2009-04-27s3:libsmbconf: fix a comment typoMichael Adam1-1/+1
Michael
2009-04-21s3-secdesc: move all winreg access bits to IDL.Günther Deschner1-1/+1
Guenther
2009-04-07s3/smbconf_reg: Fix typo.Karolin Seeger1-1/+1
Karolin
2009-03-09fix "dubious escape" warning of Studio compilerBjörn Jacke1-1/+1
2009-03-04s3:smbconf: move smbconf_share_exists checks into backendMichael Adam1-4/+9
Michael
2009-02-26s3:libsmbconf: add transactions to the libsmbconf apiMichael Adam1-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
2009-02-26Speed up "net conf list"Volker Lendecke1-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>
2009-02-26Speed up "net conf list"Volker Lendecke1-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>
2009-01-30s3:smbconftort: don't use reserved words ('test:', 'failure:', 'success:')Stefan Metzmacher1-31/+29
Temporary results printfs should not contain reserved subunit words. metze
2009-01-21libsmbconf: move the non-registry parts of libsmbconf to top levelMichael Adam6-1428/+0
Michael
2009-01-21s3:libsmbconf: include smbconf headers with lib/smbconf prefixMichael Adam2-4/+4
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in reg backendMichael Adam1-20/+20
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in txt backendMichael Adam1-5/+6
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_initMichael Adam1-1/+1
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in testsuiteMichael Adam1-5/+5
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_util.cMichael Adam1-2/+2
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf.cMichael Adam1-2/+2
Michael
2009-01-21s3:libsmbconf: remove the init headers from smbconf.hMichael Adam5-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
2009-01-21s3:libsmbconf: remove unused function smbconf_is_writeable_bystring()Michael Adam2-27/+0
Michael
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij2-14/+14
2008-10-27[s3]libsmbconf: add utility function smbconf_is_writeable_bystring()Michael Adam2-0/+27
This checks the writeability of a config source specified by the config source name. Michael
2008-10-27[s3]libsmbconf: add method is_writeable() and wrapper smbconf_is_writeable()Michael Adam5-0/+29
This allows for per-config-source checking of write support. Michael
2008-10-27[s3]libsmbconf: create text config in smbconftortMichael Adam1-1/+38
Michael
2008-10-27[s3]libsmbconf: return WERR_BADFILE when no path to text backend is provided.Michael Adam1-1/+1
Michael
2008-10-27[s3]libsmbconf: fall back to file backend when no valid backend was foundMichael Adam1-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
2008-10-27[s3]libsmbconf: fix comment typo.Michael Adam1-1/+1
Michael
2008-10-27[s3]libsmbconf: add backend_requires_messaging() method to libsmbconf.Michael Adam5-0/+28
In a clustered environment, the registry backend needs messaging to be set up since ctdb requires this. Michael
2008-10-27[s3]libsmbconf: remove unused define.Michael Adam1-3/+0
Michael
2008-10-23Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTSJelmer Vernooij2-2/+2
previously present in Samba 3.
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij1-1/+1
2008-07-01Jim Brown <jim.brown@miami.edu> was right, this needs to be a signed int orJeremy Allison1-1/+1
the loop never terminates. Jeremy. (This used to be commit 80e547665d104a6db376ff4c48bcc01dfd3513ee)
2008-07-01Fix problem noticed by Jim Brown <jim.brown@miami.edu>. When reverse ↵Jeremy Allison1-1/+1
searching decrement index, not increment. Michael please check ! Jeremy. (This used to be commit d89f9d404f478fc9887bb6e67ce28a61464bcf93)
2008-06-23libsmbconf: add "includes" to the forbidden_valnames[].Michael Adam1-0/+1
This removes the warning messages 'Unknown parameter encountered: "includes"'. Michael (This used to be commit b20019ceaaf4a8964792f6ba37f50f91b6847e7f)
2008-06-23libsmbconf: fastpaths first in smbconf_reg_valname_valid().Michael Adam1-2/+2
Before dropping into lp_parameter_is_valid(). Michael (This used to be commit 59beb7acd777a4c224dce90fbbff7a137d2b89c1)
2008-04-23Increase level of debug msg when a regkey is not foundVolker Lendecke1-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)
2008-04-23libsmbconf: remove unnecessary talloc success check from smbconf_txt.cMichael Adam1-8/+0
talloc_stackframe() panics on NOMEM. Michael (This used to be commit dee57ad025e7ad9971e44ea30b6aab3806c06fc6)
2008-04-23libsmbconf: remove unnecessary talloc success checks from smbconf_reg.cMichael Adam1-12/+1
talloc_stackframe panics on NOMEM. Michael (This used to be commit 03fd30eef803ff2718e7af618d38944d56ccd329)
2008-04-23libsmbconf: remove unnecessary talloc success checks from smbconf.cMichael Adam1-4/+0
talloc_stackframe() panics on NOMEM. Michael (This used to be commit be4f8447ccd044563f6b12793ea64d9f38741861)
2008-04-23libsmbconf: rewrite API to use smbconf_service structMichael Adam5-56/+68
instead of lists of strings and counters directly... Michael (This used to be commit 17415e2dc457ce41793a7e28e71f72c538c19c61)
2008-04-22libsmbconf: add a struct smbconf_service to hold the parameter names + values.Michael Adam1-0/+7
Michael (This used to be commit 8118a8348f36b28fa4d46b42a104097cefa33a4d)
2008-04-22libsmbconf: fix comment headers in smbconf.hMichael Adam1-3/+8
Michael (This used to be commit 54c0461679642b38653f803e7b21d865472f3f91)
2008-04-22libsmbconf: text backend remove comment references to "simple".Michael Adam1-2/+2
Michael (This used to be commit 640b8ae7ad7aa53e05c7124fed072f2312aa91aa)
2008-04-22libsmbconf: rename smbconf_init_txt_simple() to smbconf_init_txt().Michael Adam4-9/+9
...for consistency. Michael (This used to be commit 3d1da73f66b8452693262e2d03f986eec438451d)
2008-04-22libsmbconf: rename text backend smbconf_txt_simple to smbconf_txt.Michael Adam1-0/+0
Michael (This used to be commit dd9fe5aec43e60d554f2580a0699fe6e4cfb5d3c)
2008-04-16libsmbconf: fix segfault in listing share names / config.Michael Adam1-1/+1
Discovered by Günther while giving a talk. - Sorry Günther! Michael (This used to be commit 518f4d4e6662138a2e71acc2296acedefc7c739a)