Jelmer Vernooij
8ef3218c35
Add some notes about further enhancements of the Python pidl backend.
...
(This used to be commit 8e4cd10e3f
)
2008-05-23 00:35:03 +02:00
Andrew Tridgell
ec7a6ee8ab
fix make test for EAs again
...
- go back to 4 byte alignment until I work out the rules that Vista
wants more exactly
- add the zero sized EA handling for SMB2 more generically
(This used to be commit 326b69bc80
)
2008-05-23 00:07:12 +10:00
Andrew Tridgell
8fc9c71a06
Merge commit 'origin/v4-0-test' into v4-0-test
...
(This used to be commit 2bba77a768
)
2008-05-22 23:28:44 +10:00
Andrew Tridgell
2e0f61a18a
SMB2 read returns NT_STATUS_END_OF_FILE on read past end of file
...
(This used to be commit 1590494daf
)
2008-05-22 23:07:16 +10:00
Stefan Metzmacher
5ab27ba7f0
libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected
...
metze
(This used to be commit 84b5652d3e
)
2008-05-22 15:01:32 +02:00
Andrew Tridgell
ac185ae0c5
fixes for EAs and filename in gentest_smb2 results
...
- SMB2 returns 0 for a null EA
- return the share qualified name for the filename in SMB2 ALL_INFO
level
(This used to be commit f9708184a2
)
2008-05-22 23:00:08 +10:00
Andrew Tridgell
1ea0466289
added a --noeas option to gentest_smb2
...
(This used to be commit 9d523debb7
)
2008-05-22 22:46:43 +10:00
Andrew Tridgell
d5def936fe
pass in the required alignment to the EA construction routines
...
(This used to be commit af31030e0b
)
2008-05-22 22:46:29 +10:00
Andrew Tridgell
a6e5c70da7
added a define for all valid file attributes
...
(This used to be commit 198ed93367
)
2008-05-22 17:54:06 +10:00
Andrew Tridgell
7a9ffeca21
check for invalid file attribute values in create
...
(This used to be commit dd21e3d9d7
)
2008-05-22 17:53:50 +10:00
Andrew Tridgell
fd7dc46f50
Merge commit 'origin/v4-0-test' into v4-0-test
...
(This used to be commit d7f3348c89
)
2008-05-22 16:09:10 +10:00
Andrew Tridgell
af82204f43
added testing of SMB2 setfileinfo in gentest_smb2
...
(This used to be commit c38658c6c0
)
2008-05-22 15:44:13 +10:00
Andrew Tridgell
80527a0c68
added EAs in the generated SMB2 create operation
...
(This used to be commit 607bf6a946
)
2008-05-22 15:35:52 +10:00
Andrew Tridgell
ae629621da
added --maskindexing and qfileinfo testing
...
- added --maskindexing to mask the 0x2000 noindex bit in file
attributes
- added testing of qfileinfo in gentest_smb2
(This used to be commit 3883a7286f
)
2008-05-22 14:51:32 +10:00
Andrew Tridgell
61e78a2c61
minor cleanup in SMB2 getinfo test
...
(This used to be commit b139b47107
)
2008-05-22 14:50:36 +10:00
Andrew Tridgell
dec930448f
fixed parsing of the SMB2 ALL_INFO qfileinfo level
...
(This used to be commit a7be5ba22e
)
2008-05-22 14:49:21 +10:00
Andrew Tridgell
8f599b3781
added SMB2 gentest generation of SMB2 echo packets
...
(This used to be commit 8f7cfa5d2e
)
2008-05-22 13:43:04 +10:00
Andrew Tridgell
72739ac0d0
badly formed SMB2 packets get NT_STATUS_INVALID_PARAMETER
...
(This used to be commit 1c5dd2d1b6
)
2008-05-22 13:14:55 +10:00
Andrew Tridgell
7ba8dca590
fixes to the SMB2 lock test after recent SMB2 locking changes
...
(This used to be commit de7626e1c2
)
2008-05-22 13:14:36 +10:00
Andrew Kroeger
8172f3eb22
GPO: Do not provision Default Domain Policy as initially enforced. (bz #5480 )
...
This only solves part of bz #5480 . The settings for Enforced & Link Enabled
now match the default settings of a Windows DC, but they are still "locked"
and cannot be changed via the GUI.
(This used to be commit 761e667e45
)
2008-05-21 21:14:06 -05:00
Andrew Kroeger
6576a022b8
enableaccount: Use correct command name in usage output.
...
(This used to be commit 4ca8f32a37
)
2008-05-21 20:46:15 -05:00
Andrew Kroeger
bf3f3af926
provision: Generate krb5.conf template separate from named.conf template.
...
(This used to be commit ebf130e9e5
)
2008-05-21 20:46:15 -05:00
Jelmer Vernooij
d8459e3e1c
Fix import in provision test.
...
(This used to be commit 96501be38d
)
2008-05-22 03:09:40 +02:00
Jelmer Vernooij
d77745e692
Move DCE/RPC python bindings into samba package.
...
(This used to be commit 8dafd4ce40
)
2008-05-22 02:21:25 +02:00
Jelmer Vernooij
5ce59419a0
Fix CFLAGS for SWIG files.
...
(This used to be commit 8ee4f07504
)
2008-05-22 02:13:26 +02:00
Jelmer Vernooij
6e14d44d27
Make sure the default ldb modules dir gets initialized.
...
(This used to be commit 937456c69d
)
2008-05-22 01:50:38 +02:00
Jelmer Vernooij
a9c142d4f4
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 30f8d581aa
)
2008-05-22 01:48:20 +02:00
Jelmer Vernooij
84a3290c8f
Fix python imports.
...
(This used to be commit 4532066656
)
2008-05-22 01:47:36 +02:00
Jelmer Vernooij
7e33677047
use one blackbox script per executable.
...
(This used to be commit cd8c822678
)
2008-05-22 01:47:22 +02:00
Jelmer Vernooij
6b3e2c308a
Fix events test.
...
(This used to be commit 0fae6f1108
)
2008-05-22 01:17:30 +02:00
Jelmer Vernooij
059c012656
Fix dependencies and imports.
...
(This used to be commit 37ef86f8de
)
2008-05-22 00:56:36 +02:00
Jelmer Vernooij
49706ab19b
Move more modules inside of the samba package.
...
(This used to be commit 9b39e99f48
)
2008-05-21 23:59:34 +02:00
Jelmer Vernooij
b1fc7bab11
Move some python files into the samba package.
...
(This used to be commit ed38c668cd
)
2008-05-21 21:50:56 +02:00
Jelmer Vernooij
82bcf967b7
Move CFLAGS overrides for SWIG modules to Makefile.
...
(This used to be commit 58665a8a8e
)
2008-05-21 21:32:53 +02:00
Stefan Metzmacher
334de182f4
lib/socket: use HAVE_IPV6 test from LIBREPLACE_NETWORK_CHECKS
...
metze
(This used to be commit 76be51d3a0
)
2008-05-21 21:32:28 +02:00
Stefan Metzmacher
e029dfe9ea
libreplace: add test for HAVE_IPV6
...
Samba can later just check libreplace_cv_HAVE_IPV6 = yes.
metze
(This used to be commit e835e7eebc
)
2008-05-21 21:32:23 +02:00
Jelmer Vernooij
2914b0ca04
Remove support for .py files from smb_build - deal with it only in the makefiles.
...
(This used to be commit b865249efa
)
2008-05-21 21:24:48 +02:00
Jelmer Vernooij
4a8212c955
Refuse to install autogenerated proto header files.
...
(This used to be commit c0a84c2b46
)
2008-05-21 20:46:16 +02:00
Jelmer Vernooij
a1411c1a26
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into nosmbpython
...
(This used to be commit f29e900931
)
2008-05-21 15:45:04 +02:00
Jelmer Vernooij
0c357edb13
Fix typo.
...
(This used to be commit f0914d0187
)
2008-05-21 15:40:55 +02:00
Jelmer Vernooij
1929675813
Fix reference to removed smbpython.
...
(This used to be commit 58f956dc45
)
2008-05-21 15:39:00 +02:00
Andrew Tridgell
aed93a238e
fixed SMB2 flush call, and added flush to gentest_smb2
...
(This used to be commit c52fe1fe1c
)
2008-05-21 22:51:21 +10:00
Jelmer Vernooij
721332411a
Regenerate with newer version of swig.
...
(This used to be commit 034c68bea9
)
2008-05-21 14:29:05 +02:00
Jelmer Vernooij
9d1fd37e79
Use gnu make syntax for SWIG implicit rule since it allows multiple output files.
...
(This used to be commit ce44088731
)
2008-05-21 14:28:10 +02:00
Andrew Tridgell
4d39976ddd
fixed SMB2 locking
...
- 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 ea6d9cf602
)
2008-05-21 22:12:20 +10:00
Jelmer Vernooij
af61219f36
Fix dependencies for ldb instancetype module.
...
(This used to be commit 17c41a6c3e
)
2008-05-21 12:38:47 +02:00
Jelmer Vernooij
d17b9c4509
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into nosmbpython
...
(This used to be commit 5c56464a6c
)
2008-05-21 12:22:05 +02:00
Jelmer Vernooij
904359cd2f
Fix installed symlinks (cp was trying to be smart).
...
(This used to be commit a95f2bf86a
)
2008-05-21 12:14:47 +02:00
Jelmer Vernooij
12d32fb18e
Allow dots in .mk file section headers, fix docstring.
...
(This used to be commit bd3f3e7c85
)
2008-05-21 12:02:02 +02:00
Andrew Bartlett
59105620dc
Correct an assertion in the testsuite.
...
Andrew Bartlett
(This used to be commit c3eeae2ea6
)
2008-05-21 14:49:47 +10:00
Andrew Bartlett
40ff67e454
Merge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local
...
(This used to be commit 0e429dd1fb
)
2008-05-21 14:34:43 +10:00
Andrew Bartlett
3a29c33e82
Fix creation of sockaddr in netlogon datagram generator.
...
The previous code sent uninitialised data, and was the wrong length.
Andrew Bartlett
(This used to be commit 8e070293cf
)
2008-05-21 14:29:20 +10:00
Andrew Bartlett
5cc4b9d13e
Include flags.h into samdb.h
...
These flags are too useful just to hide away...
Andrew Bartlett
(This used to be commit 1e897b6148
)
2008-05-21 14:28:50 +10:00
Andrew Bartlett
52a3c96a89
Extend the NBT-DGRAM torture test again.
...
Andrew Bartlett
(This used to be commit f415484640
)
2008-05-21 14:28:17 +10:00
Andrew Bartlett
2f5a1d2b1c
Manually handle the NETLOGON_SAM_LOGON_REQUEST too.
...
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 e28790ba48
)
2008-05-21 14:26:38 +10:00
Andrew Bartlett
f67156fc92
Extend the 'netlogon' CLDAP and NBT implementation.
...
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 441b286c00
)
2008-05-21 12:37:36 +10:00
Andrew Bartlett
fdec7fdaf5
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 7594f79db6
)
2008-05-21 12:13:45 +10:00
Andrew Bartlett
2f773ff347
Re-add alignment removed by metze in 0e2f6d481b
...
This manual alignment is required, because the structure is marked as
unaligned.
Andrew Bartlett
(This used to be commit ef5d1c8d32
)
2008-05-21 10:23:02 +10:00
Andrew Bartlett
58375fdff0
Further tests show NTLOGON and NETLOGON to be identical.
...
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 bf1b99aff2
)
2008-05-21 10:18:21 +10:00
Jeremy Allison
6d4424cd45
Convert in_transaction to a bool. Add the same fix Volker
...
used for tdb_traverse() to tdb_traverse_read().
Jeremy.
(This used to be commit e05ec3047c
)
2008-05-20 14:20:47 -07:00
Volker Lendecke
aa7e4b8e9c
Fix nesting tdb_traverse in a transaction
...
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 89543005fe
)
2008-05-20 14:20:42 -07:00
James Peach
9a975a868e
smbtorture: Add RAW-BENCH-TCON benchmark.
...
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 ea3f4b9305
)
2008-05-20 11:35:32 -07:00
Volker Lendecke
276fa76fa9
Change wks password in rpc-bench-schannel1
...
Prove that a workstation password change does not affect existing schannel
connections
(This used to be commit f72dc52ccc
)
2008-05-20 13:06:05 +02:00
Andrew Tridgell
cd167fd44b
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit e360be0b99
)
2008-05-20 15:35:49 +10:00
Andrew Bartlett
52f0af3990
Fix irpc GetDC requests.
...
We would return NT_STATUS_NO_LOGON_SERVERS in all cases, which was
less than helpful.
Andrew Bartlett
(This used to be commit 5dfa316b36
)
2008-05-20 15:28:26 +10:00
Andrew Tridgell
5ca6f42510
added read and write handlers. Fixed --analyse
...
(This used to be commit c05ed7bb9a
)
2008-05-20 15:16:53 +10:00
Andrew Bartlett
acba9bc702
Fix number of arguments to IRPC getdc callback.
...
Andrew Bartlett
(This used to be commit 8753ced2f4
)
2008-05-20 14:52:57 +10:00
Andrew Tridgell
2214e6d9bf
added smb2_util_setatr
...
(This used to be commit d4f41db964
)
2008-05-20 13:37:51 +10:00
Andrew Tridgell
430f4ef666
specify which server failed to deltree
...
(This used to be commit aa9108374f
)
2008-05-20 13:37:40 +10:00
Andrew Tridgell
d6f1dd1a42
added SMB2 setpathinfo composite wrapper
...
(This used to be commit e90c758738
)
2008-05-20 13:37:27 +10:00
Andrew Tridgell
fc267b0510
first version of gentest_smb2. Only generates create and close so far.
...
(This used to be commit 634a4bbd98
)
2008-05-20 11:59:43 +10:00
Andrew Tridgell
f8f0cc985b
moved these util functions into libcli
...
(This used to be commit b2f1154bc3
)
2008-05-20 11:59:18 +10:00
Andrew Tridgell
2352602a57
check the creation options where the client can require a path to be a
...
file or a directory
(This used to be commit c05b58940f
)
2008-05-20 11:58:47 +10:00
Andrew Tridgell
803c076450
added some SMB2 utility functions
...
(This used to be commit 6a3b1cd669
)
2008-05-20 11:58:04 +10:00
Andrew Tridgell
9c6a35ad9b
remember the server time fields on negotiate. Needed for gentest
...
(This used to be commit 7989ca861d
)
2008-05-20 11:57:43 +10:00
Andrew Bartlett
aa90730e0c
Revert addition of 'mailslot' parameter.
...
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 e17804b885
)
2008-05-20 11:54:50 +10:00
Andrew Tridgell
9551d4027d
Merge commit 'origin/v4-0-test' into vfs_smb2
...
(This used to be commit ffbd222d65
)
2008-05-20 11:37:23 +10:00
Andrew Bartlett
e533e7a7eb
Fix prototype generation in new syntax for netlogon.c
...
Andrew Bartlett
(This used to be commit b6f91ce75a
)
2008-05-20 11:24:38 +10:00
Andrew Bartlett
cb42e59b77
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 67b47606b9
)
2008-05-20 11:03:45 +10:00
Andrew Bartlett
8052309d5a
Add the core of the new CLDAP/NBT 'netlogon' parsing library.
...
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 6e357d0047
)
2008-05-20 10:58:43 +10:00
Jelmer Vernooij
7015b7840c
Update tdb version number.
...
(This used to be commit eae17ae8ec
)
2008-05-20 01:52:11 +02:00
Jelmer Vernooij
1323e3e736
Fix proto generation.
...
(This used to be commit 7385d9641d
)
2008-05-20 01:02:05 +02:00
Andrew Bartlett
28b2fa8623
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 69bac908be
)
2008-05-20 08:27:08 +10:00
Andrew Bartlett
868c45102d
Don't regenerate pam_errors.h any more.
...
Due to the new rules on prototypes, it must be a static header file.
Andrew Bartlett
(This used to be commit cf60a9b34e
)
2008-05-20 08:06:50 +10:00
Andrew Bartlett
343fea32cc
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
Fix config.mk due to changing syntax.
Conflicts:
source/libcli/config.mk
source/nbt_server/config.mk
(This used to be commit 6a1c76f29f
)
2008-05-20 08:03:35 +10:00
Jelmer Vernooij
1b4b8d5e78
Add __repr__ implementation for Tdb.
...
(This used to be commit 205699ed66
)
2008-05-19 23:36:33 +02:00
Jelmer Vernooij
40b6dc1b31
Fix dependency.
...
(This used to be commit d8fe782dc2
)
2008-05-19 23:36:11 +02:00
Jelmer Vernooij
43a22c9b4a
Add __repr__ implementation for Ldb.
...
(This used to be commit 5607aea07f
)
2008-05-19 23:12:13 +02:00
Jelmer Vernooij
ae46119096
Add __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.
...
(This used to be commit b9119c0f0f
)
2008-05-19 23:07:04 +02:00
Volker Lendecke
d817b43534
Fix a memleak in irpc_remove_name
...
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 49b04ca7aa
)
2008-05-19 15:59:54 +02:00
Stefan Metzmacher
eb1b76d200
build: only add enabled subsystems and modules to ALL_OBJS
...
metze
(This used to be commit cc07bd86e2
)
2008-05-19 14:15:15 +02:00
Andrew Tridgell
e7d993b8b2
added SMB2 proxying of rmdir
...
(This used to be commit 1e0c24b276
)
2008-05-19 13:05:08 +10:00
Andrew Tridgell
03eb236f20
Merge commit 'origin/v4-0-test' into vfs_smb2
...
(This used to be commit 733937e87a
)
2008-05-19 11:40:25 +10:00
Andrew Tridgell
66cbf7eb59
added mkdir to SMB2 proxy
...
(This used to be commit 1323aab11f
)
2008-05-19 11:39:16 +10:00
Jelmer Vernooij
022ab33222
Revert some absolute paths.
...
(This used to be commit b4613e8135
)
2008-05-19 02:19:32 +02:00
Jelmer Vernooij
32dfdae009
Move IDL build script to rpc directory, make various bits and pieces easier to use externally.
...
(This used to be commit 8328ff7641
)
2008-05-19 02:03:00 +02:00
Jelmer Vernooij
60ae8f0657
Fix a bunch of dependencies.
...
(This used to be commit a63f458462
)
2008-05-18 23:40:23 +02:00
Jelmer Vernooij
4c70cda986
Fix a couple (well, little more than that..) of typos.
...
(This used to be commit a6b5211994
)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147
Create prototype headers from Makefile directory, without smb_build in the middle.
...
(This used to be commit f4a77b96f9
)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
e3a615172e
Merge branch 'v4-0-test' of /home/jelmer/samba34.git/samba4 into v4-0-test
...
Conflicts:
source/build/smb_build/makefile.pm
(This used to be commit 57b57b1ff9
)
2008-05-18 21:10:41 +02:00
Jelmer Vernooij
78f804c497
Typo, formatting fixes.
...
(This used to be commit 5c961c0b41
)
2008-05-18 21:10:09 +02:00
Jelmer Vernooij
dc114f8c5a
Avoid smb_build for prototype headers in some places.
...
(This used to be commit 4876c4efbb
)
2008-05-18 21:09:04 +02:00
Jelmer Vernooij
08067d22a0
Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
...
(This used to be commit 63fd551a15
)
2008-05-18 20:35:01 +02:00
Jelmer Vernooij
333c169529
Use variables for source directory in remaining subsystems.
...
(This used to be commit 6b6b2196a8
)
2008-05-18 20:30:46 +02:00
Jelmer Vernooij
6a31928869
Use variables for source directory in a couple more places.
...
(This used to be commit 28f4a8bc2c
)
2008-05-18 19:56:17 +02:00
Jelmer Vernooij
03643aec88
Use variables for source directory in a couple more places.
...
(This used to be commit c41bd3005f
)
2008-05-18 19:54:27 +02:00
Jelmer Vernooij
137ec6e340
Use variables for source directory in a couple more places.
...
(This used to be commit 2860a7db59
)
2008-05-18 19:46:09 +02:00
Jelmer Vernooij
4f0db42958
Use variables for source directory in a couple more places.
...
(This used to be commit 56bb2907c6
)
2008-05-18 19:41:33 +02:00
Jelmer Vernooij
964257956d
Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
...
(This used to be commit 3a83d4ebd4
)
2008-05-18 19:37:58 +02:00
Jelmer Vernooij
30ad1af106
Use variable for param src dir.
...
(This used to be commit f97bc57358
)
2008-05-18 19:37:24 +02:00
Jelmer Vernooij
adc84e1286
Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
...
(This used to be commit 3cff5bc25a
)
2008-05-18 19:12:00 +02:00
Jelmer Vernooij
c9d7ebcc0e
Build system doesn't do make variable expansion...
...
(This used to be commit 16a04d9af4
)
2008-05-18 19:11:47 +02:00
Jelmer Vernooij
ddfc4380ad
Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
...
(This used to be commit 201da6d5d0
)
2008-05-18 19:10:49 +02:00
Jelmer Vernooij
100d3967d3
Use src dir.
...
(This used to be commit 63f2b66f0e
)
2008-05-18 19:10:37 +02:00
Jelmer Vernooij
b8bbbcab4b
Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
...
(This used to be commit ad58defe12
)
2008-05-18 19:07:17 +02:00
Jelmer Vernooij
4d2f44163e
Use variables for source path in libnet/ and scripting/python.
...
(This used to be commit fb10a81b94
)
2008-05-18 19:07:07 +02:00
Jelmer Vernooij
688964c7c6
Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
...
(This used to be commit 84c9fbe846
)
2008-05-18 18:55:38 +02:00
Jelmer Vernooij
98154fdf05
Move templates to a separate file.
...
(This used to be commit d9770b651f
)
2008-05-18 18:55:14 +02:00
Jelmer Vernooij
06a3d35eb6
Avoid use of relative paths.
...
(This used to be commit 8a4f030261
)
2008-05-18 18:52:33 +02:00
Jelmer Vernooij
65f365d2ec
Simplify argument handling.
...
(This used to be commit f305c443db
)
2008-05-18 18:33:24 +02:00
Jelmer Vernooij
109634ba77
Fix --output argument.
...
(This used to be commit a38e473c9e
)
2008-05-18 18:33:05 +02:00
Jelmer Vernooij
1067678048
Allow specifying different input file to smb_build.
...
(This used to be commit c4bfc0b8da
)
2008-05-18 18:08:37 +02:00
Jelmer Vernooij
353afc8d94
Move writing of data.mk file to m4 macro.
...
(This used to be commit 7fee112d2b
)
2008-05-18 17:55:50 +02:00
Jelmer Vernooij
9207a22a0e
Move writing autoconf vars into files into m4 macros.
...
(This used to be commit 3ce8a4bb55
)
2008-05-18 17:48:50 +02:00
Jelmer Vernooij
4911af47f8
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 16dbbf75c7
)
2008-05-18 17:35:16 +02:00
Andrew Kroeger
25ea110c38
provision: Create instructions for enabling DNS GSS-TSIG updates.
...
Added code to the python provisioning to create the named.conf file that was
previously generated by the EJS provisioning.
Updated the named.conf template to provide the additional details necessary
to get things working.
(This used to be commit 0b7a6bfcba
)
2008-05-18 01:54:57 -05:00
Andrew Kroeger
18aa2d58ed
provision: Allow DNS GSS-TSIG updates to work.
...
This change ensures the KVNO of the principal in secrets.ldb (which is also
exported to the dns.keytab) matches the KVNO associated with the "dns" user.
Without explicitly setting msDS-KeyVersionNumber, the KVNO exported into the
dns.keytab was 0.
KVNO needs to be > 0, as the client libs (at least MIT libs on Fedora)
consider KVNO == 0 as a sign to ignore that particular key.
(This used to be commit 572efc8e65
)
2008-05-18 01:54:56 -05:00
Andrew Bartlett
38c68f1d5b
Ensure we don't send a reply if we couldn't push the CLDAP blob
...
Andrew Bartlett
(This used to be commit a8ec36eba7
)
2008-05-17 21:30:36 +10:00
Andrew Bartlett
d975cd9d8c
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 60579269d1
)
2008-05-17 21:16:22 +10:00
Andrew Bartlett
fd0d47b746
Handle netbios domains in the CLDAP server too.
...
This commit also fixes a number of issues found by the NBT-DGRAM and
LDAP-CLDAP tests.
Andrew Bartlett
(This used to be commit 8f99a4b94e
)
2008-05-17 20:53:29 +10:00
Andrew Bartlett
24264e9acb
Modify the LDAP-CLDAP test for better coverage.
...
This fixes up some compiled in constants and checks a couple more NT
versions.
Andrew Bartlett
(This used to be commit ca1b3fe3ad
)
2008-05-17 20:52:23 +10:00
Andrew Bartlett
4f557d7954
Show that the NTLOGON and NETLOGON mailslots are *very* similar.
...
Rework the mailslot infrustructure to cope, passing down the mailslot
name so that we can implement both in the same callback function.
Andrew Bartlett
(This used to be commit 89fdd77891
)
2008-05-17 13:24:29 +10:00
Andrew Bartlett
842040d184
Explain that the sid must be absent on the NTLOGON mailslot.
...
Andrew Bartlett
(This used to be commit a7983387f7
)
2008-05-17 12:44:35 +10:00
Andrew Bartlett
b0f3441516
Make the IRPC GetDC request use SAM_LOGON packets.
...
This also moves the request to the new netlogon structures.
Andrew Bartlett
(This used to be commit 7ed4ba8d1a
)
2008-05-17 12:43:42 +10:00
Andrew Bartlett
326d591d57
Convert the CLDAP server to use the new netlogon structures.
...
This also makes the CLDAP server the place where we create the
NETLOGON SAMLOGON replies, regardless of protocol (NBT mailslots or
CLDAP).
Andrew Bartlett
(This used to be commit 8b00a94294
)
2008-05-17 12:41:42 +10:00
Andrew Bartlett
ceb2e20f7d
Test the use of the domain SID on the NETLOGON mailslot
...
Interestingly, despite these packets being very similar, this fails on
NTLOGON - no reply is received.
Andrew Bartlett
(This used to be commit 25ab0ad0a0
)
2008-05-17 12:39:38 +10:00
Andrew Bartlett
7c0eea48f3
Put back the old netlogn parsing code - for the request only
...
This gives us seperate parsing functions for requests and replies.
Andrew Bartlett
(This used to be commit d2d3d15a8e
)
2008-05-17 12:38:58 +10:00
Stefan Metzmacher
250478d044
smbd: pass down lp_ctx to stream_new_connection_merge()
...
metze
(This used to be commit 91e9062265
)
2008-05-17 02:15:18 +02:00
Stefan Metzmacher
626b2da5a9
smbd: add session_info to struct stream_connection
...
NULL represents an anoymous connection, as that's
cheaper than always calling auth_anonymous_session_info(),
That means if the caller wants to use the transport layer
session_info he should call auth_anonymous_session_info()
to create the session info.
metze
(This used to be commit 3777d0307b
)
2008-05-17 01:54:18 +02:00
Stefan Metzmacher
097b5ae763
lib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS
...
metze
(This used to be commit 7f26a5425e
)
2008-05-16 22:56:15 +02:00
Stefan Metzmacher
c7c9aa7e7a
lib/socket: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace
...
metze
(This used to be commit 5de605bb2e
)
2008-05-16 22:56:14 +02:00
Stefan Metzmacher
a65e5994ad
lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET
...
Moved from the samba specific locations
metze
(This used to be commit e674128ee2
)
2008-05-16 22:56:14 +02:00
Stefan Metzmacher
335813c735
lib/socket: remove unused configure check for HAVE_WORKING_AF_LOCAL
...
metze
(This used to be commit 1c7905cfb4
)
2008-05-16 22:56:14 +02:00
Jelmer Vernooij
d648c5849f
Install python modules by default.
...
(This used to be commit 4c098e4c9f
)
2008-05-16 16:30:22 +02:00
Volker Lendecke
54e4fa66d4
Make rpc-bench-schannel1 use two wks accounts if --option=torture:multijoin=true
...
(This used to be commit fc3bc3c4a8
)
2008-05-16 15:54:10 +02:00
Volker Lendecke
12df140671
Fix two C++ warnings
...
(This used to be commit f75f95931c
)
2008-05-16 15:54:04 +02:00
Stefan Metzmacher
7350ddeabf
torture: add RPC-BENCH-SCHANNEL1 test
...
This tests SamLogonEx() calls on multiple (smb) connections
in parallel. Sadly the smb connect needs to be serialized
because of the reset on zero VC style behavior of windows.
Call it like this:
bin/smbtorture -U administrator%test ncacn_np:w2k3-101 -W W2K3 RPC-BENCH-SCHANNEL
or
bin/smbtorture -U administrator%test ncacn_np:w2k3-101 -W W2K3 -k no RPC-BENCH-SCHANNEL \
--option="torture:nprocs=4" --option="torture:timelimit=1" \
--extra-user SUB1\\sub1user%testsecret --extra-user SUB1\\sub1user%testsecret
or ...
Later we should add more tests, maybe using only one smb connection
and different netlogon pipes.
We should also test using the DCERPC_PFC_FLAG_CONC_MPX flag and just one
rpc connection.
DCERPC_PFC_FLAG_CONC_MPX /* supports concurrent multiplexing of a single connection.*/
metze
(This used to be commit 901426c24c
)
2008-05-16 15:53:49 +02:00
Volker Lendecke
a620882e15
Fix an uninitialized variable warning
...
(This used to be commit b3d0246764
)
2008-05-16 15:40:39 +02:00
Volker Lendecke
ef6fd2d46d
In torture_leave_domain, say what account was deleted
...
(This used to be commit a9a0f24f72
)
2008-05-16 15:40:29 +02:00
Stefan Metzmacher
8a31130a76
build: readd ALL_OBJS which is needed for automatic_dependencies
...
metze
(This used to be commit 5ca4f76703
)
2008-05-16 14:51:39 +02:00
Julien Kerihuel
8651def04c
The following patch calls the op_bind operation for an interface which context is altered by dcerpc alter_context requests. It prevents dcerpc_server from returning errors (nca_s_fault_access_denied, then nca_s_fault_context_mismatch in further client requests) and keeps the connection alive.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 718f9ce688
)
2008-05-16 08:54:34 +02:00
Julien Kerihuel
25a82b8fc9
This patch adds remaining padding bytes to the dcerpc_fault IDL structure and adds a const 4 bytes blob to pkt.u.fault.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 652b8c5f15
)
2008-05-16 08:54:27 +02:00
Andrew Tridgell
c7d7577fb9
private -> private_data for struct smb2_request
...
(This used to be commit 67290e0ad6
)
2008-05-16 15:03:58 +10:00
Andrew Tridgell
9bfafcfc21
build the smb2 composite calls
...
(This used to be commit ac10e3ad15
)
2008-05-16 15:03:24 +10:00
Andrew Tridgell
c02b0f47a0
declare composite_wait_free()
...
(This used to be commit 5b6f80aba3
)
2008-05-16 15:03:12 +10:00
Andrew Tridgell
14ca2b5b5d
- added a composite_wait_free() call
...
- allow composite_error() to take NT_STATUS_OK
(This used to be commit 5240e1e256
)
2008-05-16 15:02:58 +10:00
Andrew Tridgell
de99db1084
started adding SMB2 composite functions that emulate common SMB calls
...
(such as unlink)
(This used to be commit 433038f3fe
)
2008-05-16 15:02:14 +10:00
Andrew Tridgell
9b177f8d58
added SMB2 proxying for unlink
...
(This used to be commit a5459bd880
)
2008-05-16 15:01:31 +10:00
Andrew Bartlett
58e7f253ea
Rework the CLDAP and NBT netlogon requests and responses.
...
This now matches section 7.3.3 of the MS-ATDS specification, and all
our current tests pass against windows. There is still more testing
to do, and the server implementation to complete.
Andrew Bartlett
(This used to be commit 431d0c0396
)
2008-05-16 13:03:01 +10:00
Andrew Tridgell
94162b3222
fixed warning
...
(This used to be commit d5165ed7a7
)
2008-05-16 12:46:28 +10:00
Andrew Tridgell
2994b483c8
fixed file_index reference
...
(This used to be commit edb4b38ed3
)
2008-05-16 12:46:16 +10:00
Andrew Tridgell
d9f47ba00b
added handlers for connect, search_first and fsinfo.
...
Directory listing in smbclient now works
(This used to be commit 8007342061
)
2008-05-15 20:47:28 +10:00
Andrew Tridgell
c0e247ab40
better match WSPP doc name for find flags
...
(This used to be commit 0e4b8602de
)
2008-05-15 20:46:43 +10:00
Andrew Tridgell
8846981807
update some SMB2 find flags
...
(This used to be commit b7560afd4b
)
2008-05-15 20:46:10 +10:00
Andrew Tridgell
0abc2e2020
use a newer fsinfo level in smbclient, to support larger disks
...
(This used to be commit 1acc8077fb
)
2008-05-15 20:45:30 +10:00
Andrew Tridgell
ca3257b286
started new vfs_smb2 module
...
This new module is based on the vfs_cifs module. The idea is to create a backend
which maps SMB requests to a SMB2 server. This will allow existing
test suites for SMB to be run against our SMB2 client and server code.
It will also help validate our SMB2 client library, probably leading
to some API changes to make it flexible enough
(This used to be commit 6ea8295a64
)
2008-05-15 10:57:22 +10:00
Andrew Bartlett
d55e57ca99
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 618400fe7d
)
2008-05-15 08:08:43 +10:00
Volker Lendecke
8113bb07a8
Fix an uninitialized variable introduced by 3045d391
...
Simo, please check!
Volker
(This used to be commit 0c09d28acf
)
2008-05-14 19:51:29 +02:00
Stefan Metzmacher
d5d9476c35
Revert "lib/events: system/network.h isn't needed"
...
Somehow this breaks 'make test'...
This reverts commit 59faf3bf67
.
metze
(This used to be commit ece9df0875
)
2008-05-14 17:28:42 +02:00
Stefan Metzmacher
3b6042e192
lib/events: system/network.h isn't needed
...
metze
(This used to be commit 59faf3bf67
)
2008-05-14 15:20:17 +02:00
Simo Sorce
136f369b23
Make it possible to build libevents standalone.
...
(This used to be commit 10415bb738
)
2008-05-14 00:03:01 -04:00
Stefan Metzmacher
0e4ae88d38
libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6
...
metze
(This used to be commit da2179ee5d
)
2008-05-13 09:07:13 +02:00
Stefan Metzmacher
dd01174d09
libreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS was used
...
metze
(This used to be commit 3fddd36e11
)
2008-05-13 09:07:13 +02:00
Stefan Metzmacher
6353e83dc2
libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars
...
metze
(This used to be commit aa7ef1af74
)
2008-05-13 09:07:13 +02:00
Stefan Metzmacher
c9b617ce3a
libreplace: include inet_ntoa.o when the system one is broken
...
metze
(This used to be commit 67845d3471
)
2008-05-13 09:07:13 +02:00
Stefan Metzmacher
0301064c65
libreplace: merge getifaddrs.m4 into libreplace_network.m4
...
metze
(This used to be commit 0234d397fe
)
2008-05-13 09:07:12 +02:00
Stefan Metzmacher
108443ace5
libreplace: merge getaddrinfo.m4 into libreplace_network.m4
...
metze
(This used to be commit 64591d064d
)
2008-05-13 09:07:12 +02:00
Stefan Metzmacher
254641d3f2
libreplace: merge socketpair.m4 into libreplace_network.m4
...
metze
(This used to be commit f9f8f93adc
)
2008-05-13 09:07:12 +02:00
Stefan Metzmacher
1155c2f457
libreplace: merge inet_pton.m4 into libreplace_network.m4
...
metze
(This used to be commit 3a70274c90
)
2008-05-13 09:07:11 +02:00
Stefan Metzmacher
8408101e24
libreplace: merge inet_ntop.m4 into libreplace_network.m4
...
metze
(This used to be commit 223ef6c08e
)
2008-05-13 09:07:11 +02:00
Stefan Metzmacher
b6b96be0c2
libreplace: merge inet_aton.m4 into libreplace_network.m4
...
metze
(This used to be commit fba00736c8
)
2008-05-13 09:07:11 +02:00
Stefan Metzmacher
41eaffe653
libreplace: merge inet_ntoa.m4 into libreplace_network.m4
...
metze
(This used to be commit 82e826253b
)
2008-05-13 09:07:10 +02:00
Stefan Metzmacher
88533f35dd
libreplace: merge socket.m4 into libreplace_network.m4
...
metze
(This used to be commit c70eba87db
)
2008-05-13 09:07:10 +02:00
Jelmer Vernooij
4accab35c6
Merge branch 'nosmbpython' into v4-0-test
...
(This used to be commit 9683f7434c
)
2008-05-12 03:54:53 +02:00
Andrew Bartlett
ff7c537e27
Remove JavaScript provision-backend script
...
The library it relied on has already been removed.
Andrew Bartlett
(This used to be commit 97427731a5
)
2008-05-12 09:46:50 +10:00
Andrew Bartlett
b869a525b1
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 61c31dc7cf
)
2008-05-12 09:44:27 +10:00
Jelmer Vernooij
5d02514f72
Fail earlier on if shared libs can't be built.
...
(This used to be commit 2e8766145a
)
2008-05-11 15:37:09 +02:00
Jelmer Vernooij
1f9570c0ba
Add extra include directories, hopefully fixes the build on aix53bf.
...
(This used to be commit ef53ffbc24
)
2008-05-11 15:31:02 +02:00
Jelmer Vernooij
af683666d6
Remove obsolete provisioning library.
...
(This used to be commit f123190fb4
)
2008-05-11 15:15:27 +02:00
Jelmer Vernooij
0be941a383
Remove python extension from upgrade script.
...
(This used to be commit 5268649b7e
)
2008-05-11 14:32:06 +02:00
Jelmer Vernooij
fb62c0508a
Properly support sentinels for binary init functions. This should fix the build.
...
(This used to be commit 9ba5962add
)
2008-05-11 14:08:31 +02:00
Jelmer Vernooij
3ed49cd2ae
Avoid unnecessary headers in lib/torture.
...
(This used to be commit 43c18ba5cf
)
2008-05-11 05:49:07 +02:00
Jelmer Vernooij
826dadf4f2
Remove smbpython.
...
(This used to be commit e83f7b1196
)
2008-05-11 05:46:40 +02:00
Jelmer Vernooij
47d2218922
Set sys.path for running inside source tree.
...
(This used to be commit b507109bb6
)
2008-05-11 05:45:49 +02:00
Jelmer Vernooij
babdcc6135
Use system python rather than smbpython.
...
(This used to be commit d3df51cd01
)
2008-05-11 05:29:20 +02:00
Jelmer Vernooij
67914192c2
Fix formatting of install message.
...
(This used to be commit 371afde9b0
)
2008-05-11 05:18:09 +02:00
Jelmer Vernooij
c0dd42af53
Remove extra space that caused issues during make install.
...
(This used to be commit 20a2fc8566
)
2008-05-11 05:17:50 +02:00
Jelmer Vernooij
451febf89d
Avoid installing non-public header.
...
(This used to be commit bec87e1878
)
2008-05-11 05:17:29 +02:00
Jelmer Vernooij
251f6bd991
make sure to always use string version of uuid rather than object.
...
(This used to be commit bcd5fc7dc9
)
2008-05-11 04:36:37 +02:00
Jelmer Vernooij
8c926a34c8
Complete dependencies for python modules (actually matters when built standalone).
...
(This used to be commit a89b6d8ad7
)
2008-05-11 04:36:05 +02:00
Jelmer Vernooij
348109e688
Fix dependency on loadparm.
...
(This used to be commit 018ee187ff
)
2008-05-11 03:31:38 +02:00
Jelmer Vernooij
5319d9620b
Use consistent function names with the standard Python uuid module that is available in >= 2.4.
...
(This used to be commit 60d458e319
)
2008-05-11 03:31:26 +02:00
Jelmer Vernooij
0b5a16abe0
Properly escape quotes.
...
(This used to be commit 3309432961
)
2008-05-11 03:01:27 +02:00
Jelmer Vernooij
b48e2e4c41
Merge ldb_map into LIBLDB.
...
(This used to be commit 4d7925f953
)
2008-05-11 02:15:32 +02:00
Jelmer Vernooij
7c7de11f20
Fix LDB module initialization when using external ldb.
...
(This used to be commit b7b4aff8b5
)
2008-05-11 01:53:11 +02:00
Jelmer Vernooij
670122d724
Fix torture module initializion.
...
(This used to be commit d5bf4e9065
)
2008-05-10 23:46:51 +02:00
Jelmer Vernooij
08ad86ad3d
Revert "Remove copy of torture file."
...
This reverts commit 89bfca2da2
.
(This used to be commit c6c4349c44
)
2008-05-10 23:38:56 +02:00
Jelmer Vernooij
97fbad6480
Install standalone python modules (so we can use stock python rather than smbpython).
...
(This used to be commit bb5c9fc64b
)
2008-05-10 23:25:50 +02:00
Jelmer Vernooij
778681e10a
Fix soversion for libtorture and libsamba-hostconfig.
...
(This used to be commit 1f698b96c7
)
2008-05-10 22:30:00 +02:00
Jelmer Vernooij
d1183291d3
Remove copy of torture file.
...
(This used to be commit 89bfca2da2
)
2008-05-10 22:26:14 +02:00
Jelmer Vernooij
bfd4850636
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
(This used to be commit cce1659d33
)
2008-05-10 21:29:42 +02:00
Jelmer Vernooij
3758dec7b1
Fix building with system-provided LDB without breaking anything else :-)
...
(This used to be commit ce9d759497
)
2008-05-10 21:29:09 +02:00
Jelmer Vernooij
e7910c6fcb
Revert "Fix building with system-provided LDB."
...
This reverts commit fbfbc1f163
.
(This used to be commit 9d1d2abed1
)
2008-05-10 20:59:48 +02:00
Jelmer Vernooij
6267dd7853
Clean up some git merges gone wrong.
...
(This used to be commit 42eb6b3346
)
2008-05-10 20:59:17 +02:00
Jelmer Vernooij
640792fb58
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
(This used to be commit cca75ae22d
)
2008-05-10 20:44:59 +02:00
Jelmer Vernooij
69247584ea
Fix building with system-provided LDB.
...
(This used to be commit fbfbc1f163
)
2008-05-10 20:17:02 +02:00
Jelmer Vernooij
7b45a4d7fa
Merge branch 'v4-0-test' into v4-0-gmake3
...
Conflicts:
source/auth/config.mk
source/auth/gensec/config.mk
source/torture/smbtorture.c
(This used to be commit edfd02e59b
)
2008-05-10 18:08:00 +02:00
Jelmer Vernooij
bc4eacb5d8
Fix case.
...
(This used to be commit a90971ea0c
)
2008-05-10 14:26:08 +02:00
Jelmer Vernooij
acb037fb1b
Fix location of torture pc file.
...
(This used to be commit 3e2c067ec7
)
2008-05-10 00:48:11 +02:00
Jelmer Vernooij
d0096e90ba
Fix installation of pidl perl files, torture pc file.
...
(This used to be commit 32da606e37
)
2008-05-10 00:46:25 +02:00
Andrew Bartlett
00ebe3df81
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 2db0e86fb4
)
2008-05-09 10:47:23 +10:00
Jelmer Vernooij
ca6ac11b46
Fix typo.
...
(This used to be commit bd089818a3
)
2008-05-08 13:43:45 +02:00
William Jojo
b3e1d69dcd
Add undefined symbol flag for AIX.
...
(This used to be commit dabdf24e86
)
2008-05-08 12:41:57 +02:00
Jelmer Vernooij
c68589a5dc
Fix typo.
...
(This used to be commit 1def988ef2
)
2008-05-08 12:40:56 +02:00
Jelmer Vernooij
4aba4d38c7
Fix link flags for ldb and tdb Python modules.
...
(This used to be commit 787a32fdef
)
2008-05-08 11:56:32 +02:00
Jelmer Vernooij
c3efee27b6
Install session.h, required by OpenChange's proxy.
...
(This used to be commit 44d8b70004
)
2008-05-08 10:53:03 +02:00
Stefan Metzmacher
10a208fc4f
libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build
...
metze
(This used to be commit 04f4523ed0
)
2008-05-07 17:38:41 +02:00
Stefan Metzmacher
63da424e81
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
...
metze
(This used to be commit 3451b54bf7
)
2008-05-07 17:15:36 +02:00
Stefan Metzmacher
a0c6043c34
libreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro
...
Note: moving it out of AC_LIBREPLACE_BROKEN_CHECKS will be the next step
metze
(This used to be commit 55a904b1d7
)
2008-05-07 17:11:29 +02:00
Stefan Metzmacher
3e80085fb0
pvfs: remove XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME code
...
I'll fix this more correctly very soon,
so that we'll pass the BASE-DELAYWRITE test.
metze
(This used to be commit b09dd6b65d
)
2008-05-07 15:46:22 +02:00
Stefan Metzmacher
bbf4ce9146
libreplace: always provide utime() and utimes()
...
I'd like to also provide futimes(), but it seems
that some systems doesn't support a it at kernel level.
If someone knows how to write a portable replacement
for futimes() please tell me...
metze
(This used to be commit a9604fe4a3
)
2008-05-07 13:25:22 +02:00
Stefan Metzmacher
387c17685c
build: fix path to lex_compile.sh
...
metze
(This used to be commit 6a1b7f56af
)
2008-05-07 08:59:06 +02:00
Andrew Bartlett
f446bf59e3
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit c21dd40bc7
)
2008-05-07 08:12:16 +10:00
Michael Adam
42059c7e76
torture: use dom_idx after determining it in samba3rpc.c:get_usr_handle()
...
Michael
(This used to be commit 334d76c355
)
2008-05-06 15:27:33 +02:00
Stefan Metzmacher
f51a79889c
libreplace: check how portable utimes() and futimes() are
...
metze
(This used to be commit 8798ce3c74
)
2008-05-06 12:38:55 +02:00
Andrew Bartlett
410115bb6b
Cope with an empty mapping file in ad2oLschema
...
(This used to be commit 5f36a605a9
)
2008-05-06 11:02:40 +10:00
Tiago Batista
674d089bea
Tiago Batista posted a patch to fix the build:
...
Trying to compile the latest git tree, I got some errors
"auth/pam_error.h not found" errors, it looks like it moved to
auth/ntlm/pam_errors.h.
Andrew Bartlett
(This used to be commit 95831a015a
)
2008-05-06 08:12:03 +10:00
Andrew Bartlett
714b3a87d2
Fix the build after the auth/ -> auth/ntlm/ rename
...
I need to fix up the header inclusion, but this fixes things for now.
Andrew Bartlett
(This used to be commit 7c07edb24b
)
2008-05-05 19:28:38 +10:00
Andrew Bartlett
7ee76eeae5
Move NTLM authentication details into auth/ntlm
...
This should help clarify the role of the various files around here
(done on Jelmer's request).
Andrew Bartlett
(This used to be commit efa3990375
)
2008-05-05 15:23:57 +10:00
Andrew Bartlett
2c95244f11
Add a new implementation of security=server.
...
This is not intended for general use, and will not be easily exposed
(if I have anything to do with it), but should allow the CIFS proxy to
re-use the connection.
A work in progress.
Andrew Bartlett
(This used to be commit a1e60ebc6d
)
2008-05-05 13:21:18 +10:00
Andrew Bartlett
fe7d460671
Allow an NTLM response to be specified into the auth subsystem.
...
This allows it to be proxied for NTLM pass-though authentication (aka
security=server and associated man-in-the-middle attacks).
Andrew Bartlett
(This used to be commit 6ffabb38d0
)
2008-05-05 12:58:15 +10:00
Andrew Bartlett
f8fb5d8c4d
Reorder this function in the file, so it reads bottom-up.
...
The rest of this file reads bottom-up, but this function
(connect_send_negprot()) was out of place.
Andrew Bartlett
(This used to be commit f0c95cd74f
)
2008-05-05 12:57:23 +10:00
Andrew Bartlett
30a45df366
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 6bb4c1e6a3
)
2008-05-01 16:41:36 +10:00
Jelmer Vernooij
aedaba990f
Split up lcov target.
...
(This used to be commit 38f455e005
)
2008-04-27 23:29:50 +01:00
Jelmer Vernooij
86a22b6fad
Fix header locations.
...
(This used to be commit 4fc11bd97d
)
2008-04-27 15:04:33 +01:00
Jelmer Vernooij
1e973565b6
Move subunit infrastructure code into lib/torture.
...
(This used to be commit 5b44d8121d
)
2008-04-27 14:02:46 +01:00
Andrew Bartlett
7c5704499a
Fix dependencies on gensec_krb5 and the NTLMSSP code.
...
This is so that gensec_krb5 does not depend on the NTLM authentication
code.
Andrew Bartlett
(This used to be commit 71ec5bfb3e
)
2008-04-26 09:50:15 +01:00
Andrew Bartlett
35e45534c6
Revert to using the old CIFS connection API.
...
Rather than add a new 'out' member to the API, simply fill in the
'tree' early enough that we can access the server challenge there.
Andrew Bartlett
(This used to be commit 6dbbcf8aaf
)
2008-04-25 15:59:22 +01:00
Andrew Bartlett
c4219fd803
Make the composite 'connect to server' code useful for security=server
...
The ability to short-circuit the connection code to only do a negprot
allows us to do the rest once we have the user's password. We return
the 8 byte challenge so we can pass it to the client.
Andrew Bartlett
(This used to be commit 40fe386b03
)
2008-04-25 15:08:52 +01:00
Andrew Bartlett
ee70e01e3e
Don't compile files twice when the compilation fails.
...
Andrew Bartlett
(This used to be commit 53ea233649
)
2008-04-25 15:08:23 +01:00