summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-05-21fixed SMB2 lockingAndrew Tridgell7-152/+199
- SMB2 locking is different in several ways from SMB locking. To fix it properly we will need a new generic mapping structure for locking, but for now do a best effort mapping - added locking to gentest_smb2 (This used to be commit ea6d9cf602302adafe0f9d5f5f90a9b26d1ead6f)
2008-05-21Fix dependencies for ldb instancetype module.Jelmer Vernooij2-2/+2
(This used to be commit 17c41a6c3e71102e3516e6926f7e7d1ab5c97563)
2008-05-21Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into nosmbpythonJelmer Vernooij15-170/+719
(This used to be commit 5c56464a6c2f29a039ba3152de83d34778ca0615)
2008-05-21Fix installed symlinks (cp was trying to be smart).Jelmer Vernooij2-2/+2
(This used to be commit a95f2bf86a75729717542b401aa39bedd21be8d0)
2008-05-21Allow dots in .mk file section headers, fix docstring.Jelmer Vernooij2-2/+2
(This used to be commit bd3f3e7c85f1a92638d69379782aa7bfcecd9e2f)
2008-05-21Correct an assertion in the testsuite.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit c3eeae2ea6a7562b43a436f20c110002ca4d1d2b)
2008-05-21Merge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-localAndrew Bartlett4-35/+135
(This used to be commit 0e429dd1fb15137a2a7c25e051b9af8c4ed8c7f3)
2008-05-21Fix creation of sockaddr in netlogon datagram generator.Andrew Bartlett1-1/+1
The previous code sent uninitialised data, and was the wrong length. Andrew Bartlett (This used to be commit 8e070293cfd522b7464be5bc4d8045572d6d996c)
2008-05-21Include flags.h into samdb.hAndrew Bartlett1-0/+1
These flags are too useful just to hide away... Andrew Bartlett (This used to be commit 1e897b6148407e9921edd2c3db734930d79ccb42)
2008-05-21Extend the NBT-DGRAM torture test again.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit f4154846401b31d99c40b2ea53992262095366b0)
2008-05-21Manually handle the NETLOGON_SAM_LOGON_REQUEST too.Andrew Bartlett6-100/+251
With the sid structure being both optional and aligned, it was too hard to do this in just IDL. This requried moving some things around, as otherwise we would have a dependency loop. Andrew Bartlett (This used to be commit e28790ba4884277f310be1b8bd3fba4fd47dbbdb)
2008-05-21Extend the 'netlogon' CLDAP and NBT implementation.Andrew Bartlett4-31/+329
This now handles checking if the user exists, including validating the ACB mask on the user. This would be a nasty security hole, if Kerberos did not already expose this information anonymously... Andrew Bartlett (This used to be commit 441b286c00f9a7743cdefeb243545bdbd2c94c5e)
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-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-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-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-20Update tdb version number.Jelmer Vernooij1-1/+1
(This used to be commit eae17ae8ecdcb83fdb756189a9d5609a192371a4)
2008-05-20Fix proto generation.Jelmer Vernooij1-1/+1
(This used to be commit 7385d9641d49b94c83fd2c75e57c9623d21fcdb0)
2008-05-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett9-46/+256
(This used to be commit 69bac908bec3216d2f17042aa05ab8d4b55b0918)
2008-05-20Don't regenerate pam_errors.h any more.Andrew Bartlett2-3/+0
Due to the new rules on prototypes, it must be a static header file. Andrew Bartlett (This used to be commit cf60a9b34ec2419b2bc03a37190cb17ad4cf3d5f)
2008-05-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett97-1251/+1397
Fix config.mk due to changing syntax. Conflicts: source/libcli/config.mk source/nbt_server/config.mk (This used to be commit 6a1c76f29f78183f44dfac6f468c5e728d2cb2cf)
2008-05-19Add __repr__ implementation for Tdb.Jelmer Vernooij4-27/+57
(This used to be commit 205699ed663a3c6d27695dee25bf26978615b475)
2008-05-19Fix dependency.Jelmer Vernooij1-1/+1
(This used to be commit d8fe782dc200907e0364c623e187c51f4d44edb2)
2008-05-19Add __repr__ implementation for Ldb.Jelmer Vernooij4-1/+43
(This used to be commit 5607aea07f66f09fd5b33842d07d2fbbf44d13e7)
2008-05-19Add __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.Jelmer Vernooij4-17/+155
(This used to be commit b9119c0f0f524d43ff09825dffb24a5e77a240f4)
2008-05-19Fix a memleak in irpc_remove_nameVolker Lendecke1-0/+6
First, even when length==0 tdb_fetch might return something. Second, for some weird reason there might be less data than necessary for a single server id. (This used to be commit 49b04ca7aadf264e500d83bc8d3cb5173a86184e)
2008-05-19build: only add enabled subsystems and modules to ALL_OBJSStefan Metzmacher1-0/+1
metze (This used to be commit cc07bd86e270c8016acd0f685d699e4a3e63cfb1)
2008-05-19added SMB2 proxying of rmdirAndrew Tridgell2-2/+85
(This used to be commit 1e0c24b2760f2a632333b51710cd9581f0cee851)
2008-05-19Merge commit 'origin/v4-0-test' into vfs_smb2Andrew Tridgell108-1371/+1727
(This used to be commit 733937e87a1adcc19492ea2bd138e705701901b6)
2008-05-19added mkdir to SMB2 proxyAndrew Tridgell3-20/+85
(This used to be commit 1323aab11fbf346e19c4cef227d727ddfcaa7d60)