summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_samr.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-20s3-auth Use the common auth_session_infoAndrew Bartlett1-4/+4
This patch finally has the same structure being used to describe the authorization data of a user across the whole codebase. This will allow of our session handling to be accomplished with common code. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth Use struct auth3_session_info outside the auth subsystemAndrew Bartlett1-4/+4
This seperation between the structure used inside the auth modules and in the wider codebase allows for a gradual migration from struct auth_serversupplied_info -> struct auth_session_info (from auth.idl) The idea here is that we keep a clear seperation between the structure before and after the local groups, local user lookup and the session key modifications have been processed, as the lack of this seperation has caused issues in the past. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-16Revert "s3-winbind: Fix paranoia checks in winbindd_samr.c."Stefan Metzmacher1-2/+2
This reverts commit 207a84d725b905c2b119d2ef0f4f4d4eb391140d. This is the wrong fix for the problem, see bug #8215. metze
2011-06-15s3-winbind: Fix paranoia checks in winbindd_samr.c.Andreas Schneider1-2/+2
This fixes looking up the correct unix user instead of allocation a new uid and creating it. Fix bug #8215 (winbind unix username lookup doesn't work correctly). (cherry picked from commit 531edfdd1924bfb2ef486820f7f5787098bd953a) Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Jun 15 09:56:01 CEST 2011 on sn-devel-104
2011-05-02s3-winbindd: remove unused headers.Günther Deschner1-3/+0
Guenther
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner1-0/+1
Guenther
2011-03-30s3-auth: use auth.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-passdb: use passdb headers where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-winbindd: copy acct_info to wb_acct_info so we dont need passdb for it.Günther Deschner1-5/+5
Guenther
2011-03-29Remove two unused labels.Jeremy Allison1-2/+0
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 02:23:02 CEST 2011 on sn-devel-104
2011-03-28s3: Fix Coverity ID 2143: DEADCODEVolker Lendecke1-4/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Mar 28 12:06:19 CEST 2011 on sn-devel-104
2011-03-28s3: Fix Coverity ID 2143: DEADCODEVolker Lendecke1-4/+0
2011-03-16s3: Fix Coverity ID 2144, DEADCODEVolker Lendecke1-1/+1
We could never have assigned the real value in line 481. Andreas, please check!
2011-03-10s3: sid->domain_sid in winbindd_samr sam_rids_to_namesVolker Lendecke1-8/+8
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 10 19:33:47 CET 2011 on sn-devel-104
2011-03-10s3: Fix paranoia check in sam_rids_to_namesVolker Lendecke1-4/+2
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett1-8/+8
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-09s3: Fix some nonempty blank lines and some typosVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 9 00:01:45 CET 2011 on sn-devel-104
2011-02-02s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbindd_samr.c.Günther Deschner1-13/+25
Guenther
2011-02-02s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_samr.c.Günther Deschner1-43/+92
Guenther
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-0/+1
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-09-15s3-winbindd: Use rpc_open_pipe_interface in winbindd.Simo Sorce1-2/+3
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-08-18s3: Add "client_id" to pipes_structVolker Lendecke1-0/+2
2010-08-08s3: Lift the smbd_messaging_context from rpc_pipe_open_internalVolker Lendecke1-0/+2
2010-07-08s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR.Günther Deschner1-2/+0
Otherwise a lot of information that is usually generated in the ndr_push remains in an uninitialized state. Guenther
2010-07-07s3:winbindd_samr Do not use static contextsSimo Sorce1-4/+4
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-07s3-winbindd: route samr chgpwd ops for own domain over internal samr pipe as ↵Günther Deschner1-4/+4
well. Guenther
2010-07-06s3-winbind: Fixed debug messages of open_internal_lsa_pipe().Andreas Schneider1-2/+2
2010-07-06s3-winbind: Make sure we close all policy handles in sam.Andreas Schneider1-0/+83
2010-07-05s3-winbind: Use rpc_trusted_domains in samr.Andreas Schneider1-61/+20
2010-07-05s3-winbind: Rename common_password_policy to sam_password_policy.Andreas Schneider1-6/+6
2010-07-05s3-winbind: Rename common_lockout_policy to sam_lockout_policy.Andreas Schneider1-6/+6
2010-07-05s3-winbind: Use rpc_sequence_number in samr.Andreas Schneider1-52/+24
2010-07-05s3-winbind: Use rpc_lookup_groupmem in samr.Andreas Schneider1-105/+22
2010-07-05s3-winbind: Use rpc_lookup_useraliases in samr.Andreas Schneider1-82/+26
2010-07-05s3-winbind: Use rpc_lookup_usergroups in samr.Andreas Schneider1-56/+21
2010-07-05s3-winbind: Use rpc_query_user in samr.Andreas Schneider1-56/+13
2010-07-05s3-winbind: Use rpc_rids_to_names in samr.Andreas Schneider1-78/+39
2010-07-05s3-winbind: Use rpc_sid_to_name in samr.Andreas Schneider1-57/+41
2010-07-05s3-winbind: Use rpc_name_to_sid in samr.Andreas Schneider1-54/+23
2010-07-05s3-winbind: Use rpc_enum_local_groups in samr.Andreas Schneider1-44/+16
2010-07-05s3-winbind: Use rpc_query_user_list in samr.Andreas Schneider1-87/+13
2010-07-05s3-winbind: Use rpc_enum_dom_groups in samr.Andreas Schneider1-42/+12
2010-07-05s3-winbind: Implemented samr backend function common_sequence_number.Andreas Schneider1-4/+65
2010-07-05s3-winbind: Implemented samr backend function common_lookup_useraliases.Andreas Schneider1-4/+103
2010-07-05s3-winbind: Implemented samr backend function common_lookup_usergroups.Andreas Schneider1-4/+82
2010-07-05s3-winbind: Implemented samr backend function common_password_policy.Andreas Schneider1-3/+33
2010-07-05s3-winbind: Implemented samr backend function common_lockout_policy.Andreas Schneider1-3/+33
2010-07-05s3-winbind: Implemented samr backend function common_rids_to_names.Andreas Schneider1-5/+104
2010-07-05s3-winbind: Implemented samr backend function common_sid_to_name.Andreas Schneider1-2/+73
2010-07-05s3-winbind: Implemented samr backend function common_name_to_sid.Andreas Schneider1-2/+72