summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* mailslot/dsgetdcname: do what XP does and request nt_version 11.Günther Deschner2008-05-221-5/+32
| | | | | | | | | | This allows dsgetdcname to query for a flat, non-dns domain name and come back with all information about the DC (site names, guid, forest, etc.) based on a mailslot reply. The version 11 request is downgraded to version 1 in case we do a query against NT4. Guenther (cherry picked from commit d8b2ff3c8769e8da9c21dec483e6edb7aa2d00f3)
* mailslot: allow to give back struct nbt_ntlogon_packet.Günther Deschner2008-05-223-3/+15
| | | | | Guenther (cherry picked from commit 2b178dcae608ecc05f62593a7a0c2a127b8b7ca2)
* mailslot: make sure we are looking at the correct reply structure.Günther Deschner2008-05-221-4/+21
| | | | | Guenther (cherry picked from commit c6ce07fdf57c8b63ba6d72b622be261723cb55e3)
* mailslot: allow to define nt_version in send_getdc_request().Günther Deschner2008-05-223-4/+6
| | | | | Guenther (cherry picked from commit ce3728191b23badfd5eb92701e4cebf84273b61e)
* libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly ↵Stefan Metzmacher2008-05-221-1/+1
| | | | | | | | detected metze (cherry picked from commit 84b5652d3e5766521436e4c7d59615b08b2bb198) (cherry picked from commit f7e0bff88a23be0e7cbbd7eab60ed49bcdda04fa)
* configure: samba_cv_unixsocket was renamed into libreplace_cv_HAVE_UNIXSOCKETStefan Metzmacher2008-05-221-1/+1
| | | | | metze (cherry picked from commit 5967d2a5d6e9547d868bd85e3f3d3936bbd07fa9)
* configure: remove HAVE_IPV6 test as LIBREPLACE_NETWORK_CHECKS already have thisStefan Metzmacher2008-05-221-23/+0
| | | | | metze (cherry picked from commit c03fa242403fe28bc2b6ea84834457ce2410d3ca)
* libreplace: add test for HAVE_IPV6Stefan Metzmacher2008-05-221-0/+29
| | | | | | | | Samba can later just check libreplace_cv_HAVE_IPV6 = yes. metze (cherry picked from commit e835e7eebcc064ce0813814796828f15ad112fbd) (cherry picked from commit 757071e59e4c1be0971b68d33833c621ed6bf361)
* configure: make use of LIBREPLACE_NETWORK_LIBS instead of redoing the testsStefan Metzmacher2008-05-221-37/+3
| | | | | metze (cherry picked from commit 4b484426f52d5ed37af117f5ade63816f1c9b0ea)
* configure: remove some header checks which are already done by ↵Stefan Metzmacher2008-05-221-4/+3
| | | | | | | AC_LIBREPLACE_NETWORK_CHECKS metze (cherry picked from commit d4bf447361bd52546c6944fbf6ee96637aa725ed)
* lib/replace: move sys/sockio.h and sys/un.h checks into ↵Stefan Metzmacher2008-05-222-1/+1
| | | | | | | | AC_LIBREPLACE_NETWORK_CHECKS metze (cherry picked from commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020) (cherry picked from commit 4bb7873cf0ddc8832fa94baeb6a817e4783e30f4)
* configure: remove unused configure checks for HAVE_SOCK_SIN_LEN and ↵Stefan Metzmacher2008-05-221-28/+0
| | | | | | | HAVE_UNIXSOCKET and rely on libreplace metze (cherry picked from commit ff5cecdec74cd58ef64e166b5d7a55584afa23f6)
* lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKETStefan Metzmacher2008-05-221-0/+40
| | | | | | | | Moved from the samba specific locations metze (cherry picked from commit e674128ee2f11596f358ed46104c9d25eb2f754f) (cherry picked from commit c403965f5723177b42f393df20a29b07dceae1cb)
* configure: remove unused configure check for HAVE_WORKING_AF_LOCALStefan Metzmacher2008-05-222-103/+0
| | | | | metze (cherry picked from commit 0aef5ed43b81e0cb9b19f21125f270016a311f58)
* libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6Stefan Metzmacher2008-05-221-0/+13
| | | | | | metze (cherry picked from commit da2179ee5d5b6094ab63a9d9d6a8d59893937087) (cherry picked from commit 9f931829aaeda8004e7ee3b8b2ac9ddaab8bffb7)
* libreplace: make sure system/network.h is only used when ↵Stefan Metzmacher2008-05-222-0/+5
| | | | | | | | AC_LIBREPLACE_NETWORK_CHECKS was used metze (cherry picked from commit 3fddd36e119f73a5021370450f9687ef9d252bab) (cherry picked from commit 0b26742234467ac1dcfda059e81a35a1cd5e96ed)
* libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS varsStefan Metzmacher2008-05-221-17/+18
| | | | | | metze (cherry picked from commit aa7ef1af746319a3d771decd0ec03dabe8b8ad28) (cherry picked from commit 84daf26558f675fd07e3ac9a699e06801814e393)
* libreplace: include inet_ntoa.o when the system one is brokenStefan Metzmacher2008-05-221-2/+3
| | | | | | metze (cherry picked from commit 67845d3471711d24069636d0d4032f9d53748334) (cherry picked from commit c44c0636ade08751edc7dce4ea0e2a2279aa0eac)
* libreplace: merge getifaddrs.m4 into libreplace_network.m4Stefan Metzmacher2008-05-222-129/+127
| | | | | | metze (cherry picked from commit 0234d397fefee8e1d0dcd3402f748c2251021c90) (cherry picked from commit 3ed6f285eca540d6c58aac84c6f50f949519b742)
* libreplace: merge getaddrinfo.m4 into libreplace_network.m4Stefan Metzmacher2008-05-222-33/+33
| | | | | | metze (cherry picked from commit 64591d064dc3da6074f0f7539911a6e433d9cc43) (cherry picked from commit c5df0a4faffdd16c3fb3ecdc5720842d6fe49e55)
* libreplace: merge socketpair.m4 into libreplace_network.m4Stefan Metzmacher2008-05-222-2/+2
| | | | | | metze (cherry picked from commit f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad) (cherry picked from commit 3adda27f3eecb5ea027c35e974e3b6bb5fe3b83e)
* libreplace: merge inet_pton.m4 into libreplace_network.m4Stefan Metzmacher2008-05-222-2/+2
| | | | | | metze (cherry picked from commit 3a70274c908e31453942b442351eab8423c1a53d) (cherry picked from commit 784b37987c51806b225371ea1f1bdc416de3dfd1)
* libreplace: merge inet_ntop.m4 into libreplace_network.m4Stefan Metzmacher2008-05-222-2/+2
| | | | | | metze (cherry picked from commit 223ef6c08efb52251d0a772bb0c481b2803cf0ce) (cherry picked from commit 97483e2830971d34ef0775159bfd07402e3d284e)
* libreplace: merge inet_aton.m4 into libreplace_network.m4Stefan Metzmacher2008-05-222-2/+2
| | | | | | metze (cherry picked from commit fba00736c870f449c0eee32fe0d7b0d539dca51f) (cherry picked from commit b90a6c5cbf2912c9cc2961de4efc880502a3441e)
* libreplace: merge inet_ntoa.m4 into libreplace_network.m4Stefan Metzmacher2008-05-222-20/+20
| | | | | | metze (cherry picked from commit 82e826253b6d18832931dbb5c1dda009889bf9e0) (cherry picked from commit 66126edaf425ccdfc5bed90252493235878d4fc1)
* libreplace: merge socket.m4 into libreplace_network.m4Stefan Metzmacher2008-05-222-40/+40
| | | | | | metze (cherry picked from commit c70eba87dbbac6c2c1e68c343cdd410577c1686f) (cherry picked from commit 236ce0ac6f949c2dd42f5df06e39af69b779d61e)
* Fix typo.Jelmer Vernooij2008-05-221-1/+0
| | | | | (cherry picked from commit bd089818a3182698dfe85039c1b2e22d8c2835bb) (cherry picked from commit 7a3cb33c6d9d14907777f55abd6421bab89b34b2)
* Add undefined symbol flag for AIX.William Jojo2008-05-221-0/+4
| | | | | (cherry picked from commit dabdf24e86f038e3afc67532fa5bf60a37992161) (cherry picked from commit fdf2a94583949150fd426f44cd33265fc6fd9d6e)
* libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone buildStefan Metzmacher2008-05-221-0/+1
| | | | | | metze (cherry picked from commit 04f4523ed032946b8f0e74ac6f7458010159e3bb) (cherry picked from commit f7d298760d9822d7a437507a49f2140352212411)
* libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for sambaStefan Metzmacher2008-05-221-0/+1
| | | | | metze (cherry picked from commit 7adf41795027dba9648912373220fa0dcf9bb42a)
* libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for sambaStefan Metzmacher2008-05-222-1/+1
| | | | | | metze (cherry picked from commit 3451b54bf7f5e37a589ec261d28c2a8b6f9788ed) (cherry picked from commit a004b38a953d64e77b58bdb99d0af946e2cae2cf)
* libreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macroStefan Metzmacher2008-05-222-63/+73
| | | | | | | | Note: moving it out of AC_LIBREPLACE_BROKEN_CHECKS will be the next step metze (cherry picked from commit 55a904b1d7aeca849d450e371b18afca5b0c6218) (cherry picked from commit a7969f94f854594dbe6ef3ff630e242d27ad618e)
* libreplace: always provide utime() and utimes()Stefan Metzmacher2008-05-226-1/+200
| | | | | | | | | | | | I'd like to also provide futimes(), but it seems that some systems doesn't support a it at kernel level. If someone knows how to write a portable replacement for futimes() please tell me... metze (cherry picked from commit a9604fe4a323dccb537cf02ea7594437b4995803) (cherry picked from commit cde0db60402a69a05dea51b5b8f01789e93406e7)
* libreplace: check how portable utimes() and futimes() areStefan Metzmacher2008-05-221-0/+1
| | | | | | metze (cherry picked from commit 8798ce3c744025b94973784dcb44d099427ef190) (cherry picked from commit 1c01674624db5a2dae3afe9ba213a69c2ee2efda)
* Fix bug #5479, print spool shares require max_xmit toJeremy Allison2008-05-221-1/+6
| | | | | | be adhered to. Jeremy. (cherry picked from commit 03a1b791f1ce41f67bf134024bbc8d116b42ea48)
* netapi: fix returned name buffer in NetGetJoinInformation_r().Günther Deschner2008-05-211-1/+5
| | | | | Guenther (cherry picked from commit 0e8e05d556a7f84e500cca3fa858f9b4a9522a5f)
* netdomjoin-gui: before prompting for creds (for receiving joinable ous), ↵Günther Deschner2008-05-211-1/+31
| | | | | | | find a dc. Guenther (cherry picked from commit ae60695a349bccd1128e6c439664b0607627ef23)
* netdomjoin-gui: before prompting for creds, ask dsgetdcname for a dc.Günther Deschner2008-05-211-0/+35
| | | | | Guenther (cherry picked from commit 47146effc1c2bca516d4fbccf221b5b0e02737bf)
* net: Display net rpc trustdom usage from net rpc trustdomKai Blin2008-05-211-1/+1
| | | | (cherry picked from commit d923d3acdf2c47e8d1dff0951edabe37ba5078c0)
* Fix typo.Günther Deschner2008-05-211-1/+1
| | | | | Guenther (cherry picked from commit d3dd7ea5a77414c0d802668ab5bfbe3487b66926)
* Fix a valgrind error in _samr_LookupNamesVolker Lendecke2008-05-211-5/+8
| | | | (cherry picked from commit fb0a25d59ddd28ea1d5af33ec7d9f817fac3fb9d)
* Convert in_transaction to a bool. Add the same fix VolkerJeremy Allison2008-05-211-4/+9
| | | | | | used for tdb_traverse() to tdb_traverse_read(). Jeremy. (cherry picked from commit a0e1d8ac4dd9121312fd66ecb2e2942513df5a4b)
* Fix nesting tdb_traverse in a transactionVolker Lendecke2008-05-211-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 (cherry picked from commit fd0b60a9e000f969cf99a8d670080cc7a52d97d8)
* Fix bug #5477 - recvfile code was broken.Jeremy Allison2008-05-212-8/+14
| | | | | Jeremy. (cherry picked from commit 47eb2e8fa858d9f12637eb9a10466271335f61aa)
* Fix memcache_flush()Volker Lendecke2008-05-211-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 Please merge! Thanks, Volker (cherry picked from commit 006e45fba01e05c664359e8104d495609d9555f7)
* Enable use of Relocations Read-Only, if supported, for enhanced security.Simo Sorce2008-05-202-2/+29
| | | | (cherry picked from commit c20c5f082162ff6c0c2931f456897334aa002e83)
* Enable winbind child processes to do something with signals,Jim McDonough2008-05-202-12/+27
| | | | | | | | | in particular closing and reopening logs on SIGHUP. Conflicts: source/winbindd/winbindd.c (cherry picked from commit 36c51951c6bca7d9b56b02cd6469e9c5a1c5147f)
* Make sure to zero the returned handle in _svcctl_CloseServiceHandle().Günther Deschner2008-05-201-0/+2
| | | | | Guenther (cherry picked from commit 84a079af490cb135dd557091932ea079e1d7ff5b)
* rpcclient: Add tiny fix for cmd_samr_get_dispinfo_idx().Günther Deschner2008-05-201-2/+3
| | | | | Guenther (cherry picked from commit c15b5d73badafdc93066197aefaaaa72e37a8b99)
* rpcclient: Add getdispinfoidx command.Günther Deschner2008-05-201-0/+62
| | | | | Guenther (cherry picked from commit 7d8461d080c92a83bd7a8d168fdf1fe98e8bec9a)