summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2008-09-14Remove unecessary msync.Jeremy Allison1-4/+0
Jeremy. (cherry picked from commit 0bae1ef3de8fda5e1e2d641b14a408e627396912) (This used to be commit db2acaf46fdc38078b6b28b68909e289f6c9e0ec)
2008-09-14The msync manpage reports that msync *must* be called before munmap. Failure ↵Simo Sorce2-2/+8
to do so may result in lost data. Fix an ifdef check, I really think we meant to check HAVE_MMAP here. (cherry picked from commit 74c8575b3f3b90ea21ae6aa7ccd95947838af956) (This used to be commit 8fd54bb55f0c23bd025d1719abcbe75c6a2ea8ac)
2008-09-14Attempt 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 (cherry picked from commit 3f884c4ae36f3260e63626bdd4989d9258ae6497) (This used to be commit 1d85e0647e287d269b3f6b534da88f497d6f76c3)
2008-09-14Fix warnings on SuSE 9.0.Stefan Metzmacher1-0/+8
The macros "[un]likely" are already defined on SuSE 9.0. Patch from Volker. (partialy cherry-picked 30d181c92463aecd6e649330d3645d86d5a17e43) metze (This used to be commit ad7ed33f786124e4afbba4330201a3a6463c6f73)
2008-09-14Fix bug 5400Volker Lendecke1-2/+2
Thanks to Jason Mader! Volker (cherry picked from commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2) (This used to be commit 34ab9e5a23458c9f9845d1ff808c142cb2f1f2a4)
2008-09-14Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.Stefan Metzmacher1-4/+4
(partialy cherry picked from commit 359921acd436684a0b4cf76ba15f82a224d2c337) metze (This used to be commit d89b8fee5210c7b4d8fad24edea34f9732aec708)
2008-09-14using NGROUPS_MAX instead of 32 for the max group value in rep_initgroups() ↵Yannick Bergeron1-1/+1
subroutine in lib/replace/replace.c (cherry picked from commit 13b1a232d2fe05ae3e924ea2503d05ff5084146e) (This used to be commit 0d2fb0e280e497094a4c95f8dca1383ee1cfa982)
2008-09-14Solve an IBM XL C/C++ compiler error encountered in get_exit_code() ↵Yannick Bergeron1-1/+2
auth_errors array initialization in client/smbspool.c (cherry picked from commit b45e7fabc64e699e4fa013ef15f98a004dae3f32) (This used to be commit 661f8e166118d257ab32a30392cd616db097bc4c)
2008-09-14Fix typo.Karolin Seeger2-2/+2
retieve -> retrieve Karolin (partialy cherry-picked from 37c64130701ab13b6f34998ac17fec2d128c2e08) metze (This used to be commit 4d92e6d582a5b2094b2aaa9008a54b37ccfcc2d7)
2008-09-14Correctly find a [u]int32_t replacementVolker Lendecke1-6/+15
(cherry picked from commit 346375cda557a675f8f882ca2ae8edffec725a72) (cherry picked from commit 15a53945c9563b4517bd8b69a9bb0554eef5edff) (This used to be commit 46c3fc67e91bbdb820e4bddd085933a8570e504c)
2008-09-14Fix replacement getpass. If we ^C at the prompt echo was left off.Jeremy Allison1-5/+2
Jeremy. (cherry picked from commit e54c71954ae484fe4a4e195db33440490e78e256) (This used to be commit d61a86b8cdb4dd474611baadc61a0c37db0f8e62)
2008-09-13rpc_server: don't send auth trailers in level connectStefan Metzmacher2-89/+80
Also ignore auth trailers in level connect on receive. This fixes [krb5,connect] against windows. TODO: maybe the gensec mech need to decide if signatures are needed in level connect. metze (This used to be commit 2e3629719790e7631d9de383b565dc8a0997bcfb)
2008-09-13librpc/rpc: don't send auth trailers in level connectStefan Metzmacher1-113/+77
Also ignore auth trailers in level connect on receive. This fixes [krb5,connect] against windows. TODO: maybe the gensec mech need to decide if signatures are needed in level connect. metze (This used to be commit eca0502b8620f2110a303b84def4f0bf48cc4ea5)
2008-09-13rpc_server: correctly calculate the auth paddingStefan Metzmacher1-3/+8
metze (This used to be commit e82468a8f538aa0cf6d477fb54cc0178c0d64574)
2008-09-13client free credentials when not needed anymoreStefan Metzmacher1-0/+7
(This used to be commit d982b69df638f17da6af398e2613986240031064)
2008-09-12Comment the delay write time tests so I know what they'reJeremy Allison1-3/+41
testing. Jeremy. (This used to be commit 2bf9074c7751324483744f55b02cfb044bb0b2dd)
2008-09-12Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into manpageJelmer Vernooij7-1836/+45
(This used to be commit eff27744d3dcb4f6bcdf9bd03583bb38634c398d)
2008-09-12Revert "Add option for generating coverage data from python tests."Jelmer Vernooij1-8/+0
This reverts commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef. (This used to be commit 696f30fff249656409f2efcc81b86a421d0c6880)
2008-09-12Remove ancient remains of first experimentations aboutSimo Sorce4-1781/+0
supporting a schema (This used to be commit 53b57300c799a079b4d64815243fe6120e0a9fa2)
2008-09-12Fix spellings and file namesSimo Sorce2-32/+32
(This used to be commit baddefd0a6fa430af1a3001064149127e0d29361)
2008-09-12Fix failure to load the schema on read-only DB.Andrew Bartlett1-23/+13
This also tries to simplify the logic in the schema -> @ATTRIBUTES and @INDEXES code. Andrew Bartlett (This used to be commit a383b8bf88a5681f9c9c6839ba645c872a735051)
2008-09-11Remove the complexity of transactions from the attributes-setting code.Andrew Bartlett1-16/+1
I think it is just too complex and error prone to init and cancel transactions during the module init code. Instead, this isn't prone to races as it will always achieve a steady state (eventually), and most cases will never do the write. Andrew Bartlett (This used to be commit d60977cc7f89f89f34187f310c91d1ab7db6ccf2)
2008-09-11Make cn=aggregate output less pretty, by more like Win2008.Andrew Bartlett1-2/+2
I'm not sure if this fixes bug #5713, as this is not consistantly reproducably on my equipment. Andrew Bartlett (This used to be commit 02d6645efc84179efd652dd29ab32f62ae310147)
2008-09-11Fix failures in the winbind struct-based test.Andrew Bartlett4-15/+0
Don't try to pass the 'privileged' socket directory around for expected value testing - it is just too hard... A better test (once we unify the winbind protocol with Samba3) would be a operation to see if you are on the priv pipe, and that will give acutal end-to-end testing. Andrew Bartlett (This used to be commit 2d4103518ab8a7286e65347b8b9b0ccb660e69f6)
2008-09-09Merge branch 'v4-0-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison3-3/+6
v4-0-test (This used to be commit 7cd0977a28e9973ff71e9e0146fef6e6771a72b5)
2008-09-09A truncate write must be a smbcli_smbwrite, not aJeremy Allison1-1/+1
smbcli_write. Jeremy. (This used to be commit 8cebd4d36c862dcdc6551dc6bf4dda2342dfede7)
2008-09-10Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett12-66/+107
(This used to be commit ed26195d0eda6dd1ca14508cfd31a48dde79d44f)
2008-09-10Return the same privilaged winbindd socket as we actually use.Andrew Bartlett3-3/+6
Andrew Bartlett (This used to be commit 2209787812fd9224d104f332e25d8ce64ef9ee95)
2008-09-10Fix uninstalling of binaries.Matthias Dieter Wallnöfer1-3/+3
(This used to be commit 6ad94d10f79f206fcdeb23cf71595e38c7a77855)
2008-09-10Merge branch 'v4-0-regClient' of git://repo.or.cz/Samba/mdw into manpageJelmer Vernooij4-16/+15
(This used to be commit 6ac32d0a10a9a27abceca362fcab04bcfc55c33f)
2008-09-09Only try with -LPYTHONDIR/lib when python-config output didn't work.Jelmer Vernooij1-3/+8
(This used to be commit 62d76356c10b4223236425c4db32c2fc5105d155)
2008-09-09Attempt to correctly find python on host sunxVolker Lendecke1-2/+3
(This used to be commit 59b62280d27a9e0a72241e4b60022be07e4cbce2)
2008-09-09Remove unused scripts for installing binaries.Jelmer Vernooij3-39/+1
(This used to be commit 677179234ecaa6980dedc2bb6f77c525b56b532f)
2008-09-09Fix up the "reg_common_open_remote" callMatthias Dieter Wallnöfer4-8/+9
This fixes up the "reg_common_open_remote" call because it didn't work anymore without the event context. (This used to be commit 42ab865fc937a625d1eece45abe96bf354ddff8b)
2008-09-09Two useful "regshell" improvementsMatthias Dieter Wallnöfer1-8/+6
This patch corrects the "change key" command (Follow up isn't supported yet) and adds a newline in a error message. (This used to be commit d1052dc42ef591208cfbf7059b28a078f6d4f0bf)
2008-09-09Remove calls to unused uninstallbin.shJelmer Vernooij1-2/+0
(This used to be commit 69956a5597b0339b7c0ee3f394d649421f037f03)
2008-09-09Add option for generating coverage data from python tests.Jelmer Vernooij1-0/+8
(This used to be commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef)
2008-09-09UNIX-WHOAMI: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit ec5d8ddadb76ff0d2cb72872e4d145a7527f0ec6)
2008-09-09drsblobs.idl: add parser for ExtendedErrorInfo see [MS-EERR]: ExtendedError ↵Stefan Metzmacher1-4/+72
Remote Data Structure metze (This used to be commit 3edbbb12bda8e19a9f5a72849bc79e0fad7976f8)
2008-09-09Fix reversed test trying to fix bug #5713Andrew Bartlett1-1/+1
(It instead ensured that only 'top' had a SUP keyword) This clearly shows that 937b466266256d26d02cf8d48e72a26272fe8627 was not a full or correct fix, but despite this I can no longer reproduce the issue. Further investigation is required. Andrew Bartlett (This used to be commit 95a9e9b6b84866cd300b1d19915627c6718b4dde)
2008-09-09Fix bug #5713 by correcting the generated schema.Andrew Bartlett1-1/+1
This bug is entitled 'Schema patch breaks interoperability with Microsoft MMC consoles.', and it does so very spectacularly. The issue is that we would include an entry: objectClasses: ( 2.5.6.0 NAME 'top' SUP top ABSTRACT.. The MMC Active Directory Users and Computers snap in presumably objected to the 'loop' this would present. The fixed entry is: objectClasses: ( 2.5.6.0 NAME 'top' ABSTRACT Thanks to Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> for his persistance in getting me to look at this. Andrew Bartlett (This used to be commit 937b466266256d26d02cf8d48e72a26272fe8627)
2008-09-08Make it easier to see when tests start/end.Jeremy Allison1-15/+52
Jeremy. (This used to be commit 6f89e728272ca14f0ed9557485e21647c0731ef2)
2008-09-08BASE-DELAYWRITE: test behavior of SMBwrite truncate, writeX, SMBwrite ↵Stefan Metzmacher1-0/+204
truncate and writeX again metze (This used to be commit 66b8c8d80e1c8e45ab6ca38cabebea07aa122c40)
2008-09-08BASE-DELAYWRITE: test behavior of writeX, SMBwrite truncate, writeX and ↵Stefan Metzmacher1-0/+206
SMBwrite again metze (This used to be commit 051164ba0a69d54aa706ffa876059e8dbbeacb36)
2008-09-08BASE-DELAYWRITE: demonstrate that a truncate write doesn't update the write ↵Stefan Metzmacher1-0/+157
time after SET_FILE_INFO metze (This used to be commit f81014db9d5afbf9e0b1c007bc56fc1d3a201309)
2008-09-08BASE-DELAYWRITE: demonstrate that the time between the open and the first ↵Stefan Metzmacher1-0/+159
write doesn't matter metze (This used to be commit 13d051cd633f4a4152d360453fe5297ad53cc7b5)
2008-09-08BASE-DELAYWRITE: test more details of the truncate write time update behaviorStefan Metzmacher1-4/+371
metze (This used to be commit 39367ef15fabbb52cd2c05be7ca59b25dc4aff71)
2008-09-08Make it clear that the MMR password can differ from the admin passswordAndrew Bartlett2-7/+9
In the future, we might simply randomly generate this, or allow the admin to specify it seperate to the admin password. However, both are highly sensitive, as they imply read access to the krbtgt. Andrew Bartlett (This used to be commit 57d19ad002c523fb9a09694e6710ab7f588d44ec)
2008-09-08Use DIGEST-MD5 authentication for OpenLDAP replicationOliver Liebel4-6/+31
This avoids passing rootdn passwords or replicated data in cleartext across the network. Signed-of-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit 67373c143a1d8a9f310fd116dbf81c1dd123b75f)
2008-09-08Add definition for SYSTEM_FLAG_ATTR_IS_RDNAndrew Bartlett1-0/+1
(This used to be commit 36f727c4a73ffc8634692b0c5645343cb414de93)