1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

33398 Commits

Author SHA1 Message Date
Volker Lendecke
b71f2af1a6 s3: Remove some smbd_messaging_context references from smbd_process 2010-08-08 23:37:47 +02:00
Volker Lendecke
37d71a56fd s3: Pass sconn to smbd_process 2010-08-08 23:37:47 +02:00
Volker Lendecke
1702b17494 s3: Lift the server_messaging_context from housekeeping_fn 2010-08-08 23:37:46 +02:00
Volker Lendecke
e64bd85d90 s3: Lift the server_messaging_context from check_reload 2010-08-08 23:37:46 +02:00
Volker Lendecke
53ed39de4a s3: Make check_reload() static 2010-08-08 23:37:46 +02:00
Volker Lendecke
f0896759ce s3: Lift the server_messaging_context from spoolss_setjob_1 2010-08-08 18:09:39 +02:00
Volker Lendecke
18ff84b089 s3: Lift the server_messaging_context from construct_printer_info6 2010-08-08 18:09:39 +02:00
Volker Lendecke
35c39b07cc s3: Lift the server_messaging_context from construct_printer_info2 2010-08-08 18:09:39 +02:00
Volker Lendecke
73a5c2d02d s3: Lift the server_messaging_context from construct_notify_jobs_info 2010-08-08 18:09:38 +02:00
Volker Lendecke
788498d2ff s3: Lift the server_messaging_context from construct_notify_printer_info 2010-08-08 18:09:38 +02:00
Volker Lendecke
02c008613f s3: Pass messaging_context through s_notify_info_data_table 2010-08-08 18:09:38 +02:00
Volker Lendecke
1b60ead64a s3: Lift the server_messaging_context from update_monitored_printq_cache 2010-08-08 18:09:38 +02:00
Volker Lendecke
ef208c5571 s3: Lift the server_messaging_context from print_job_endpage 2010-08-08 18:09:38 +02:00
Volker Lendecke
d1f3a2efb7 s3: Lift the server_messaging_context from print_job_write 2010-08-08 18:09:37 +02:00
Volker Lendecke
ae1600b995 s3: Lift the server_messaging_context from print_job_delete1 2010-08-08 18:09:37 +02:00
Volker Lendecke
de10824872 s3: Lift the server_messaging_context from print_job_set_name 2010-08-08 18:09:37 +02:00
Volker Lendecke
3b5b74c7dd s3: Lift the server_messaging_context from print_queue_update_with_lock 2010-08-08 18:09:37 +02:00
Volker Lendecke
c2894503d1 s3: Lift the server_messaging_context from print_queue_update_internal 2010-08-08 18:09:37 +02:00
Volker Lendecke
2b13864569 s3: Lift the server_messaging_context from traverse_fn_delete 2010-08-08 18:09:37 +02:00
Volker Lendecke
8b6d88854c s3: Lift the server_messaging_context from print_unix_job 2010-08-08 18:09:37 +02:00
Volker Lendecke
0b423493c3 s3: Lift the server_messaging_context from pjob_delete 2010-08-08 18:09:37 +02:00
Volker Lendecke
6806ae7290 s3: Lift the server_messaging_context from pjob_store 2010-08-08 18:09:36 +02:00
Volker Lendecke
9ff35d0690 s3: Lift the server_messaging_context from pjob_store_notify 2010-08-08 18:09:36 +02:00
Volker Lendecke
128976e011 s3: Lift the server_messaging_context from notify_printer_byname 2010-08-08 18:09:36 +02:00
Volker Lendecke
d62c73b799 s3: Lift the server_messaging_context from notify_printer_location 2010-08-08 18:09:36 +02:00
Volker Lendecke
83c4c04121 s3: Lift the server_messaging_context from notify_printer_port 2010-08-08 18:09:36 +02:00
Volker Lendecke
f3313c5307 s3: Lift the server_messaging_context from notify_printer_printername 2010-08-08 18:09:36 +02:00
Volker Lendecke
c427423aee s3: Lift the server_messaging_context from notify_printer_sharename 2010-08-08 18:09:36 +02:00
Volker Lendecke
7285e0d5dd s3: Lift the server_messaging_context from notify_printer_comment 2010-08-08 18:09:36 +02:00
Volker Lendecke
4e4bf13e70 s3: Lift the server_messaging_context from notify_printer_driver 2010-08-08 18:09:35 +02:00
Volker Lendecke
b71debcca0 s3: Lift the server_messaging_context from notify_job_submitted 2010-08-08 18:09:35 +02:00
Volker Lendecke
aa5fd419b2 s3: Lift the server_messaging_context from notify_job_name 2010-08-08 18:09:35 +02:00
Volker Lendecke
06cf2ae6ea s3: Lift the server_messaging_context from notify_job_username 2010-08-08 18:09:35 +02:00
Volker Lendecke
7a9f94dae8 s3: Lift the server_messaging_context from notify_job_total_pages 2010-08-08 18:09:35 +02:00
Volker Lendecke
bd6626c40c s3: Lift the server_messaging_context from notify_job_total_bytes 2010-08-08 18:09:35 +02:00
Volker Lendecke
edbed43119 s3: Lift the server_messaging_context from notify_job_status 2010-08-08 18:09:35 +02:00
Volker Lendecke
9b3a53a7a7 s3: Lift the server_messaging_context from notify_job_status_byname 2010-08-08 18:09:35 +02:00
Volker Lendecke
21811fe72d s3: Lift the server_messaging_context from notify_printer_status 2010-08-08 18:09:35 +02:00
Volker Lendecke
49d18478fd s3: Lift the server_messaging_context from notify_printer_status_byname 2010-08-08 18:09:34 +02:00
Volker Lendecke
30de2f735b s3: Lift the server_messaging_context from send_notify_field_buffer 2010-08-08 18:09:34 +02:00
Volker Lendecke
dddb5a8795 s3: Lift the server_messaging_context from send_notify_field_values 2010-08-08 18:09:34 +02:00
Volker Lendecke
6720c6e071 s3: Lift the server_messaging_context from send_spoolss_notify2_msg 2010-08-08 18:09:34 +02:00
Volker Lendecke
fc6e7bdc9e s3: Lift the server_messaging_context from print_notify_event_send_messages 2010-08-08 18:09:34 +02:00
Volker Lendecke
c6e6aee0a0 s3: Lift the server_messaging_context from print_queue_status 2010-08-08 18:09:34 +02:00
Volker Lendecke
a36103ca05 s3: Lift the server_messaging_context from get_stored_queue_info 2010-08-08 18:09:34 +02:00
Volker Lendecke
c50c973036 s3: Lift the server_messaging_context from print_job_end 2010-08-08 18:09:34 +02:00
Volker Lendecke
a4c27786ff s3: Lift the server_messaging_context from print_queue_length 2010-08-08 18:09:33 +02:00
Volker Lendecke
31d23c83fe s3: Lift the server_messaging_context from print_queue_update 2010-08-08 18:09:33 +02:00
Volker Lendecke
bc760e79c8 s3: Lift the smbd_messaging_context from start_background_queue 2010-08-08 18:09:33 +02:00
Volker Lendecke
75b4dfd14d s3: Lift the smbd_messaging_context from smbd_setup_sig_hup_handler 2010-08-08 18:09:33 +02:00
Volker Lendecke
5281e62941 s3: Lift the smbd_messaging_context from smbd_sig_hup_handler 2010-08-08 18:09:33 +02:00
Volker Lendecke
39da717fe1 s3: Lift the smbd_messaging_context from reload_services 2010-08-08 18:09:33 +02:00
Volker Lendecke
7c7ffb70fb s3: Lift the smbd_messaging_context from reload_printers 2010-08-08 18:09:33 +02:00
Volker Lendecke
89b4c90577 s3: Remove smbd_messaging_context from dummysmbd 2010-08-08 18:09:33 +02:00
Volker Lendecke
9a4ac5b2d3 s3: Fix the build without ADS 2010-08-08 16:47:19 +02:00
Volker Lendecke
cc280f0cd1 s3: Lift the smbd_messaging_context from print_queue_purge 2010-08-08 16:03:27 +02:00
Volker Lendecke
9723f33ef5 s3: Lift the smbd_messaging_context from print_queue_resume 2010-08-08 16:03:27 +02:00
Volker Lendecke
5f9165a7ea s3: Lift the smbd_messaging_context from print_queue_pause 2010-08-08 16:03:26 +02:00
Volker Lendecke
9441e8c52c s3: Lift the smbd_messaging_context from print_job_start 2010-08-08 16:03:26 +02:00
Volker Lendecke
bff871384a s3: Lift the smbd_messaging_context from print_job_checks 2010-08-08 16:03:26 +02:00
Volker Lendecke
7df0e672f2 s3: Lift the smbd_messaging_context from print_job_resume 2010-08-08 16:03:26 +02:00
Volker Lendecke
2811c258f6 s3: Lift the smbd_messaging_context from print_job_pause 2010-08-08 16:03:26 +02:00
Volker Lendecke
8dcbeecd6d s3: Lift the smbd_messaging_context from print_job_delete 2010-08-08 16:03:26 +02:00
Volker Lendecke
4a514d2261 s3: Lift the smbd_messaging_context from construct_printer_info7 2010-08-08 16:03:26 +02:00
Volker Lendecke
99b2da4504 s3: Lift the smbd_messaging_context from is_printer_published 2010-08-08 16:03:26 +02:00
Volker Lendecke
bccb7c87cc s3: Lift the smbd_messaging_context from check_published_printers 2010-08-08 16:03:25 +02:00
Volker Lendecke
7d08c25f98 s3: Lift the smbd_messaging_context from nt_printer_publish 2010-08-08 16:03:25 +02:00
Volker Lendecke
61837197d8 s3: Lift the smbd_messaging_context from nt_printer_publish_ads 2010-08-08 16:03:25 +02:00
Volker Lendecke
8c665f6da6 s3: Lift the smbd_messaging_context from store_printer_guid 2010-08-08 16:03:25 +02:00
Volker Lendecke
e43ffde91f s3: Lift the smbd_messaging_context from nt_printer_remove 2010-08-08 16:03:25 +02:00
Volker Lendecke
39ce462043 s3: Lift the smbd_messaging_context from print_time_access_check 2010-08-08 16:03:25 +02:00
Volker Lendecke
be7fd4ae50 s3: Lift the smbd_messaging_context from print_access_check 2010-08-08 16:03:25 +02:00
Volker Lendecke
d79895e826 s3: Lift the smbd_messaging_context from printer_driver_files_in_use 2010-08-08 16:03:24 +02:00
Volker Lendecke
862e888f71 s3: Lift the smbd_messaging_context from printer_driver_in_use 2010-08-08 16:03:24 +02:00
Volker Lendecke
51c47a3302 s3: Lift the smbd_messaging_context from netr_set_machine_account_password 2010-08-08 16:03:24 +02:00
Volker Lendecke
ae8619f703 s3: Lift the smbd_messaging_context from get_md4pw 2010-08-08 16:03:24 +02:00
Volker Lendecke
7850496fe7 s3: Lift the smbd_messaging_context from enumprinterdrivers_level 2010-08-08 16:03:24 +02:00
Volker Lendecke
ab196c7bfb s3: Lift the smbd_messaging_context from enumprinterdrivers_level_by_architecture 2010-08-08 16:03:23 +02:00
Volker Lendecke
e1af63fdee s3: Lift the smbd_messaging_context from update_dsspooler 2010-08-08 16:03:23 +02:00
Volker Lendecke
8ee2a0a269 s3: Lift the smbd_messaging_context from construct_printer_driver_info_level 2010-08-08 16:03:23 +02:00
Volker Lendecke
9daa6a2501 s3: Lift the smbd_messaging_context from enumprinters_level5 2010-08-08 16:03:22 +02:00
Volker Lendecke
d7803ea49c s3: Lift the smbd_messaging_context from enumprinters_level4 2010-08-08 16:03:22 +02:00
Volker Lendecke
89d8998d7c s3: Lift the smbd_messaging_context from enumprinters_level2 2010-08-08 16:03:21 +02:00
Volker Lendecke
e35ac20ca3 s3: Lift the smbd_messaging_context from enumprinters_level1 2010-08-08 16:03:21 +02:00
Volker Lendecke
bf10fa67ef s3: Lift the smbd_messaging_context from enum_all_printers_info_2 2010-08-08 16:03:21 +02:00
Volker Lendecke
ada007d971 s3: Lift the smbd_messaging_context from enum_all_printers_info_1_network 2010-08-08 16:03:21 +02:00
Volker Lendecke
2c0e63067b s3: Lift the smbd_messaging_context from enum_all_printers_info_1_name 2010-08-08 16:03:21 +02:00
Volker Lendecke
6dc35f8f70 s3: Lift the smbd_messaging_context from enum_all_printers_info_1_local 2010-08-08 16:03:21 +02:00
Volker Lendecke
67fbb0462e s3: Lift the smbd_messaging_context from enum_all_printers_info_1 2010-08-08 16:03:21 +02:00
Volker Lendecke
259b9d7809 s3: Lift the smbd_messaging_context from enumprinters_level0 2010-08-08 16:03:20 +02:00
Volker Lendecke
1a3ba2f6eb s3: Lift the smbd_messaging_context from enum_all_printers_info_level 2010-08-08 16:03:20 +02:00
Volker Lendecke
5b0a36b552 s3: Lift the smbd_messaging_context from construct_printer_info0 2010-08-08 16:03:19 +02:00
Volker Lendecke
f776d107a1 s3: Lift the smbd_messaging_context from set_printer_hnd_name 2010-08-08 16:03:19 +02:00
Volker Lendecke
1af73b04fc s3: Lift the smbd_messaging_context from winreg_del_driver_list 2010-08-08 16:03:19 +02:00
Volker Lendecke
d104e37ed1 s3: Lift the smbd_messaging_context from winreg_del_driver 2010-08-08 16:03:19 +02:00
Volker Lendecke
ae6a3ac225 s3: Lift the smbd_messaging_context from winreg_get_driver 2010-08-08 16:03:19 +02:00
Volker Lendecke
3a85d0c79a s3: Lift the smbd_messaging_context from winreg_add_driver 2010-08-08 16:03:18 +02:00
Volker Lendecke
6bd973ad01 s3: Lift the smbd_messaging_context from winreg_printer_getform1 2010-08-08 16:03:18 +02:00
Volker Lendecke
d78c8c26e4 s3: Lift the smbd_messaging_context from winreg_printer_setform1 2010-08-08 16:03:18 +02:00
Volker Lendecke
cf016e3e49 s3: Lift the smbd_messaging_context from winreg_printer_deleteform1 2010-08-08 16:03:18 +02:00
Volker Lendecke
428e86e562 s3: Lift the smbd_messaging_context from winreg_printer_enumforms1 2010-08-08 16:03:18 +02:00
Volker Lendecke
fe5985316c s3: Lift the smbd_messaging_context from winreg_printer_addform1 2010-08-08 16:03:18 +02:00
Volker Lendecke
b9fe8de0ff s3: Lift the smbd_messaging_context from winreg_printer_get_changeid 2010-08-08 16:03:17 +02:00
Volker Lendecke
8efa27cdbe s3: Lift the smbd_messaging_context from winreg_printer_update_changeid 2010-08-08 16:03:17 +02:00
Volker Lendecke
747f5c5318 s3: Lift the smbd_messaging_context from winreg_delete_printer_key 2010-08-08 16:03:17 +02:00
Volker Lendecke
3ccdbc4119 s3: Lift the smbd_messaging_context from winreg_enum_printer_key 2010-08-08 16:03:17 +02:00
Volker Lendecke
30d64d2f92 s3: Lift the smbd_messaging_context from winreg_delete_printer_dataex 2010-08-08 16:03:17 +02:00
Volker Lendecke
9346df6289 s3: Lift the smbd_messaging_context from winreg_enum_printer_dataex 2010-08-08 16:03:17 +02:00
Volker Lendecke
cb8f700855 s3: Lift the smbd_messaging_context from winreg_get_printer_dataex 2010-08-08 16:03:17 +02:00
Volker Lendecke
e4cd34926f s3: Lift the smbd_messaging_context from winreg_set_printer_dataex 2010-08-08 16:03:16 +02:00
Volker Lendecke
7471ecb27f s3: Lift the smbd_messaging_context from winreg_set_printer_secdesc 2010-08-08 16:03:16 +02:00
Volker Lendecke
4fb993f613 s3: Lift the smbd_messaging_context from winreg_get_printer_secdesc 2010-08-08 16:03:16 +02:00
Volker Lendecke
bd8a1d8a86 s3: Lift the smbd_messaging_context from winreg_get_printer 2010-08-08 16:03:16 +02:00
Volker Lendecke
9751d7613b s3: Lift the smbd_messaging_context from winreg_update_printer 2010-08-08 16:03:16 +02:00
Volker Lendecke
d7f8a6f82d s3: Lift the smbd_messaging_context from winreg_create_printer 2010-08-08 16:03:16 +02:00
Volker Lendecke
2eb5863722 s3: Lift the smbd_messaging_context from winreg_printer_opendriver 2010-08-08 16:03:16 +02:00
Volker Lendecke
c29e1c3e41 s3: Lift the smbd_messaging_context from winreg_printer_openkey 2010-08-08 16:03:15 +02:00
Volker Lendecke
80cda2e807 s3: Lift the smbd_messaging_context from nt_printing_tdb_migrate 2010-08-08 16:03:15 +02:00
Volker Lendecke
2d3623529f s3: Lift the smbd_messaging_context from rpc_pipe_open_internal 2010-08-08 16:03:15 +02:00
Volker Lendecke
33256d6478 s3: Lift the smbd_messaging_context from np_open 2010-08-08 16:03:15 +02:00
Volker Lendecke
7c90a6bf38 s3: Lift the smbd_messaging_context from make_internal_rpc_pipe_p 2010-08-08 16:03:15 +02:00
Volker Lendecke
d5b8a993e0 s3: Remove a direct reference to smbd_server_conn 2010-08-08 16:03:15 +02:00
Volker Lendecke
5acb5b09ee s3: Remove references to smbd_messaging_context() 2010-08-08 16:03:15 +02:00
Volker Lendecke
43c2dcaf4c s3: Fix a type-punned warning 2010-08-08 14:06:11 +02:00
Stefan Metzmacher
d6eb42cc61 s3:rpcclient: we also need some ndr_pull functions
metze
2010-08-08 11:05:18 +02:00
Stefan Metzmacher
08cf7ac7a0 s3:libnet/libnet_samsync.c: we also need some ndr_pull functions
metze
2010-08-08 11:05:18 +02:00
Stefan Metzmacher
1c515fb94b s3:utils/net_rpc_service.c: we also need some ndr_pull functions
metze
2010-08-08 11:05:18 +02:00
Stefan Metzmacher
cc6951243d s3:rpc_server: fix valgrind warning
metze
2010-08-08 11:05:17 +02:00
Stefan Metzmacher
ac9f06c9b9 s3:smbd: fix valgrind warning, sizeof(16) != 16...
metze
2010-08-08 11:05:16 +02:00
Stefan Metzmacher
66412bfc76 s3:rpc_server: fix memory leaks in rpc_pipe_internal_dispatch()
metze
2010-08-08 09:24:44 +02:00
Volker Lendecke
9e88b57407 s3: Fix typos 2010-08-08 08:40:57 +02:00
Volker Lendecke
72fd7fb49d s3: Remove some references to smbd_messaging_context() 2010-08-07 14:36:59 +02:00
Volker Lendecke
92282a815d s3: Remove references to smbd_messaging_context() from the spoolss server 2010-08-07 13:16:49 +02:00
Volker Lendecke
a5a0711f0c s3: Remove a reference to smbd_messaging_context() 2010-08-07 13:16:49 +02:00
Volker Lendecke
19a908350e s3: Remove some references to smbd_messaging_context() 2010-08-07 13:16:48 +02:00
Volker Lendecke
77c63149a3 s3: Remove procid_self() from connections_fetch_entry() 2010-08-07 13:16:48 +02:00
Volker Lendecke
21229178bd s3: Add msg_ctx to pipes_struct 2010-08-07 13:16:48 +02:00
Volker Lendecke
c9b654f581 s3: Remove smbd_messaging_context() from send_stat_cache_delete_message() 2010-08-07 13:16:48 +02:00
Volker Lendecke
b03bc8822b s3: Remove a pointless "else" 2010-08-07 10:30:20 +02:00
Volker Lendecke
4c6fd6043b s3: Remove an unnecessary NULL check
Now that connections.tdb is not used for the broadcast messaging anymore,
connections_fetch_entry is only called for real connections.
2010-08-07 10:12:18 +02:00
Günther Deschner
16949ef75a s3-net: fix copy/paste typo in usage of "net printing".
Guenther
2010-08-06 17:38:15 +02:00
Günther Deschner
0f8e032628 s3-netlogon: remove global include of netlogon.h.
This reduces precompiled headers by another 4 MB and also slightly speeds up the
build.

Guenther
2010-08-06 15:46:16 +02:00
Günther Deschner
ccd4af271f s3: remove global include of samr.h
Guenther
2010-08-06 15:43:38 +02:00
Günther Deschner
a90ed3381a s3-build: no need to include privileges.h twice.
Guenther
2010-08-06 15:43:38 +02:00
Günther Deschner
002ac5681f s3-net: only include netapi header when needed.
Guenther
2010-08-06 15:43:38 +02:00
Günther Deschner
164ee0fe56 s3-libsmb: include nbt.h in namequery_dc code.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
f9012635da s3-libnet: include netlogon.h in libnet samsync header.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
af38b5f800 s3-smbtorture: include svcctl.h
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
441d607589 s3-services: include svcctl.h where needed.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
c31df3adb2 s3-build: remove global include of krb5pac.h.
Put in samr and netlogon, as they were pulled in via krb5pac.h.

Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
257a1f1097 s3-krb5: include krb5pac.h where needed.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
2523aec6d1 s3-rap: include svcctl.h where needed.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
ae36783c7b s3-passdb: include samr.h where needed.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
677dcfa678 s3-param: include svcctl headers in loadparm.
Guenther
2010-08-06 15:43:36 +02:00
Günther Deschner
728fba1233 s3-nmbd: include svcctl.h where needed.
Guenther
2010-08-06 15:43:36 +02:00
Volker Lendecke
bf9a1dd460 s3: Remove some explicit calls to procid_self() 2010-08-06 15:15:57 +02:00
Volker Lendecke
e6604e5d20 s3: Remove some explicit calls to procid_self() 2010-08-06 15:15:57 +02:00
Andreas Schneider
e9eb263391 s3-spoolss: Make sure we convert a 4 byte value to uint32_t. 2010-08-06 14:20:09 +02:00
Andreas Schneider
043c6f4658 s3-spoolss: Fixed setting driver version correctly.
We are in a loop here, so setting tmp to 0 at the beginning of each
iteration sets info8->version to 0 if we enumerate over another value.
2010-08-06 14:20:09 +02:00
Volker Lendecke
8f0c863732 s3: fail db_open_ctdb if ctdb is not around 2010-08-06 14:15:04 +02:00
Andrew Tridgell
fe5f4d91ce s3-printing: cope with missing printers in print migration
The printers database may be completely missing in a new install, and
we may have SECDESC entries for printers that have been removed. Don't
consider these fatal errors in the migration.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-06 12:14:59 +02:00
Volker Lendecke
ee11bb8748 s3: Remove some direct cli->inbuf references in interpret_long_filename 2010-08-05 14:53:54 +02:00
Volker Lendecke
869a19f06c s3: Remove a pointless wrapper function 2010-08-05 14:53:54 +02:00
Volker Lendecke
61fb8a4fd1 s3: Explicitly pass flags2 to clistr_pull_talloc
Required to eventually make cli_list async
2010-08-05 14:53:54 +02:00
Volker Lendecke
1cbe8b85ae s3: Remove some pointless wrapper functions 2010-08-05 13:57:31 +02:00
Volker Lendecke
6cb5a0d097 s3: Remove some pointless wrapper functions 2010-08-05 13:57:31 +02:00
Volker Lendecke
0a224bc77b s3: Save the received trans2 from the inbuf in cli_trans 2010-08-05 13:57:29 +02:00
Volker Lendecke
a13b96f04a s3: Fix a crash in masktest 2010-08-05 12:46:40 +02:00
Andreas Schneider
174a46837d s3-spoolss: Use the correct value for the data length. 2010-08-05 12:08:40 +02:00
Andreas Schneider
ce2a086119 s3-popt: Only include popt-common.h when needed. 2010-08-05 12:08:31 +02:00
Günther Deschner
c136b84f0d s3-secrets: only include secrets.h when needed.
Guenther
2010-08-05 10:12:25 +02:00
Günther Deschner
e7a6a3ec0d s3: avoid global include of ads.h.
Guenther
2010-08-05 00:32:02 +02:00
Günther Deschner
385adcce73 s3-libnet_join: add ads.h as helper header to IDL.
Guenther
2010-08-05 00:32:02 +02:00
Günther Deschner
31c484edb9 s3-printing: move AD related printing components to an own file.
Guenther
2010-08-05 00:32:02 +02:00
Volker Lendecke
867626abca s3: Convert cli_list() to return NTSTATUS
If needed, the callback functions can count themselves
2010-08-04 20:32:50 +02:00
Volker Lendecke
2ff73f0df3 s3: Use data_blob_null 2010-08-04 20:32:50 +02:00
Günther Deschner
4b17ff4a90 s3-waf: fix the build.
Guenther
2010-08-04 14:55:34 +02:00
Christian Ambach
f4e60b42d3 small optimizations for shadowcopy2 module
- remove a compiler warning
- replace strlen usage

Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04 13:56:12 +02:00
Christian Ambach
b77f241b28 fix snapshot content display with hide unreadable
With the hide unreadable option set, snapshots are be displayed
as empty with shadow_copy2 and a NFSv4 ACL module.

To prevent multiple conversions of the paths when the acl call
does a VFS_STAT (as the nfs4acl code does), a check was added
to convert_shadow2_name() so it will not touch paths any more
that look like they have already been converted.

Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04 13:56:11 +02:00
Volker Lendecke
cc2aa855a3 s3: Fix shadow copies after the change for in-path @GMT-
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04 13:56:11 +02:00
Volker Lendecke
68c6e07591 s3: Fix in-path shadowcopy2 module
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04 13:56:11 +02:00
olivier
72cd5bcd58 make scannedonly notify the scanner if no .scanned: file was found during rename 2010-08-03 17:07:56 +02:00
Günther Deschner
64b26affe0 s3-dcerpc: fix some uninitialized variables build warnings.
Guenther
2010-08-03 15:57:56 +02:00
Günther Deschner
bf19a5228a s3-spoolss: fix type-punned pointer build warning.
Guenther
2010-08-03 15:57:56 +02:00
Günther Deschner
743a2dedf4 s3-spoolss: fix uninitialized variable build warning.
Andreas, please check.

Guenther
2010-08-03 15:57:56 +02:00
Günther Deschner
c530aa33cd s3-printing: make sure to set NTSTATUS code before checking it.
Andreas, please check.

Guenther
2010-08-03 15:57:52 +02:00
Günther Deschner
eab6d8c390 s3-spoolss: remove duplicate (and incorrect) header.
Guenther
2010-08-03 00:18:31 +02:00
Andreas Schneider
d3fff45904 s3-spoolss: Fixed a segfault if a value has no data. 2010-08-02 16:42:39 +02:00
Andreas Schneider
307bd439d7 s3-spoolss: Move some debug message to a higher level. 2010-08-02 16:42:39 +02:00
Andreas Schneider
4412bafa44 s3-spoolss: Fixed some C++ build warnings. 2010-08-02 16:42:39 +02:00
Andreas Schneider
772fbce9ff s3-spoolss: Use a stackframe to allocat memory.
This is faster and should be more secure to use if something goes wrong.
2010-08-02 16:37:12 +02:00
Günther Deschner
ff1c5b37f6 s3-spoolss: remove unused MAX_OPEN_PRINTER_EXS define.
Guenther
2010-08-02 15:31:10 +02:00
Günther Deschner
322b524194 s3-build: fix some c++ build warnings.
Guenther
2010-08-02 12:05:03 +02:00
Volker Lendecke
911db76114 s3: Use cups-config --libs 2010-08-02 11:55:02 +02:00
Volker Lendecke
c59ab01e33 s3: Fix an uninitialized variable 2010-08-01 18:16:19 +02:00
Volker Lendecke
fb167a6028 s3: Fix a C++ warning 2010-08-01 18:16:19 +02:00
Volker Lendecke
0213cfa6af s3: Fix some nonempty blank lines 2010-08-01 18:11:06 +02:00
Volker Lendecke
9bf2d260aa s3: Fix an uninitialized variable 2010-08-01 17:58:01 +02:00
Günther Deschner
9e0000224a s3-printing: remove unused get_local_printer_publishing_data() call.
Guenther
2010-07-31 00:54:45 +02:00
Günther Deschner
813fbbd68c s3-build: avoid to globally include printing and spoolss headers.
This shrinks precompiled headers by 3MB and will slightly speed up any build.

Guenther
2010-07-31 00:50:31 +02:00