summaryrefslogtreecommitdiffstats
path: root/source3/libnet
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename libnet_smbconf_get_config() to libnet_conf_get_config().Michael Adam2008-01-031-3/+3
| | | | | Michael (This used to be commit e8f7c07699b5b93acd81b24bca908769f0b5e8d8)
* Rename libnet_smbconf_drop() to libnet_conf_drop().Michael Adam2008-01-031-1/+1
| | | | | Michael (This used to be commit 42ae33a96228e916d7d530d844be6937a80d4fea)
* Rename libnet_smbconf_reg_get_values() to libnet_conf_reg_get_values().Michael Adam2008-01-031-7/+7
| | | | | | | | Now all internal helper functions are converted to the consistent naming scheme. Michael (This used to be commit c23e6636a886d93b98c9439ba081def0385f67ac)
* Rename libnet_smbconf_format_registry_value() to ↵Michael Adam2008-01-031-5/+5
| | | | | | | libnet_conf_format_registry_value(). Michael (This used to be commit 3f9f35335127a673639fa30c88cdea6c79f04b92)
* Rename libnet_smbconf_reg_set_value() to libnet_conf_reg_set_value().Michael Adam2008-01-031-4/+4
| | | | | Michael (This used to be commit 96b2923bc3c57700352869627c38609529d53cd2)
* Rename libnet_smbconf_reg_create_service_key() to ↵Michael Adam2008-01-031-4/+4
| | | | | | | libnet_conf_reg_create_service_key(). Michael (This used to be commit cd1846943cbcc02ea9fa3b9237bd02e667a475db)
* Rename libnet_smbconf_value_exists() to libnet_conf_value_exists().Michael Adam2008-01-031-4/+4
| | | | | Michael (This used to be commit 49f740797bb7fc5edacbd4c3e8b1eb1aab131ea4)
* Rename libnet_smbconf_reg_open_basekey() to libnet_conf_reg_open_base_key().Michael Adam2008-01-031-9/+8
| | | | | Michael (This used to be commit c2ba52b2c34abc42b4ff7945715dc36e08a2f112)
* Rename libnet_smbconf_reg_open_service_key() to ↵Michael Adam2008-01-031-14/+14
| | | | | | | libnet_conf_reg_open_service_key(). Michael (This used to be commit 4d86d2dd6f0a577e446ccb4b362b3cd80f819600)
* Rename libnet_smbconf_reg_open_path() to libnet_conf_reg_open_path().Michael Adam2008-01-031-9/+8
| | | | | Michael (This used to be commit 9868364e2c7827ac7914bee711a65d4456a5e366)
* Rename libnet_smbconf_add_string_to_array() to ↵Michael Adam2008-01-031-18/+18
| | | | | | | | | | | libnet_conf_add_string_to_array(). This is the start of making nomenclature more consistent (functions in libnet_conf.c should be called libnet_conf_*, not libnet_smbconf_* ... Michael (This used to be commit 0dd3967bfd88a4d90941e80134c549f5ade63ad0)
* In libnetjoin don't mix admin password with machine account pwd.Günther Deschner2008-01-031-2/+2
| | | | | Guenther (This used to be commit 5b2eec21c27f07653e2dbb75c0f9ab4a60736773)
* Rename libnet_smbconf_reg_setvalue_internal() to libnet_smbconf_reg_set_value().Michael Adam2008-01-031-4/+4
| | | | | Michael (This used to be commit 3fc3fee88afd9e8b6232afc140a07090b4215c23)
* Fix a comment.Michael Adam2008-01-031-1/+1
| | | | | Michael (This used to be commit 2d0c7fe44f075205db1713ef2d69006f7192c490)
* Rename libnet_smbconf_reg_createkey_internal to ↵Michael Adam2008-01-031-2/+2
| | | | | | | libnet_smbconf_reg_create_service_key. Michael (This used to be commit 08056a2c8160a44d27744467da467faea9ba0686)
* Add libnet_conf API function libnet_smbconf_create_share().Michael Adam2008-01-031-5/+26
| | | | | | | | | And make libnet_smbconf_setparm() return error if the share does not already exist. Adapt net_conf_addshare to this new situation. Michael (This used to be commit de349bd26db3341815f6d8f6c18a5ca1fd664dca)
* Remove unused vars.Günther Deschner2008-01-031-2/+0
| | | | | Guenther (This used to be commit ff3f0006d167a9bca85919bf6115d73413554909)
* Don't leak: Use a temporary context for the admin token and free it.Michael Adam2008-01-031-1/+9
| | | | | Michael (This used to be commit 9d7502115e0f6cdfd27943d52f0de04447582b92)
* Use libnet_smbconf_reg_open_path() in libnet_smbconf_drop().Michael Adam2008-01-031-8/+2
| | | | | | | Replaces creation of token and direct use of reg_open_path. Michael (This used to be commit 7e407e18be0761e7004acfbd2376c3a435922c25)
* Abstract opening of registry path out of libnet_smbconf_reg_open_service_key().Michael Adam2008-01-031-16/+41
| | | | | | | | | | Creates new function libnet_smbconf_reg_open_path(). Use libnet_smbconf_reg_open_path() directly in libnet_smbconf_reg_open_basekey(). Return error in libnet_smbconf_reg_open_service_key() when NULL servicename is given. Michael (This used to be commit 1e46b479638c54e8bd7ba939bc7aba18a27b5155)
* Add debug output in error path.Michael Adam2008-01-031-0/+1
| | | | | Michael (This used to be commit a58ccbc6d70613f7572bc80621935d81f9e290e3)
* Fix setting of error code in error path.Michael Adam2008-01-031-0/+2
| | | | | Michael (This used to be commit 8a7954a9ae13df527ccedb1004ee4f87d506ce5b)
* Use a better parameter name.Michael Adam2008-01-031-3/+3
| | | | | Michael (This used to be commit 3972deb90c4b645fb4d207a7e132cd7e180e78bb)
* Rename libnet_smbconf_reg_open_path() to libnet_smbconf_reg_open_service_key().Michael Adam2008-01-031-15/+17
| | | | | Michael (This used to be commit d95b4935d3a97ca9c4b7990bbcf4e85c81c79516)
* Hey, it is 2008 now.Michael Adam2008-01-031-1/+1
| | | | | | | :-) Michael (This used to be commit a1d3f60ea753a158447bb0208441453b76a0f3b9)
* Choose a more apropriate parameter name.Michael Adam2008-01-031-2/+2
| | | | | Michael (This used to be commit 39a73b6291fd028d44fc2712afa76abf1fcff9cb)
* Rename libnet_smbconf_reg_open_basepath() to libnet_smbconf_reg_open_basekey().Michael Adam2008-01-031-9/+9
| | | | | Michael (This used to be commit 9e953a94e9b3a060769938ef6af25623e446c180)
* Make the last two helper functions in libnet_conf.c static.Michael Adam2007-12-311-4/+4
| | | | | | | Now the registry backend is completely hidden from the API. Michael (This used to be commit 5608c398ad9a0d05d651905a81dd92b7a0e120ff)
* Rename libnet_smbconf_key_exists() to libnet_smbconf_share_exists()Michael Adam2007-12-311-24/+24
| | | | | | | and move it to the api section of libnet_conf.c Michael (This used to be commit 9b5d8f4d95ebfd47831906019e11227aecc83aa1)
* Remove an unused variable.Michael Adam2007-12-301-1/+0
| | | | | Michael (This used to be commit 7bac935b65565099c0dfb34cab0dec73dd5fb479)
* Remove all d_fprintf-s from libnet_conf.cMichael Adam2007-12-301-16/+15
| | | | | | | | Replacing them buy DEBUG statements and filling in d_fprintfs in callers in net_conf.c. Michael (This used to be commit 1f0122d8d4ec0f67eaedd5df7383c1b45f37290f)
* Make libnet_smbconf_reg_open_path() static.Michael Adam2007-12-301-4/+4
| | | | | Michael (This used to be commit 6447bae71c99407485307dd508603c73d5bb9823)
* Make libnet_smbconf_reg_open_basepath() static.Michael Adam2007-12-301-2/+3
| | | | | Michael (This used to be commit 8e87dd79ba4e3aeceb26c7b4e131053172f077cd)
* Remove list_values() from net_conf.c - it is not needed any more.Michael Adam2007-12-301-2/+2
| | | | | | | | Also make libnet.c:libnet_smbconf_format_registry_value() static. (There are nor more external callers.) Michael (This used to be commit ac7baa17e89d2363b5b3db85de9c842b596dea25)
* Add a function libnet_smbconf_get_config() to libnet_conf.cMichael Adam2007-12-301-0/+84
| | | | | | | | | | This gets the whole config as a set of lists (of share names and corresponding lists of parameter names and values). The function is an aggregate of libnet_smbconf_get_share_names() and libnet_smbconf_getshare(). Michael (This used to be commit 94e97a72548a7f76a5273346d472e3ba5b24795a)
* Include libnet/libnet.h in libnet_conf.c to have prototypes available.Michael Adam2007-12-301-0/+1
| | | | | Michael (This used to be commit 4842438c396b93007fc4f4dded437567e562a2dc)
* Return NULL (instead of unchanged) for no shares/parameters defined.Michael Adam2007-12-291-0/+5
| | | | | Michael (This used to be commit bfe3d1462f52d2849611fc58ad70fa08b4917077)
* Dont return count - 1 but count from libnet_smbconf_reg_get_values().Michael Adam2007-12-291-1/+1
| | | | | Michael (This used to be commit ded60dec7d75db7df485a159fb6bf628d8e24805)
* Make sure libnet_smbconf_get_share_names() always lists "global" first.Michael Adam2007-12-291-4/+21
| | | | | | | And don't return count-1 but count. Michael (This used to be commit b7cb9b78231512dc4a88c307048d7fb5334fa319)
* Move talloc-appending a string to an array to its own helper functionMichael Adam2007-12-291-13/+49
| | | | | | | libnet_smbconf_add_string_to_array(). Michael (This used to be commit f4a4c1b26a03cd0f334e00912d32f15c73474ff1)
* Fix uninitalized variablesVolker Lendecke2007-12-291-2/+2
| | | | (This used to be commit 2322fe718728178990fdc3696b84f5de7ae7701b)
* Rename libnet_smbconf_getshares() to libnet_smbconf_get_share_names().Michael Adam2007-12-291-2/+2
| | | | | Michael (This used to be commit 9b3b9aa7e1044719a5112b9e5446e6fbdd7cecf9)
* Add a comment header for libnet_smbconf_getshares().Michael Adam2007-12-291-0/+3
| | | | | Michael (This used to be commit 7b51535f2f76b5c3c18620ffd9ac64505357e6db)
* Move functionality of net_conf_listshares() to libnet_conf.cMichael Adam2007-12-291-0/+53
| | | | | | | into new function libnet_smbconf_getshares(). Michael (This used to be commit 306c7e4d9cecac4c2c0ea1172bd585c3c17d4541)
* Move functionality of net_conf_showshare() to libnet_conf.cMichael Adam2007-12-291-0/+89
| | | | | | | | | | | | | | The functionality is moved to a new function libnet_smbconf_getshare(). This returns the parameters of the given share as two lists: the list of parameter names and the list of matching (formatted) parameter values. The retrieval and formatting is done in a new internal helper function libnet_smbconf_reg_get_values() that is to become the replacement for list_values() from net_conf.c once functionality of net_conf_list() has been moved to libnet_conf, too. Michael (This used to be commit 198232bd525cfac933b4885e6b330ebf4ac2c8ae)
* Add a couple of comment headers to the main libnet_conf functions.Michael Adam2007-12-291-0/+9
| | | | | Michael (This used to be commit e9694ae20e1da1d8c1cbb252e630815b561647dd)
* Add a comment header for libnet_smbconf_format_registry_value().Michael Adam2007-12-291-0/+7
| | | | | Michael (This used to be commit 80e73407ea326cc68cd8728845c7a1c0907e2201)
* Handle NULL talloc context in libnet_smbconf_format_registry_value().Michael Adam2007-12-291-1/+4
| | | | | | | Maybe we should generate a new context instead of returning NULL? Michael (This used to be commit d7aaec713e17f93eed5177f0c3468deb625402a8)
* Hide the registry backend from libnet_smbconf_getparm().Michael Adam2007-12-291-3/+18
| | | | | | | Return a formatted string of the value instead. Michael (This used to be commit 7d0ec5bae155cda6620db04dcb7bd43db59241aa)
* Rename format_value() to libnet_smbconf_format_registry_value().Michael Adam2007-12-291-1/+3
| | | | | Michael (This used to be commit 95d5dd9bb0546181cd499e6deabff562166412e3)