Jeremy Allison
a77a8a5e35
Fix more SMB2 locking. We still crash but this won't last :-).
...
Jeremy.
2010-05-06 08:22:13 -07:00
Andrew Tridgell
e0f602f2c9
s4-devel: auto-delete any leftover IPs
...
remove IP from a previous vampire_ad.sh run
2010-05-06 15:25:18 +02:00
Andrew Tridgell
9ba08c22e8
s4-devel: a useful script for giving DRS replication demos
2010-05-06 15:25:18 +02:00
Andrew Tridgell
c61f4dcc0f
build: added a reconfigure target
...
this is meant to be used by the s3 build, to allow jelmers work on
smbtorture4 in s3 to avoid re-running configure unless its needed
2010-05-06 14:56:43 +02:00
Günther Deschner
049416c285
s3-spoolss: make several notify functions static.
...
Guenther
2010-05-06 13:41:51 +02:00
Günther Deschner
d2d7174394
s3-eventlog: move all eventlog headers to lib/eventlog and only include where required.
...
Guenther
2010-05-06 13:41:51 +02:00
Björn Jacke
0dfe1b9b13
s3: fix the merged build - it required $LD
...
Thanks to Jelmer for pointing that out!
2010-05-06 12:30:14 +02:00
Jelmer Vernooij
fc336590dc
Remove the copy of ldb from Samba 3.
...
There were two utility functions that other parts of Samba 3
still relied on; they have been moved to lib/ldb_compat.[ch].
2010-05-06 11:34:30 +02:00
Günther Deschner
24b2dddae4
s3-build: fix the build of vfs_notify_fam.
...
Guenther
2010-05-06 10:28:31 +02:00
Jeremy Allison
d58b795587
Move to MS-FSA algorithm when checking for invalid lock range.
...
Satisfies SMB and SMB2.
Jeremy.
2010-05-05 15:57:57 -07:00
Günther Deschner
c6ebab846d
s3: only include gen_ndr headers where needed.
...
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time
as follows:
ccache build w/o patch
real 4m21.529s
ccache build with patch
real 3m6.402s
pch build w/o patch
real 4m26.318s
pch build with patch
real 3m6.932s
Guenther
2010-05-06 00:22:59 +02:00
Jeremy Allison
d6a6362752
Get closer to passing SMB2 lock test. Still crashes but we get further.
...
More work to follow later.
Jeremy.
2010-05-05 14:54:31 -07:00
Andrew Tridgell
67fb18adb0
s4-ldb: check for ldap_initialize
...
HPUX 11.0 has a ldap library that doesn't have ldap_initialize
2010-05-05 21:37:42 +02:00
Björn Jacke
1969b4acc3
s3:configure: not simply check for "ld" but for the linker used by $CC
...
this hopefully fixes Solaris' gcc build which uses the system ld by default.
All in all we should clean up most of the compiler and linker flags depending
on the actual compilers and linkers we use. Only some tweaks are OS-specific.
A cleanup in this area should be done along with the move to a new build
system (whensoever that will be ...).
2010-05-05 21:38:08 +02:00
Jeremy Allison
d8ba02b73d
Return correct error on read request on directory.
...
Jeremy.
2010-05-05 09:50:48 -07:00
Jeremy Allison
19758b354d
Get in_minimum and EOF errors right.
...
Jeremy.
2010-05-05 09:47:49 -07:00
Jeremy Allison
4a97912baf
Client ignoring max write is a warning, not an error.
...
Jeremy.
2010-05-05 09:42:45 -07:00
Jeremy Allison
44e9a90b51
Start to pass the SMB2 read torture tests.
...
Jeremy.
2010-05-05 09:39:31 -07:00
Günther Deschner
8528e347cb
s3-lanman: use srvsvc for api_RNetShareAdd().
...
Guenther
2010-05-05 18:29:21 +02:00
Günther Deschner
65105aafb4
s3-spoolss: remove unused winreg_enumval_to_blob().
...
Guenther
2010-05-05 18:23:45 +02:00
Andreas Schneider
386c1fffac
s3-spoolss: Create default DsSpooler values.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 18:22:45 +02:00
Andreas Schneider
92df015e30
s3-spoolss: Fixed the DeviceMode handling in winreg.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 18:22:28 +02:00
Andreas Schneider
859a1e04fb
s3-spoolss: Added winreg security descriptor functions.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 18:21:54 +02:00
Andreas Schneider
a76cc0a18c
s3-spoolss: Migrated winreg to spoolss_create_default_secdesc.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 18:21:19 +02:00
Günther Deschner
ed3852c2c2
s3-spoolss: make sure to return success in winreg_get_driver_list() for a
...
non-existing architecture / version combination.
Guenther
2010-05-05 18:17:32 +02:00
Günther Deschner
83e324c417
s3-spoolss: talloc_steal the returned driver_list in winreg_get_driver_list().
...
Otherwise the function would return a pointer to a freed list.
Guenther
2010-05-05 18:17:23 +02:00
Simo Sorce
24225bf032
s3-spoolss: Fixed winreg_printer_query_XXX.
...
A cast to an incorrectly sized pointer was breaking
on 64bit architectures where size_t is 64bit.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 18:17:13 +02:00
Andreas Schneider
740418a150
s3-spoolss: Added a winreg_printer_query_binary function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 18:16:38 +02:00
Andreas Schneider
66f7699511
s3-spoolss: Added a generic spoolss_create_default_secdesc function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 18:16:23 +02:00
Andreas Schneider
b2ea8fbcce
s3-spoolss: Added a function to create a default spoolss_DeviceMode.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 18:08:56 +02:00
Volker Lendecke
5a56bc948e
s3: Fix bug 5972 -- remove -L testparm parameter
...
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> to point out that this does
not work and to agree it's not worth fixing :-)
2010-05-05 18:07:45 +02:00
Andreas Schneider
3f0562f4b4
s3-spoolss: Fixed memory error in winreg_get_driver.
...
The strings in the structure need to be initialized with an empty
string.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 17:33:06 +02:00
Andreas Schneider
c95a79aae9
s3-spoolss: Added a sharename arg to winreg_update_printer.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 17:32:59 +02:00
Andreas Schneider
053ed7d554
s3-spoolss: Added missing servername option to winreg_{create,get}_printer.
...
This is needed to be able to pass the correct servername from
Printer_entry.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 17:32:51 +02:00
Andreas Schneider
a5fb4117e1
s3-spoolss: Added missing Printer Driver in winreg_{update,get}_printer.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 17:32:33 +02:00
Günther Deschner
6659a0fe92
s3-net: fix crash in rap_share_add().
...
Guenther
2010-05-05 17:21:06 +02:00
Günther Deschner
d3bd9de087
s4-smbtorture: remove unused variable from smbcli_rap_netprintdestgetinfo().
...
Guenther
2010-05-05 17:21:05 +02:00
Günther Deschner
e90c874b25
rap: add IDL for rap_NetShareAdd (undocumented in MS-RAP).
...
Guenther
2010-05-05 17:21:05 +02:00
Andrew Tridgell
10469d6606
s3-build: don't rebuild/link on every make run
2010-05-05 16:14:13 +02:00
Andrew Tridgell
ed2941ba3d
build: added configure test for inline
2010-05-05 16:14:13 +02:00
Andrew Tridgell
20d77705ce
build: update version of waf
...
this fixes a slow configure problem on HPUX
2010-05-05 16:14:13 +02:00
Andrew Tridgell
3d2819bd86
build: use the wrapper commands in testwaf.sh
...
this ensures they are well tested
2010-05-05 16:14:13 +02:00
Andrew Tridgell
f8120ab697
build: added a distcheck target
2010-05-05 16:14:13 +02:00
Andrew Tridgell
47fb7dfd1c
build: mark cloned task generators as not posted
...
this solves an incompatibility with a newer version of waf from svn
2010-05-05 16:14:13 +02:00
Andrew Tridgell
fa172c494f
build: exit with an error if waf configure fails
...
We don't want configure in the build farm to show green when it fails
2010-05-05 16:14:13 +02:00
Andreas Schneider
b4c46bd7df
libwbclient: Fixed doxygen errors.
2010-05-05 15:36:10 +02:00
Jeremy Allison
62143543ce
Fixed issue with return in a void function found by Björn JACKE <bj@SerNet.DE>
...
Jeremy.
2010-05-05 06:09:03 -07:00
Andrew Tridgell
7f2e59e4c1
s4-ldb: add msg saying which build system is being used
...
(this is a gratuituous commit to trigger the build farm to rebuild
ldb on all systems)
2010-05-05 11:42:33 +02:00
Andreas Schneider
dc2f962aac
tevent: Started a tevent_queue tutorial.
2010-05-05 09:28:04 +02:00
Andreas Schneider
239d59feab
tevent: Document the tevent_queue functions.
2010-05-05 09:28:04 +02:00