Steve Langasek
c6b570ce30
s3: Fix bugs in the detection of the GNU ld version (Bug #6147 )
...
This bug results in a failure to use linker scripts to limit the set of symbols
exported by our shared libraries.
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 22:10:23 +01:00
Zach Loafman
211e255569
s4 torture: Win7 has a slightly different allowed access mask
...
Still investigating.
2009-03-17 13:43:28 -07:00
Zach Loafman
7bf2a213cd
s4 torture: Add a string version for NT_STATUS_WIN7_INVALID_RANGE
...
Also submitted a request to cifs-protocol for a real name for this
thing. Use win7 target logic in smb2 lock test, SMB2-LOCK now passes
against Win7.
2009-03-17 13:43:27 -07:00
Zach Loafman
6c08e329fa
s4 libcli: Add SMB2.1 dialect to libcli
...
Negotiate 2.1 if possible, leave negotiate results in
transport->negotiate.dialect_revision.
2009-03-17 13:43:27 -07:00
Volker Lendecke
b29c69f459
Fix #6130 : Don't crash in winbindd_rpc lookup_groupmem() on unmapped members
...
Thanks to François Legal <devel@thom.fr.eu.org> for reporting this bug
2009-03-17 21:19:32 +01:00
Stefan Metzmacher
e95d0b548e
s4:build: require tevent 0.9.5
...
metze
2009-03-17 20:19:11 +01:00
Stefan Metzmacher
7d07266ca2
tevent: change version to 0.9.5 after the ABI has changed
...
metze
2009-03-17 20:19:11 +01:00
Stefan Metzmacher
9eaf53d98e
tevent: store the location where a request was finished
...
This is very useful to find bugs.
You can use 'p *req' in gdb to show where
tevent_req_done(), tevent_req_error() or tevent_req_nomem()
was called.
metze
2009-03-17 20:17:01 +01:00
Stefan Metzmacher
3a831e4620
tevent: use an immediate event as trigger for tevent_queue
...
metze
2009-03-17 19:59:09 +01:00
Stefan Metzmacher
4bdf299385
tevent: use an immediate event fot tevent_req_post()
...
Now tevent_req_post() never fails
metze
2009-03-17 19:59:08 +01:00
Stefan Metzmacher
a78cd2a24b
tevent: use TALLOC_FREE() in tevent_req.c
...
metze
2009-03-17 19:59:08 +01:00
Stefan Metzmacher
6c290586e4
s3:events: add support for immediate events
...
metze
2009-03-17 19:59:07 +01:00
Stefan Metzmacher
66886f8966
tevent: add support for immediate events
...
They're like directly triggered timed events,
but you can preallocated them and scheduling them
will not fail.
metze
2009-03-17 19:59:00 +01:00
Stefan Metzmacher
d27be1d5fa
s3:events: make use of tevent_common_loop_wait()
...
metze
2009-03-17 19:58:58 +01:00
Stefan Metzmacher
940e61846e
tevent: add tevent_common_loop_wait() helper function and use it
...
tevent_loop_wait should do the same for all backends.
It should loop as long as we have pending events.
metze
2009-03-17 19:58:57 +01:00
Stefan Metzmacher
0139befb91
tevent: check signal events first in event_loop_once
...
We also check for signal events directly before and after
the select/epoll calls.
metze
2009-03-17 19:58:56 +01:00
Stefan Metzmacher
3af7db3dce
tevent: let tevent_loop_once() just run one fd event
...
This makes the logic much simpler for the callers,
and matches the samba3 behavior.
If needed we can add performance tunning for tevent_loop_wait()
later.
metze
2009-03-17 19:58:55 +01:00
Günther Deschner
77d2cd1ff7
s3-spoolss: remove unused RPC_BUFFER definition.
...
Guenther
2009-03-17 19:07:38 +01:00
Günther Deschner
b57d5eaac0
s3-spoolss: remove (disabled) enum_all_printers_info_1_remote.
...
Jerry, please check. I do not understand how this could work and in
it's current form, we cannot make this even compile anymore, I'm afraid :)
I think it is safe to remove.
Guenther
2009-03-17 19:07:38 +01:00
Günther Deschner
fac7208273
s4-smbtorture: fix spoolss notify test for notify type changes.
...
Guenther
2009-03-17 19:07:37 +01:00
Günther Deschner
7f90a89d60
s3-spoolss: remove PRINTER_NOTIFY_TYPE and JOB_NOTIFY_TYPE now defined in IDL.
...
Guenther
2009-03-17 19:07:37 +01:00
Günther Deschner
479d91ae9f
s3-spoolss: remove SPL Port definitions now in IDL.
...
Guenther
2009-03-17 19:07:37 +01:00
Günther Deschner
9b5666aa70
s3-spoolss: remove PRIORITY defines, that were never used.
...
Guenther
2009-03-17 19:07:36 +01:00
Günther Deschner
f32cf73019
s3: re-run make samba3-idl.
...
Guenther
2009-03-17 19:07:36 +01:00
Günther Deschner
289cfb269b
spoolss: use PRINTER_NOTIFY_TYPE and JOB_NOTIFY_TYPE in favor of "old" s4 defines.
...
Guenther
2009-03-17 19:07:35 +01:00
Günther Deschner
a264bc68f0
spoolss: add SPL Port definitions to IDL.
...
Guenther
2009-03-17 19:07:35 +01:00
Günther Deschner
f94a6f4801
spoolss: add range checks for priority element in spoolss_JobInfo structs.
...
Guenther
2009-03-17 19:07:35 +01:00
Günther Deschner
4cb3cbea84
s3-spoolss: move DRIVER_X_VERSION flags into the backend, where they belong to.
...
Guenther
2009-03-17 19:07:34 +01:00
Günther Deschner
f19faa0e76
s3-spoolss: remove unused DEVICEMODE parsing and header.
...
Guenther
2009-03-17 19:07:30 +01:00
Günther Deschner
5778a36357
s3-spoolss: rename convert_printer_info_new to convert_printer_info.
...
Guenther
2009-03-17 18:39:55 +01:00
Günther Deschner
1e7f602f8c
s3-spoolss: rename convert_nt_devicemode_new to convert_nt_devicemode.
...
Guenther
2009-03-17 18:39:49 +01:00
Günther Deschner
6549408a4d
s3-spoolss: rename construct_dev_mode_new to construct_dev_mode.
...
Guenther
2009-03-17 18:39:43 +01:00
Günther Deschner
827ba0a64b
s3-spoolss/registry: use libndr to push a spoolss_DeviceMode in fill_in_printer_values().
...
Guenther
2009-03-17 18:39:36 +01:00
Günther Deschner
96998f0358
s3-spoolss/registry: use marshall_sec_desc in fill_in_printer_values().
...
Guenther
2009-03-17 18:39:29 +01:00
Günther Deschner
d759f9961a
s3-spoolss: move SYSTEMTIME parsing to a more generic place, as suggested.
...
Guenther
2009-03-17 18:39:23 +01:00
Günther Deschner
47c024fd75
s3-spoolss: rename temporary convert_devicemode_new function.
...
Guenther
2009-03-17 18:39:17 +01:00
Günther Deschner
28d16866ee
s3-spoolss: move PRINTER_ATTRIBUTE_SAMBA to printing backend, where they belong.
...
Guenther
2009-03-17 18:39:10 +01:00
Günther Deschner
2d318490ea
s3-spoolss: remove PRINTER_MESSAGE flags and struct, this was never used.
...
Guenther
2009-03-17 18:39:03 +01:00
Volker Lendecke
b693f7f067
Remove some transitional code in writev_send
2009-03-17 17:31:22 +01:00
Volker Lendecke
bce98d8c03
Convert np_read to tevent_req
2009-03-17 17:31:22 +01:00
Volker Lendecke
89543d6c78
Convert np_write to tevent_req
2009-03-17 17:31:22 +01:00
Björn Jacke
c7dba467f2
remove needless rpath stuff for default paths as early as possible
...
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 16:50:38 +01:00
Björn Jacke
066cbb5835
clean up lib64 linking paths the same way as lib
...
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 16:11:14 +01:00
Björn Jacke
da06a345cc
to be portable, use options first, arguments last
...
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 16:09:15 +01:00
Michael Adam
d352d3c713
.gitignore source4/torture/ldb/proto.h
...
Michael
2009-03-17 15:51:13 +01:00
Björn Jacke
a23719babb
fix build on sles8 and other old popt installations
...
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 15:47:20 +01:00
Günther Deschner
e89e739e22
s3-spoolss: remove unused init_unistr_array().
...
Guenther
2009-03-17 12:21:31 +01:00
Günther Deschner
4a58f263b9
s3-spoolss: remove unused get_printer_dataex().
...
Guenther
2009-03-17 12:21:23 +01:00
Günther Deschner
2d10548ab1
s3: remove rpc_parse/parse_buffer.c completely.
...
Guenther
2009-03-17 12:21:15 +01:00
Günther Deschner
338c61060b
s3-spoolss: remove old spoolss_EnumPrinterKey.
...
Guenther
2009-03-17 12:19:03 +01:00