summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-04-10libsmbconf: move registry_smbconf_valname_forbidden() to the registry backendMichael Adam2-22/+22
from util_reg.c - no other callers left Michael (This used to be commit 98151fd3e1c24e5c8aaf3f5132071e91ac6ef257)
2008-04-10libsmbconf: more sanely print multi_sz values in registry backendMichael Adam1-2/+2
Michael (This used to be commit 382c623948abd1c6a5cf8ab7ee2be784fcef76ee)
2008-04-10libsmbconf: testsuite: fix handling of error message/overall statusMichael Adam1-6/+2
Michael (This used to be commit c2d3d56d628f266fdfc0ca98fc199afc01670c2c)
2008-04-10libsmbconf: testsuite: add test_set_get_includes() and use it in registry testMichael Adam1-0/+58
Michael (This used to be commit 1f64a1b2b4f11b44e9c9584480f01cac066a6a1d)
2008-04-10libsmbconf: testsuite: refactor printing of string lists out.Michael Adam1-4/+15
Michael (This used to be commit 828c7297247a557ed8e2b6935bbc819aae95a660)
2008-04-10libsmbconf: implement get_includes() and set_includes() for registry backend.Michael Adam1-2/+117
includes are stored per share in a special registry value "includes" of type multi_sz. Michael (This used to be commit 3fee0d79cc618adc7dd82cfeff62c72ef061017b)
2008-04-10libsmbconf: testsuite: test get_includes for registry backendMichael Adam1-0/+2
Michael (This used to be commit 31e68cbe5bdc8d69b2b711ec8ea62dbe612ec68f)
2008-04-10libsmbconf: testsuite: use the get_global_includes in get_includes test.Michael Adam1-2/+2
Michael (This used to be commit 2a4b71b105616b42e1bbfbf01126cc445a991cc0)
2008-04-10libsmbconf: add "_global_" wrappers for get/set_includes.Michael Adam2-0/+36
These use the usual global_check like the other global wrappers. Michael (This used to be commit ce1b2f550860cb3a566db09f7c7eac39c195a5b7)
2008-04-10libsmbconf: testsuite: add test for "get_includes" and use it in the text ↵Michael Adam1-0/+32
backend test. Michael (This used to be commit 1ca5afe58cef8b750a65bd8c2a5c9ee794ed50ba)
2008-04-10libsmbconf: fill get_includes() in text backed to retrieve includes from cache.Michael Adam1-1/+53
Michael (This used to be commit 5e253e10b7f80af1f5a855c8e0f00846853cced1)
2008-04-10libsmbconf: testsuite: set the debufg fd to stderr.Michael Adam1-0/+1
...so that we see some debug output Michael (This used to be commit 7cfec55ed48644f922ca0ffaa171e3512c93a360)
2008-04-10libsmbconf: testsuite: use POPT_COMMON_SAMBA instead of POPT_COMMON_CONFIGFILEMichael Adam1-1/+1
so we can for instance set the debug level on the command line. Michael (This used to be commit 94a19234620fc23db9c4aaf449e948342164d1d4)
2008-04-10libsmbconf: testsuite: add talloc_stackframe to main().Michael Adam1-0/+2
Michael (This used to be commit 8c631ac2f42e984137972b7388add4bcbc199665)
2008-04-10libsmbconf: testsuite: add support for "--configfile" option.Michael Adam1-1/+32
Michael (This used to be commit 9f6c909f465df5fc64e2bec88acf272be9cd574e)
2008-04-10libsmbconf: add testsuite to the library.Michael Adam1-0/+94
Currently only the init function is tested, more tests to come... Michael (This used to be commit bc8dc8626c5fb296edbd193a7cc293317c7a29ca)
2008-04-10libsmbconf: add talloc context to the get_includes methods.Michael Adam5-1/+7
Michael (This used to be commit ed535b6b30b5c9412803f6373eadc704de6de2f9)
2008-04-10libsmbconf: add get_includes() and set_includes() to the API.Michael Adam5-2/+73
Includes have to get a special treatment, at least for registry. Includes are not like other smbconf parameters: they are some kind of metainformation. "include" has two effects when stated twice so it can not be stored boldly into registry, since there can only be one value named "include" in registry per key. I will provide special handling for includes for the registry backend. This patch provides the necessary methods in the smbconf API. Michael (This used to be commit e86eb375d9f83f73aeea0a16c8b43e2ef21a6e20)
2008-04-10libsmbconf: activate the verbatim-flag in text backend: store parameters as ↵Michael Adam1-1/+2
they come. with verbatim == true, parameters are stored as they come from the input file, duplicates are listed multiple times, etc. Michael (This used to be commit c65575f831e9929ef7e66f2c7bfeed50f135b4b2)
2008-04-10libsmbconf: pass txt_private_data instead of only cache to do_parameter/sectionMichael Adam2-4/+6
in preparation of using the verbatim flag. Michael (This used to be commit c68cd2477c65d5521a713ae0f37cf2994d2c339e)
2008-04-10libsmbconf: load file after special initializationMichael Adam1-2/+3
otherwise verbatim parameter can have no effect. Michael (This used to be commit 2ff0b693d7fc7e130a2fb14c06ae8bc28f4b5c57)
2008-04-10libsmbconf: add a "verbatim" parameter to smbconf_init_txt_simple().Michael Adam2-3/+14
Michael (This used to be commit b9e72b402de412c23702715ead96c20e9b3248cc)
2008-04-10libsmbconf: reformat smbconf_format_registry_value() - indentations/tabsMichael Adam1-12/+12
Michael (This used to be commit b79a33eb2f370b8d8b50ed5ed2a0acc83e711c1e)
2008-04-10libsmbconf: untangle assignment and test in for-loop condition.Michael Adam1-4/+4
Michael (This used to be commit 4339caff09e1277ae33d3810043bcb3f4e7c4e45)
2008-04-10libsmbconf: fix a commentMichael Adam1-1/+1
Michael (This used to be commit bc1a5bdbd3b7da1f85c952579096b3c8dc407572)
2008-04-10libsmbconf: search from the back when getting parameter from text backendMichael Adam1-4/+4
so we make sure to always deliver the value last read. Michael (This used to be commit 2eb5a681e9e3ff302b5151f25d6856834eae7d54)
2008-04-10libsmbconf: add smbconf_reverse_find_in_array() to find last occurence of a ↵Michael Adam2-0/+24
string. Michael (This used to be commit 25e0fd84780f4acb80cac3b5f54f9597e0e2f53e)
2008-04-10libsmbconf: move smbconf_find_in_array() to smbconf_util.cMichael Adam3-21/+24
Michael (This used to be commit 7af79e60a3060083eae67bd053837c955b3f5c10)
2008-04-10libsmbconf: reorder prototypes in smbconf_private.hMichael Adam1-3/+3
Michael (This used to be commit 0e932a0981ef52ff9d236b887eb8177304a99915)
2008-04-10libsmbconf: rename smbconf_txt_find_in_array() to smbconf_find_in_array()Michael Adam1-21/+20
Michael (This used to be commit 9890f437264c6acc8c61c430a53c4645e0a12959)
2008-04-10libsmbconf: move utility functions from main module to new smbconf_util.cMichael Adam2-88/+103
Michael (This used to be commit e0f6a9d50c9b72ec33d4323d1a6c5bdf44d011e7)
2008-04-10charcnv: add talloc_strdup_lower() - talloc variant of strdup_lower().Michael Adam1-0/+26
Michael (This used to be commit 5f6c730cbeddd1ac2f515bd985c08ceb4ca9bc47)
2008-04-10registry: add support for REG_MULTI_SZ to registry_push_value().Michael Adam1-0/+56
This enables us to fetch multi_sz values from registry... Michael (This used to be commit a8cedfef27a0400c6aa05ddb5e51308ce0b789bd)
2008-04-09Add NetUserEnum example.Günther Deschner2-1/+107
Guenther (This used to be commit 7d9f64fd8401f8abb938757b4f092e25fd6b154f)
2008-04-09Add NetUserEnum to libnetapi.Günther Deschner4-1/+279
Guenther (This used to be commit 6c933d0b3838808aeee7f4b29ee89aab8d203538)
2008-04-09Add Add NetUserDel example.Günther Deschner2-1/+89
Guenther (This used to be commit 3123e68bda70ad1cff9bd8f9375fd7935bf755dd)
2008-04-09Add NetUserDel to libnetapi.Günther Deschner4-0/+246
Guenther (This used to be commit 92ba18fcd0816fb85846c6e788ea4a04c71e02a8)
2008-04-09Add NetUserAdd example.Günther Deschner2-1/+110
Guenther (This used to be commit 0d795606655a67d79c8c3bb2f3676ca7ee28f347)
2008-04-09Add NetUserAdd to libnetapi.Günther Deschner4-0/+436
Guenther (This used to be commit cb98996ed2ac93a0e15838048405772d2043021a)
2008-04-08Check x_fflush returns.Jeremy Allison1-4/+8
Jeremy. (This used to be commit 5525dc5f09a79d30f6c52fc3a88c8bce3060e642)
2008-04-08Move is_valid_policy_hnd() out of net.Günther Deschner1-0/+8
Guenther (This used to be commit aae4d91e726ef8dcad173cdd1d6f719d94462948)
2008-04-08Try to use kerberos in libnetapi.Günther Deschner3-9/+30
Guenther (This used to be commit 9cfce2229508c2145c3527074ac76520544e5d25)
2008-04-08Add DsGetDcName libnetapi example.Günther Deschner2-0/+95
Guenther (This used to be commit 0216e55fa87a14fc45c320268f0511eb6638460b)
2008-04-08Add DsGetDcName call to libnetapi library.Günther Deschner4-0/+178
Guenther (This used to be commit 27780e984152e38c8f80e1c67ddf13b73a2b220d)
2008-04-08Fix includes in libnetapi examples common.cGünther Deschner1-1/+4
Guenther (This used to be commit 922ff9d01668c2c2ad10decfd09c0e7b3f0d7592)
2008-04-08Use popt in libetapi example code.Günther Deschner6-114/+187
Guenther (This used to be commit 6f239df3f5a57c9549f1637e53fd42d2ed604c3f)
2008-04-08Prefill in username in libnetapi ctx.Günther Deschner1-1/+9
Guenther (This used to be commit 394bdb89ef350db0ab6aca093054e1048a8ffe1f)
2008-04-08Restructure inner workings of libnetapi a bit.Günther Deschner7-680/+662
Guenther (This used to be commit a4e3bc2bade8bf74696e1c6ced74da563ff2df7b)
2008-04-07dbwrap: fix more "tdb_chainunlock failed" messagesMichael Adam1-1/+3
TALLOC_FREE(rec) before transaction_cancel also in dbwrap_trans_delete(). Michael (This used to be commit 04cd914a1f12691d27ddc67887a757cd813848a7)
2008-04-07increase log level for this failed setsockopt call. EINVAL is a normal error ↵Björn Jacke1-1/+4
on Solaris when we do this on an already resetted connection. (This used to be commit 42bc4ff7fd6bfc92bde015ae8f3a9fb62d443cd5)