Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-09-24 | libsmbconf:registry: add "state directory" to the list of forbidden parameters | Michael Adam | 1 | -0/+1 | |
At the time when the registry configuration was introduced, the registry database file was placed in the "lock directory". So the "lock directory" was added to the list of parameters that may not be changed in the registry configuration (because the next config reload would then load a different registry and drop all the original seetings). Later, "state directory" and "cache directory" were introduced, both defaulting to "lock directory". And the registry's location was changed to "state directory". It slipped my attention that the forbidden parameters for the should have been adapted at the time. So this patch adds "state directory" to the list. It keeps the lock directory, to catch the case where the state directory is not explicitly set, hence defaulting to the "lock directory". Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> | |||||
2013-09-24 | libsmbconf:registry: clarify the appearance of "includes" in forbidden_names | Michael Adam | 1 | -1/+7 | |
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> | |||||
2013-09-24 | libsmbconf:registry: reorganize the validity check and canonicalization of ↵ | Michael Adam | 1 | -14/+19 | |
the input in "setparm" - first check that the name is an smbconf parameter - then check that the parameter is allowed in the registry config - then check that a global parameter is not to be set in a service section - then canonicalize the parameter and value name, thereby checking that the value has valid format Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> | |||||
2013-09-24 | libsmbconf:registry: publish smbconf_reg_parameter_is_valid() | Michael Adam | 1 | -1/+1 | |
So that this does not need to be duplicated.. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> | |||||
2013-09-24 | libsmbconf:registry: rework smbconf_reg_parameter_forbidden(), renaming it. | Michael Adam | 1 | -17/+17 | |
The logic is inverted, the lp_parameter_is_invalid call of smbconf_reg_valname_valid() is included, and the function is renamed to smbconf_reg_parameter_is_valid(). Use the new function everywhere in smbconf registry backend. And remove corresponding reverse function smbconf_reg_valname_valid(). Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-08 | s3:smbconf let drop leave the smbconf key in place to match a virgin ↵ | Gregor Beck | 1 | -1/+1 | |
registry.tdb Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-06-09 | s3-talloc Change TALLOC_ZERO_P() to talloc_zero() | Andrew Bartlett | 1 | -3/+3 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc. | |||||
2011-05-12 | s3-lib/smbconf: fix uninitialized error code in smbconf_reg_init(). | Günther Deschner | 1 | -1/+1 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 12 18:09:16 CEST 2011 on sn-devel-104 | |||||
2011-05-10 | libsmbconf: Convert smbconf_transaction_*() to sbcErr. | Andreas Schneider | 1 | -6/+27 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_delete_includes() to sbcErr. | Andreas Schneider | 1 | -6/+10 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_set_includes() to sbcErr. | Andreas Schneider | 1 | -11/+17 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_get_includes() to sbcErr. | Andreas Schneider | 1 | -6/+3 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_delete_parameter() to sbcErr. | Andreas Schneider | 1 | -6/+8 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_get_parameter() to sbcErr. | Andreas Schneider | 1 | -7/+6 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_set_parameter() to sbcErr. | Andreas Schneider | 1 | -12/+14 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_delete_share() to sbcErr. | Andreas Schneider | 1 | -7/+14 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_get_share() to sbcErr. | Andreas Schneider | 1 | -56/+73 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_create_share() to smbErr. | Andreas Schneider | 1 | -10/+12 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_get_share_names() to sbcErr. | Andreas Schneider | 1 | -29/+37 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_drop() to sbcErr. | Andreas Schneider | 1 | -6/+12 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_open() to sbcErr. | Andreas Schneider | 1 | -10/+16 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_init() to sbcErr. | Andreas Schneider | 1 | -1/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-04-22 | s3: Fix Coverity ID 1340, NULL_RETURNS | Volker Lendecke | 1 | -0/+4 | |
2011-03-30 | registry: create and use shared libcli/registry/util_reg.h header. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-09-22 | s3:registry: remove unneeded TALLOC_CTX argument from reg_deletekey_recursive | Michael Adam | 1 | -3/+2 | |
2010-09-21 | s3:registry: move prototype from reg_init_smbconf.c to its own header. | Michael Adam | 1 | -0/+1 | |
2010-09-21 | s3:registry: move the reg_api prototypes to their own header. | Michael Adam | 1 | -0/+1 | |
2010-09-20 | s3:registry: move higher level function reg_open_path to new module reg_api_util | Michael Adam | 1 | -0/+1 | |
The reg_api.c code should just export functions that direclty relate to winreg api calls. | |||||
2010-09-11 | s3-auth Change struct nt_user_token -> struct security_token | Andrew Bartlett | 1 | -2/+2 | |
This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-07-02 | s3-registry: avoid using registry_value union. | Günther Deschner | 1 | -20/+48 | |
Just pull and push data as is. Guenther | |||||
2010-05-25 | s3:registry: move prototype registry_create_admin_token() to new header ↵ | Michael Adam | 1 | -0/+1 | |
reg_util_token.h and use it only where necessary. | |||||
2010-05-25 | s3:registry: extract the reg_backend_db prototypes into their own header. | Michael Adam | 1 | -0/+1 | |
And use them only where needed. | |||||
2010-05-18 | smbconf: only include smbconf headers where needed. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2010-05-18 | s3-registry: only include registry headers when really needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-04-27 | s3:libsmbconf: fix a comment typo | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-04-21 | s3-secdesc: move all winreg access bits to IDL. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-04-07 | s3/smbconf_reg: Fix typo. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2009-03-04 | s3:smbconf: move smbconf_share_exists checks into backend | Michael Adam | 1 | -4/+9 | |
Michael | |||||
2009-02-26 | s3:libsmbconf: add transactions to the libsmbconf api | Michael Adam | 1 | -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-26 | Speed up "net conf list" | Volker Lendecke | 1 | -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-26 | Speed up "net conf list" | Volker Lendecke | 1 | -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-21 | s3:libsmbconf: include smbconf headers with lib/smbconf prefix | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in reg backend | Michael Adam | 1 | -20/+20 | |
Michael | |||||
2008-11-01 | Rename dos_errstr() to win_errstr() for consistency with Samba 4. | Jelmer Vernooij | 1 | -5/+5 | |
2008-10-27 | [s3]libsmbconf: add method is_writeable() and wrapper smbconf_is_writeable() | Michael Adam | 1 | -0/+12 | |
This allows for per-config-source checking of write support. Michael | |||||
2008-10-27 | [s3]libsmbconf: add backend_requires_messaging() method to libsmbconf. | Michael Adam | 1 | -0/+11 | |
In a clustered environment, the registry backend needs messaging to be set up since ctdb requires this. Michael | |||||
2008-10-23 | Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTS | Jelmer Vernooij | 1 | -1/+1 | |
previously present in Samba 3. | |||||
2008-06-23 | libsmbconf: add "includes" to the forbidden_valnames[]. | Michael Adam | 1 | -0/+1 | |
This removes the warning messages 'Unknown parameter encountered: "includes"'. Michael (This used to be commit b20019ceaaf4a8964792f6ba37f50f91b6847e7f) | |||||
2008-06-23 | libsmbconf: fastpaths first in smbconf_reg_valname_valid(). | Michael Adam | 1 | -2/+2 | |
Before dropping into lp_parameter_is_valid(). Michael (This used to be commit 59beb7acd777a4c224dce90fbbff7a137d2b89c1) | |||||
2008-04-23 | Increase level of debug msg when a regkey is not found | Volker Lendecke | 1 | -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) |