summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-09-10Fix some bogus compiler warningsVolker Lendecke1-5/+10
(This used to be commit 84ed752d9f17b2279bd60f534ce7c02b267a40b2)
2008-09-09Fix make test on sparc and possibly also on AIXVolker Lendecke1-1/+3
(This used to be commit 5721205bff539ed5f8592a86168679ec5a9c368e)
2008-09-09Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-develJelmer Vernooij9-44/+814
(This used to be commit c3d1b0097590566417bda3fa33a64e994c9c7526)
2008-09-09Stop ignoring .svn directories when creating tags, since we no longer useJelmer Vernooij1-2/+2
svn. (This used to be commit 151c78652a89146049a134f60aef509c2117c436)
2008-09-09Rename object variables to avoid clashes with Samba 4.Jelmer Vernooij2-6/+8
(This used to be commit c77758de5d6df28abaffe3f8a1d7b5cbc615605e)
2008-09-09Convert cli_query_secdesc to the async trans callVolker Lendecke1-21/+16
(This used to be commit ab41017896e08d32c8a87bf172654ff2db6b6f1a)
2008-09-09Convert cli_qfileinfo to the async trans callVolker Lendecke1-21/+19
(This used to be commit ddc5e77b619db7c2369b3bf72b60360051797087)
2008-09-09Add async trans/trans2/nttrans calls to libsmbVolker Lendecke2-0/+722
Logic stolen from Samba4, naturally the specific implementation differs a bit. (This used to be commit 4b8bc5b03d35d563104791c0d8317d9886e4f032)
2008-09-09Add some debug to reply_nttransVolker Lendecke1-0/+11
(This used to be commit 23e9fed28cf9998534b3c55f4b20a562da507552)
2008-09-09Move setting the mid field in req->outbuf from _cork to _uncorkVolker Lendecke1-1/+1
The async trans calls need this, as for secondary trans calls they have to modify the MID from what cli_request_chain() gave us. (This used to be commit c85de4b7b5db8b54b8bf0f91acbd6d08d1b0bc9d)
2008-09-09Add utility function cli_in_chain()Volker Lendecke2-0/+16
This gives a hint whether a function is called from within the middle of a chain. In particular the trans calls don't really like this. (This used to be commit 4252b32db5ef7483f2c5c52312b6e6dc68d1d687)
2008-09-09make smb_bytes_push_str publicVolker Lendecke2-1/+2
(This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)
2008-09-09Add a utility function to append a DATA_BLOB to a talloc objectVolker Lendecke2-0/+27
(This used to be commit d8259cbe666d96cc468203a64fb208c02a64849f)
2008-09-09packaging(RHEL): add makerpms.git.sh to build rpms from inside a git checkoutMichael Adam1-0/+149
This expects a path to a release docs tarball (.tar.bz2) in the DOCS_TARBALL environment variable. The tarball should have a prefix of "docs/". Michael (This used to be commit d87c2192ab7b68b2f68442c50618d94146d77ad9)
2008-09-09packaging(RHEL): use ccache if availableMichael Adam1-6/+6
Michael (This used to be commit e8abbfabde3da0844ffb4e2507084c139a70d503)
2008-09-09packaging(RHEL): add ldbtools binaries and man pages to common packageMichael Adam1-0/+12
Michael (This used to be commit 206985dfda5a9f62df975629046b00a88ec666f5)
2008-09-09packaging(RHEL): add cifs.upcall binary and manpage to client packageMichael Adam1-0/+2
Michael (This used to be commit f1b80bcb58b8aa5c586835dc201ce674b3417835)
2008-09-09packaging(RHEL): fix installation of pam modules.Michael Adam1-5/+2
Michael (This used to be commit 0f045f18ebaa752b9d906afc64fd5badb3bf352c)
2008-09-09packaging(RHEL): remove leftovers of smbmount from SPEC file.Michael Adam1-4/+0
Michael (This used to be commit 041875c64daba3d185b1954eb0eb9a21b2f41ee1)
2008-09-09packaging(RHEL): add new libs (talloc, tdb, ...) to the common packageMichael Adam1-0/+11
Michael (This used to be commit f23183bbec55faf2d6496e04e73f8dd415a08d1c)
2008-09-09packaging(RHEL): remove workaround code for libsmclient/sharemodes installationMichael Adam1-15/+0
With 3.3.0, this is not needed any more (libdir/modulesdir separation and corrected library creation). Michael (This used to be commit 5348e28f6674cab643b42c1265c24983d9a9189d)
2008-09-09packaging(RHEL): fix libdir installation by using _libarch/_libarchdirMichael Adam1-30/+39
Michael (This used to be commit 829f83c27ad03e4d2a7b5dc0b0459823fa4f3804)
2008-09-09packaging(RHEL): remove libmsrpc stuff which is no more...Michael Adam1-10/+0
Michael (This used to be commit 3eaa33e9df6d58ef93f13a840b38a063649fffbc)
2008-09-09packaging(RHEL): remove duplicate installation of pam_smbpass.soMichael Adam1-3/+0
Michael (This used to be commit cdc24fbb195b1a5460c05fcd20d7ba81ad69ef22)
2008-09-09packaging(RHEL): remove smbmount related stuff from spec fileMichael Adam1-10/+0
Michael (This used to be commit 4420cf6199e3c718a3dea84fe814d6ad6e83c2d8)
2008-09-09packaging(RHEL): don't make proto for samba 3.3Michael Adam1-2/+0
Michael (This used to be commit 75c28699496d843e21eefef564c72023b24975a1)
2008-09-09packaging(RHEL): use --libdir and --with-modulesdir instead of --with-libdirMichael Adam1-1/+2
Michael (This used to be commit dc6625637fb9de7d64d4416a1eb43f214590d393)
2008-09-09packaging(RHEL): fix version of GPL (2 --> 3)Michael Adam1-1/+1
Michael (This used to be commit c015e8e0cf4131f21305451943df13b81f51ea6a)
2008-09-09Fix a memleak in cli_qfilename (only used in smbtorture)Volker Lendecke1-0/+5
(This used to be commit 7e0cca19fec078c0b46807492a7a035f4fab612b)
2008-09-08Fix calculation of useable_space for trans2 and nttrans repliesVolker Lendecke2-18/+19
When alignment was in place, we pretended to send more data/params according to the param_offset/param_length and data_offset/data_length parameters than would actually fit into the SMB according to the NBSS length field. (This used to be commit ef3c132b8455c6fe4d0bb9f0be881040a806a4ed)
2008-09-08When setting an NFSv4 ACL, map generic bitsVolker Lendecke1-0/+4
(This used to be commit dbe7a61be2beac50d1665e38ac374cefbbabec00)
2008-09-08Thanks metze for pointing out the missing extern :-)Volker Lendecke1-1/+1
(This used to be commit b62540cd48212a80c8cb4a264f740591a0229944)
2008-09-08smbd: some write time fixesStefan Metzmacher2-8/+8
- only the first non truncating write causes the write time update with 2 seconds delay. It's not enough to check for an existing update event as it will be NULL after the event was triggered. - SMBwrite truncates always update the write time unless the sticky write time is set. - SMBwrite truncates don't trigger a write time update on close. metze (This used to be commit 3d17089b6dc773303c8c553f3f6140e60e348fb7)
2008-09-08Remove some duplicate codeVolker Lendecke1-6/+1
(This used to be commit 564bfe94ac87c918482ade65980270326dc8ed6d)
2008-09-08packaging(RHEL-CTDB): add fix for versions containing "-" signs.Michael Adam1-0/+1
Michael (cherry picked from commit 423105e29aaef449dbc40d124900a3f654b7266b) (This used to be commit 4bebce268a430a537215b46947e37a8b0225e49d)
2008-09-08packaging(RHEL-CTDB): extend and slightly reformat comment header blockMichael Adam1-4/+5
Michael (cherry picked from commit 1bfc8cc575cd84f24ceb6f6c5d13c9171c0895a5) (This used to be commit 5354e420677eacd62a5297bc38d62cd6b53642b5)
2008-09-08packaging(RHEL-CTDB): unify and extend (C) headerMichael Adam1-1/+2
Michael (cherry picked from commit e051c1cbf7a993e3885c4a515e516da3574a1f57) (This used to be commit 68ec025d06058bcd1c7050ee5d8f7232a3eb901a)
2008-09-08packaging(RHEL-CTDB): autodetect the samba version number from version.hMichael Adam2-2/+28
Generate version.h first. Create samba.spec from (new) samba.spec.tmpl, replacing PVERSION by the version string. (as is done with update-pkginfo called from the create-tarball release script) Michael (This used to be commit f1f3d1bef0440f4294f7278c0c38e13a10b6fb48)
2008-09-08packaging(RHEL-CTDB): introduce variable TOPDIRMichael Adam1-1/+2
Michael (cherry picked from commit 74e335ebf210c4812b0f790d05b697a183803af7) (This used to be commit c6ff392778a75cc74db880fa3d657f5879ae55d5)
2008-09-08packaging(RHEL-CTDB): rename SPECDIR to RPMSPECDIRMichael Adam1-4/+4
Michael (cherry picked from commit ac2b09b2274a12c34c446c4536793a33515958cc) (This used to be commit cbfd805bd25a23299ef770687370dafebefe58d1)
2008-09-08packaging(RHEL-CTDB): rename SRCDIR to RPMSRCDIRMichael Adam1-5/+5
Michael (cherry picked from commit d8a8ea87439315ecf407a866a12e2993343af39c) (This used to be commit ab7575f5d29576518bd5593ec5bd58846b85d23d)
2008-09-08netapi: expand NetUser testsuite a little.Günther Deschner1-2/+146
Guenther (This used to be commit fc1b04df78fc0fb5bc59fa0120c0e29bbb3978a1)
2008-09-08netapi: add NetShare testsuite.Günther Deschner4-1/+240
Guenther (This used to be commit 07cf13e43d03803a5f039fa6df3c9a35c701d43a)
2008-09-08net: use NETSETUP flags consistently.Günther Deschner1-1/+1
Guenther (This used to be commit f48e0cacdf7ed458e0e89ab151e3d233fb89240b)
2008-09-08netapi: re-arrange a little NetLocalGroupSetMembers example code.Günther Deschner1-4/+9
Guenther (This used to be commit 84a25e69947c077623165fe4535cddd48aba0a3e)
2008-09-08netapi: fix NetShareGetInfo example output.Günther Deschner1-1/+1
Guenther (This used to be commit 00ecf8205c4cd4a4c150b204811d448d0ac53c0d)
2008-09-05Fix debug message to show correct function name.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 079c75ef3c169c7a5d81bcaa0b70b6e0df2c464d)
2008-09-05Write times code update.Jeremy Allison7-48/+117
Ok, here's the fix for the write times breakage with the new tests in S4 smbtorture. The key is keeping in the share mode struct the "old_file_time" as the real write time, set by all the write and allocation calls, and the "changed_write_time" as the "sticky" write time - set by the SET_FILE_TIME calls. We can set them independently (although I kept the optimization of not setting the "old_file_time" is a "changed_write_time" was already set, as we'll never see it. This allows us to update the write time immediately on the SMBwrite truncate case, SET_END_OF_FILE and SET_ALLOCATION_SIZE calls, whilst still have the 2 second delay on the "normal" SMBwrite, SMBwriteX calls. I think in a subsequent patch I'd like to change the name of these from "old_file_time" to "write_time" and "changed_write_time" to "sticky_write_time" to make this clearer. I think I also fixed a bug in Metze's original code in that once a write timestamp had been set from a "normal" SMBwriteX call the fsp->update_write_time_triggered variable was set and then never reset - thus meaning the write timestamp would never get updated again on subsequent SMBwriteX's. The new code checks the update_write_time_event event instead, and doesn't update is there's an event already scheduled. Metze especially, please check this over for your understanding. Jeremy. (This used to be commit 6f20585419046c4aca1f7d6c863cf79eb6ae53b0)
2008-09-05Remove unecessary msync.Jeremy Allison1-4/+0
Jeremy. (This used to be commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)
2008-09-05Fix "warning: pointer of type 'void *' used in arithmetic".Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2d95ea38a2f1ead37121fcc036c21a7f20ff41f9)