summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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-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)
2008-01-11Fix libnetapi error string callers.Günther Deschner4-9/+9
Guenther (This used to be commit 1ad7a0a361edfa5ac738f011db1d6a9db256ac2c)
2008-01-11Remove '\n' from error strings in libnet_join context.Günther Deschner1-12/+12
Guenther (This used to be commit 9cc0d874f6c064e8752d36e72fcc85bf4c85e656)
2008-01-11Set error string when ads_leave_realm() has failed in libnetjoin.Günther Deschner1-1/+9
Guenther (This used to be commit 01690f85bc7d052d4c57181d74aef27d1776169c)
2008-01-11Include some basic headers in netapi.h.Günther Deschner1-0/+10
Guenther (This used to be commit 23b92a6fa57858c8a23c737a9cd00c076ef5dadd)
2008-01-11Refactor libnetapi error string functions a bit.Günther Deschner2-6/+20
Guenther (This used to be commit 3b450a8bcc97b6d03c4b7b9373a3a382c0fcea30)
2008-01-11Ignore result of libnet_conf_delete_parameter here, as realm may be not there.Günther Deschner1-1/+1
Guenther (This used to be commit 2e2d058b7e90a158612af4b0a489578431f748e5)
2008-01-11Remove some more references to global_myname() in libnet_join.Günther Deschner1-2/+2
Guenther (This used to be commit ed4960baccf687b77c2b0f4ee64cbce2005f3abb)
2008-01-11Use domain_is_ad bool.Günther Deschner1-6/+5
Guenther (This used to be commit 9707a5eb008788460937104575b7afd733a9f741)
2008-01-11Add domain_is_ad bool to libnetjoin ctx.Günther Deschner1-0/+1
Guenther (This used to be commit 16ca8d2746a5c2fc7a583d1cf2ebb4d3aa003842)
2008-01-10Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison8-43/+36
v3-2-test (This used to be commit 767e0164adf8803df50b0b7bd8e81d25af72bb78)
2008-01-10Don't switch user contexts unless you have to. SavesJeremy Allison2-14/+42
a bunch of syscalls on close. Noticed by Volker. Jeremy. (This used to be commit 3caeeaea162e2083a087c242b850c107a3be1bf9)