Günther Deschner
ef02342562
s3-spoolss: add registry_value_to_printer_enum_value.
...
Guenther
2009-03-18 11:55:54 +01:00
Günther Deschner
f683341294
s3-spoolss: add SPOOLSS_BUFFER_ARRAY macro.
...
Guenther
2009-03-18 11:55:47 +01:00
Günther Deschner
2687d29f7c
spoolss: add ndr_size_spoolss_EnumPrinterDataEx_info in spoolss helper.
...
Guenther
2009-03-18 11:55:41 +01:00
Günther Deschner
ec47aac299
spoolss: rename NDR_SPOOLSS_SIZE_ENUM macro to NDR_SPOOLSS_SIZE_ENUM_LEVEL in
...
spoolss helper.
Guenther
2009-03-18 11:55:32 +01:00
Günther Deschner
342b436691
s4-smbtorture: fix spoolss_EnumPrinterKey callers in RPC-SPOOLSS-WIN test.
...
Kai, please check.
Guenther
2009-03-18 10:35:22 +01:00
Günther Deschner
048013ddaa
spoolss: fix ndr_push_spoolss_EnumPrinterDataEx.
...
Guenther
2009-03-18 10:35:13 +01:00
Stefan Metzmacher
93c2057c8b
s3:winbindd: accept new connections via fd events
...
metze
2009-03-18 07:00:42 +01:00
Stefan Metzmacher
3b8dd79f2b
s3:winbindd: move non event related code out of process_loop() in the the caller
...
metze
2009-03-18 07:00:42 +01:00
Stefan Metzmacher
0685031ccf
s3:winbindd: remove unused close_winbindd_socket() function
...
metze
2009-03-18 07:00:41 +01:00
Stefan Metzmacher
450252d2a1
s3:smbd: use tevent_loop_once() in the parent event loop
...
metze
2009-03-18 07:00:40 +01:00
Stefan Metzmacher
b659daf81f
s3:printing: use tevent_loop_wait() instead of manual looping
...
metze
2009-03-18 07:00:39 +01:00
Stefan Metzmacher
339ea0503d
s3:printing: use a fd event to monitor the pipe to the parent
...
metze
2009-03-18 07:00:39 +01:00
Stefan Metzmacher
445b37f4f3
s3:smbd: don't exit the parent when we have no connections
...
This code path can't really happen anymore, because
launchd support was removed with commit e5a951325a6cac8567af3a66de6d2df577508ae4.
But it's confusing to have that code there...
metze
2009-03-18 07:00:38 +01:00
Günther Deschner
cd7f62ab70
s3-spoolss: use rpccli_spoolss_enumprinterdataex in ldap_printer.c.
...
Guenther
2009-03-18 02:37:57 +01:00
Günther Deschner
6e52c232c7
s4-smbtorture: fix spoolss_EnumPrinterDataEx tests.
...
sorry, I could swear this did compile...
Guenther
2009-03-18 01:42:56 +01:00
Günther Deschner
9d024d1715
s3-spoolss: remove old rpccli_spoolss_enumprinterdataex.
...
Guenther
2009-03-18 01:30:41 +01:00
Günther Deschner
f9712d568a
s3-net: use rpccli_spoolss_enumprinterdataex.
...
Guenther
2009-03-18 01:30:34 +01:00
Günther Deschner
8c3ef2d900
s3-rpcclient: use rpccli_spoolss_enumprinterdataex wrapper.
...
Guenther
2009-03-18 01:30:26 +01:00
Günther Deschner
ab85fc78bd
s3-spoolss: add rpccli_spoolss_enumprinterdataex convenience wrapper.
...
Guenther
2009-03-18 01:30:18 +01:00
Günther Deschner
18a93e3e62
spoolss: add ndr_push/pull_spoolss_EnumPrinterDataEx helper.
...
Guenther
2009-03-18 01:19:46 +01:00
Günther Deschner
b1d4523f73
s3: re-run make samba3-idl.
...
Guenther
2009-03-18 01:19:37 +01:00
Günther Deschner
19ea2a5486
spoolss: add spoolss_EnumPrinterDataEx triple call.
...
Guenther
2009-03-18 01:19:26 +01:00
Günther Deschner
2dae07a3ca
s3: re-run make samba3-idl.
...
Guenther
2009-03-18 01:12:24 +01:00
Günther Deschner
4fb79b4fe7
spoolss: fix spoolss_PrinterEnumValues w.r.t. size calculation of PrinterData.
...
Guenther
2009-03-18 01:12:16 +01:00
Alexander Zagrebin
b4ae0e8d84
Missing break in conversion function prevents tdb password database update.
2009-03-17 15:38:33 -07:00
Timur
a3d04991ef
build: fix detection of netinet/ip.h on FreeBSD
...
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 23:09:00 +01:00
Timur
e8aa7169a6
build: format the header check for netinet/ip.h more nicely
...
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 23:09:00 +01:00
Jeremy Allison
8dd1faaa29
Remove the global "struct cm_cred_struct" and associated calls, make
...
callers pass in a struct user_auth_info * instead. This commit causes
smbc_set_credentials() to print out a message telling callers to use
smbc_set_credentials_with_fallback() instead, as smbc_set_credentials()
has a broken API (no SMBCCTX * pointer). No more global variables used
in the connection manager API for client dfs calls.
Jeremy.
2009-03-17 14:53:06 -07:00
Günther Deschner
153a837bd6
s3-rpcclient: say that we are displaying a REG_MULTI_SZ in display_reg_value().
...
Guenther
2009-03-17 22:15:20 +01:00
Günther Deschner
4d701536bf
s3: re-run make samba3-idl.
...
Guenther
2009-03-17 22:11:25 +01:00
Günther Deschner
b12c3178ef
spoolss: add spoolss_PrinterEnumValues.
...
Guenther
2009-03-17 22:11:17 +01:00
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