Andreas Schneider
5cefbfef26
s3-rpc_server: Added callbacks for init and shutdown of a rpc service.
...
This adds two callback function for each rpc service. One is for
initialisation and the other for shutdown. rpc_<service>_unregister()
needs to be called to execute the shutdown function.
2010-07-19 12:59:18 +02:00
Simo Sorce
cdcdaaa6dd
s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.
...
All the members are children of ntlmssp_state anyway.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19 14:19:47 +10:00
Volker Lendecke
7ac58281ae
s3: Remove a direct use of procid_self()
2010-07-18 21:22:41 +02:00
Simo Sorce
100d37fc46
s3-dcerpc: Use DATA_BLOB for pipes_struct input data
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16 01:51:18 +02:00
Simo Sorce
31b59bbf99
s3-dcerpc: Convert rdata from prs_struct to a simple DATA_BLOB
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16 01:51:16 +02:00
Andreas Schneider
f85167a161
s3-winbind: Don't cache queries to builtin and own sam domain.
2010-07-13 19:17:41 +02:00
Andreas Schneider
57ebc8af80
s3-winbind: Set status before we leave in some msrpc functions.
2010-07-13 19:17:41 +02:00
Günther Deschner
690ed0c5e2
s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR.
...
Otherwise a lot of information that is usually generated in the ndr_push remains
in an uninitialized state.
Guenther
2010-07-08 16:35:26 +02:00
Simo Sorce
f0b918473d
s3:winbindd_samr Do not use static contexts
...
It is a very bad idea to use a static context within the open function.
Use the memory hierarchy to keep track of a client connection.
2010-07-07 23:45:50 -04:00
Günther Deschner
76a084feee
s3-winbindd: Fix child logfile handling which broke with c67cff0372
.
...
Andreas, please check.
Guenther
2010-07-07 17:01:09 +02:00
Günther Deschner
0da5e15378
s3-winbindd: route samr chgpwd ops for own domain over internal samr pipe as well.
...
Guenther
2010-07-07 16:49:26 +02:00
Andreas Schneider
44d8c8dbb7
s3-winbind: Handle aliases in rpc_lookup_groupmem().
2010-07-06 18:38:14 +02:00
Günther Deschner
11ae9aff97
s3-winbind: Fixed the winbind caching.
2010-07-06 18:38:14 +02:00
Andreas Schneider
66fc77e886
s3-winbind: Use same format for all msrpc debug messages.
2010-07-06 18:38:14 +02:00
Andreas Schneider
2794c5ad24
s3-winbind: Fixed debug messages of open_internal_lsa_pipe().
2010-07-06 18:38:14 +02:00
Andreas Schneider
9d23f8fbc5
s3-winbind: Make sure that the policy handles are closed.
2010-07-06 18:38:13 +02:00
Andreas Schneider
c5cd35658b
s3-winbind: Make sure we close all policy handles in sam.
2010-07-06 18:38:13 +02:00
Andreas Schneider
c67cff0372
s3-winbind: Create all logfiles in the same directory.
...
If log file is set in the config file, we should create the log files of
the winbind child processes in the same directory.
2010-07-06 18:38:13 +02:00
Volker Lendecke
60a3cc850a
s3: Fix another winbind crash
...
This is similar to 09a9cc3
, this re-arranges winbindd_ads.c:query_user_list()
so that "ads" is not accessed anymore across a call to nss_get_info_cached()
call which can destroy it behind the scenes.
2010-07-06 14:21:41 +02:00
Andreas Schneider
3323e88f74
s3-winbind: Rename lookup_groupmem to msrpc_lookup_groupmem.
2010-07-05 15:59:15 +02:00
Andreas Schneider
973ef399e3
s3-winbind: Use rpc_trusted_domains in msrpc.
2010-07-05 15:59:15 +02:00
Andreas Schneider
b4160af736
s3-winbind: Use rpc_trusted_domains in samr.
2010-07-05 15:59:14 +02:00
Andreas Schneider
9c372a145d
s3-winbind: Added a common rpc_trusted_domains function.
2010-07-05 15:59:14 +02:00
Andreas Schneider
b8a0b95e74
s3-winbind: Rename common_password_policy to sam_password_policy.
2010-07-05 15:59:14 +02:00
Andreas Schneider
3f2c2c7c70
s3-winbind: Rename common_lockout_policy to sam_lockout_policy.
2010-07-05 15:59:14 +02:00
Andreas Schneider
49dc713957
s3-winbind: Use rpc_sequence_number in msrpc.
2010-07-05 15:59:14 +02:00
Andreas Schneider
eba6ff0c1a
s3-winbind: Use rpc_sequence_number in samr.
2010-07-05 15:59:14 +02:00
Andreas Schneider
c4a5fc72c7
s3-winbind: Added a common rpc_sequence_number function.
2010-07-05 15:59:13 +02:00
Andreas Schneider
62038010e0
s3-winbind: Use rpc_lookup_groupmem in samr.
2010-07-05 15:59:13 +02:00
Andreas Schneider
3c06d42bec
s3-winbind: Added a common rpc_lookup_groupmem function.
2010-07-05 15:59:13 +02:00
Andreas Schneider
1f2fe8dee9
s3-winbind: Use rpc_lookup_useraliases in msrpc.
2010-07-05 15:59:13 +02:00
Andreas Schneider
aa831374b8
s3-winbind: Use rpc_lookup_useraliases in samr.
2010-07-05 15:59:13 +02:00
Andreas Schneider
73b2f60f6d
s3-winbind: Added a common rpc_lookup_useraliases function.
2010-07-05 15:59:12 +02:00
Andreas Schneider
ad8c912563
s3-winbind: Use rpc_lookup_usergroups in msrpc.
2010-07-05 15:59:12 +02:00
Andreas Schneider
c1a6a24a76
s3-winbind: Use rpc_lookup_usergroups in samr.
2010-07-05 15:59:12 +02:00
Andreas Schneider
473d1f1086
s3-winbind: Added a common rpc_lookup_usergroups function.
2010-07-05 15:59:12 +02:00
Andreas Schneider
a3f8bbf3da
s3-winbind: Use rpc_query_user in samr.
2010-07-05 15:59:12 +02:00
Andreas Schneider
64f1052c7f
s3-winbind: Use rpc_query_user in msrpc.
2010-07-05 15:59:12 +02:00
Andreas Schneider
7d304d7e99
s3-winbind: Added a common rpc_query_user function.
2010-07-05 15:59:11 +02:00
Andreas Schneider
c48d850265
s3-winbind: Use rpc_rids_to_names in samr.
2010-07-05 15:59:11 +02:00
Andreas Schneider
fd79bc9a58
s3-winbind: Added a common rpc_rids_to_names function.
2010-07-05 15:59:11 +02:00
Andreas Schneider
aa745bedd3
s3-winbind: Use rpc_sid_to_name in samr.
2010-07-05 15:59:11 +02:00
Andreas Schneider
506dc899b2
s3-winbind: Added a common rpc_sid_to_name function.
2010-07-05 15:59:11 +02:00
Andreas Schneider
22c9ced119
s3-winbind: Use rpc_name_to_sid in samr.
2010-07-05 15:59:10 +02:00
Andreas Schneider
37dbfaebc7
s3-winbind: Added a common rpc_name_to_sid function.
2010-07-05 15:59:10 +02:00
Andreas Schneider
01730e4b47
s3-winbind: Use rpc_enum_local_groups in samr.
2010-07-05 15:59:10 +02:00
Andreas Schneider
44c6432d64
s3-winbind: Use rpc_enum_local_groups in msrpc.
2010-07-05 15:59:10 +02:00
Andreas Schneider
89c8ef97c4
s3-winbind: Added a common rpc_enum_local_groups function.
2010-07-05 15:59:10 +02:00
Andreas Schneider
8159b1281b
s3-winbind: Use rpc_query_user_list in samr.
2010-07-05 15:59:09 +02:00
Andreas Schneider
e44d7e1582
s3-winbind: Use rpc_query_user_list in msrpc.
2010-07-05 15:59:09 +02:00