summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-05-21Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett33-93/+3789
(This used to be commit 7594f79db6a0e8a46e2863829e5e050b03dfaec1)
2008-05-21Re-add alignment removed by metze in 0e2f6d481b3e35ed392b2b3340b244c77593819cAndrew Bartlett1-1/+4
This manual alignment is required, because the structure is marked as unaligned. Andrew Bartlett (This used to be commit ef5d1c8d320d45b78a1e709964eaada4f5acda59)
2008-05-21Further tests show NTLOGON and NETLOGON to be identical.Andrew Bartlett1-5/+0
I can't tell the difference between the NTLOGON and NETLOGON behaviour on these pipes, and this 'exception' turned out to be alignment dependent, not pipe dependent. Andrew Bartlett (This used to be commit bf1b99aff2a8feaee5f57c7530bc81d447e5d765)
2008-05-20Convert in_transaction to a bool. Add the same fix VolkerJeremy Allison1-4/+9
used for tdb_traverse() to tdb_traverse_read(). Jeremy. (This used to be commit e05ec3047c4fe0cc2e09a812830fc835dc35abea)
2008-05-20Fix nesting tdb_traverse in a transactionVolker Lendecke1-3/+8
Calling tdb_traverse inside a transaction led to the transaction lock being held indefinitely. This was caused by the tdb_transaction_lock/unlock inside tdb_traverse: The transaction code holds the global lock at offset TRANSACTION_LOCK. The call to tdb_transaction_lock does nothing because the transaction_lock is already being held. tdb_transaction_unlock inside tdb_wrap resets tdb->have_transaction_lock but does not release the kernel-level fcntl lock. transaction_commit later on does not release that fcntl lock either, because tdb->have_transaction_lock was already reset by tdb_transaction(). This patch does fix that problem for me. An alternative would be to make tdb->have_transaction_lock a counter that can cope with proper nesting, maybe in other places as well. Volker (This used to be commit 89543005fe2e4934b3c560c937d49304a32a7fc2)
2008-05-20Convert in_transaction to a bool. Add the same fix VolkerJeremy Allison1-4/+9
used for tdb_traverse() to tdb_traverse_read(). Jeremy. (This used to be commit bda0f03fb3fa8a7b14d4f54bee7076d691cad44f)
2008-05-20Fix type error in debug messageVolker Lendecke1-1/+1
(This used to be commit eb281532b1721ded39c39bb00c26202080dcd735)
2008-05-20Fix some signed/unsigned warningsVolker Lendecke2-2/+3
(This used to be commit dbb4d8107a61051d8bcf6c4c69ee976efc50b961)
2008-05-20Cleanup size_t return values in callers of convert_string_allocateTim Prouty29-400/+537
This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
2008-05-20Fix nesting tdb_traverse in a transactionVolker Lendecke1-3/+8
Calling tdb_traverse inside a transaction led to the transaction lock being held indefinitely. This was caused by the tdb_transaction_lock/unlock inside tdb_traverse: The transaction code holds the global lock at offset TRANSACTION_LOCK. The call to tdb_transaction_lock does nothing because the transaction_lock is already being held. tdb_transaction_unlock inside tdb_wrap resets tdb->have_transaction_lock but does not release the kernel-level fcntl lock. transaction_commit later on does not release that fcntl lock either, because tdb->have_transaction_lock was already reset by tdb_transaction(). This patch does fix that problem for me. An alternative would be to make tdb->have_transaction_lock a counter that can cope with proper nesting, maybe in other places as well. Volker (This used to be commit 80e700e3bd73f2ffa38046bdcba7f532e25198ef)
2008-05-20Fix bug #5477 - recvfile code was broken.Jeremy Allison2-8/+14
Jeremy. (This used to be commit 830337f054a6c0646d85df33d9958e99283e727a)
2008-05-20smbtorture: Add RAW-BENCH-TCON benchmark.James Peach5-2/+206
Add a simple test to benchmark the rate at which a server can accept new tree connections. You can tune the length of time to run the benchmark for and the number of parallel connections to make. (This used to be commit ea3f4b93057e85c4ea516cc77dd0f293016d520c)
2008-05-20Fix memcache_flush()Volker Lendecke1-5/+34
I have no idea what I've been smoking when I checked this in :-( Karolin, this fixes the join bug 3.0.28->3.2.0rc1 Thanks, Volker (This used to be commit f845dbbceeff032cd248117ddf63af3d3736b21c)
2008-05-20Fix typo.Günther Deschner1-1/+1
Guenther (cherry picked from commit d3dd7ea5a77414c0d802668ab5bfbe3487b66926) (This used to be commit 68d6b0053f3ce63747bc26a2bebb1fb0b46c8ca0)
2008-05-20Fix a valgrind error in _samr_LookupNamesVolker Lendecke1-5/+8
(cherry picked from commit fb0a25d59ddd28ea1d5af33ec7d9f817fac3fb9d) (This used to be commit 89f87efa2394e99802ca23307e712fc5820a5fc6)
2008-05-20net: The top level help function for net cmd is always net_cmd_usageKai Blin7-55/+37
(This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)
2008-05-20net: Move help for "net status" to net_status.cKai Blin3-13/+14
(This used to be commit d26681b169a533f838f74d48af072b57afc9f8df)
2008-05-20net: Move printer help to net_rpc where it's used.Kai Blin3-34/+27
(This used to be commit 2ee3d1aefab8dada5bd05a92b72776554617b7f9)
2008-05-20net: Split out "net share"Kai Blin7-51/+86
(This used to be commit 25d4c6f692cf50d675a1de7c6eaeed271f349289)
2008-05-20net: Split out "net afs"Kai Blin7-86/+139
(This used to be commit 3f10527f79dddff703d31588cad3e9f37176565b)
2008-05-20net: Move more utility functions into net_util.cKai Blin3-502/+503
(This used to be commit 0f5ebdf0bc5610bf93a4db67c9f9513683306c66)
2008-05-20net: Split out "net file"Kai Blin7-29/+66
(This used to be commit 84a116be9c849900678e6e0a4b012e819e697c78)
2008-05-20net: Split out "net group"Kai Blin8-39/+75
(This used to be commit 3ddd9c09e3b51df01ac34a9a1537e8954d2b1167)
2008-05-20net: Split out "net user"Kai Blin8-40/+77
(This used to be commit 4ca08a5acc90c77d56f8f3e38443f23f43f034e8)
2008-05-20net: Move "net join" handling into a separate file.Kai Blin5-25/+61
(This used to be commit d0237a736858a48494583ce7f960ea980768aa6c)
2008-05-20net: Split out common help functions.Kai Blin6-35/+105
(This used to be commit efc863e3758501a4c62dc9762eb0aded2dad01ff)
2008-05-20net: more whitespace cleanupKai Blin1-5/+5
(This used to be commit 1813e545a99545575babe126386c8caca00aab8f)
2008-05-20net: Use true/false instead of True/False.Kai Blin15-203/+203
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
2008-05-20Change wks password in rpc-bench-schannel1Volker Lendecke1-0/+64
Prove that a workstation password change does not affect existing schannel connections (This used to be commit f72dc52ccc426c8057b91b4699dfeda7d9e9b864)
2008-05-20man pages: Remove man page for 'mangled map'.Karolin Seeger1-33/+0
'mangled map' has been removed with dee8beba7a92b8a3f68bbcc59fd0a827f68c7736. Karolin (cherry picked from commit d9b4e500675a378daba50d12cd638a245aa78b72) (This used to be commit 48bf0b42a7d3829d476a50b4f6f80022279b4e49)
2008-05-20sesssetup.c: Add debug message.Karolin Seeger1-0/+3
Log when we kill other smbd sessions like when we hit the VC == 0 case. This one fixes BUG #5476. Initial patch from Björn Jacke <bj@sernet.de>. Karolin (This used to be commit 1429f3b7cf293994b334052428fcdadcee162dea)
2008-05-20man pages: Add documentation for new cluster parameters.Karolin Seeger3-0/+50
Karolin (This used to be commit 029875d8c9b2f9448f5299faaa3a48e8bccbca53)
2008-05-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell6-14/+7
(This used to be commit e360be0b99b638afdfa789e217bf08f99d09be7a)
2008-05-20Fix irpc GetDC requests.Andrew Bartlett1-2/+2
We would return NT_STATUS_NO_LOGON_SERVERS in all cases, which was less than helpful. Andrew Bartlett (This used to be commit 5dfa316b3636718ffc6fd26cf7a397a797bd2ac1)
2008-05-20added read and write handlers. Fixed --analyseAndrew Tridgell1-54/+40
(This used to be commit c05ed7bb9ae7211a7001fd0a3403744ba4f6dda0)
2008-05-20Fix number of arguments to IRPC getdc callback.Andrew Bartlett1-1/+0
Andrew Bartlett (This used to be commit 8753ced2f4ee25cd5eff011f66f8e37f9807bdaf)
2008-05-20added smb2_util_setatrAndrew Tridgell1-0/+22
(This used to be commit d4f41db964ce82c8889017d0f932d60100b3cd32)
2008-05-20specify which server failed to deltreeAndrew Tridgell1-1/+1
(This used to be commit aa9108374f0dda8510245a6e69a53189f55a81e3)
2008-05-20added SMB2 setpathinfo composite wrapperAndrew Tridgell1-0/+105
(This used to be commit e90c7587385598a1dd976c2420798f9bd682b43d)
2008-05-20first version of gentest_smb2. Only generates create and close so far.Andrew Tridgell2-0/+1983
(This used to be commit 634a4bbd98e1c281f8339073b90cb7696ac59baa)
2008-05-20moved these util functions into libcliAndrew Tridgell1-26/+0
(This used to be commit b2f1154bc338fb56fc998f40159156cb6859075b)
2008-05-20check the creation options where the client can require a path to be aAndrew Tridgell1-0/+14
file or a directory (This used to be commit c05b58940f06b01b9770c218eb0708cb621215ef)
2008-05-20added some SMB2 utility functionsAndrew Tridgell2-1/+179
(This used to be commit 6a3b1cd6698faa460c6258bb41b4936e363f4387)
2008-05-20remember the server time fields on negotiate. Needed for gentestAndrew Tridgell2-0/+5
(This used to be commit 7989ca861dcc700b52be3a47ea5ae8b03fbb9330)
2008-05-20Revert addition of 'mailslot' parameter.Andrew Bartlett5-11/+5
It turns out that the mailslot name (and a useful private prointer) is provided in the struct dgram_mailslot_handler. Andrew Bartlett (This used to be commit e17804b8857fdb3c182c5e886323b9d6c194c2ff)
2008-05-20Merge commit 'origin/v4-0-test' into vfs_smb2Andrew Tridgell41-984/+1285
(This used to be commit ffbd222d651dcddb19cacdc50cdbfeaefa816940)
2008-05-20Fix prototype generation in new syntax for netlogon.cAndrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit b6f91ce75ae401bed515012fa3019a6241e7ff6d)
2008-05-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett2-2/+2
(This used to be commit 67b47606b9c5b794d8feea5ba200098e9b9e33e3)
2008-05-20Add the core of the new CLDAP/NBT 'netlogon' parsing library.Andrew Bartlett2-0/+364
This uses some hand-adjusted PIDL output to cope with some 'oddities' in the parsing of the _EX varient of the netlogon packet. Andrew Bartlett (This used to be commit 6e357d00474de65395ca51524d3b85d00691baf2)
2008-05-19Remove conn_find_byname now it's no longer used inJeremy Allison1-1/+0
the msdfs.c code. Jeremy (This used to be commit 54556df561d03d30b2fc21b9eaabe56b8c758301)