kamenim/samba.git
13 years agos3-winbind: Added a common rpc_lookup_usergroups function.
Andreas Schneider [Fri, 18 Jun 2010 16:19:16 +0000 (18:19 +0200)]
s3-winbind: Added a common rpc_lookup_usergroups function.

13 years agos3-winbind: Use rpc_query_user in samr.
Andreas Schneider [Fri, 18 Jun 2010 15:48:17 +0000 (17:48 +0200)]
s3-winbind: Use rpc_query_user in samr.

13 years agos3-winbind: Use rpc_query_user in msrpc.
Andreas Schneider [Fri, 18 Jun 2010 15:47:47 +0000 (17:47 +0200)]
s3-winbind: Use rpc_query_user in msrpc.

13 years agos3-winbind: Added a common rpc_query_user function.
Andreas Schneider [Fri, 18 Jun 2010 15:47:16 +0000 (17:47 +0200)]
s3-winbind: Added a common rpc_query_user function.

13 years agos3-winbind: Use rpc_rids_to_names in samr.
Andreas Schneider [Thu, 17 Jun 2010 17:32:18 +0000 (19:32 +0200)]
s3-winbind: Use rpc_rids_to_names in samr.

13 years agos3-winbind: Added a common rpc_rids_to_names function.
Andreas Schneider [Thu, 17 Jun 2010 17:31:51 +0000 (19:31 +0200)]
s3-winbind: Added a common rpc_rids_to_names function.

13 years agos3-winbind: Use rpc_sid_to_name in samr.
Andreas Schneider [Thu, 17 Jun 2010 14:25:33 +0000 (16:25 +0200)]
s3-winbind: Use rpc_sid_to_name in samr.

13 years agos3-winbind: Added a common rpc_sid_to_name function.
Andreas Schneider [Thu, 17 Jun 2010 14:25:07 +0000 (16:25 +0200)]
s3-winbind: Added a common rpc_sid_to_name function.

13 years agos3-winbind: Use rpc_name_to_sid in samr.
Andreas Schneider [Thu, 17 Jun 2010 14:07:02 +0000 (16:07 +0200)]
s3-winbind: Use rpc_name_to_sid in samr.

13 years agos3-winbind: Added a common rpc_name_to_sid function.
Andreas Schneider [Thu, 17 Jun 2010 14:06:34 +0000 (16:06 +0200)]
s3-winbind: Added a common rpc_name_to_sid function.

13 years agos3-winbind: Use rpc_enum_local_groups in samr.
Andreas Schneider [Thu, 17 Jun 2010 13:53:06 +0000 (15:53 +0200)]
s3-winbind: Use rpc_enum_local_groups in samr.

13 years agos3-winbind: Use rpc_enum_local_groups in msrpc.
Andreas Schneider [Thu, 17 Jun 2010 13:52:44 +0000 (15:52 +0200)]
s3-winbind: Use rpc_enum_local_groups in msrpc.

13 years agos3-winbind: Added a common rpc_enum_local_groups function.
Andreas Schneider [Thu, 17 Jun 2010 13:51:58 +0000 (15:51 +0200)]
s3-winbind: Added a common rpc_enum_local_groups function.

13 years agos3-winbind: Use rpc_query_user_list in samr.
Andreas Schneider [Thu, 17 Jun 2010 12:55:19 +0000 (14:55 +0200)]
s3-winbind: Use rpc_query_user_list in samr.

13 years agos3-winbind: Use rpc_query_user_list in msrpc.
Andreas Schneider [Thu, 17 Jun 2010 12:54:55 +0000 (14:54 +0200)]
s3-winbind: Use rpc_query_user_list in msrpc.

13 years agos3-winbind: Added a common rpc_query_user_list function.
Andreas Schneider [Thu, 17 Jun 2010 12:54:02 +0000 (14:54 +0200)]
s3-winbind: Added a common rpc_query_user_list function.

13 years agos3-winbind: Use rpc_enum_dom_groups in samr.
Andreas Schneider [Thu, 17 Jun 2010 11:57:12 +0000 (13:57 +0200)]
s3-winbind: Use rpc_enum_dom_groups in samr.

13 years agos3-winbind: Use rpc_enum_dom_groups in msrpc.
Andreas Schneider [Thu, 17 Jun 2010 11:56:54 +0000 (13:56 +0200)]
s3-winbind: Use rpc_enum_dom_groups in msrpc.

13 years agos3-winbind: Added a common rpc_enum_dom_groups function.
Andreas Schneider [Wed, 16 Jun 2010 19:15:54 +0000 (21:15 +0200)]
s3-winbind: Added a common rpc_enum_dom_groups function.

13 years agos3-winbind: Rename winbindd_rpc.c to winbindd_msrpc.c.
Andreas Schneider [Wed, 16 Jun 2010 15:43:57 +0000 (17:43 +0200)]
s3-winbind: Rename winbindd_rpc.c to winbindd_msrpc.c.

13 years agos3-winbind: Replace the passdb backend with a samr/lsa based backend.
Andreas Schneider [Wed, 9 Jun 2010 14:44:02 +0000 (16:44 +0200)]
s3-winbind: Replace the passdb backend with a samr/lsa based backend.

13 years agos3-winbind: Implemented samr backend function common_sequence_number.
Andreas Schneider [Wed, 9 Jun 2010 13:20:13 +0000 (15:20 +0200)]
s3-winbind: Implemented samr backend function common_sequence_number.

13 years agos3-winbind: Implemented samr backend function common_lookup_useraliases.
Andreas Schneider [Wed, 9 Jun 2010 13:12:37 +0000 (15:12 +0200)]
s3-winbind: Implemented samr backend function common_lookup_useraliases.

13 years agos3-winbind: Implemented samr backend function common_lookup_usergroups.
Andreas Schneider [Wed, 9 Jun 2010 12:57:15 +0000 (14:57 +0200)]
s3-winbind: Implemented samr backend function common_lookup_usergroups.

13 years agos3-winbind: Implemented samr backend function common_password_policy.
Andreas Schneider [Wed, 9 Jun 2010 12:41:54 +0000 (14:41 +0200)]
s3-winbind: Implemented samr backend function common_password_policy.

13 years agos3-winbind: Implemented samr backend function common_lockout_policy.
Andreas Schneider [Wed, 9 Jun 2010 12:39:55 +0000 (14:39 +0200)]
s3-winbind: Implemented samr backend function common_lockout_policy.

13 years agos3-winbind: Implemented samr backend function common_rids_to_names.
Andreas Schneider [Wed, 9 Jun 2010 12:33:02 +0000 (14:33 +0200)]
s3-winbind: Implemented samr backend function common_rids_to_names.

13 years agos3-winbind: Implemented samr backend function common_sid_to_name.
Andreas Schneider [Wed, 9 Jun 2010 09:52:26 +0000 (11:52 +0200)]
s3-winbind: Implemented samr backend function common_sid_to_name.

13 years agos3-winbind: Implemented samr backend function common_name_to_sid.
Andreas Schneider [Tue, 8 Jun 2010 12:42:59 +0000 (14:42 +0200)]
s3-winbind: Implemented samr backend function common_name_to_sid.

13 years agos3-winbind: Implemented samr backend function common_enum_local_groups.
Andreas Schneider [Tue, 8 Jun 2010 06:47:13 +0000 (08:47 +0200)]
s3-winbind: Implemented samr backend function common_enum_local_groups.

13 years agos3-winbind: Implemented samr backend function sam_lookup_groupmem.
Andreas Schneider [Mon, 7 Jun 2010 20:15:37 +0000 (22:15 +0200)]
s3-winbind: Implemented samr backend function sam_lookup_groupmem.

13 years agos3-winbind: Implemented samr backend function sam_trusted_domains.
Andreas Schneider [Mon, 7 Jun 2010 19:46:02 +0000 (21:46 +0200)]
s3-winbind: Implemented samr backend function sam_trusted_domains.

13 years agos3-winbind: Implemented samr backend function sam_query_user.
Andreas Schneider [Mon, 7 Jun 2010 19:20:15 +0000 (21:20 +0200)]
s3-winbind: Implemented samr backend function sam_query_user.

13 years agos3-winbind: Implemented samr backend function sam_enum_dom_groups.
Andreas Schneider [Mon, 7 Jun 2010 14:39:44 +0000 (16:39 +0200)]
s3-winbind: Implemented samr backend function sam_enum_dom_groups.

13 years agos3-winbind: Implemented samr backend function sam_query_user_list.
Andreas Schneider [Mon, 7 Jun 2010 14:18:12 +0000 (16:18 +0200)]
s3-winbind: Implemented samr backend function sam_query_user_list.

13 years agos3-winbind: Added a skeleton for samr based functions.
Andreas Schneider [Mon, 7 Jun 2010 08:18:01 +0000 (10:18 +0200)]
s3-winbind: Added a skeleton for samr based functions.

The goal is to replace the passdb backend later.

13 years agos3-winbind: Initialize the server_info on winbindd start.
Andreas Schneider [Thu, 27 May 2010 10:06:24 +0000 (12:06 +0200)]
s3-winbind: Initialize the server_info on winbindd start.

13 years agos3-rpc_client: Use the right memory context for array elements.
Andreas Schneider [Fri, 11 Jun 2010 09:48:37 +0000 (11:48 +0200)]
s3-rpc_client: Use the right memory context for array elements.

13 years agos3-winbind: Free some memory which isn't needed anymore.
Andreas Schneider [Mon, 14 Jun 2010 09:49:32 +0000 (11:49 +0200)]
s3-winbind: Free some memory which isn't needed anymore.

13 years agos3-build: add idl_full to Makefile.
Günther Deschner [Mon, 5 Jul 2010 13:24:55 +0000 (15:24 +0200)]
s3-build: add idl_full to Makefile.

Guenther

13 years agos3-idl: support --full for s3 build_idl.sh as well.
Günther Deschner [Mon, 5 Jul 2010 13:24:27 +0000 (15:24 +0200)]
s3-idl: support --full for s3 build_idl.sh as well.

Guenther

13 years agos4:include/smbldap.h - introduce a placeholder for "LDAPMessage" if we don't link...
Matthias Dieter Wallnöfer [Mon, 5 Jul 2010 13:19:31 +0000 (15:19 +0200)]
s4:include/smbldap.h - introduce a placeholder for "LDAPMessage" if we don't link against a LDAP library

13 years agos4:winbind/wb_cmd_setpwent.c - fix a possible crash condition in the "winbind struct...
Matthias Dieter Wallnöfer [Mon, 5 Jul 2010 09:44:48 +0000 (11:44 +0200)]
s4:winbind/wb_cmd_setpwent.c - fix a possible crash condition in the "winbind struct test"

Use a "talloc_strdup" for duplicating usernames.

13 years agos4:samr RPC server - "SetUserInfo" - allow some more informations to be set
Matthias Dieter Wallnöfer [Sun, 4 Jul 2010 21:21:07 +0000 (23:21 +0200)]
s4:samr RPC server - "SetUserInfo" - allow some more informations to be set

Taken from the s3 implementation.

13 years agosamr.idl:UserInfo structures - fix some names according to MS-SAMR documentation
Matthias Dieter Wallnöfer [Sun, 4 Jul 2010 20:34:43 +0000 (22:34 +0200)]
samr.idl:UserInfo structures - fix some names according to MS-SAMR documentation

See MS-SAMR section "FULL IDL"

13 years agos3: Make talloc_attrs() static
Volker Lendecke [Mon, 5 Jul 2010 10:36:19 +0000 (12:36 +0200)]
s3: Make talloc_attrs() static

13 years agos3: Remove procid_self() from srv_spoolss_reply[open|close]printer()
Volker Lendecke [Sun, 4 Jul 2010 19:53:52 +0000 (21:53 +0200)]
s3: Remove procid_self() from srv_spoolss_reply[open|close]printer()

13 years agos3: Remove procid_self() from ctdb_read_req() and ctdb_handle_message()
Volker Lendecke [Sun, 4 Jul 2010 18:50:11 +0000 (20:50 +0200)]
s3: Remove procid_self() from ctdb_read_req() and ctdb_handle_message()

13 years agos3: Remove some type-punned warnings
Volker Lendecke [Sun, 4 Jul 2010 18:49:43 +0000 (20:49 +0200)]
s3: Remove some type-punned warnings

13 years agos3: Put serverid_key and serverid_data together
Volker Lendecke [Sun, 4 Jul 2010 18:31:02 +0000 (20:31 +0200)]
s3: Put serverid_key and serverid_data together

13 years agos3: Remove procid_self() from brl_close_fnum()
Volker Lendecke [Sun, 4 Jul 2010 18:20:44 +0000 (20:20 +0200)]
s3: Remove procid_self() from brl_close_fnum()

13 years agos3: Remove procid_self() from srv_spoolss_drv_upgrade_printer()
Volker Lendecke [Sun, 4 Jul 2010 18:18:29 +0000 (20:18 +0200)]
s3: Remove procid_self() from srv_spoolss_drv_upgrade_printer()

13 years agos3: Remove procid_self() from cancel_pending_lock_requests_by_fid_smb2()
Volker Lendecke [Sun, 4 Jul 2010 18:17:32 +0000 (20:17 +0200)]
s3: Remove procid_self() from cancel_pending_lock_requests_by_fid_smb2()

13 years agos3: Remove procid_self() from remove_pending_lock()
Volker Lendecke [Sun, 4 Jul 2010 18:16:35 +0000 (20:16 +0200)]
s3: Remove procid_self() from remove_pending_lock()

13 years agos3: Remove procid_self() from fill_deferred_open_entry()
Volker Lendecke [Sun, 4 Jul 2010 18:14:27 +0000 (20:14 +0200)]
s3: Remove procid_self() from fill_deferred_open_entry()

13 years agos3: Remove procid_self() from do_lock_cancel()
Volker Lendecke [Sun, 4 Jul 2010 18:06:07 +0000 (20:06 +0200)]
s3: Remove procid_self() from do_lock_cancel()

13 years agos3: Remove procid_self() from do_unlock()
Volker Lendecke [Sun, 4 Jul 2010 18:05:43 +0000 (20:05 +0200)]
s3: Remove procid_self() from do_unlock()

13 years agos3: Remove procid_self() from do_lock()
Volker Lendecke [Sun, 4 Jul 2010 18:02:30 +0000 (20:02 +0200)]
s3: Remove procid_self() from do_lock()

13 years agos3: Remove procid_self() from query_lock()
Volker Lendecke [Sun, 4 Jul 2010 18:01:48 +0000 (20:01 +0200)]
s3: Remove procid_self() from query_lock()

13 years agos3: Remove smbd_messaging_context() from shutdown_other_smbds()
Volker Lendecke [Sun, 4 Jul 2010 17:56:51 +0000 (19:56 +0200)]
s3: Remove smbd_messaging_context() from shutdown_other_smbds()

13 years agos3: Remove smbd_messaging_context() from make_connection_snum()
Volker Lendecke [Sun, 4 Jul 2010 17:51:43 +0000 (19:51 +0200)]
s3: Remove smbd_messaging_context() from make_connection_snum()

13 years agos3: Remove smbd_messaging_context() from reprocess_blocked_smb2_lock()
Volker Lendecke [Sun, 4 Jul 2010 17:50:35 +0000 (19:50 +0200)]
s3: Remove smbd_messaging_context() from reprocess_blocked_smb2_lock()

13 years agos3: Remove smbd_messaging_context() from remove_pending_lock()
Volker Lendecke [Sun, 4 Jul 2010 17:50:25 +0000 (19:50 +0200)]
s3: Remove smbd_messaging_context() from remove_pending_lock()

13 years agos3: Remove smbd_messaging_context() from push_blocking_lock_request_smb2()
Volker Lendecke [Sun, 4 Jul 2010 17:47:45 +0000 (19:47 +0200)]
s3: Remove smbd_messaging_context() from push_blocking_lock_request_smb2()

13 years agos3: Remove procid_self() from irix_oplocks_read_fde_handler()
Volker Lendecke [Sun, 4 Jul 2010 17:47:02 +0000 (19:47 +0200)]
s3: Remove procid_self() from irix_oplocks_read_fde_handler()

13 years agos3: Remove smbd_messaging_context() from smb_set_posix_lock()
Volker Lendecke [Sun, 4 Jul 2010 17:46:15 +0000 (19:46 +0200)]
s3: Remove smbd_messaging_context() from smb_set_posix_lock()

13 years agos3: Remove smbd_messaging_context() from linux_oplock_signal_handler()
Volker Lendecke [Sun, 4 Jul 2010 17:44:57 +0000 (19:44 +0200)]
s3: Remove smbd_messaging_context() from linux_oplock_signal_handler()

13 years agos3: Remove procid_self() from blocking_lock_cancel_smb1()
Volker Lendecke [Sun, 4 Jul 2010 16:46:27 +0000 (18:46 +0200)]
s3: Remove procid_self() from blocking_lock_cancel_smb1()

13 years agos3: Remove procid_self() from process_blocking_lock_queue()
Volker Lendecke [Sun, 4 Jul 2010 16:45:15 +0000 (18:45 +0200)]
s3: Remove procid_self() from process_blocking_lock_queue()

13 years agos3: Remove procid_self() from remove_pending_lock_requests_by_mid_smb1()
Volker Lendecke [Sun, 4 Jul 2010 16:44:46 +0000 (18:44 +0200)]
s3: Remove procid_self() from remove_pending_lock_requests_by_mid_smb1()

13 years agos3: Remove procid_self() from cancel_pending_lock_requests_by_fid()
Volker Lendecke [Sun, 4 Jul 2010 16:44:14 +0000 (18:44 +0200)]
s3: Remove procid_self() from cancel_pending_lock_requests_by_fid()

13 years agos3: Remove procid_self() from generic_blocking_lock_error()
Volker Lendecke [Sun, 4 Jul 2010 16:43:39 +0000 (18:43 +0200)]
s3: Remove procid_self() from generic_blocking_lock_error()

13 years agos3: Remove procid_self() from push_blocking_lock_request()
Volker Lendecke [Sun, 4 Jul 2010 16:42:55 +0000 (18:42 +0200)]
s3: Remove procid_self() from push_blocking_lock_request()

13 years agos3: Remove smbd_messaging_context() from blocking_lock_cancel_smb1()
Volker Lendecke [Sun, 4 Jul 2010 16:40:57 +0000 (18:40 +0200)]
s3: Remove smbd_messaging_context() from blocking_lock_cancel_smb1()

13 years agos3: Remove smbd_messaging_context() from process_trans2()
Volker Lendecke [Sun, 4 Jul 2010 16:40:40 +0000 (18:40 +0200)]
s3: Remove smbd_messaging_context() from process_trans2()

13 years agos3: Remove smbd_messaging_context() from process_lockingX()
Volker Lendecke [Sun, 4 Jul 2010 16:39:57 +0000 (18:39 +0200)]
s3: Remove smbd_messaging_context() from process_lockingX()

13 years agos3: Remove smbd_messaging_context() from reply_lockingX_error()
Volker Lendecke [Sun, 4 Jul 2010 16:39:31 +0000 (18:39 +0200)]
s3: Remove smbd_messaging_context() from reply_lockingX_error()

13 years agos3: Remove smbd_messaging_context() from push_blocking_lock_request()
Volker Lendecke [Sun, 4 Jul 2010 16:38:12 +0000 (18:38 +0200)]
s3: Remove smbd_messaging_context() from push_blocking_lock_request()

13 years agos3: Remove smbd_messaging_context() from contend_level2_oplocks_begin_default()
Volker Lendecke [Sun, 4 Jul 2010 16:35:06 +0000 (18:35 +0200)]
s3: Remove smbd_messaging_context() from contend_level2_oplocks_begin_default()

13 years agos3: Remove smbd_messaging_context() from reply_to_oplock_break_requests()
Volker Lendecke [Sun, 4 Jul 2010 16:34:31 +0000 (18:34 +0200)]
s3: Remove smbd_messaging_context() from reply_to_oplock_break_requests()

13 years agos3: Remove smbd_messaging_context() from smbd_do_locking()
Volker Lendecke [Sun, 4 Jul 2010 16:32:17 +0000 (18:32 +0200)]
s3: Remove smbd_messaging_context() from smbd_do_locking()

13 years agos3: Remove smbd_messaging_context() from rename_open_files()
Volker Lendecke [Sun, 4 Jul 2010 16:31:41 +0000 (18:31 +0200)]
s3: Remove smbd_messaging_context() from rename_open_files()

13 years agos3: Remove smbd_messaging_context() from reply_unlock()
Volker Lendecke [Sun, 4 Jul 2010 16:31:09 +0000 (18:31 +0200)]
s3: Remove smbd_messaging_context() from reply_unlock()

13 years agos3: Remove smbd_messaging_context() from reply_lock()
Volker Lendecke [Sun, 4 Jul 2010 16:30:48 +0000 (18:30 +0200)]
s3: Remove smbd_messaging_context() from reply_lock()

13 years agos3: Remove smbd_messaging_context() from reply_writeunlock()
Volker Lendecke [Sun, 4 Jul 2010 16:30:08 +0000 (18:30 +0200)]
s3: Remove smbd_messaging_context() from reply_writeunlock()

13 years agos3: Remove smbd_messaging_context() from reply_lockread()
Volker Lendecke [Sun, 4 Jul 2010 16:28:53 +0000 (18:28 +0200)]
s3: Remove smbd_messaging_context() from reply_lockread()

13 years agos3: Remove smbd_messaging_context() from send_break_message()
Volker Lendecke [Sun, 4 Jul 2010 16:28:04 +0000 (18:28 +0200)]
s3: Remove smbd_messaging_context() from send_break_message()

13 years agos3: Remove smbd_messaging_context() from exit_server_common()
Volker Lendecke [Sun, 4 Jul 2010 16:26:57 +0000 (18:26 +0200)]
s3: Remove smbd_messaging_context() from exit_server_common()

13 years agos3: Remove smbd_messaging_context() from close_normal_file()
Volker Lendecke [Sun, 4 Jul 2010 16:26:14 +0000 (18:26 +0200)]
s3: Remove smbd_messaging_context() from close_normal_file()

13 years agos3: Remove smbd_messaging_context() from notify_deferred_opens()
Volker Lendecke [Sun, 4 Jul 2010 16:25:02 +0000 (18:25 +0200)]
s3: Remove smbd_messaging_context() from notify_deferred_opens()

13 years agos3: Remove procid_self() from fill_share_mode_entry()
Volker Lendecke [Sun, 4 Jul 2010 16:20:11 +0000 (18:20 +0200)]
s3: Remove procid_self() from fill_share_mode_entry()

13 years agos3: Remove procid_self() from init_strict_lock_struct()
Volker Lendecke [Sun, 4 Jul 2010 16:18:58 +0000 (18:18 +0200)]
s3: Remove procid_self() from init_strict_lock_struct()

13 years agos3: Remove procid_self() from make_connection_snum()
Volker Lendecke [Sun, 4 Jul 2010 16:17:36 +0000 (18:17 +0200)]
s3: Remove procid_self() from make_connection_snum()

13 years agos3: Remove procid_self() from claim_connection()
Volker Lendecke [Sun, 4 Jul 2010 16:15:36 +0000 (18:15 +0200)]
s3: Remove procid_self() from claim_connection()

13 years agos3: Remove NULL checks from claim_connection()
Volker Lendecke [Sun, 4 Jul 2010 16:12:24 +0000 (18:12 +0200)]
s3: Remove NULL checks from claim_connection()

Nowadays this is only called from make_connection_snum() where we always
provide a connection_struct.

13 years agos3: Remove procid_self() from push_blocking_lock_request_smb2()
Volker Lendecke [Sun, 4 Jul 2010 16:09:59 +0000 (18:09 +0200)]
s3: Remove procid_self() from push_blocking_lock_request_smb2()

13 years agos3: Remove procid_self() from reply_negprot()
Volker Lendecke [Sun, 4 Jul 2010 16:08:16 +0000 (18:08 +0200)]
s3: Remove procid_self() from reply_negprot()

13 years agos3: Remove procid_self() from break_kernel_oplock()
Volker Lendecke [Sun, 4 Jul 2010 16:07:29 +0000 (18:07 +0200)]
s3: Remove procid_self() from break_kernel_oplock()

13 years agos3: Remove procid_self() from session_claim()
Volker Lendecke [Sun, 4 Jul 2010 16:06:26 +0000 (18:06 +0200)]
s3: Remove procid_self() from session_claim()

13 years agos3: Remove procid_self() from exit_server_common
Volker Lendecke [Sun, 4 Jul 2010 16:06:01 +0000 (18:06 +0200)]
s3: Remove procid_self() from exit_server_common