summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* winbindd: call reinit_after_fork() in the child processesStefan Metzmacher2008-04-212-6/+4
| | | | | metze (cherry picked from commit 8e9fdef792e612e414444e7714a2fd4513892248)
* nmbd: create the messaging conntext earlierStefan Metzmacher2008-04-211-3/+12
| | | | | metze (cherry picked from commit 056ff094ad2c59992cfdb8b29696c08dab4113d7)
* nmbd: call reinit_after_fork() in all needed casesStefan Metzmacher2008-04-212-0/+10
| | | | | metze (cherry picked from commit f68829ff14c457bfa98cb2ef9e8ec2e1a0b1d64d)
* printing: call reinit_after_fork() in the backgroundqueue processStefan Metzmacher2008-04-211-0/+5
| | | | | metze (cherry picked from commit 9adb675a86e81c90e2bddfe984b5ac8f201fec75)
* smbd: create the messaging conntext earlierStefan Metzmacher2008-04-211-11/+16
| | | | | metze (cherry picked from commit 658d8475336c4397e0dad341f216baf9e1eb6aaf)
* smbd: call reinit_after_fork() in the needed placesStefan Metzmacher2008-04-211-16/+6
| | | | | metze (cherry picked from commit 425b3513a45cf98b53235470a3536be86d56d1c2)
* loadparm: make it possible to just load the config without following ↵Stefan Metzmacher2008-04-211-10/+43
| | | | | | | "include =" statements metze (cherry picked from commit 6b5c76bf1e880ec60d6b044c58115940549049e5)
* util: add reinit_after_fork() functionStefan Metzmacher2008-04-211-0/+30
| | | | | metze (cherry picked from commit 5f6c3a4f6db68c985884cbe9401a4dbe515f756b)
* smbd: merge "smbd:backgroundqueue=no" option from the v3-0-ctdb treeStefan Metzmacher2008-04-211-2/+4
| | | | | metze (cherry picked from commit 16d295d466eb18e3bccce6fb26d53012d5f2c3e8)
* messages_ctdbd: autocreate a ctdb connection, this will fix segfaults in the ↵Stefan Metzmacher2008-04-211-0/+18
| | | | | | | client tools metze (cherry picked from commit 6f67c4ddf8101b1d06889055e3767a6ce0db360c)
* messages_ctdbd: make sure a ctdbd connection is only used in the process ↵Stefan Metzmacher2008-04-211-1/+11
| | | | | | | that created it metze (cherry picked from commit 259786980a3a65fa67a4de12a65d33095fa53ce2)
* loadparm: reactivate special semantics of "include = registry" for now.Michael Adam2008-04-211-0/+18
| | | | | | | This includes the configuration stored in HKLM/Software/Samba/smbconf . Michael (cherry picked from commit 42c7fb4ddfab9ff7592593533099ae872c1edca7)
* loadparm: remove pfunc parameter from process_registry_globals().Michael Adam2008-04-211-4/+5
| | | | | | | Use do_parameter() directly. Michael (cherry picked from commit 59b81bfd0abecb190d0c49e62581b26f10b96829)
* auth: add SeDiskOperatorsPrivilege to get_root_nt_token to fix registry shares.Michael Adam2008-04-211-0/+2
| | | | | Michael (cherry picked from commit 6bb107b17d557c27d035ca518ab61296814a3cea)
* lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!Stefan Metzmacher2008-04-211-2/+4
| | | | | metze (cherry picked from commit ccdebe97f85b76378e42d8cf08324228bd19cf32)
* pdb_tdb: fix the upgrade code, db_traverse returns the number of records!Stefan Metzmacher2008-04-211-1/+3
| | | | | metze (cherry picked from commit baaf571d540ace5119c528fd35bceab335bd6741)
* add AC_TRY_RUN_STRICT support for Sun Studio compilerBjörn Jacke2008-04-161-0/+12
| | | | (cherry picked from commit ce7025df2958dac284ec9e5ce47ab172c3aa2567)
* Fix typo.Günther Deschner2008-04-161-5/+5
| | | | | Guenther (cherry picked from commit fed644372916a5e565e4f5352aab61b39a3a42a0)
* Don't fill password policy structure for any domain other than our own.Gerald W. Carter2008-04-161-3/+15
| | | | | | The samr connects will fail. This is not independent of the CONTACT_TRUSTDOM flag neede by krb5 logins. (cherry picked from commit 4de4949e3bfcfb2169c329f19cb76936d9043d50)
* Fix part of bug #3617 from valgrind trace.Jeremy Allison2008-04-162-3/+4
| | | | | | "Invalid read of size 1" errors. Jeremy. (cherry picked from commit d954a4954ba8ed6cb2c6074176a6008cfa398dd7)
* libnetapi: fix a C++ warning by making implicit cast explicitMichael Adam2008-04-131-1/+1
| | | | | Michael (cherry picked from commit b62dd61cc56ec33601289fd4e23058c7f9ad3f0d)
* dbwrap_tdb2: fix a C++ warning by making implicit cast explicitMichael Adam2008-04-131-3/+3
| | | | | Michael (cherry picked from commit 18ced7e42072953a1968db15b0a344b54214b83d)
* selftest: samba3 passes RAW-SEARCH nowStefan Metzmacher2008-04-131-1/+1
| | | | | | | As the resume key tests are skipped against samba3. metze (cherry picked from commit c765090871ed68a9ba650bca44f5f3b88997ea14)
* groupdb: readd groupdb:backend parametric optionStefan Metzmacher2008-04-131-2/+20
| | | | | | | | | This reverts c5adb92c020e38644baf1afc8fc570a518cd6307. The reason is that ldb doesn't work for cluster setups yet. metze (cherry picked from commit 5f5d90ef76b969ecbe564399368a7450c4e3d155)
* groupdb: make mapping_tdb compatible to mapping_ldbStefan Metzmacher2008-04-131-1/+1
| | | | | | | | | mapping_ldb replaces the record if it already exists. I'm not sure if that a good thing, but for now both backends should provide the same behavior. metze (cherry picked from commit b313acdd31c97d032c3890764addf66c6b9a4d89)
* dbwrap: wait for tdb2 change notifies in smbd, nmbd and winbinddStefan Metzmacher2008-04-134-3/+23
| | | | | metze (cherry picked from commit 64450cc1e441355aa8925b7183e90872eeab20b1)
* dbwrap: use db_open_tdb2() in for db_open_trans() if "dbwrap:use_tdb2=yes"Stefan Metzmacher2008-04-131-2/+57
| | | | | | | | | | For clustered setups you need to disable the ctdb backend for each tdb which should use the tdb2 backend (e.g. ctdb:registry.tdb=no). To disable tdb2 per tdb use something like "tdb2:passdb.tdb=no" metze (cherry picked from commit 5cea2bf3673c982bafeef4a8bbd3bd2ab73cc0c5)
* dbwrap: add dbwrap_tdb2 backendStefan Metzmacher2008-04-133-1/+1275
| | | | | | | | | | | | | | | | | | | | | This backend can be used untill ctdb knows about real transactions. It stores a master tdb in a shared location and a readonly copy on the local harddisk. Reads are always on the local tdb and writes always on both. Change notify messages are send to all message context, which ask for them. With the notifies it's possible to just update the changed records, instead of copying all records (which is the fallback). You need to configure: dbwrap:use_tdb2=yes dbwrap_tdb2:master directory=/some/shared/path dbwrap_tdb2:local directory=/var/lib/samba metze (cherry picked from commit aa6230de0d5f1875aa8c12c4fc017d3a40f90890)
* rerun 'make idl'Stefan Metzmacher2008-04-133-0/+95
| | | | | metze (cherry picked from commit f34dad2b4ad97a845729ea0fb5beba7fd6cb7265)
* messaging.idl: add structure to marshall dbwrap_tdb2 changesStefan Metzmacher2008-04-131-0/+15
| | | | | metze (cherry picked from commit 46a0d8e872af1ab420705a514c1d7b1b21459f82)
* messaging: add MSG_DBWRAP_TDB2_CHANGES flagStefan Metzmacher2008-04-131-0/+3
| | | | | metze (cherry picked from commit 7418c3ab1d8f18403f5a43817b2cc14e15090fca)
* messaging: add FLAG_MSG_DBWRAP message class flagStefan Metzmacher2008-04-132-0/+4
| | | | | metze (cherry picked from commit ee6325495f48bab43a37d740a6eca57192004d57)
* registry: move normalize_dbkey() from lib/util_reg.c to registry/reg_util.cMichael Adam2008-04-132-7/+10
| | | | | | | This function is only used inside registry code. Michael (cherry picked from commit 48745e3fbd6b38f39678938b8c3f145769065e7b)
* Fix a confusing variable nameVolker Lendecke2008-04-131-2/+2
| | | | (cherry picked from commit 32c992e9573c9af34cd142393287e2f3538d2dd9)
* Fix a segfaultVolker Lendecke2008-04-131-1/+1
| | | | (cherry picked from commit 40d1d64c6a2ae128eb3fce0e7f5351b0c5942f30)
* libreplace(samba4): let LIBREPLACE depend on LIBREPLACE_NETWORK for nowStefan Metzmacher2008-04-131-1/+1
| | | | | | | | | This should fix the build on solaris. Later this needs better fixing... metze (cherry picked from commit 89b7955733c34e9699a3b43ee54de92cb9469b90) (cherry picked from commit fcb497951a86551ce9c4be7b352335dad3be127a)
* libreplace: replace.c does not need system/network.h anymore.Michael Adam2008-04-131-1/+0
| | | | | | Michael (cherry picked from commit 2d3c2f34f33338ff422047dae9cc262522689328) (cherry picked from commit 03a980d8f67ee1516c357807c23a405f07a006b3)
* libreplace: move rep_socketpair() to its own module.Michael Adam2008-04-136-24/+55
| | | | | | | | | | | | Prototype is now in system/network.h, implementation in socketpair.c, and check in socketpair.m4. Now the last networking function has vanished from replace.c. Michael (cherry picked from commit 94ac8a25be15b55f66eff96fdddc2fdc71a43b1e) (cherry picked from commit 6c53753246b8108fe1277b34958e122bd800c4e7)
* libreplace: remove duplicate entry of inet_ntoa from README.Michael Adam2008-04-131-1/+0
| | | | | | Michael (cherry picked from commit 98ee8c84300757d778733a458c6ca3e6022b40ea) (cherry picked from commit a4f22d6e2b3fc198327deabf4a724cd476e4144c)
* libreplace: remove trailing white spaces.Michael Adam2008-04-132-2/+2
| | | | | | Michael (cherry picked from commit 1f9ca7eed965904f67cf78fbac007432b8a057fd) (cherry picked from commit a1d24f110b3edff636174e017eb56ba5b10df590)
* libreplace: replace inet_ntoa() when it is missingMichael Adam2008-04-136-34/+61
| | | | | | | | | | | | | | | | | | | | | ...not only replace it when it is broken. This moves the defintion of rep_inet_ntoa from replace.c to inet_ntoa.c and adds configure checks for existence of inet_ntoa(). Checks are moved to an include file of its own. NOTE: The original rep_inet_ntoa in replace.c was wrapped into a "#ifndef WITH_PTHREADS" but the prototype in replace.h and the define in system/network.h were not. I removed that ifndef since the inet_ntoa() function is usually not thread safe anyways, since it returns a pointer to a static buffer. So whoever calls inet_ntoa() should be aware that it is not thread safe anyways. Michael (cherry picked from commit 974c0c45ad42644348e0b55454715b12158f1028) (cherry picked from commit edcf2712bcdedabbfdd9ee8b9a18f46126930636)
* libreplace: put inet_aton.c under LGPL instead of GPL.Michael Adam2008-04-131-9/+13
| | | | | | Michael (cherry picked from commit cca5d6626fe395f08fd4c8b2344e4e43646cb987) (cherry picked from commit f69e51f56f111d9bd5db69e191f45567aacf8c3d)
* libreplace: remove unused SOCKET_LIBS and NSL_LIBSStefan Metzmacher2008-04-131-3/+0
| | | | | | metze (cherry picked from commit 62bb177a6e4a3e1f949b78c7cd7583f2e1271739) (cherry picked from commit f27d5e0cf80c49d81091a385cbfd0801b5483825)
* libreplace: for samba4 create LIBREPLACE_NETWORK as EXT_LIBStefan Metzmacher2008-04-131-0/+3
| | | | | | metze (cherry picked from commit 79037c31334e271a718fcac234148038814b591e) (cherry picked from commit b141fce01dd40b25cce52852cd93f0f907c3b008)
* libreplace: use LIBREPLACE_NETWORK_LIBS within some configure checksStefan Metzmacher2008-04-132-3/+3
| | | | | | | | ...instead of using SOCKET_LIBS and NSL_LIBS. metze (cherry picked from commit cef2e8d748756f61c248ad6660e85dd1ac36308a) (cherry picked from commit 7854ed24a57162fa7569d8f36633f3c156067b0b)
* libreplace: combine SOCKET_LIBS and NSL_LIBS to LIBREPLACE_NETWORK_LIBSStefan Metzmacher2008-04-131-7/+9
| | | | | | | | But keep the old ones untill the callers are fixed. metze (cherry picked from commit e7115dcc8a0a4f420de7a901e3a21d4f35a6fcf9) (cherry picked from commit 2dee62ed12910a4d22381677bcf884dca0d999ea)
* libreplace: fix samba4 build (by not setting global LIBS).Michael Adam2008-04-132-3/+3
| | | | | | | | | | | | | This corrects the earlier fix of the standalone build, by setting LIBS to the desired value only in configure.ac but not in getifaddrs.m4. Not that this changes the standalone build in that it adds these libs undconditionally and not only if they are needed by the getifaddrs replacement functions. Michael (cherry picked from commit ff3af1703ddc9e5383f32156bc5be8351f795e76) (cherry picked from commit 2546da817f666914c1c220ec1fedc19aa41b25ad)
* libreplace: add -I$libreplacedir to CPPFLAGS for getifaddrs tests.Michael Adam2008-04-131-0/+4
| | | | | | | | | This is needed, otherwise $libreplacedir/system/network.h does not find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.). Michael (cherry picked from commit 297c3bece094ddb5f268b02e61e33f512ccfe6f5) (cherry picked from commit ddd564e8bf2b115aa5dbcbebd4be30b749ad8752)
* libreplace: add an inet_aton() function that calls inet_pton().Michael Adam2008-04-136-0/+42
| | | | | | | | | inet_aton() is even needed inside libreplace, in the implementation of rep_getaddrinfo(). Michael (cherry picked from commit bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919) (cherry picked from commit 83baff78ce752a9129554a456cc24d043d419cd1)
* libnetapi: fix dependency problem by linking libnetapi statically (internally)Michael Adam2008-04-121-0/+7
| | | | | | | | This is a workaround until we have isolated enough internal libraries as shared libraries. Michael (cherry picked from commit 8a87e402701494ba1c9d56a9febe3e5c25dc2bf7)