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

77852 Commits

Author SHA1 Message Date
Amitay Isaacs
010d6003e3 s4-netlogon: Revert patch f02e4ebfaf
DS_DNS_CONTROLLER bit is set if DC's domain name is dns name.

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Dec 14 07:31:05 CET 2011 on sn-devel-104
2011-12-14 07:31:05 +01:00
Amitay Isaacs
a4ab152a05 tdb2: Fix python documentation for tdb.Tdb object 2011-12-14 15:57:32 +11:00
Amitay Isaacs
0cee9b01d9 samba-tool: Fix DN for GPO entries 2011-12-14 15:57:32 +11:00
Amitay Isaacs
8b94a34bac samba-tool: gpo: fix a typo 2011-12-14 15:57:32 +11:00
Amitay Isaacs
d8bed322fc samba-tool: Remove duplicate code of dsacl to fsacl conversion
Use samba.ntacls.dsacl2fsacl() instead.
2011-12-14 15:57:32 +11:00
Amitay Isaacs
0a10b32602 setup: Fix phpldapadmin configuration for version 1.2.x 2011-12-14 15:57:32 +11:00
Günther Deschner
19411c9953 s4-smbtorture: fix some typos in schannel test.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 14 02:52:54 CET 2011 on sn-devel-104
2011-12-14 02:52:54 +01:00
Günther Deschner
87be316c57 s4-smbtorture: avoid printf(); in schannel test.
Guenther
2011-12-14 01:18:04 +01:00
Günther Deschner
b550ead171 s4-smbtorture: remove trailing whitespace from schannel test.
Guenther
2011-12-14 01:18:04 +01:00
Andrew Bartlett
079d1572c2 s4-resolv: fix dns_ex so as to fail correctly when a name does not exist
Without this, netbios name lookups do not work, as we never fall back to them.

This caused segfaults from e38d97e042 to
251209bd6f and then name lookup failure
or timeouts until this patch.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Dec 14 01:16:37 CET 2011 on sn-devel-104
2011-12-14 01:16:37 +01:00
Andrew Bartlett
8a4b5cdfea s4-selftest: Add test of RPC to a netbios alias
This tries to ensure our netbios lookup code is still run.

Andrew Bartlett
2011-12-13 23:42:05 +01:00
Andrew Bartlett
abed96535e s4-selftest Give local.resolve a real name to look up 2011-12-13 23:42:05 +01:00
Volker Lendecke
b87e88710c s3: Fix examples/VFS build
With other builds in the include path, examples get the includes.h wrong

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 13 23:40:37 CET 2011 on sn-devel-104
2011-12-13 23:40:37 +01:00
Stefan Metzmacher
9eb3c053b8 s3:smbd/globals: remove unused extern declarations
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Dec 13 22:06:02 CET 2011 on sn-devel-104
2011-12-13 22:06:02 +01:00
Stefan Metzmacher
297f1b1f12 s3:smbd/server: move smbd_open_socket and smbd_parent_context to the top
metze
2011-12-13 20:31:10 +01:00
Stefan Metzmacher
6630b20046 s3:smbd/oplock_onefs: avoid using smbd_messaging_context()
metze
2011-12-13 20:31:10 +01:00
Stefan Metzmacher
fcc1f5f7f7 s3:smbd/oplock_onefs: pass smbd_server_connection to onefs_oplock_wait_record()
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
daa685c008 s3:vfstest: reload_services() doesn't need a messaging_context
It's only used to get the global smbd_server_connection,
which is used in conn_snum_used() via lp_killunused().
But there we don't need it, as we don't have any tree connects
at startup time.

metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
290ce331b6 s3:smbd: pass smbd_server_connection to smbd_setup_sig_hup_handler()
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
8a83464216 s3:smbd: pass smbd_server_connection to smbd_setup_sig_term_handler()
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
6fc8dc98ab s3:smbd/oplock: pass smbd_server_connection to onefs_init_kernel_oplocks()
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
641a2dea81 s3:smbd/oplock: pass smbd_server_connection to linux_init_kernel_oplocks()
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
47e21bcc43 s3:smbd/oplock: pass smbd_server_connection to irix_init_kernel_oplocks()
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
17ae2267e3 s3:smbd/oplock: pass sconn as private_data to process_open_retry_message()
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
90674f0fce s3:smbd/oplock: pass sconn as private_data to process_kernel_oplock_break()
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
7fee41cd39 s3:smbd/oplock: pass sconn as private_data to process_oplock_break_response()
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
fb81772eed s3:smbd/oplock: pass sconn as private_data to process_oplock_async_level2_break_message()
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
da4b503581 s3:smbd/oplock: pass sconn as private_data to process_oplock_break_message()
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
21de673575 s3:smbd/oplock: pass smbd_server_connection to init_oplocks()
metze
2011-12-13 20:31:09 +01:00
Volker Lendecke
5efd7e16c2 s3: Move can_delete_directory to smbd/, remove shim
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 13 19:00:37 CET 2011 on sn-devel-104
2011-12-13 19:00:37 +01:00
Volker Lendecke
34d58c9d92 s3: Move can_set_delete_on_close to smbd/ 2011-12-13 17:27:26 +01:00
Volker Lendecke
2d2d72e479 s3: Remove an else{} in remove_deferred_open_entry 2011-12-13 17:27:26 +01:00
Volker Lendecke
3239c722aa s3-dbwrap: Simplify db_tdb_fetchlock_parse a bit
Introduce a local variable for the result, replace "state->result" by "result"
2011-12-13 17:27:26 +01:00
Stefan Metzmacher
3cf275cd75 s3:smbd/msdfs: enum_msdfs_links() doesn't need a smbd_server_connection anymore
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Dec 13 17:26:20 CET 2011 on sn-devel-104
2011-12-13 17:26:20 +01:00
Stefan Metzmacher
ae7d877841 s3:smbd: use connections_snum_used() instead of conn_snum_used() for load_usershare_shares()
Before removing the share security descriptor, we should make sure there're
really no active users anymore.

metze
2011-12-13 15:45:36 +01:00
Stefan Metzmacher
cefb797434 s3:smbd: add connections_snum_used()
This works similar to conn_snum_used(), but instead of
looking at the current connection only, it looks at
all active connections in "connections.tdb".

metze
2011-12-13 15:45:36 +01:00
Stefan Metzmacher
611ab8aaa7 s3:lib/dummyparam: remove unused conn_snum_used() dummy
metze
2011-12-13 15:45:36 +01:00
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