1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

52415 Commits

Author SHA1 Message Date
Günther Deschner
8b730ca1d8 s3-rpcclient: fix spoolss notify test after spoolss_Field changes.
Guenther
2009-03-18 16:46:42 +01:00
Günther Deschner
9744a7058c s4-smbtorture: fix spoolss notify test after spoolss_Field changes.
Guenther
2009-03-18 16:46:33 +01:00
Günther Deschner
65151077b3 spoolss: add custom ndr_print_spoolss_Field.
Guenther
2009-03-18 16:46:14 +01:00
Günther Deschner
0e21ea39d5 s3: re-run make samba3-idl.
Guenther
2009-03-18 16:46:07 +01:00
Günther Deschner
f9ddc6ae4a spoolss: make spoolss_Field a nodiscriminant union of 2 sets of notify flag enums.
Guenther
2009-03-18 16:45:59 +01:00
Günther Deschner
9ab8953d74 s3-rpc_parse: move prs_uint64 to rpc_parse/parse_prs.c.
Guenther
2009-03-18 16:43:28 +01:00
Günther Deschner
9fdeb7f7b3 s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL.
Guenther
2009-03-18 14:18:42 +01:00
Günther Deschner
b0747651b9 s3-printing: use marshall/unmarshall_sec_desc_buf in sec_desc_upg_fn().
Guenther
2009-03-18 13:06:24 +01:00
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 e5a951325a.
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