summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-04-09Add NetUserEnum example.Günther Deschner2-1/+107
Guenther (This used to be commit 7d9f64fd8401f8abb938757b4f092e25fd6b154f)
2008-04-09Add NetUserEnum to libnetapi.Günther Deschner4-1/+279
Guenther (This used to be commit 6c933d0b3838808aeee7f4b29ee89aab8d203538)
2008-04-09Add Add NetUserDel example.Günther Deschner2-1/+89
Guenther (This used to be commit 3123e68bda70ad1cff9bd8f9375fd7935bf755dd)
2008-04-09Add NetUserDel to libnetapi.Günther Deschner4-0/+246
Guenther (This used to be commit 92ba18fcd0816fb85846c6e788ea4a04c71e02a8)
2008-04-09Add NetUserAdd example.Günther Deschner2-1/+110
Guenther (This used to be commit 0d795606655a67d79c8c3bb2f3676ca7ee28f347)
2008-04-09Add NetUserAdd to libnetapi.Günther Deschner4-0/+436
Guenther (This used to be commit cb98996ed2ac93a0e15838048405772d2043021a)
2008-04-08Check x_fflush returns.Jeremy Allison1-4/+8
Jeremy. (This used to be commit 5525dc5f09a79d30f6c52fc3a88c8bce3060e642)
2008-04-08Move is_valid_policy_hnd() out of net.Günther Deschner1-0/+8
Guenther (This used to be commit aae4d91e726ef8dcad173cdd1d6f719d94462948)
2008-04-08Try to use kerberos in libnetapi.Günther Deschner3-9/+30
Guenther (This used to be commit 9cfce2229508c2145c3527074ac76520544e5d25)
2008-04-08Add DsGetDcName libnetapi example.Günther Deschner2-0/+95
Guenther (This used to be commit 0216e55fa87a14fc45c320268f0511eb6638460b)
2008-04-08Add DsGetDcName call to libnetapi library.Günther Deschner4-0/+178
Guenther (This used to be commit 27780e984152e38c8f80e1c67ddf13b73a2b220d)
2008-04-08Fix includes in libnetapi examples common.cGünther Deschner1-1/+4
Guenther (This used to be commit 922ff9d01668c2c2ad10decfd09c0e7b3f0d7592)
2008-04-08Use popt in libetapi example code.Günther Deschner6-114/+187
Guenther (This used to be commit 6f239df3f5a57c9549f1637e53fd42d2ed604c3f)
2008-04-08Prefill in username in libnetapi ctx.Günther Deschner1-1/+9
Guenther (This used to be commit 394bdb89ef350db0ab6aca093054e1048a8ffe1f)
2008-04-08Restructure inner workings of libnetapi a bit.Günther Deschner7-680/+662
Guenther (This used to be commit a4e3bc2bade8bf74696e1c6ced74da563ff2df7b)
2008-04-07dbwrap: fix more "tdb_chainunlock failed" messagesMichael Adam1-1/+3
TALLOC_FREE(rec) before transaction_cancel also in dbwrap_trans_delete(). Michael (This used to be commit 04cd914a1f12691d27ddc67887a757cd813848a7)
2008-04-07increase log level for this failed setsockopt call. EINVAL is a normal error ↵Björn Jacke1-1/+4
on Solaris when we do this on an already resetted connection. (This used to be commit 42bc4ff7fd6bfc92bde015ae8f3a9fb62d443cd5)
2008-04-07Fix bug 5375Volker Lendecke1-3/+4
Thanks to Moskvin for testing (This used to be commit d3c31aa36c451f0a19496cd33c0b055b466e6b09)
2008-04-04Use sid_array_from_info3 in lookup_usergroups_cached().Günther Deschner1-1/+8
Guenther (This used to be commit 65b4cb20ea3fb806cfd50281e08f32bea70fafce)
2008-04-03libsmbconf: move initialization of registry value down after error checks.Michael Adam1-6/+6
Michael (This used to be commit 2a8029985f9bde4da8ca20bc24d937150eab444c)
2008-04-02Some fixes for netdomjoin-gui and support for browsing/joining OUs.Günther Deschner1-157/+390
Guenther (This used to be commit 4714bae0dbbb2ad010c2929f83de6bca84cfac46)
2008-04-02Make sure to hand down the domain name in libnetapi NetUnjoinDomain.Günther Deschner1-7/+11
Guenther (This used to be commit 0058ab30de943f134792e3d66051206086987110)
2008-04-01account_pol: use db_open_trans()Stefan Metzmacher1-2/+2
metze (This used to be commit 888c2802b7bda92baae2dd0c1596f5e04bc3bfaa)
2008-04-01account_pol: use dbwrap_trans_store_uint32()Stefan Metzmacher1-7/+1
metze (This used to be commit b1d63c8c1116f3429fb73aa6842105073385d1e8)
2008-04-01Convert account_pol.tdb to dbwrapVolker Lendecke2-37/+86
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 0b36871a0d795183f0e9dc78b654788b1988f06e)
2008-04-01dbwrap: fix a confusing "tdb_chainunlock failed" messageStefan Metzmacher1-1/+3
Unlock before we cancel the transaction... metze (This used to be commit d70a8e9c413a7d3993e0d11db5ae9cbc7fdb12c7)
2008-04-01dbwrap: add dbwrap_trans_store_uint32()Stefan Metzmacher1-0/+13
metze (This used to be commit 9e739b4c99a9aba5c5bb58f3b6a9fb949e24c581)
2008-04-01Add dbwrap_trans_*_bystringVolker Lendecke1-0/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 2cf2684a11027431e6a93992413a5a5a697a4ba0)
2008-04-01Convert dbwrap_trans_delete to NTSTATUSVolker Lendecke2-6/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit dead193f46c2b19955ab3e5ac5ba343694f4858a)
2008-04-01Convert dbwrap_trans_store to NTSTATUSVolker Lendecke2-16/+18
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 5f4de856af1abe63b13059bbe1615cb5877770d0)
2008-04-01Add dbwrap_[fetch|store]_uint32Volker Lendecke1-0/+39
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit f1dd915ce802645166e0c8fc79d18d5ad41cfe7a)
2008-04-01sharesec: use db_open_trans()Stefan Metzmacher1-2/+2
metze (This used to be commit 1c59142ccc46616c10b98c51601361f203d542d6)
2008-04-01Convert share_info.tdb to dbwrapVolker Lendecke1-17/+64
(This used to be commit bc9b4c43b8824cd53f9ab613bcbb94cd5193f43e)
2008-03-31Patch from Nicholas Brealey <nick@brealey.org> to distinguish between WinXP ↵Gerald W. Carter1-1/+4
and WinXP64. Defines a new value for the %a variable when detecting a Windows XP 64-bit client. (This used to be commit 0c94918fb52c5345ce30490046b79f81712c30bf)
2008-03-28Add a talloc context parameter to current_timestring() to fix memleaks.Michael Adam3-15/+23
current_timestring used to return a string talloced to talloc_tos(). When called by DEBUG from a TALLOC_FREE, this produced messages "no talloc stackframe around, leaking memory". For example when used from net conf. This also adds a temporary talloc context to alloc_sub_basic(). For this purpose, the exit strategy is slightly altered: a common exit point is used for success and failure. Michael (This used to be commit 16b5800d4e3a8b88bac67b2550d14e0aaaa302a9)
2008-03-28libreplace(samba4): let LIBREPLACE depend on LIBREPLACE_NETWORK for nowStefan Metzmacher1-1/+1
This should fix the build on solaris. Later this needs better fixing... metze (cherry picked from commit 89b7955733c34e9699a3b43ee54de92cb9469b90) (This used to be commit fcb497951a86551ce9c4be7b352335dad3be127a)
2008-03-28Fix a memory leakVolker Lendecke1-0/+2
(This used to be commit ce1bd43cdae63ff05aefaded419388e7b9e3ba9a)
2008-03-27dbwrap: fix dbwrap_trans_[delete|store]() to stop when transaction_start() ↵Michael Adam1-0/+2
failed. Michael (This used to be commit ab0aaed907fef233998ff0841d30eabef3263ee8)
2008-03-27dbwrap: add db_open_trans()Stefan Metzmacher1-0/+15
This should be used when transactions are wanted. For now it's just a wrapper of db_open(), but this will change. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 74a070b8a24fea1009e557f711b76fc14e8961dc)
2008-03-27dbwrap: add dbwrap_trans_store_int32()Stefan Metzmacher1-0/+15
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit f05e889bc05a816aef5b9ce4f22267e977dade01)
2008-03-27libreplace: fix coverity ID 517 - untangle close from open in test/os2_delete.cMichael Adam1-1/+8
This is not a proper bug but the code is clearer now and we are tracking failure of open separate from that of close. Michael (This used to be commit 451fc9ae05f841883081a334e179cf31625a772c)
2008-03-27libsmbconf: text - pass the cache instead of all private data to pm_process.Michael Adam1-40/+40
Michael (This used to be commit ee46f0eca6ea21d0c51103252fecf911bb448687)
2008-03-27libsmbconf: text - change the cache to be tallocedMichael Adam1-31/+47
instead of having it directly as a member in the private data struct. This makes it easier to flush and initialize the cache. Michael (This used to be commit 03efb72b4632e2bbb0838ca56a3e556448bda5c5)
2008-03-27libsmbconf: in text backend, put flushing of the cache into a helper function.Michael Adam1-6/+12
And use it also in the close operation. Michael (This used to be commit 8cb288124993eb59459e7e9777c65e58c0554d55)
2008-03-26Fix a bug in the output from print_canonical_sockaddr() fix from ↵Gerald W. Carter1-2/+8
36f8bafbd3dee66a8.... Make sure that IPv4 addresses are not enclised in []'s. (This used to be commit 4ddf58dbdc3d74cb72788ef4a2ec7587d4948c40)
2008-03-26libsmbconf: add a text backend to libsmbconf based on the params.c parser.Michael Adam2-0/+524
This is a simple implementation of text backend for libsmbconf. It is read only. It uses the parser from params.c. It loads the given config file and holds the parsed lists of strings in memory. Config is only re-read if the time stamp of the config file has changed. Brilliant performance on large files is not to be expected since the string lists are not hashed. This might be added in the future. Michael (This used to be commit 4ea50843852b335a9bd4c0535a5b684134ad8326)
2008-03-26smbconf: reformat - fix intentation.Michael Adam1-4/+4
This time this won't make me stumble, since there is no magic in indented function headers here - no automatic prototype generation... :-) Michael (This used to be commit 6d72fc4373adff01cf6e0e18f78082d1eab90064)
2008-03-26util_tdb: remove trivial and unused tdb_wipe().Michael Adam1-17/+0
It has been replaced by tdb_wipe_all(). Michael (This used to be commit cdde2e4eaca51d51f036ad99d55df7bfd6535b03)
2008-03-26use tdb_wipe_all() instead of tdb_wipe() - it is faster...Michael Adam1-1/+1
Michael (This used to be commit 3d2fdcd50fdbfb66a14360516836445d47eceeb0)
2008-03-26util_tdb: make the _byblob fetch/store functions public again.Michael Adam1-4/+4
Users of these are currently being written... Michael (This used to be commit 1c51bec5318bad085c09931aa7e8f72f41d103fe)