summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-01-04Fix some error strings in netdomjoin-gui.Günther Deschner1-12/+31
Guenther (This used to be commit aaea8f1ed744e9662f92a3840d86ad1aff943d18)
2008-01-04Robustness fix for libnet join when unjoining.Günther Deschner1-4/+5
Guenther (This used to be commit d7f01d940feb7dfedb6c4b8b88f5443434e03428)
2008-01-03Add ads_get_joinable_ous().Günther Deschner2-0/+64
Guenther (This used to be commit 5bbceac88159ef6ff83d9cc62c77c7af2116967d)
2008-01-03Use different error code for libnet_conf initialization failure.Günther Deschner1-2/+1
Guenther (This used to be commit 65537eae842065a1dd68d8e532e61502b61e1dbe)
2008-01-03Minor libnetapi join cosmetic cleanup.Günther Deschner1-3/+3
Guenther (This used to be commit 4deef80bed374af5032c0f3081d2ee3c70be99df)
2008-01-03Add some more join related werror codes.Günther Deschner2-0/+5
Guenther (This used to be commit 62e7d467ab1b2f98327960eec3a3a925b2f04bda)
2008-01-03Make libnet_conf handle opening/initialization of the registry.Michael Adam2-5/+32
Open state is currently tracked by a global variable to avoid double initialization. Later, this can possibly be replaced by a conf-context created by an initialization function and passed around to the other api functions. Michael (This used to be commit 77713e776405800ac54c692a77cd4efd153042cb)
2008-01-03Add a comment header and do some slight reformatting.Michael Adam1-5/+7
Michael (This used to be commit 5d557e3f95b8d53114c25ba7fa3e564a50be9e05)
2008-01-03Use GLOBAL_NAME constant.Michael Adam1-1/+1
Michael (This used to be commit 4c404d627ccfaf1c17f4b6b1ebab6fce357d9ab1)
2008-01-03Rename libnet_smbconf_set_global_param() to libnet_conf_set_global_parameter().Michael Adam3-13/+13
Now all functions are converted to the consistent naming scheme. Michael (This used to be commit a559533c0c8a80f3f4078bbc2675de395359485f)
2008-01-03Rename libnet_smbconf_delparm() to libnet_conf_delete_parameter().Michael Adam3-4/+3
Michael (This used to be commit 073eeca51e46da6a687175aadbfdbb9e029532d6)
2008-01-03Rename libnet_smbconf_getparm() to libnet_conf_get_parameter().Michael Adam2-5/+5
Michael (This used to be commit d08556dbc7071933feaeec538f01ac8f6a637b1d)
2008-01-03Rename libnet_smbconf_setparm() to libnet_conf_set_parameter().Michael Adam2-12/+12
Michael (This used to be commit e00cb415d30b3e72ccfb7e5c366c95ec0f9c6247)
2008-01-03Rename libnet_smbconf_delshare() to libnet_conf_delete_share().Michael Adam2-3/+3
Michael (This used to be commit 2075baf551ca7fc6bcee6b93f63fd7fbf75f9a50)
2008-01-03Rename libnet_smbconf_getshare() to libnet_conf_get_share().Michael Adam2-9/+9
Michael (This used to be commit 1575612f1936312125e7778a9a4227e444ea36cf)
2008-01-03Rename libnet_smbconf_create_share() to libnet_conf_create_share().Michael Adam2-2/+2
Michael (This used to be commit 6bc4ee210855dbfbee9e86b59e90b08ecb3a9df9)
2008-01-03Rename libnet_smbconf_share_exists() to libnet_conf_share_exists().Michael Adam2-8/+8
Michael (This used to be commit 3258758e5c8dfc2c681e1285cb34aaacae697a55)
2008-01-03Rename libnet_smbconf_get_share_names() to libnet_conf_get_share_names().Michael Adam2-5/+5
Michael (This used to be commit 2e4beee66b3672c3259b312aca3d482598731119)
2008-01-03Rename libnet_smbconf_get_config() to libnet_conf_get_config().Michael Adam2-6/+6
Michael (This used to be commit e8f7c07699b5b93acd81b24bca908769f0b5e8d8)
2008-01-03Rename libnet_smbconf_drop() to libnet_conf_drop().Michael Adam2-2/+2
Michael (This used to be commit 42ae33a96228e916d7d530d844be6937a80d4fea)
2008-01-03Rename libnet_smbconf_reg_get_values() to libnet_conf_reg_get_values().Michael Adam1-7/+7
Now all internal helper functions are converted to the consistent naming scheme. Michael (This used to be commit c23e6636a886d93b98c9439ba081def0385f67ac)
2008-01-03Rename libnet_smbconf_format_registry_value() to ↵Michael Adam1-5/+5
libnet_conf_format_registry_value(). Michael (This used to be commit 3f9f35335127a673639fa30c88cdea6c79f04b92)
2008-01-03Rename libnet_smbconf_reg_set_value() to libnet_conf_reg_set_value().Michael Adam1-4/+4
Michael (This used to be commit 96b2923bc3c57700352869627c38609529d53cd2)
2008-01-03Rename libnet_smbconf_reg_create_service_key() to ↵Michael Adam1-4/+4
libnet_conf_reg_create_service_key(). Michael (This used to be commit cd1846943cbcc02ea9fa3b9237bd02e667a475db)
2008-01-03Rename libnet_smbconf_value_exists() to libnet_conf_value_exists().Michael Adam1-4/+4
Michael (This used to be commit 49f740797bb7fc5edacbd4c3e8b1eb1aab131ea4)
2008-01-03Rename libnet_smbconf_reg_open_basekey() to libnet_conf_reg_open_base_key().Michael Adam1-9/+8
Michael (This used to be commit c2ba52b2c34abc42b4ff7945715dc36e08a2f112)
2008-01-03Rename libnet_smbconf_reg_open_service_key() to ↵Michael Adam1-14/+14
libnet_conf_reg_open_service_key(). Michael (This used to be commit 4d86d2dd6f0a577e446ccb4b362b3cd80f819600)
2008-01-03Rename libnet_smbconf_reg_open_path() to libnet_conf_reg_open_path().Michael Adam1-9/+8
Michael (This used to be commit 9868364e2c7827ac7914bee711a65d4456a5e366)
2008-01-03Rename libnet_smbconf_add_string_to_array() to ↵Michael Adam1-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)
2008-01-03Happy new year again.Michael Adam1-1/+1
Michael (This used to be commit e568f42e2146fa6510a86746581409450887ff16)
2008-01-03Use -g instead of -gstabs as many have reported gdb problems with -gstabs.Günther Deschner1-1/+1
Guenther (This used to be commit 8befb22672d54a9255e5bdaf9cb0bb4e2b631245)
2008-01-03Let DsGetDCName figure out whether domain_name is a flat_name when unjoining.Günther Deschner1-1/+0
Guenther (This used to be commit 75165ba4e7acafaca42f6afd1fb8b56e00bcbed7)
2008-01-03Fix configure output for libnetapi.Günther Deschner1-1/+1
Guenther (This used to be commit d00ce6685a2cad7cd5526d4b13d43d157cd13481)
2008-01-03In libnetjoin don't mix admin password with machine account pwd.Günther Deschner1-2/+2
Guenther (This used to be commit 5b2eec21c27f07653e2dbb75c0f9ab4a60736773)
2008-01-03Ignore generated pkgconfig files.Günther Deschner1-0/+1
Guenther (This used to be commit 1688eae5e868744fb209f59ed526b1a91d1fe0db)
2008-01-03Some coding convention pedantism.Günther Deschner5-17/+17
Guenther (This used to be commit 338baf96cb957fa52e312d42fbf0fa227d7dafda)
2008-01-03Return existsing cache_tree if it has already been initialized.Michael Adam1-4/+6
So reghook_cache_init() does not leak memory when called more than once. Also, fix the return value while we are at it. Michael (This used to be commit 25f571f40a630bff5a47bba6b01e42d4e0ffed66)
2008-01-03Rename libnet_smbconf_reg_setvalue_internal() to libnet_smbconf_reg_set_value().Michael Adam1-4/+4
Michael (This used to be commit 3fc3fee88afd9e8b6232afc140a07090b4215c23)
2008-01-03Fix a comment.Michael Adam1-1/+1
Michael (This used to be commit 2d0c7fe44f075205db1713ef2d69006f7192c490)
2008-01-03Rename libnet_smbconf_reg_createkey_internal to ↵Michael Adam1-2/+2
libnet_smbconf_reg_create_service_key. Michael (This used to be commit 08056a2c8160a44d27744467da467faea9ba0686)
2008-01-03Add libnet_conf API function libnet_smbconf_create_share().Michael Adam2-6/+38
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)
2008-01-03Remove unused vars.Günther Deschner1-2/+0
Guenther (This used to be commit ff3f0006d167a9bca85919bf6115d73413554909)
2008-01-03Trivial simplificationVolker Lendecke1-3/+2
... things you come across when you review code (This used to be commit 1e006bcfb15d44ecb81b6994c588d30d87b48033)
2008-01-03Add commentsVolker Lendecke1-1/+54
Jeremy was able to use this correctly without comments, so the code can't be *that* bad :-) (This used to be commit 6f22f7c13fd08ee772ac3aa593d2f4b37eb2cbee)
2008-01-02Fix for bug #5163 from Laurent Pinchart <pinchart@skynet.be>Jeremy Allison1-0/+4
Failure to change password in ldap is mapped to NT_STATUS_UNSUCCESSFUL unconditionally. Jeremy. (This used to be commit 9369d6e907a49da1fbf2a5690118412b8d1a0383)
2008-01-02Convert the little caches in util_sock.c to useJeremy Allison1-47/+118
the singleton memcache. Vl please check (passes make valgrindtest). Jeremy. (This used to be commit a4d613cde86caf5782c4bfc47122d6ba807990ac)
2008-01-03Don't leak: Use a temporary context for the admin token and free it.Michael Adam1-1/+9
Michael (This used to be commit 9d7502115e0f6cdfd27943d52f0de04447582b92)
2008-01-03Use libnet_smbconf_reg_open_path() in libnet_smbconf_drop().Michael Adam1-8/+2
Replaces creation of token and direct use of reg_open_path. Michael (This used to be commit 7e407e18be0761e7004acfbd2376c3a435922c25)
2008-01-03Abstract opening of registry path out of libnet_smbconf_reg_open_service_key().Michael Adam1-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)
2008-01-03Add debug output in error path.Michael Adam1-0/+1
Michael (This used to be commit a58ccbc6d70613f7572bc80621935d81f9e290e3)