1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

77815 Commits

Author SHA1 Message Date
Stefan Metzmacher
1399e6bdf5 s3:param: don't reference conn_snum_used directly in load_usershare_shares()
This uses the same logic as lp_killunused().

metze
2011-12-13 15:45:36 +01:00
Volker Lendecke
1cf54ef4a6 s3: Use talloc_tos() in set_write_time()
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 13 15:44:58 CET 2011 on sn-devel-104
2011-12-13 15:44:58 +01:00
Volker Lendecke
27e63b72a1 s3: Use talloc_tos() in set_sticky_write_time() 2011-12-13 14:14:24 +01:00
Volker Lendecke
3441c01b16 s3: Convert open_files.idl to tab indents 2011-12-13 14:14:24 +01:00
Stefan Metzmacher
4eb5b0b392 s3:messaging.idl: obsolete unused MSG_SMB_SAM_*
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Dec 13 14:13:38 CET 2011 on sn-devel-104
2011-12-13 14:13:38 +01:00
Stefan Metzmacher
a131713b96 s3:smbd/server: remove unused msg_sam_sync()
metze
2011-12-13 12:36:36 +01:00
Stefan Metzmacher
7dc1de73d3 s3:rpc_server/netlogon: remove unused send_sync_message()
metze
2011-12-13 12:36:36 +01:00
Stefan Metzmacher
92280def16 s3:smbcontrol: remove unused "samsync" and "samrepl" commands
metze
2011-12-13 12:36:36 +01:00
Stefan Metzmacher
2bab5073ba s3:smbd/server: add parent specific SIGTERM and SIGHUP handlers
metze
2011-12-13 12:36:35 +01:00
Stefan Metzmacher
1738a61b84 s3:smbd/server: create smbd_parent_context earlier
metze
2011-12-13 12:36:35 +01:00
Stefan Metzmacher
dc38db31ba s3:smbd/server: remember the ev_ctx on the smbd_parent_context
metze
2011-12-13 12:36:35 +01:00
Stefan Metzmacher
20c343b8e8 s3:smbd/server: remember the msg_ctx on the smbd_parent_context
metze
2011-12-13 12:36:35 +01:00
Stefan Metzmacher
e09c675596 s3:smbd/open: pass smbd_server_connection as private_data to msg_file_was_renamed()
metze
2011-12-13 12:36:35 +01:00
Stefan Metzmacher
173ea71686 s3:smbd: register MSG_SMB_FILE_RENAME after the fork
The parent smbd doesn't need to handle this, as it doesn't
have any file handles open.

metze
2011-12-13 12:36:35 +01:00
Stefan Metzmacher
d492a437be s3:smbd/conn_msg: pass smbd_server_connection as private_data to msg_force_tdis()
metze
2011-12-13 12:36:35 +01:00
Stefan Metzmacher
f426eb13c9 s3:smbd/blocking: pass smbd_server_connection as private_data to process_blocking_lock_cancel_message()
metze
2011-12-13 12:36:34 +01:00
Stefan Metzmacher
fbcdaa6a45 s4:pydsdb: remove unused variable from py_dsdb_am_pdc()
metze
2011-12-13 12:36:34 +01:00
Volker Lendecke
62249f755a s3: Use pid_to_procid
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 13 12:35:09 CET 2011 on sn-devel-104
2011-12-13 12:35:08 +01:00
Volker Lendecke
7b60729d5a s3: Fix some nonempty blank lines 2011-12-13 11:00:55 +01:00
Volker Lendecke
7a489ec780 s3: Remove a call to procid_self() 2011-12-13 11:00:55 +01:00
Volker Lendecke
c863d65d1b s3: Remove a call to procid_self() 2011-12-13 11:00:55 +01:00
Volker Lendecke
80b4a3aadc s3: Remove a call to procid_self() 2011-12-13 11:00:55 +01:00
Volker Lendecke
4066e291f5 s3: Remove a call to procid_self() 2011-12-13 11:00:54 +01:00
Amitay Isaacs
21424056bb s4-provision: Do not guess partition file names, use @PARTITION record
This is to avoid duplicating the logic of generating partition file
names. (partition file names are encoded partially as per RFC1738).

Also, use tdb_copy() instead of filesystem copy function to copy
database files, which guarantees correct database copy.

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Dec 13 03:28:03 CET 2011 on sn-devel-104
2011-12-13 03:28:03 +01:00
Amitay Isaacs
7f50890cd6 s4-param: Added bin_dir(),sbin_dir() methods to get compiled in dirs 2011-12-13 00:55:32 +11:00
Amitay Isaacs
a648563cb7 s4-provision: Extract common utility routines in separate file 2011-12-13 00:55:32 +11:00
Amitay Isaacs
20789bfdde tdb: Fix python documentation for tdb module 2011-12-13 00:55:32 +11:00
Amitay Isaacs
eee2191076 s4-provision: CN=MicrosoftDNS,CN=System container is in forest and not domain 2011-12-13 00:55:32 +11:00
Amitay Isaacs
f02e4ebfaf s4-cldap: Set DS_DNS_CONTROLLER bit if we are running RPC dnsserver
Till we have internal DNS server which appears in services, use
endpoint services to find out if we are running dns server.
2011-12-13 00:55:32 +11:00
Volker Lendecke
a77b0dd7b8 libcli: Remove an unused variable
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Dec 12 23:21:49 CET 2011 on sn-devel-104
2011-12-12 23:21:49 +01:00
Volker Lendecke
0f9d14820e s3: Remove a bunch of calls to procid_self()
All callers to messaging_[re]init only used procid_self()
2011-12-12 21:50:25 +01:00
Stefan Metzmacher
77dc976b53 s3:smbd/close: pass smbd_server_connection to notify_deferred_opens()
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 12 21:49:11 CET 2011 on sn-devel-104
2011-12-12 21:49:11 +01:00
Stefan Metzmacher
4d44f879e1 s3:smbd/clode: pass smbd_server_connection as private_data to msg_close_file()
metze
2011-12-12 20:14:41 +01:00
Stefan Metzmacher
d1e0997614 s3:smbd/blocking: pass smbd_server_connection as private_data to received_unlock_msg()
metze
2011-12-12 20:14:41 +01:00
Stefan Metzmacher
f59d358653 s3:smb2_lock: pass smbd_server_connection as private_data to received_unlock_msg()
metze
2011-12-12 20:14:41 +01:00
Stefan Metzmacher
162975a6f3 s4:python/samba/join: set msDS-Behavior-Version to '4' 2008_R2 on the nTDSA object
This matches the values we set in provision.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 12 19:16:13 CET 2011 on sn-devel-104
2011-12-12 19:16:13 +01:00
Günther Deschner
cf57fd44d7 s3-ctdb: fix the build w/o HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL
Volker, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 12 17:42:29 CET 2011 on sn-devel-104
2011-12-12 17:42:29 +01:00
Stefan Metzmacher
763fe4216b s3:smb2_server: use sconn->ev_ctx instead of sconn->smb2.event_ctx
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 12 16:08:59 CET 2011 on sn-devel-104
2011-12-12 16:08:59 +01:00
Stefan Metzmacher
7081d7e78f s3:smb2_lock: avoid using server_event_context()
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
e7a100200b s3:smbd/pipes: avoid passing server_event_context() as event context to np_{read,write}_send
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
bf8cce18c6 s3:smbd/process: avoid using server_event_context() for the forked echo handler
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
16cfc7243b s3:smbd/process: avoid using server_event_context() for smbd_deferred_open_timer events
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
68a7be6ab4 s3:smbd/oplock: avoid using server_event_context() in add_oplock_timeout_handler()
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
6811b47c99 s3:smbd/service: avoid using server_event_context() for notify_init()
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
c7286f159a s3:smbd/ipc: pass 'state' as mem_ctx to np_read_send()
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
1df1e0fb56 s3:smbd/fileio: avoid usage of server_event_context()
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
61d8674727 s3:smbd/close: avoid usage of server_event_context()
metze
2011-12-12 14:35:42 +01:00
Stefan Metzmacher
1909cb0724 s3:smbd/blocking: avoid usage of server_event_context()
metze
2011-12-12 14:35:42 +01:00
Stefan Metzmacher
1ce9c0ea32 s3:smbd: remember the event context on smbd_server_connection
metze
2011-12-12 14:35:42 +01:00
Stefan Metzmacher
0b8eeb1edc s3:smbd: pass down smbd_server_connection via smbd_echo_state
metze
2011-12-12 14:35:42 +01:00