summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix Coverity ID 548Volker Lendecke2008-03-221-3/+5
| | | | | | | | | Günther, please check -- in all infolevels we do a comment=talloc_strdup Thanks, Volker (cherry picked from commit e2021c5b5710768968ae724220eb1e3f47c9e639)
* Fix Coverity IDs 553, 552Volker Lendecke2008-03-221-0/+4
| | | | (cherry picked from commit 1a0aed566b7e4fc75bf894aac6828bfa4152c3dc)
* Port 3c1f1f0797e from 3-0-ctdbroot2008-03-221-3/+57
| | | | | | We need to inform ctdb about the client's TCP connection so that after a fail over ctdbd can trigger the client to reconnect very quickly (cherry picked from commit ddc989886deff173b8a2a2a753a896770efe7545)
* Fix some warnings in the tsmsm moduleVolker Lendecke2008-03-221-4/+6
| | | | | Alexander, please check! (cherry picked from commit df574fd2ee58f008b93b06f4d78c85cb909cc92c)
* ntlm_auth: Improve compliance to the Squid helper protocolKai Blin2008-03-201-31/+44
| | | | | | | | | | This fixes bug #4235. Patch from Pawel Worach <pawel.worach@gmail.com> with some linebreaks added by me. Also fix one BH message that the original patch didn't fix. (cherry picked from commit 098380760d20bad2a45c3b12ab2a5e4d2b856175)
* !NT_STATUS_IS_OK != NT_STATUS_IS_ERRVolker Lendecke2008-03-201-1/+1
| | | | | | When reading from a pipe, Windows return STATUS_BUFFER_OVERFLOW which is *not* an error. (cherry picked from commit 24018d882d1b1cfece47c533fe5bbca91de124cc)
* Fix a warningVolker Lendecke2008-03-191-1/+1
| | | | (cherry picked from commit c40648ea4d7897c401a5a94703e586acfdaec13b)
* Merge dd9e0bea31751 from 3-0-ctdb -- use NetSamLogonEx when possibleVolker Lendecke2008-03-193-23/+90
| | | | | NetSamLogonEx has the advantage that it does not use the credential chain (cherry picked from commit cfceb063f559f8549b8f24ce347be213c89303b0)
* Fix some "nexted extern" warninsVolker Lendecke2008-03-191-8/+8
| | | | (cherry picked from commit 32fc759d942abb36d7dd351eff82925b6788dd28)
* Fix use of AuthDataWithContext capabilityDerrell Lipman2008-03-192-5/+20
| | | | | | | | | | | | | | | During my initial plans for, and the subsequent discussion of a more significant change to the API for libsmbclient, I had removed the AuthDataWithContext usage, in favor of a more generalized planned interface. When the API returned to its original state, I neglected to reinsert this code. Use of an authentication function with the context can be tested using examples/libsmbclient/testbrowse -C Derrell (cherry picked from commit 38eab68dfb2d8abe8ad00f5a86fc54c778d0d303)
* Fix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>Volker Lendecke2008-03-191-1/+1
| | | | (cherry picked from commit 5ec2dbd144a3bbfdb14deafd158bad48b2d41ca4)
* [samba-3-0-ctdb.tridge @ tridge@samba.org-20070602053809-kpw5kjkcyjs8yjbl]Andrew Tridgell2008-03-181-1/+1
| | | | | | suppress that darn message (cherry picked from commit 542e46a21898f6fcc8a0aeb63925607a60e0b99f) (cherry picked from commit 5e8c624c9c9775f255632717e6898d5f190ba51b)
* testparm: only check for %u und passwd program when passwd program is given.Michael Adam2008-03-181-5/+10
| | | | | Michael (cherry picked from commit af12b24c4f5e3b77d482a011b62a5a3e13be7d67)
* testparm: correctly check for empty lp_passwd_prog().Michael Adam2008-03-181-1/+3
| | | | | Michael (cherry picked from commit 0567f506986746173d67172cb610c10bacf0ceb9)
* testparm: fix irritating indentation.Michael Adam2008-03-181-2/+1
| | | | | Michael (cherry picked from commit a74f07243d80294167766dfc6bcad02a96afc079)
* testparm: fix a segfault triggered by setting "unix password sync = yes".Michael Adam2008-03-181-1/+0
| | | | | | | (introduced by pstring removal 041163551194102ca67fef52c57d87020a1d09bc) Michael (cherry picked from commit 46a021f27c60dc579c9193606997142f5cbeba9e)
* Fix bug 5334Volker Lendecke2008-03-183-0/+45
| | | | | I did not test with a zero length file :-) (cherry picked from commit 7d7a73944c2dcf078f7bc8de65d575f32f9aa851)
* Some simplificationsVolker Lendecke2008-03-183-10/+7
| | | | (cherry picked from commit b59b436997fba47afd02ffb6f1194dfaef229d44)
* Coverity fixesMarc VanHeyningen2008-03-1827-82/+162
| | | | (cherry picked from commit 3fc85d22590550f0539215d020e4411bf5b14363)
* In smbstatus, mark locking.tdb and sessionid.tdb as CLEAR_IF_FIRSTVolker Lendecke2008-03-181-2/+2
| | | | | | | | This is needed to inform ctdb that it's not a persistent database, with the O_RDONLY the tdb backend ignores this. Merge from 491f902098d33f in 3-0-ctdb (cherry picked from commit 065938ccb7bb0052746267c433637f0e05b95d85)
* Merge leftovers of 0e1a86bc845 in 3-0-ctdbVolker Lendecke2008-03-182-5/+4
| | | | (cherry picked from commit 64b1625f8e3bca43504871747bef6631e1b18f44)
* Use right control to attach to persistent databasesVolker Lendecke2008-03-181-2/+5
| | | | | | This is a merge of 2a8f8b26f08ab09c34dff82417e541d8eb1ec91c and 4e6508dfee0d872a7fa42c9e58ba565137a27b3f from 3-0-ctdb (cherry picked from commit 46e50da0d550e43de3aaf0141c64f25e1c9997c2)
* Add "net idmap aclmapset"Volker Lendecke2008-03-181-0/+65
| | | | | | This is a merge from 3-0-ctdb that goes along with 1daad835, the option nfs4:sidmap option (cherry picked from commit f5e26d28be6581149bed0b599c38b82d1a44444e)
* Convert pdb_tdb to use dbwrapVolker Lendecke2008-03-181-318/+316
| | | | (cherry picked from commit 948ab77863b12b1b0bd1c970004b84b9bb1bb2fa)
* Fix Coverity ID 567Volker Lendecke2008-03-181-1/+1
| | | | | | | | | | Jeremy, please push it if you like it and mark the bug as fixed on the Coverity site. Thanks, Volker (cherry picked from commit 2fd25423700cb60f20a8b8d6613279cb06fb518d)
* Need to close the /dev/zero fdVolker Lendecke2008-03-181-0/+2
| | | | (cherry picked from commit c2b2a9303d9c84ba4e059f13de9ccc401d08bd59)
* Fix Coverity ID 554Volker Lendecke2008-03-181-0/+3
| | | | (cherry picked from commit 471b1b0c58bc2def5d2fe9d98401def34724d447)
* Fix Coverity ID 555Volker Lendecke2008-03-181-0/+1
| | | | (cherry picked from commit 44122f06d02492a7a0a37413d6f975c3b1e3c283)
* Fix Coverity ID 563Volker Lendecke2008-03-181-5/+1
| | | | | dirmask is always set here, we've dereferenced it before anyway (cherry picked from commit e6787aa133a1b241987319486c3bc46ac6ad41af)
* Fix Coverity ID 564Volker Lendecke2008-03-181-10/+0
| | | | | finfo1==NULL just does not happen in current code (cherry picked from commit 9ea0078c3151984a901c9bba559ae2bd7959e077)
* Allocate one 0-byte in asprintf replacement when len==0Volker Lendecke2008-03-181-1/+1
| | | | | Some S3 code depends on this. (cherry picked from commit dc3d5e16452bf30055638ba3cfe99097fb557156)
* Fix bug 5317Volker Lendecke2008-03-181-1/+1
| | | | | Thanks to oster@cs.usask.ca (cherry picked from commit f18a80575921a241c7243c5af5a0101a2956ff17)
* Fix bug 4901Volker Lendecke2008-03-181-3/+8
| | | | (cherry picked from commit 1dd8fa9a521046f1de8173ac00224706c5249665)
* Convert mapping_tdb.c to dbwrapVolker Lendecke2008-03-182-292/+281
| | | | | | | I know, this is not used anymore, but until ldb knows about ctdb which is blocked by the lack of transactions in ctdb, a tiny patch reactivating mapping_tdb.c might be needed for cluster setups. (cherry picked from commit 8e0fa453a3d0a2c997a935b6940796612c972708)
* Clean up add_mapping_entry slightlyVolker Lendecke2008-03-181-9/+11
| | | | (cherry picked from commit 38bb69cb316ba605a6d3a4454b986cb63ace3c21)
* Cleanup after pstring removalVolker Lendecke2008-03-181-1/+1
| | | | (cherry picked from commit 66d2a9c87411be88269bbb3a4d3c0a218a55be06)
* Convert secrets.c to use dbwrapVolker Lendecke2008-03-181-128/+93
| | | | (cherry picked from commit 9d30e5991c6fe77ef5fd505efb756554bbe77256)
* Use a separate tdb for mutexesVolker Lendecke2008-03-187-82/+71
| | | | | | | | Another preparation to convert secrets.c to dbwrap: The dbwrap API does not provide a sane tdb_lock_with_timeout abstraction. In the clustered case the DC mutex is needed per-node anyway, so it is perfectly fine to use a local mutex only. (cherry picked from commit f94a63cd8f94490780ad9331da229c0bcb2ca5d6)
* Convert secrets_lock_trust_account_password to tallocVolker Lendecke2008-03-182-12/+31
| | | | | This is preparing the conversion of secrets.c to ctdb (cherry picked from commit 1307f0130c47b8d740d2b7afe7a5d8d1a655e2a2)
* Make use of talloc_asprintf_strupper_m in secrets.cVolker Lendecke2008-03-181-37/+21
| | | | (cherry picked from commit 3ac4f935c074af768d0b83514f86d010c387817a)
* Avoid some pointless checksVolker Lendecke2008-03-181-12/+0
| | | | | secrets_init() makes sure that the tdb is initialized (cherry picked from commit 8725dbc8888cf7a1d3d9d1205678fcd3ca3c6350)
* Use talloc_tos() in secrets_initVolker Lendecke2008-03-181-12/+5
| | | | (cherry picked from commit 27065382d9b692b5885265c9d60ffb7ec7748c38)
* Fix Coverity ID 551Volker Lendecke2008-03-181-0/+2
| | | | | | | Correctly return if we can't create the temporary krb5.conf Jeremy, please check! (cherry picked from commit c2401811aa3d02a9e27969687b9ea035407000c3)
* Enable libnetjoin debugging for now but avoid printing passwords.Günther Deschner2008-03-183-2/+13
| | | | | | | The gen_ndr needs proper fixing still. Guenther (cherry picked from commit 966d7244d7765d285a7026b97e6093fd1f8d83ce)
* Add dbwrap_trans_store and dbwrap_trans_deleteVolker Lendecke2008-03-181-0/+79
| | | | (cherry picked from commit e66e502bee65fe44944d325ebeeaa3bf56169eb8)
* Add transactions to the dbwrap APIVolker Lendecke2008-03-184-0/+48
| | | | | | Only filled in for tdb so far, for rbt it's pointless, and ctdb itself needs to be extended (cherry picked from commit 0a55e018dd68af06d84332d54148bbfb0b510b22)
* add dbwrap_change_int32_atomicVolker Lendecke2008-03-181-0/+28
| | | | (cherry picked from commit 4ee21a98bc3d1c41a6d8868e98118c58372b2d1a)
* registry: untangle assignment and if-clause in init_registry_data().Michael Adam2008-03-171-1/+2
| | | | | Michael (cherry picked from commit 64664d25cf84e5e0f4a4876b2c38c127b310dbc5)
* registry: convert regdb REGISTRY_OPS to named struct initializers.Michael Adam2008-03-171-9/+8
| | | | | Michael (cherry picked from commit 3ea0a0beb47bf91b71d949de5abb797177721dcc)
* registry: use talloc instead of malloc and provide common exit pointMichael Adam2008-03-171-13/+13
| | | | | | | in regdb_get_secdesc(). Michael (cherry picked from commit df848d8eeeb102288a3acb9a0f8a7015e0c6ca6b)