summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21Add netdomjoin cmd line tool (another libnetapi example).Günther Deschner2-1/+113
Guenther (This used to be commit c502686f09713a7cf3786c254be6515a7aa23555)
2007-12-21Add getdc.c, a libnetapi example (incl. Makefile).Günther Deschner2-0/+91
Guenther (This used to be commit faedc78fc78527ee3bf05e1177ea43653aea67b2)
2007-12-21Add basic remote NetGetDCName and NetGetAnyDCName versions to libnetapi.Günther Deschner2-0/+252
Guenther (This used to be commit 5bc49546a32abb4524133b9f2916cdd51d4eb462)
2007-12-21Make libnetapi_errstr use our NTSTATUS and WERROR error string macros.Günther Deschner1-46/+3
Guenther (This used to be commit e46aa35d432e930835206b9ce7583f46933015d8)
2007-12-21Add error string for access denied in libnetapi.Günther Deschner1-0/+3
Guenther (This used to be commit 4df868e3c366958c64ed8445489c8d1e8a28e50b)
2007-12-21Remove doubled cli_set_timeout calls from libnetapi.Günther Deschner1-4/+0
Guenther (This used to be commit acc5d8e784b706001457ceeeb9bd4961a13d57d2)
2007-12-21Keep libnetapi_NetX calls static for now.Günther Deschner2-13/+13
Guenther (This used to be commit c255654c68923aca3e258906e49be82d719d5ccd)
2007-12-21Merge all headers into libnetapi.h.Günther Deschner3-69/+22
Guenther (This used to be commit a2c5beda2ec98dea8951fb3a37774f5f325410ef)
2007-12-21Implement NetServerSetInfo level 1005 in local mode with smbconf registry.Günther Deschner1-7/+7
Guenther (This used to be commit 15c2bc15f20a677c3c94895150e396275de6ac9b)
2007-12-21Add NetServerGetInfo and NetServerSetInfo (for level 1005).Günther Deschner3-0/+328
Guenther (This used to be commit 1cad549f54563c3a9787624ba7a56b54107ebd57)
2007-12-21Split out local and remote paths for NetGetJoinInformation.Günther Deschner1-40/+52
Guenther (This used to be commit d1e4f9dd5cde79f915e3e0f652621d966aa850e8)
2007-12-21Add libnetapi_errstr().Günther Deschner2-0/+51
Guenther (This used to be commit 465e61a3599a277366ada6ecda3a1e6ddb1f2490)
2007-12-21Add support for remote and local unjoining in libnetapi.Günther Deschner1-5/+89
Guenther (This used to be commit 74048fe7cfbd05994d533bea4a477d6ca93449d9)
2007-12-21Remove unrequired TALLOC_CTX from libnetapi_NetJoinDomain & friends.Günther Deschner1-34/+5
Guenther (This used to be commit 96ebdca45b998da7e6137973dea717bf3ac76328)
2007-12-21Fix NetJoinDomainLocal.Günther Deschner1-4/+1
Guenther (This used to be commit 24605c9175fb313c9c888783817da755cd8ce594)
2007-12-21Use DsGetDcName in local libnetapi join to find a dc.Günther Deschner1-14/+20
Guenther (This used to be commit fbc60c1648ff8b1fa0ae33c09237e41232f9769c)
2007-12-21Move NetJoinDomain and friends to NET_API_STATUS and the static libnetapi_ctx.Günther Deschner2-33/+119
Guenther (This used to be commit e640c3a4a7695613e9e619516befbaf3d44ecb10)
2007-12-21Missed on instance of external creds.Günther Deschner1-2/+4
Guenther (This used to be commit 65d50f518766ab0a8115c2599d190e642eb00754)
2007-12-21Add static libnetapi_ctx.Günther Deschner2-3/+26
Guenther (This used to be commit 97449ea341539a709953a57869570cf13be0f44e)
2007-12-21Use full string based debug_parse_levels in libnetapi.Günther Deschner2-4/+25
Guenther (This used to be commit 78d8f0e41aa3db0060596a7b345c2f04261986e0)
2007-12-21Add basic credential functions for libnetapi.Günther Deschner2-0/+36
Guenther (This used to be commit 7c38f706b5dc17f15708ac932c84d863a0cc713e)
2007-12-21Move basic libnetapi functions to NET_API_STATUS.Günther Deschner2-9/+9
Guenther (This used to be commit 086c55005976b3173e915e465108214876aa5bd6)
2007-12-21Define NET_API_STATUS to be just a uin32_t.Günther Deschner1-0/+2
Guenther (This used to be commit a42850926a26a4065a6126affc3754d291a2e178)
2007-12-21Getting rid of external credentials in libnetapi.Günther Deschner2-8/+11
Guenther (This used to be commit c10481dba01a084b0f9c4265f3408a0ec9a8b646)
2007-12-21Some libnet and netapi build fixes.Günther Deschner2-0/+10
Guenther (This used to be commit 1d47247283f7bc75291007be3fde72b1d3d95b99)
2007-12-21Fill in local branch of NetGetJoinInformation().Günther Deschner1-0/+26
Guenther (This used to be commit 46db8754511f915c296771e08e822ba810f804d5)
2007-12-21More minor libnetapi fixes.Günther Deschner1-0/+1
Guenther (This used to be commit 9f129c069f9feb357cbe1185058cfe3390609c09)
2007-12-21Build fixes for libnetapi.Günther Deschner2-0/+102
Guenther (This used to be commit 07d33557b95106ac57fdef8c767ab86192930a6d)
2007-12-21Fill in NetJoinDomainLocal().Günther Deschner1-1/+35
Guenther (This used to be commit 4896f22bb50ea9ae0c4807ed9b2dd4283c254364)
2007-12-21Split NetJoinDomain() into NetJoinDomainRemote() and the unsupportedGünther Deschner1-23/+73
NetJoinDomainLocal(). Guenther (This used to be commit d2f21ce6727ec9e4df67989db07b48470d0790a4)
2007-12-21Add NetGetJoinInformation().Günther Deschner2-0/+56
Guenther (This used to be commit d341d251d6e22e9cc1c4596038fd5fe5c7c6c174)
2007-12-21Fix the build on SolarisVolker Lendecke1-1/+1
(This used to be commit 5f5e52ba7b3862dc72a16d84e07503e98ccbbf8a)
2007-12-21Some C++ fixesVolker Lendecke5-11/+23
(This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)
2007-12-21Some C++ warningsVolker Lendecke3-5/+5
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
2007-12-21Fix a missing prototype warningVolker Lendecke1-0/+1
(This used to be commit 93e5de23e7109432f554745b18c6d630a39f9c2b)
2007-12-21Remove some statics from md4.cVolker Lendecke1-7/+13
(This used to be commit 7e193c68b2a7eb16afc12379a4ceed41053d1eeb)
2007-12-21Add a singleton cacheVolker Lendecke1-2/+18
First user is yp_default_domain (This used to be commit c19363eb77fcc3e1bf3341e6373d38f1e91fc08f)
2007-12-21Make data_blob_string_const return null terminated stringsVolker Lendecke1-1/+1
... nobody was using it, so we're free to change it now :-) (This used to be commit 4b06c68482247d859ec30b8b1920706e43358989)
2007-12-21Remove next_token_nr_talloc and its associated globalVolker Lendecke1-77/+0
Only client.c and clitar.c used this, I think they should carry the static themselves. Also move the a bit funny routine toktocliplist to clitar.c, the only place where it is used. (This used to be commit 86d9412611fd99c21e15c71d30a3f95e35d8535b)
2007-12-21Convert the pwnam cache to memcacheVolker Lendecke1-53/+15
(This used to be commit 032c5589fe7f9f2fcb0f336e72517a81a720b6ce)
2007-12-21Add memcache_add_tallocVolker Lendecke1-0/+52
The first memcache API only had blobs, but we have quite a few objects that are more complex talloc'ed structues. The current one I'm looking at is the getpwnam cache, but there are others around. (This used to be commit ea0e5ad9a15c848904dee8cb2d3e392b6a894705)
2007-12-21Add a global cacheVolker Lendecke1-0/+36
It hurts, but I think this global variable is necessary for transition, and it has the potential to remove quite a few other global variables without messing with APIs too much. (This used to be commit c131d0dc52ec09c9227eff3d68877369c37aaed5)
2007-12-20fix dump printout when byte >= 0x80Herb Lewis1-1/+1
(This used to be commit e18fab269c7370a6670c56eeab60fd90feecf0b2)
2007-12-19Remove Get_Pwnam and its associated static variableVolker Lendecke2-49/+26
All callers are replaced by Get_Pwnam_alloc (This used to be commit 735f59315497113aebadcf9ad387e3dbfffa284a)
2007-12-19Samba Shared Repository - branch v3-2-test updated - ↵Volker Lendecke1-10/+8
initial-v3-2-unstable-716-g12cce3b On Tue, Dec 18, 2007 at 06:04:32PM -0600, Jeremy Allison wrote: > Fix valgrind error in dbwrap_rbt where rec_priv->node was > being accessed after free. VALOKER PLEASE CHECK THIS VERY > CAREFULLY !!!! This is a correct fix in that it fixes the > valgrind error, but it looks inelegant to me. I think if > I understood this code better I could craft a more subtle > fix. Still looking at it.... Thanks a lot. Fully correct. What about the attached little simplification? Volker (This used to be commit 5b72828600fb057a7aeb5f1a6fb6c23c23f28cd8)
2007-12-19Rename cache.[ch] to memcache.[ch]Volker Lendecke1-1/+1
cache.h conflicts with an XFS DMAPI include on "opi" :-( (This used to be commit b8db804e07cc19d406ba3892d6eecbe16132a89a)
2007-12-18We've finished with the old node once we've copied theJeremy Allison1-4/+4
keyval. Jeremy. (This used to be commit 39f3efbcc5fbdff1db1b12e5fc7368968f240993)
2007-12-18Fix valgrind error in dbwrap_rbt where rec_priv->node wasJeremy Allison1-1/+10
being accessed after free. VALOKER PLEASE CHECK THIS VERY CAREFULLY !!!! This is a correct fix in that it fixes the valgrind error, but it looks inelegant to me. I think if I understood this code better I could craft a more subtle fix. Still looking at it.... Jeremy. (This used to be commit 12cce3be2a24fd72106d747890caf6c7f29db43d)
2007-12-18Add a in-memory cacheVolker Lendecke1-0/+298
This is a more general API that caches data with a LRU scheme. See include/cache.h. No comments yet, I'm still working on it. But Jeremy has given me a hint in one of his checkins that he would like to make use of this now. The idea is that we get rid of all our silly little caches and merge them all into one cache that we can then very easily trim, for example even with a smbcontrol message if someone decides memory is tight. The main user is the stat cache, this patch also converts the getwd cache. More caches to come. (This used to be commit 7a911b35713538d82001a3c9f34152e293fe1943)
2007-12-17More static pstring elimination.Jeremy Allison1-26/+86
Jeremy. (This used to be commit 92acc0115d8d4111289c2ade1db7bb060ee908db)