Volker Lendecke
fbe19ba398
s3: Fix Coverity ID 2143: DEADCODE
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Mar 28 12:06:19 CEST 2011 on sn-devel-104
2011-03-28 12:06:19 +02:00
Volker Lendecke
05dac2b7e6
s3: Fix Coverity ID 2143: DEADCODE
2011-03-28 11:16:55 +02:00
Volker Lendecke
dd3d6a160c
s3: Fix Coverity ID 2144, DEADCODE
...
We could never have assigned the real value in line 481.
Andreas, please check!
2011-03-16 22:07:24 +01:00
Volker Lendecke
257f0491cb
s3: sid->domain_sid in winbindd_samr sam_rids_to_names
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Mar 10 19:33:47 CET 2011 on sn-devel-104
2011-03-10 19:33:46 +01:00
Volker Lendecke
8d0e241530
s3: Fix paranoia check in sam_rids_to_names
2011-03-10 18:48:34 +01:00
Andrew Bartlett
2e69e89456
s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_info
...
These variables, of type struct auth_serversupplied_info were poorly
named when added into 2001, and in good consistant practice, this has
extended all over the codebase in the years since.
The structure is also not ideal for it's current purpose. Originally
intended to convey the results of the authentication modules, it
really describes all the essential attributes of a session. This
rename will reduce the volume of a future patch to replaced these with
a struct auth_session_info, with auth_serversupplied_info confined to
the lower levels of the auth subsystem, and then eliminated.
(The new structure will be the output of create_local_token(), and the
change in struct definition will ensure that this is always run, populating
local groups and privileges).
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-22 16:20:10 +11:00
Volker Lendecke
5a0ee95b95
s3: Fix some nonempty blank lines and some typos
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 9 00:01:45 CET 2011 on sn-devel-104
2011-02-09 00:01:45 +01:00
Günther Deschner
04ac046a46
s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbindd_samr.c.
...
Guenther
2011-02-02 20:00:59 +01:00
Günther Deschner
58cdc56acc
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_samr.c.
...
Guenther
2011-02-02 13:30:04 +01:00
Andrew Bartlett
f768b32e37
libcli/security Provide a common, top level libcli/security/security.h
...
This will reduce the noise from merges of the rest of the
libcli/security code, without this commit changing what code
is actually used.
This includes (along with other security headers) dom_sid.h and
security_token.h
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-12 05:54:10 +00:00
Simo Sorce
db46b2bdb0
s3-winbindd: Use rpc_open_pipe_interface in winbindd.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15 12:53:43 +02:00
Volker Lendecke
4b5e252354
s3: Add "client_id" to pipes_struct
2010-08-18 11:18:23 +02:00
Volker Lendecke
2d3623529f
s3: Lift the smbd_messaging_context from rpc_pipe_open_internal
2010-08-08 16:03:15 +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
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
2794c5ad24
s3-winbind: Fixed debug messages of open_internal_lsa_pipe().
2010-07-06 18:38:14 +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
b4160af736
s3-winbind: Use rpc_trusted_domains in samr.
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
eba6ff0c1a
s3-winbind: Use rpc_sequence_number in samr.
2010-07-05 15:59:14 +02:00
Andreas Schneider
62038010e0
s3-winbind: Use rpc_lookup_groupmem in samr.
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
c1a6a24a76
s3-winbind: Use rpc_lookup_usergroups in samr.
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
c48d850265
s3-winbind: Use rpc_rids_to_names in samr.
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
22c9ced119
s3-winbind: Use rpc_name_to_sid in samr.
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
8159b1281b
s3-winbind: Use rpc_query_user_list in samr.
2010-07-05 15:59:09 +02:00
Andreas Schneider
b3f4e18859
s3-winbind: Use rpc_enum_dom_groups in samr.
2010-07-05 15:59:09 +02:00
Andreas Schneider
488badb8ac
s3-winbind: Implemented samr backend function common_sequence_number.
2010-07-05 15:59:08 +02:00
Andreas Schneider
645ce68e35
s3-winbind: Implemented samr backend function common_lookup_useraliases.
2010-07-05 15:59:08 +02:00
Andreas Schneider
d92cb43b77
s3-winbind: Implemented samr backend function common_lookup_usergroups.
2010-07-05 15:59:07 +02:00
Andreas Schneider
c60a9e8077
s3-winbind: Implemented samr backend function common_password_policy.
2010-07-05 15:59:07 +02:00
Andreas Schneider
54e8f8bd57
s3-winbind: Implemented samr backend function common_lockout_policy.
2010-07-05 15:59:07 +02:00
Andreas Schneider
de7990bca1
s3-winbind: Implemented samr backend function common_rids_to_names.
2010-07-05 15:59:07 +02:00
Andreas Schneider
79700e690e
s3-winbind: Implemented samr backend function common_sid_to_name.
2010-07-05 15:59:07 +02:00
Andreas Schneider
f11648bfd7
s3-winbind: Implemented samr backend function common_name_to_sid.
2010-07-05 15:59:07 +02:00
Andreas Schneider
483d4528d9
s3-winbind: Implemented samr backend function common_enum_local_groups.
2010-07-05 15:59:06 +02:00
Andreas Schneider
47447809c8
s3-winbind: Implemented samr backend function sam_lookup_groupmem.
2010-07-05 15:59:06 +02:00
Andreas Schneider
41939ce32f
s3-winbind: Implemented samr backend function sam_trusted_domains.
2010-07-05 15:59:06 +02:00
Andreas Schneider
48147555d2
s3-winbind: Implemented samr backend function sam_query_user.
2010-07-05 15:59:06 +02:00
Andreas Schneider
7ee0ebe406
s3-winbind: Implemented samr backend function sam_enum_dom_groups.
2010-07-05 15:59:05 +02:00
Andreas Schneider
9d0d6ed66f
s3-winbind: Implemented samr backend function sam_query_user_list.
2010-07-05 15:59:05 +02:00
Andreas Schneider
cc3d9dd042
s3-winbind: Added a skeleton for samr based functions.
...
The goal is to replace the passdb backend later.
2010-07-05 15:59:05 +02:00