summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-08-13packaging: bump the rhel-ctdb rpm releas number to ctbd.28Michael Adam1-1/+1
Michael (This used to be commit 185e24249d3dea1755558a154aa819db3bb1a605)
2008-08-13Do not call testparm in /etc/init.d/smbVolker Lendecke1-4/+5
For SOFS, we do know that we have netbios disabled, and testparm in the ctdb shutdown event locks up due to a locked registry.tdb (This used to be commit 285d55d2a273f18ec9b84011c74a8099cba193c2)
2008-08-13keep compatibility with v3-0-ctdb name for fileid:mapping optionAndrew Tridgell1-1/+1
(This used to be commit 2856d2e4a43fbcc6c8f8ac7b1613828170362861)
2008-08-13update configure.rpm for clustered Samba usageAndrew Tridgell1-31/+40
(This used to be commit 87c9f7717fc8171644c244fe697cace2968b8f8a)
2008-08-13Add winbind:online check timeout parameterVolker Lendecke1-0/+16
This is a band-aid for the rather convoluted offline/online mess in winbind right now. Winbind re-uses the offline functionality that is targeted at domain client installations on laptops to not overload disfunctional DCs. It uses the winbind cache timeout as the retry timeout after a DC reboot. I am using a parametric options because when this mess is cleaned up, that parameter needs to go away again. I'd recommend to use something like winbind:online check timeout = 30 in typical LAN environments. This means a reconnect is attempted every 30 seconds. Volker (This used to be commit 9920473cc165e75ee9aa5cbb9e568eb5fb67e9e6)
2008-08-13Attempt to fix bug 5684Volker Lendecke1-1/+1
With the ctdb checkin dde9f3f006 tdb optimized out write lock checks for write-enabled transaction. Sadly, this also removed the possibility to ever remove dead records left over from tdb_delete calls within a transaction. Tridge, please check this! Did dde9f3f006 have any reason beyond performance optimizations? Thanks, Volker (This used to be commit 3f884c4ae36f3260e63626bdd4989d9258ae6497)
2008-08-13Attempt to fix the build on Irix CCVolker Lendecke1-1/+3
(cherry picked from commit 666bf8456ac44cbbbd5524af2bf4fd89e18ddf62) (This used to be commit 8819c51809cabe6ad0843f3838de53e785a10b47)
2008-08-12Merge from Herb. print correct test statusJeremy Allison1-1/+2
(This used to be commit 8cb7ae011c8b8cb244e9b87a3ad51e27646411b6)
2008-08-12Fix bug 5686 - libsmbclient segfaults with more than one SMBCCTX.Jeremy Allison8-38/+63
Here is a patch to allow many subsystems to be re-initialized. The only functional change I made was to remove the null context tracking, as the memory allocated here is designed to be left for the complete lifetime of the program. Freeing this early (when all smb contexts are destroyed) could crash other users of talloc. Jeremy. (This used to be commit 8c630efd25cf17aff59448ca05c1b44a41964b16)
2008-08-12use variables for files used in multiple placesHerb Lewis1-17/+19
(cherry picked from commit cee044bc42d955c535dbb6bb372af01089d37756) (This used to be commit 2462562b5c90bc1c46237cd980810b0a69cd116d)
2008-08-12Make sure to always set errno on error path in OpenDir (and hence ↵Michael Adam1-0/+1
scan_directory). Michael (This used to be commit 15fc2427f91da697e0e91f7f34b0f0c6e230a9a5)
2008-08-12Fix unix_convert() for "*" after changing map_nt_error_from_unix().Michael Adam1-1/+1
map_nt_error_from_unix() now assumes that it is called in an error path and returns an error even for a given errno == 0. The original behaviour of unix_convert() used the mapping of errno == 0 ==> NT_STATUS_OK to return success through an error path. I think this must have been an oversight, and unix_convert() worked only by coincidence (or because explicitly using the knowledge of the conceptually wrong working of map_nt_error_from_unix(). This patch puts this straight by not interpreting errno == 0 as an error condition and proceeding in that case. Jeremy - please check! Michael (This used to be commit ec5956ab0df1b3f567470b2481b73da9c3c67371)
2008-08-12I found lots of places where we assume error will be set when callingAndrew Tridgell2-4/+12
one of our virtualised functions, such as db_open(), but error is only set when a system call fails, and it is not uncommon for us to fail a function internally without ever making a system call. That led to us passing back success when a function had in fact failed. I found two places where we relied on map_nt_error_from_unix() returning success when errno==0, but lots and lots of places where we relied on the reverse, so I fixed those two places. map_nt_error_from_unix() will now always return an error, returning NT_STATUS_UNSUCCESSFUL if errno is 0 (cherry picked from commit 69d40ca4c1af925d4b0e59ddc69ef8c26e6501d1) (This used to be commit 834684a524a24bb4eb46b4af583d39947dc87d95)
2008-08-12ensure we give an error code to any routines above that are lookingAndrew Tridgell1-0/+3
for one (This used to be commit 469ba9b87103aa0053c371e481acc5acf0f98ac1)
2008-08-12cifs.upcall: negatively instantiate keys on errorJeff Layton1-2/+10
When a request-key upcall exits without instantiating a key, the kernel will negatively instantiate the key with a 60s timeout. Older kernels, however seem to also link that key into the session keyring. This behavior can interefere with subsequent mount attempts until the key times out. The next request_key() call will get this negative key even if the upcall would have worked the second time. Fix this by having cifs.upcall negatively instantiate the key itself with a 1s timeout and don't attach it to the session keyring. Signed-off-by: Jeff Layton <jlayton@redhat.com> (This used to be commit f760dd3f3128c846cdeab16cc52bbb5189427955)
2008-08-12Remove two unused variablesVolker Lendecke1-2/+1
(This used to be commit 257b0401ee675b6b7eddf2b46a0f8115940e6640)
2008-08-12Do not create a new mapping if a domain with an explicit config failsVolker Lendecke1-0/+18
(This used to be commit 2c27de44269198e22c323191dd4762d1aab81b22)
2008-08-12Make the docs actually buildVolker Lendecke2-5/+5
Thanks to Karolin for the friendly build service :-) (This used to be commit 4bfc7cb662411d245f3ad7613bec8531d9ce3a57)
2008-08-12Document idmap rewriteVolker Lendecke13-158/+115
(This used to be commit 4b9132e8bd1b2bc397b657ef07796f44d55f33da)
2008-08-12Some doxygen comments for idmapVolker Lendecke2-15/+157
(This used to be commit adecc6d91338e7e34afd0672aada5d0e47247a33)
2008-08-12Fix prototypesVolker Lendecke2-19/+25
(This used to be commit 8b9d12714679745b98755e6805e71b75828ce227)
2008-08-12Remove "idmap alloc config : range" parameterVolker Lendecke3-135/+76
This was overwritten by "idmap uid/gid" anyway. These are now the range parameters for the alloc backend. (This used to be commit d563a7b80dc3e759069db2cd54d596a1b8c55191)
2008-08-12idmap rewriteVolker Lendecke20-1051/+656
(This used to be commit 30a180f2fce8cf6a3e5548f6bba453272ba70b33)
2008-08-12Remove the multi-ID lookup code and the 3.2.0 version of idmap_cacheVolker Lendecke5-1069/+0
(This used to be commit 1bd98521dc3f16ad77ccccd3979288c58e03ebe8)
2008-08-12Directly call backends from idmap_[ugs]_to_[ugs]idVolker Lendecke2-22/+45
(This used to be commit f955407042e6d2384acccc399d72ff65ba0e721c)
2008-08-12Move the gid2sid cache to the parent winbind processVolker Lendecke2-19/+158
(This used to be commit a86a6835e2737fdbdf1f36bcd594d4b01a60acb9)
2008-08-12Move the uid2sid cache to the parent winbind processVolker Lendecke3-19/+160
(This used to be commit 6e885aeabba2265a06b726f567cb14dde12c8ccb)
2008-08-12WHATSNEW: fix one occurrence of 3.2.0 to say 3.3.0.Michael Adam1-1/+1
Michael (This used to be commit 82b132c4749eb3b6f56b9954655cd8be5cc762a3)
2008-08-11libnetjoin: support kerberized joining/unjoing (fix #5416).Günther Deschner2-21/+49
Guenther (This used to be commit da6e0f4f375aa533c4c765891c960070478972eb)
2008-08-11netapi: add NetLocalGroupSetMembers example code.Günther Deschner2-0/+147
Guenther (This used to be commit 4fea49ae83510225c51c580a2bea2c664851bb39)
2008-08-11netapi: add NetLocalGroupDelMembers example code.Günther Deschner2-0/+147
Guenther (This used to be commit b2a413148e470e059c877f4e54955ab61559edee)
2008-08-11netapi: add NetLocalGroupAddMembers example code.Günther Deschner2-0/+147
Guenther (This used to be commit 01c4640b1ca66c3285fd23d447d08db12cf83b42)
2008-08-11netapi: implement NetLocalGroupSetMembers_r().Günther Deschner1-7/+69
Guenther (This used to be commit bb52ba58e47364d7c7ed38862a007e8e3d9dc104)
2008-08-11netapi: implement NetLocalGroupDelMembers_r().Günther Deschner1-5/+36
Guenther (This used to be commit bd31d8f9ec9a24ca68e1d5441c0cafd98132060f)
2008-08-11netapi: implement NetLocalGroupAddMembers_r().Günther Deschner1-2/+260
Guenther (This used to be commit 53dc9a11810b93a1771304fbfbf4ae84f551612b)
2008-08-11netapi: add NetLocalGroup*Member calls to public headers.Günther Deschner1-0/+57
Guenther (This used to be commit d4a51bb01d33ad17db4e623085a89d258e91b57e)
2008-08-11netapi: add skeleton for NetLocalGroup*Member calls.Günther Deschner3-0/+311
Guenther (This used to be commit 563fb06107d2d3279e08c5c801a940f03229131b)
2008-08-11re-run make idl.Günther Deschner3-2/+276
Guenther (This used to be commit b6b24094daf170f457bc414d8e17e43effab6e1b)
2008-08-11netapi: add remaining NetLocalGroup*Member calls to IDL.Günther Deschner1-0/+84
Guenther (This used to be commit c06dfb823548de3652778c67918335578f194678)
2008-08-11netapi: add NetUserModalsGet and NetUserModalsSet tests.Günther Deschner1-0/+55
Guenther (This used to be commit a9c444a342968b539918c082b78af8640f8c87cd)
2008-08-11netapi: implement NetUserModalsSet_r.Günther Deschner1-2/+466
Guenther (This used to be commit bb345187b7c62e9ad214037120545addd87a666d)
2008-08-11netapi: implement NetUserModalsGet_r.Günther Deschner1-2/+372
Guenther (This used to be commit 7f7e6ca9091101aa7a3dc275c1d0258d97743f4b)
2008-08-11netapi: add example code for NetUserModalsGet and NetUserModalsSet.Günther Deschner3-0/+284
Guenther (This used to be commit 316575b412e19008ecb6729f97e93b6103d8ba56)
2008-08-11netapi: add NetUserModalsGet and NetUserModalsSet to public headers.Günther Deschner1-0/+62
Guenther (This used to be commit b4c912bfbc62768ff4d7ecb39c02dc4a2a9825d2)
2008-08-11netapi: add skeleton for NetUserModalsGet and NetUserModalsSet.Günther Deschner3-0/+140
Guenther (This used to be commit 5648145bec3bd24ecedea24a8834ac6768bfc640)
2008-08-11re-run make idl.Günther Deschner3-16/+171
Guenther (This used to be commit 36c5de4702c03bd71d689aaecea87168133021c2)
2008-08-11netapi: add NetUserModalsSet and NetUserModalsGet to IDL.Günther Deschner1-0/+75
Guenther (This used to be commit 2af33ceeb8bece347d67e27a662a7cd0a58f75f8)
2008-08-11doserr: add WERR_MEMBER_IN_ALIAS.Günther Deschner2-0/+2
Guenther (This used to be commit b62de0d1944de3dba55e182e0d8eb7c6ca5ec045)
2008-08-11netapi: add NetApiBufferAllocate.Günther Deschner2-0/+33
Guenther (This used to be commit 99cc8f023b4ad9210b677e11371f404048752031)
2008-08-11netapi: add ConvertStringSidToSid().Günther Deschner2-0/+41
Guenther (This used to be commit 36f1e45e4ec295115f1ba39ec7ad3690a96dac3e)