1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
Commit Graph

53109 Commits

Author SHA1 Message Date
Günther Deschner
2d21145042 s3: re-run make samba3-idl.
Guenther
2009-04-09 16:41:56 +02:00
Günther Deschner
af32ab94eb svcctl: use svcctl_ServiceState type for dependent calls in IDL.
Guenther
2009-04-09 16:41:55 +02:00
Günther Deschner
8b9f2abfcb s3-svcctl: Fix invalid buffer memset in _svcctl_QueryServiceObjectSecurity().
Found by torture-test.

Guenther
2009-04-09 15:08:29 +02:00
Günther Deschner
1632a4ebab s4-smbtorture: add test_QueryServiceObjectSecurity() to RPC-SVCCTL test.
Guenther
2009-04-09 14:52:30 +02:00
Günther Deschner
acd7fef984 s3-svcctl: Fix _svcctl_Set/GetServiceObjectSecurity after IDL changes.
Guenther
2009-04-09 14:51:21 +02:00
Günther Deschner
0ee3c433c8 s3: re-run make samba3-idl.
Guenther
2009-04-09 14:41:36 +02:00
Günther Deschner
f0d045be4f svcctl: Fix IDL for svcctl_QueryServiceObjectSecurity and Set call.
Guenther
2009-04-09 14:41:29 +02:00
Günther Deschner
9945d15a5d s4-smbtorture: add test_QueryServiceConfigW() to RPC-SVCCTL.
Guenther
2009-04-09 14:33:37 +02:00
Günther Deschner
544113f9dd s4-smbtorture: add test_QueryServiceStatus() to RPC-SVCCTL.
Guenther
2009-04-09 14:33:28 +02:00
Andrew Tridgell
65ad2ced60 Merge branch 'wspp-schema' 2009-04-09 14:40:19 +10:00
Andrew Tridgell
9d50c6b603 enable testing of possibleInferiors generation 2009-04-09 14:37:52 +10:00
Andrew Tridgell
87506b4a19 make the memory usage of possibleInferiors much more efficient 2009-04-09 14:29:36 +10:00
Andrew Tridgell
fd7c52231f added _const versions of some of the str_list_*() functions
These const versions don't copy the strings themselves, which
is useful when those strings point at known constant data (into the
schema in this case)
2009-04-09 14:28:38 +10:00
Andrew Tridgell
26f5225ae2 we should not be supplying a generated attribute in our schema 2009-04-09 13:46:35 +10:00
Andrew Tridgell
37254b7a76 fixed the possibleInferiors calculation so it now passes the test
We are probably still using more memory here than we need to. That
needs to be looked at.
2009-04-09 13:46:18 +10:00
Andrew Tridgell
481fb8aa13 slightly nicer output in our possibleInferiors test code 2009-04-09 13:45:23 +10:00
Andrew Tridgell
6abca12aa0 hook the new possibleInferiors calculation into the schema
We now generate possibleInferiors at startup, and return it when
requested
2009-04-09 13:45:04 +10:00
Andrew Tridgell
4f69d7067d added str_list_unique() and str_list_show()
I also undid some of the const changes from Andrew, as
they didn't in fact resolve the const warnings.
2009-04-09 13:44:27 +10:00
Jeremy Allison
e5702da72c Add the thread functions to top level lib/util.
Not yet used, that's the next step.
Jeremy.
2009-04-08 15:46:49 -07:00
Günther Deschner
d8a6ea8141 s3-svcctl: Fix _svcctl_EnumServicesStatusW (again).
The final plan is to use the same macro based code that we have in spoolss to
handle the buffers and calculate the buffer-sizes.

Guenther
2009-04-08 23:23:17 +02:00
Volker Lendecke
ccd293ba0e Remove async_req 2009-04-08 23:11:59 +02:00
Volker Lendecke
cf7d26933b Convert cli_push to tevent_req
Metze, please check!

Thanks,

Volker
2009-04-08 23:11:59 +02:00
Volker Lendecke
9c89aee5f3 Convert cli_pull to tevent_req 2009-04-08 23:11:59 +02:00
Günther Deschner
d0c307af56 s3-net: Fix Bug #5329: add "net rpc service delete/create".
Patch from Danny Tylman <danny.tylman@insightix.com>.

Guenther
2009-04-08 22:40:24 +02:00
Volker Lendecke
a3f24d91c5 Convert rpc_transport_smbd_init to tevent_req 2009-04-08 22:17:04 +02:00
Volker Lendecke
8a2112c942 Convert rpc_cli_smbd_conn_init to tevent_req 2009-04-08 22:17:04 +02:00
Volker Lendecke
bfacecc17b Convert get_anon_ipc to tevent_req 2009-04-08 22:17:04 +02:00
Volker Lendecke
f3d33cd81d Convert rpc_transport_np_init to tevent_req 2009-04-08 22:17:03 +02:00
Günther Deschner
cc98d3ae9f error-codes: add some service related error codes.
Patch initially from: Danny Tylman <danny.tylman@insightix.com>

Guenther
2009-04-08 21:54:28 +02:00
Günther Deschner
0be30e8ced s4-smbtorture: fix test_ReportEventLog in RPC-EVENTLOG.
Guenther
2009-04-08 19:45:58 +02:00
Günther Deschner
47bda3f3c7 s3-eventlog: split out evlog_convert_tdb_to_evt().
Guenther
2009-04-08 19:45:58 +02:00
Günther Deschner
98d703a6b7 s3-eventlog: move rpc_server/srv_eventlog_lib.c out of rpc_server.
Guenther
2009-04-08 19:45:57 +02:00
Karolin Seeger
bed4f84134 s3/packaging: Add idmap_hash and idmap_adex to the list of built modules.
Karolin
2009-04-08 17:50:33 +02:00
Andrew Bartlett
db29383797 Make the schema_inferiors generation code to compile
Sadly it still segfaults at this stage

Andrew Bartlett
2009-04-08 23:18:49 +10:00
Andrew Bartlett
54f7523db1 Rework util_strlist prototypes to use a bit more and less const
Hopefully this produces less warnings, but it might produce more...

Andrew Bartlett
2009-04-08 23:18:13 +10:00
Günther Deschner
5654f141a2 s3-rpc-server: remove unused rpc_server/srv_util.c file.
Guenther
2009-04-08 14:41:28 +02:00
Günther Deschner
c1b354531f s3-selftest: As Samba3 now passes RPC-SPOOLSS-WIN enable it against ourself.
Guenther
2009-04-08 13:52:11 +02:00
Günther Deschner
1f6646e135 s4-smbtorture: Small fix for RPC-SPOOLSS-WIN to deal with driver-less printers.
The getdriver query failure should only be critical when there is actually a
driver associated to a printer.

Guenther
2009-04-08 13:51:26 +02:00
Günther Deschner
fa7f2ffe51 s3-selftest: add root for make test as well (not only make selftest).
Guenther
2009-04-08 13:11:16 +02:00
Günther Deschner
78951bd7f4 s3-util-sock: add ismyaddr() check in is_myname_or_ipaddr().
Guenther
2009-04-08 12:47:10 +02:00
Günther Deschner
403422e1ea s3-selftest: Samba3 passes RPC-SVCCTL so enable it during make test.
Guenther
2009-04-08 11:49:24 +02:00
Günther Deschner
18d475cea9 selftest: add a fake root user to nss_wrapper_passwd in s3.
Needed to make some server calls to get_root_nt_token() succeed.
make selftest/make test gurus, please check.

Guenther
2009-04-08 11:48:13 +02:00
Günther Deschner
8e3145e551 svcctl: use offered/needed for buffer sizes as in spoolss.
Guenther
2009-04-08 11:03:53 +02:00
Günther Deschner
b36fab0491 s3-svcctl: no need to define SVCCTL_NUM_INTERNAL_SERVICES twice in a file.
Guenther
2009-04-08 01:52:28 +02:00
Andrew Bartlett
6859b805e8 s3:lib Use push_ucs2_talloc() in ms_fnmatch()
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-08 01:15:24 +02:00
Günther Deschner
c5b24d65cd s3-spoolss: set servername to global_myname() in set_printer_hnd_name().
This allows spoolss_OpenPrinterEx to open a printer by printername.
Now the Samba3 spoolss server passes the RPC-SPOOLSS-WIN test.

Guenther
2009-04-07 22:15:15 +02:00
Andrew Bartlett
0c22d55134 s3:charcnv Remove unused unistrcpy() and unistrlen()
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 20:51:56 +02:00
Andrew Bartlett
3277b19800 s3:rpc_parse remove unused prs_unistr2()
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 20:51:55 +02:00
Andrew Bartlett
80163b5ac5 s3:charcnv Remove unused unistr2 functions
Natrually, the hard work to make these unsued was done by GD, not me :-)

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 20:51:55 +02:00
Andrew Bartlett
5fff538820 s3:charcnv Remove unused ucs2_to_unistr2()
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 20:51:55 +02:00