summaryrefslogtreecommitdiff
path: root/source3/rpc_server/lsa
AgeCommit message (Collapse)AuthorFilesLines
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-4/+4
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-02s3: include ntdomain.h before including generated srv_ headers.Günther Deschner1-1/+1
Guenther
2011-04-05s3-auth Rename user_session_key -> session_key to match auth_session_infoAndrew Bartlett1-1/+1
2011-03-30s3: Fix Coverity ID 2332: MISSING_BREAKVolker Lendecke1-0/+1
2011-03-30s3-rpc_server: move access check functions out of samr server.Günther Deschner1-0/+1
Guenther
2011-03-30s3: only include lib/privileges.h where needed.Günther Deschner1-0/+1
This finally removes the global lsa.h inclusion. Guenther
2011-03-30s3-includes: only include ntdomain.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-auth: rpc_server needs auth.hGünther Deschner1-0/+1
Guenther
2011-03-30s3-passdb: add passdb.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-27s3: Fix Coverity ID 2327: FORWARD_NULLVolker Lendecke1-0/+2
Make check_ft_info robust against an invalid type. Günther, please check!
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell1-2/+1
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-16s3: Fix Coverity ID 2213, PASS_BY_VALUEVolker Lendecke1-6/+6
There's little point to pass a copy of this structure on the stack. Günther, please check!
2011-03-16s3: Fix Coverity ID 1012, CHECKED_RETURNVolker Lendecke1-6/+5
This is probably more or less taste. Removing the necessity for a comment is a good thing though IMO.
2011-03-16s3: Fix Coverity ID 1013, CHECKED_RETURNVolker Lendecke1-6/+5
This is probably more or less taste. Removing the necessity for a comment is a good thing though IMO.
2011-03-03s3: Use dom_sid_string in _lsa_lookup_sids_internalVolker Lendecke1-4/+1
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett1-23/+23
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-21s3-lsa: fix some uninitialized variables in our lsa server.Günther Deschner1-3/+3
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 21 18:47:30 CET 2011 on sn-devel-104
2011-02-17s3-lsa: support trust objects in _lsa_QuerySecurity().Günther Deschner1-0/+1
Guenther
2011-02-17s3-lsa: in _lsa_QuerySecurity() query the sd from the lsa policy handle.Günther Deschner1-6/+4
Guenther
2011-02-17s3-lsa: only proceed in _lsa_EnumTrustedDomainsEx when backend has trusted ↵Günther Deschner1-0/+9
domain support. Guenther
2011-02-16s3-ipasam: Add aliases for trusted domain userSumit Bose1-1/+3
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 16 12:58:13 CET 2011 on sn-devel-104
2011-02-16s3-lsa: Implement lsaRSetForestTrustInformationSumit Bose1-2/+499
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: Add and remove trusted domain accountSumit Bose1-5/+111
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: fix return code of _lsa_QueryTrustedDomainInfoByName()Sumit Bose1-0/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: Extract auth info from trustDomainPasswordsSumit Bose1-6/+51
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: Use pdb_get_trusted_domain_by_sid in _lsa_QueryTrustedDomainInfo()Sumit Bose1-11/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: fix lsa_QueryTrustedDomainInfoSumit Bose1-6/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: implement _lsa_OpenTrustedDomainByName().Günther Deschner1-7/+30
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: implement _lsa_OpenTrustedDomain().Günther Deschner1-1/+77
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: Implement _lsa_EnumTrustedDomainsEx()Sumit Bose1-2/+67
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: implement _lsa_CloseTrustedDomainEx().Günther Deschner1-7/+10
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: implement _lsa_QueryTrustedDomainInfoByName().Günther Deschner1-7/+38
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: implement _lsa_QueryTrustedDomainInfoBySid().Günther Deschner1-7/+38
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: implement _lsa_QueryTrustedDomainInfo().Günther Deschner1-7/+139
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: make _lsa_DeleteTrustedDomain() use pdb_del_trusted_domain().Sumit Bose1-2/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: implement _lsa_DeleteTrustedDomain().Günther Deschner1-7/+38
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: make lsa_lookup_trusted_domain_by_name() use pdb_get_trusted_domain().Sumit Bose1-4/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: add lsa_lookup_trusted_domain_by_name and ↵Günther Deschner1-0/+60
lsa_lookup_trusted_domain_by_sid. Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: implement _lsa_CreateTrustedDomain().Günther Deschner1-1/+21
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: implement _lsa_CreateTrustedDomainEx().Günther Deschner1-7/+18
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: Let _lsa_CreateTrustedDomainEx2() use pdb_set_trusted_domain().Sumit Bose1-4/+17
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: implement _lsa_CreateTrustedDomainEx2().Günther Deschner1-7/+74
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: add LSA_HANDLE_TRUST_TYPE.Günther Deschner1-1/+4
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-lsa: add create_lsa_policy_handle().Günther Deschner1-40/+74
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-10s3-rpc_server: move services into individual directories.Günther Deschner1-0/+2755
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 22:13:17 CET 2011 on sn-devel-104