summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf
AgeCommit message (Collapse)AuthorFilesLines
2011-07-28s3:libsmbconf: use lp_load_global() in the testsuiteMichael Adam1-6/+1
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett1-3/+3
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-05-12s3-lib/smbconf: fix uninitialized error code in smbconf_reg_init().Günther Deschner1-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-10libsmbconf: Convert smbconf_transaction_*() to sbcErr.Andreas Schneider1-6/+27
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_delete_includes() to sbcErr.Andreas Schneider2-13/+16
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_set_includes() to sbcErr.Andreas Schneider2-18/+23
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_includes() to sbcErr.Andreas Schneider2-19/+18
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_delete_parameter() to sbcErr.Andreas Schneider1-6/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_parameter() to sbcErr.Andreas Schneider1-7/+6
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_set_parameter() to sbcErr.Andreas Schneider1-12/+14
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_delete_share() to sbcErr.Andreas Schneider1-7/+14
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_share() to sbcErr.Andreas Schneider1-56/+73
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_create_share() to smbErr.Andreas Schneider1-10/+12
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_share_names() to sbcErr.Andreas Schneider1-29/+37
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_drop() to sbcErr.Andreas Schneider1-6/+12
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_open() to sbcErr.Andreas Schneider2-12/+16
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_init() to sbcErr.Andreas Schneider5-19/+21
Signed-off-by: Michael Adam <obnox@samba.org>
2011-04-22s3: Fix Coverity ID 1340, NULL_RETURNSVolker Lendecke1-0/+4
2011-03-30registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner1-0/+1
Guenther
2010-11-02s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett1-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
2010-09-22s3:registry: remove unneeded TALLOC_CTX argument from reg_deletekey_recursiveMichael Adam1-3/+2
2010-09-21s3:registry: move prototype from reg_init_smbconf.c to its own header.Michael Adam1-0/+1
2010-09-21s3:registry: move the reg_api prototypes to their own header.Michael Adam1-0/+1
2010-09-20s3:registry: move higher level function reg_open_path to new module reg_api_utilMichael Adam1-0/+1
The reg_api.c code should just export functions that direclty relate to winreg api calls.
2010-09-11s3-auth Change struct nt_user_token -> struct security_tokenAndrew Bartlett1-2/+2
This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-0/+1
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