summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-06-03netapi: add NetLocalGroupDel() example code.Günther Deschner2-1/+90
Guenther (This used to be commit 6ebd618cc768df142b035362cc648d8bc2c1bc89)
2008-06-03netapi: add NetLocalGroupDel() to public headers.Günther Deschner1-0/+17
Guenther (This used to be commit efd4a899f5d139b5e3e22660f5fb1c12f59525fc)
2008-06-03netapi: Implement NetLocalGroupDel().Günther Deschner1-2/+137
Guenther (This used to be commit d2426f53fabaf75d130fb99216b71299f4371253)
2008-06-03netapi: add NetLocalGroupDel() skeleton.Günther Deschner3-0/+68
Guenther (This used to be commit 4234c87c6c30434bc5bcfcc003fdaa0114e9d74a)
2008-06-03netapi: add NetLocalGroupAdd() example.Günther Deschner2-1/+113
Guenther (This used to be commit ce60450d831ee2f4ab18c3ce09decee548ec4543)
2008-06-03netapi: add NetLocalGroupAdd to public api.Günther Deschner1-0/+33
Guenther (This used to be commit 05ded246426415b61597d003ffac519847c08620)
2008-06-03netapi: Implement NetLocalGroupAdd().Günther Deschner1-2/+153
Guenther (This used to be commit f68f75a6e4b4ba8b38cac7578c65dc7361315b28)
2008-06-03netapi: add NetLocalGroupAdd() skeleton.Günther Deschner3-0/+97
Guenther (This used to be commit 528544d4ce8fa27940a2f5e3c989cf37ef888f94)
2008-06-03netapi: use libnetapi_samr_open_domain().Günther Deschner2-607/+87
Guenther (This used to be commit b07445e86f43d6e9e45b7c502ab7998bca4db14f)
2008-06-03netapi: add libnetapi_samr_open_domain().Günther Deschner2-0/+111
Guenther (This used to be commit a99906f661faa104da4b40707597ceb4542548f8)
2008-06-03netapi: Add NetGroupDelUser() example.Günther Deschner2-1/+98
Guenther (This used to be commit 1a8df720306662c2109654c8666cd33dcb769ec4)
2008-06-03netapi: Implement NetGroupDelUser().Günther Deschner2-2/+186
Guenther (This used to be commit 10f69b3ce58be06d95e4dfd5782d9481f4af76bf)
2008-06-03netapi: add NetGroupAddUser() example.Günther Deschner2-1/+98
Guenther (This used to be commit 7ebe949643a53f636a942171147f0be5e32b4a37)
2008-06-03netapi: implement NetGroupAddUser().Günther Deschner2-2/+185
Guenther (This used to be commit c727a49519b2da6c5eb9ccc5025ab844fe8330ad)
2008-06-03netapi: add dummy implementation for NetGroupAddUser() and NetGroupDelUser().Günther Deschner3-0/+138
Guenther (This used to be commit 6eba84edc60829f0cdf3508520625e66fe88afde)
2008-06-03netapi: add NetGroupGetInfo() example code.Günther Deschner2-1/+129
Guenther (This used to be commit 99c8f7e90c6ac512dbb0c3eefb55c74b4d097d62)
2008-06-03netapi: Implement NetGroupGetInfo_r().Günther Deschner1-2/+213
Guenther (This used to be commit a8baa45aecc22763a9f86e722ca1c6b7bc88b150)
2008-06-03netapi: add dummy implementation of NetGroupGetInfo().Günther Deschner4-0/+93
Guenther (This used to be commit 88d03b1645d78334eb6f1fee52838a08539a6aba)
2008-06-03netapi: Add NetGroupSetInfo() example code.Günther Deschner2-1/+149
Guenther (This used to be commit a81b302953eca90d5fb2998fb655406324f67865)
2008-06-03netapi: implement NetGroupSetInfo_r().Günther Deschner1-2/+225
Guenther (This used to be commit 4d11c32874f4cbc64c7bcb2092970fa5c07b1d0e)
2008-06-03netapi: Add dummy implementation of NetGroupSetInfo().Günther Deschner4-1/+104
Guenther (This used to be commit 7e47bdc0829d7ac856028a99389310f721a265ce)
2008-06-03netapi: let NetGroupAdd_l and NetGroupDel_l call the remote functions.Günther Deschner1-2/+2
Guenther (This used to be commit d62eae5705e001ed7e39832b52ae139c19549ab8)
2008-06-03netapi: add NetGroupDel() example code.Günther Deschner2-1/+89
Guenther (This used to be commit 08f345741110c6e25fa6a4349885c3066acf5205)
2008-06-03netapi: implement NetGroupDel_r().Günther Deschner1-2/+209
Guenther (This used to be commit bcf3df6ca96845755eee6c762f57548de8aba610)
2008-06-03netapi: add NetGroupAdd() example code.Günther Deschner2-1/+97
Guenther (This used to be commit 53272e29ad9c2a6c81ab35a405c57b1799f3f832)
2008-06-03netapi: implement NetGroupAdd_r().Günther Deschner1-2/+237
Guenther (This used to be commit b00bff961ea786b0cbd8ec7faf554efae72169ea)
2008-06-03netapi: Add NetGroupDel/NetGroupAdd header.Günther Deschner1-0/+71
Guenther (This used to be commit 84104cb900774fd2987636e59e562477c3ed2977)
2008-06-03libnetapi: add dummy implementation for NetGroupAdd() and NetGroupDel().Günther Deschner3-1/+157
Guenther (This used to be commit d690f9e9f8b8a0aeda311913589ae48805f7e3b8)
2008-05-28Security fix for CVE-2008-1105: Boundary failure when parsing SMB responsesJeremy Allison1-13/+5
can result in a buffer overrun. Jeremy. (This used to be commit 23b825e9d2c74c5b940cf4d3aa56c18692259972)
2008-05-28Fix Bug #5285. (libcap header mismatch)Günther Deschner1-0/+5
Can someone with gpfs available test this ? The only codepath using this function is the modules/gpfs.c module. The fix resolves at least the build issues Samba has with recent kernel / libcap versions by using the portable cap_get_proc()/cap_set_proc() interface (instead of using capget/capset). Guenther (This used to be commit 177955141247a4eb56ba0d82dc1add7f52175c40)
2008-05-28lib/events: use mem_context given to event_context_init().Michael Adam1-1/+1
Michael (This used to be commit f872a1f4428ed64bcfd832d981eea6446f05339e)
2008-05-25Remove some references to get_current_username() and current_user_infoVolker Lendecke1-5/+3
(This used to be commit 344d69f95e217d16213eaa6b53141af6ab459708)
2008-05-23drsuapi: add all code required for our drsuapi rpc client.Günther Deschner2-0/+709
Guenther (This used to be commit 7c93190843e77764be4d0f6d4f0b93061c192c98)
2008-05-22libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly ↵Stefan Metzmacher1-1/+1
detected metze (cherry picked from commit 84b5652d3e5766521436e4c7d59615b08b2bb198) (This used to be commit b28b63c911efe17ba37c15c9b74edd96e9584832)
2008-05-22libreplace: add test for HAVE_IPV6Stefan Metzmacher1-0/+29
Samba can later just check libreplace_cv_HAVE_IPV6 = yes. metze (cherry picked from commit e835e7eebcc064ce0813814796828f15ad112fbd) (This used to be commit 1ca4508f3a996982a528942da1b12b94b91e94cd)
2008-05-20Convert in_transaction to a bool. Add the same fix VolkerJeremy Allison1-4/+9
used for tdb_traverse() to tdb_traverse_read(). Jeremy. (This used to be commit bda0f03fb3fa8a7b14d4f54bee7076d691cad44f)
2008-05-20Cleanup size_t return values in callers of convert_string_allocateTim Prouty6-186/+221
This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
2008-05-20Fix nesting tdb_traverse in a transactionVolker Lendecke1-3/+8
Calling tdb_traverse inside a transaction led to the transaction lock being held indefinitely. This was caused by the tdb_transaction_lock/unlock inside tdb_traverse: The transaction code holds the global lock at offset TRANSACTION_LOCK. The call to tdb_transaction_lock does nothing because the transaction_lock is already being held. tdb_transaction_unlock inside tdb_wrap resets tdb->have_transaction_lock but does not release the kernel-level fcntl lock. transaction_commit later on does not release that fcntl lock either, because tdb->have_transaction_lock was already reset by tdb_transaction(). This patch does fix that problem for me. An alternative would be to make tdb->have_transaction_lock a counter that can cope with proper nesting, maybe in other places as well. Volker (This used to be commit 80e700e3bd73f2ffa38046bdcba7f532e25198ef)
2008-05-20Fix bug #5477 - recvfile code was broken.Jeremy Allison1-0/+10
Jeremy. (This used to be commit 830337f054a6c0646d85df33d9958e99283e727a)
2008-05-20Fix memcache_flush()Volker Lendecke1-5/+34
I have no idea what I've been smoking when I checked this in :-( Karolin, this fixes the join bug 3.0.28->3.2.0rc1 Thanks, Volker (This used to be commit f845dbbceeff032cd248117ddf63af3d3736b21c)
2008-05-19Convert messages_local.c to use "struct tdb_wrap"Volker Lendecke1-15/+17
This works around a problem with smbcontrol opening messaging.tdb twice. Very likely this is not the right fix. Michael, please check. Volker (This used to be commit 9d52cf3f9394eb78465173bad53ea8dc86512213)
2008-05-19If no node number is given, default to the current node in smbcontrolVolker Lendecke1-1/+1
(This used to be commit b4b3b6b1c6a336220c6afd68b153a769397ecded)
2008-05-17lib/replace: move sys/sockio.h and sys/un.h checks into ↵Stefan Metzmacher2-1/+1
AC_LIBREPLACE_NETWORK_CHECKS metze (cherry picked from commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020) (This used to be commit c97ff995e41d1cd31a7169e95ca415078da4a16c)
2008-05-17lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKETStefan Metzmacher1-0/+40
Moved from the samba specific locations metze (cherry picked from commit e674128ee2f11596f358ed46104c9d25eb2f754f) (This used to be commit 951b8c757ada337229a4efe81e6532d15fa0b63a)
2008-05-16netdomjoin-gui: before prompting for creds (for receiving joinable ous), ↵Günther Deschner1-1/+31
find a dc. Guenther (This used to be commit ae60695a349bccd1128e6c439664b0607627ef23)
2008-05-16libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6Stefan Metzmacher1-0/+13
metze (cherry picked from commit da2179ee5d5b6094ab63a9d9d6a8d59893937087) (This used to be commit 151d62da1321322615daadabb41d049974f5fe6a)
2008-05-16libreplace: make sure system/network.h is only used when ↵Stefan Metzmacher2-0/+5
AC_LIBREPLACE_NETWORK_CHECKS was used metze (cherry picked from commit 3fddd36e119f73a5021370450f9687ef9d252bab) (This used to be commit cd37fdb2401bfd6c23160e34f03238faa1f5cbd3)
2008-05-16libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS varsStefan Metzmacher1-17/+18
metze (cherry picked from commit aa7ef1af746319a3d771decd0ec03dabe8b8ad28) (This used to be commit dbbc05c87ba2b2d9b3247cfba58bc1a3f12ad4f5)
2008-05-16libreplace: include inet_ntoa.o when the system one is brokenStefan Metzmacher1-2/+3
metze (cherry picked from commit 67845d3471711d24069636d0d4032f9d53748334) (This used to be commit 734ade407ed8d5b61a831509c3efc90fc521fe1b)
2008-05-16libreplace: merge getifaddrs.m4 into libreplace_network.m4Stefan Metzmacher2-129/+127
metze (cherry picked from commit 0234d397fefee8e1d0dcd3402f748c2251021c90) (This used to be commit d7038405d68eb3c69ef10f63ce37db838eb44b7a)