summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-01-13Add and modify comments in net_conf.cMichael Adam1-8/+42
Michael (This used to be commit b3afc8391d40745328172ba012f0ffc166d75aa9)
2008-01-13Add explicit creation of shares to net conf import function.Michael Adam1-0/+4
It has been removed from libnet_conf_set_parameter(). Michael (This used to be commit b5c533b06cba9a8ffd28a1fb3bc56ab248340775)
2008-01-13Make use of the new libnet_conf_delete_global_parameter() function.Michael Adam1-1/+1
Michael (This used to be commit aed01fd28c8e896e993239cbe9b2681132ddf980)
2008-01-13Add a function libnet_conf_delete_global_parameter() to libnet_conf.cMichael Adam1-0/+21
Create the [global] section if it does not yet exist. Michael (This used to be commit 90fa2981c949e21f66a44d634ebe9d661819f0a3)
2008-01-13Add a function libnet_conf_get_global_parameter() to libnet_conf.cMichael Adam1-0/+25
It creates the [global] section if it does not yet exist. Michael (This used to be commit 627a29b690c30f1096a4746186089cd9a1c92407)
2008-01-13Move libnet_conf_set_global_parameter() inside libnet_conf.cMichael Adam1-30/+23
Also remove the "convenience function" section comment. The set_global_parameter function now has a right to exist in the api. Michael (This used to be commit fd99c1804ae04b7c2a2b0a605e83ba88fa362edb)
2008-01-13Add a comment header to libnet_conf_set_global_parameter().Michael Adam1-0/+6
Michael (This used to be commit c050b148d00c79571ef0e85c6e7c86d551ca6efd)
2008-01-13Add auto-adding of [global] to libnet_conf_set_global_parameter().Michael Adam1-1/+12
Michael (This used to be commit ad2497cfac90b2e91be6995931629453fd6ed5fa)
2008-01-13Remove auto-generation of missing share from libnet_conf_set_parameter().Michael Adam1-4/+2
Günther, I wanted to have this as atomic as possible. I will add this behaviour to libnet_conf_set_global_parameter() next with the justification that [global] should exist transparently. Michael (This used to be commit e2b34e9c028d712c7c8b22aade2c11d347ae176d)
2008-01-13Fix the max_dead_record calculationsVolker Lendecke1-4/+1
(This used to be commit 4aaf4e7e73a5c7fa97ef730fbff5c7cb12df2d6c)
2008-01-13Fix Compiler warnings by including the proper header.Michael Adam1-2/+1
Michael (This used to be commit edaf52a301a38824c8beb30c49fba27c8fb0461a)
2008-01-13Introduce a libnet_conf context created by libnet_conf_open().Michael Adam6-128/+328
The libnet_conf_ctx stores the information necessary to interoperate with the configuration. It is created by calling libnet_conf_open() and destroyed by calling libnet_conf_close(). The context is passed to all the libnet_conf functions. It currently stores the token to access the registry. Later, it could store more data, e.g. the server to connect to, credentials, and so on. For support of other backends than registry or support of remote configuration, only the open function will have to be changed. In net_conf, the calls to the actual net_conf functions is wrapped into a function that calls libnet_conf_open()/_close(). Thus an individual variant of net_conf_runfunction2() and functable2 is used to cope with functions being called by the wrapper with the additional libnet_conf_ctx argument. Michael (This used to be commit c2a9346faa26e79af5948197a1b322e545f0ed09)
2008-01-13idl: Replace non-standard "declare" keyword with typedef and regenerate.Jelmer Vernooij17-58/+97
(This used to be commit 7e75acfdd1910b3b5908c02d5f343f014eb77841)
2008-01-12Don't early delete the share mode tdb dataVolker Lendecke1-2/+0
We now refer directly to the file name in the tdb data, so don't delete it. (This used to be commit 71de4946cf00cf8b7bb2f2d92832166bee12e84a)
2008-01-12Trivial simplificationVolker Lendecke1-5/+1
(This used to be commit 616bc34744487450edd47e212a29c0f57eabb722)
2008-01-12Remove an unused variableVolker Lendecke1-1/+0
(This used to be commit 24e719a1d432d5de022ab903457df0dd67c24b85)
2008-01-12Get the inbuf on talloc_tos()Volker Lendecke1-1/+1
(This used to be commit 883f7415769ad1e714f636e9d6fbd1f075e69d1e)
2008-01-12Convert OpenDir to talloc, use talloc_tos()Volker Lendecke3-76/+61
This cuts some mallocs on NtCreate&X (This used to be commit 8e64107b7846d8f9cce71aabc95b28b7488d01ce)
2008-01-12Restructure dbwrap_rbtVolker Lendecke1-59/+127
In this low-level code, play tricks to reduce the number of allocations to the possible minimum. I would not recommend this for higher-level code, but here it pays off. (This used to be commit 71b1e6ff1595fbaa8dd49b996c45541531c7e98c)
2008-01-12One more empty lineVolker Lendecke1-2/+2
(This used to be commit 10b6f52910b4d29da4ea74740a174654dd1d8e8e)
2008-01-12delete on close even prevents stat opensVolker Lendecke1-6/+6
(This used to be commit 85fe7f3f6ed4aae76e5cf31ab689b2dfacfd74de)
2008-01-12There's no point in calling FLOCK on a non-existing fdVolker Lendecke1-7/+9
(This used to be commit 9ff79f231f1206631662b5c521ecddf5df9141c0)
2008-01-12CID 458. Don't leak dlopen handles on failing to loadJeremy Allison1-0/+2
module. Jeremy. (This used to be commit 8809eaeb154ea12543455f589e31172dc905d83a)
2008-01-12Fix CID 469. new_acct can't be NULL here.Jeremy Allison1-2/+1
Jeremy. (This used to be commit c79e9414c4baed6e61fc6a3f766395b873bcc4ea)
2008-01-12Fix CID 470. resolve_order can't be NULL here so simplify code.Jeremy Allison1-10/+3
Jeremy. (This used to be commit 2e75f3ecdf9890b9d7d4bd03f3fa15ef74816d5d)
2008-01-11Fix CID 475. work should not be checked against NULLJeremy Allison1-2/+2
here as it can never be null. Jeremy. (This used to be commit ecb52f50fe3ec8beda48b6c88e9a3ae5a6a98d52)
2008-01-11Fix CID 476. Ensure a valid pac_data pointer is always passed toJeremy Allison3-5/+4
ads_verify_ticket as it's always derefed. Jeremy. (This used to be commit 0599d57efff0f417f75510e8b08c3cb7b4bcfcd8)
2008-01-11Coverity 512, uninitialized var.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 1b7cc80c61ccbf766801080f5a3f0260f40ccc17)
2008-01-11Stop Coverity complaining about uninitialized variables.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 041f1d298c1e72adb263b32f454cdf3603e45416)
2008-01-11Fix CID 498. Ensure we don't prs_mem_free an uninitializedJeremy Allison1-1/+6
prs_struct. Jeremy. (This used to be commit 7b9d9fba230b9e61079869a6a2751cda37fb8a9e)
2008-01-11Fix CID 505 - don't copy uninitialized memory.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 0d2c77e8d3a83f2c5e78fa076f22919ef9d124b9)
2008-01-11Fix CID 523 - wrong null deref check.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 05cadffeab38ca9df7ffd46785b536266c4438c4)
2008-01-11Fix CID 524 - reference before allocation fail null check.Jeremy Allison1-1/+1
Jeremy. (This used to be commit a5cd3c9b65538588a6c982c6d20022e7476cf3de)
2008-01-11Ensure we don't access an uninitialized variableJeremy Allison1-1/+1
(CID 535 - actually false but easy to shut up :-). Jeremy. (This used to be commit 4038bb3a9485943db58d9fe30947e11522ce283d)
2008-01-11Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison111-12779/+20175
v3-2-test (This used to be commit 08645826817d42c9d4b42ea0fd5e633d7fd08d35)
2008-01-12Fix some indents.Günther Deschner1-2/+3
Guenther (This used to be commit 57368f883fb217b4196858bb2255c0eea59a8917)
2008-01-12Call dsgetdcname when we have no specific dc defined for joining.Günther Deschner1-0/+27
Guenther (This used to be commit 40e8caa2d81168be3e48ececf5746d8f659a96d6)
2008-01-12Fix some error strings in libnet_join.Günther Deschner1-1/+6
Guenther (This used to be commit 8af80976a3a8dd9d02a6763e48b2c1d8003ae4dd)
2008-01-12Add appropriate error code when pre-creating accounts in ous isnt supported ↵Günther Deschner1-2/+2
by DC. Guenther (This used to be commit 4a7acf4a2374138b20a5cdebdcc721668bbd865b)
2008-01-12For libnet_join error string functions, make sure not to overwrite last ↵Günther Deschner1-10/+10
status string. Guenther (This used to be commit a9b76c9e2d93c8aa482dbee54f29d7e1503abe4f)
2008-01-12Merge all ads related calls in libnet_join_post_processing_ads().Günther Deschner1-32/+49
Guenther (This used to be commit b76250f1cf7238613658901b961d68a0da592712)
2008-01-12Use WITH_ADS define in libnet_join, hopefully not breaking the build.Günther Deschner1-16/+11
Guenther (This used to be commit 48f638a45525c01db9855e3ef809f08ce65da8d8)
2008-01-12Auto-add missing shares in libnet_conf_set_parameter().Günther Deschner1-2/+4
Michael, please have a look. Guenther (This used to be commit 9f4506e5e2828e0f23bc37586770995c3424b208)
2008-01-12Add debug bool flag for libnetjoin ctx.Günther Deschner1-0/+1
Guenther (This used to be commit 93084487952f4ef23209401d689b3be3af6c9e6e)
2008-01-12Use domain_is_ad one more time in libnetjoin.Günther Deschner1-3/+2
Guenther (This used to be commit 82bd6322b691506ddea2b274973e614fa8c6ee5e)
2008-01-11Sync tdb with the tdb changes in ctdb. Spoke to tridge aboutJeremy Allison10-218/+358
this. Fixes insidious problem with order n^2 freelist merging. Jeremy. (This used to be commit c6609c042b128e7d63eb64cfdfb0f6b65cb59d76)
2008-01-11Remove code accidentially submittet with last commit 83aed537c16f63.Michael Adam1-42/+0
This is ist still in preparation and will follow soon. Soory! Michael (This used to be commit 75acdb54a454ffda9d422fcafb573c8f5581d2e8)
2008-01-11Fix panic in "net conf": Fix logic in error condition.Michael Adam1-1/+43
Michael (This used to be commit 83aed537c16f632599484f60c5ccebc3ab713801)
2008-01-11Fix a build warning.Günther Deschner1-0/+1
Guenther (This used to be commit 88874a501d0c086f796e4838af8c9399d3cccc1f)
2008-01-11As long as DsGetDcName is not part of libnetapi, lowercase the fn name.Günther Deschner4-44/+44
Guenther (This used to be commit 19a980f52044a170618629e5b0484c1f6b586e5f)