Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-04-09 | PASSDB: add support to set and enumerate UPN suffixes associated with our forest | Alexander Bokovoy | 1 | -1/+17 | |
Samba PDC may manage a forest containing DNS domains in addition to the primary one. Information about them is advertised via netr_DsRGetForestTrustInformation when trusted_domain_name is NULL, according to MS-NRPC and MS-LSAD, and via netr_GetForestTrustInformation. This changeset only expands PASSDB API; how suffixes are maintained is left to specific PDB modules. Set function is added so that suffixes could be managed through 'net' and other Samba utilities, if possible. One possible implementation is available for ipasam module in FreeIPA: http://git.fedorahosted.org/cgit/freeipa.git/commit/?id=cc56723151c9ebf58d891e85617319d861af14a4 Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
2012-12-03 | s3:passdb: factor pdb_sid_to_id_unix_users_and_groups() out of ↵ | Michael Adam | 1 | -0/+3 | |
pdb_default_sid_to_id() The special treatment of the "Unix User" and "Unix Group" pseudo domains can be reused. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-09-07 | s3-passdb: wrap secrets.tdb accessors used by PDB modules | Alexander Bokovoy | 1 | -0/+11 | |
PDB modules store domain sid and guid in secrets.tdb to cooperate with other parts of smbd. If PDB module is built outside Samba source code it has to be linked against internal libsecrets. Wrap required secrets_* calls to avoid direct linking. libpdb is linked against libsecrets by itself and this is enough. | |||||
2012-05-23 | s3-passdb: add unixid_from_uid/unixid_from_gid/unixid_from_both API | Alexander Bokovoy | 1 | -0/+5 | |
struct unixid is defined in idmap.idl and therefore to use it one would need generated headers from librpc/gen_ndr. Not all of these files are installed and available as public headers. Also, they pull in some support headers which requires them to be available via specific locations like <librpc/gen_ndr/*> or <libcli/util>. Instead of pulling the headers to get structure and enum definitions, introduce three simple helpers to fill in 'struct unixid' based on the type of id. This is sufficient for PASSDB users and does not require exposing generated headers or code. | |||||
2012-05-02 | s3-passdb: Change pdb_sid_to_id() to return struct unixid | Andrew Bartlett | 1 | -3/+3 | |
This will make it easier to consistantly pass a struct unixid all the way up and down the idmap stack, and allow ID_TYPE_BOTH to be handled correctly. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-04-19 | s3-passdb: Remove unused sampass->pass_must_change_time | Andrew Bartlett | 1 | -3/+0 | |
There is no need to call pdb_set_pass_must_change_time() because nothing ever consults that value. It is always calculated from the domain policy. Also, this means we no longer store the value in LDAP. The value would only ever be set when migrating from tdbsam or smbpasswd, not on password changes, so would become incorrect over time. Andrew Bartlett | |||||
2012-01-09 | s3-passdb: remove a forward declaration. | Günther Deschner | 1 | -7/+6 | |
Guenther | |||||
2011-11-16 | Fix bug #8561 - Password change settings not fully observed. | Jeremy Allison | 1 | -0/+1 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 16 00:22:41 CET 2011 on sn-devel-104 | |||||
2011-10-28 | s3-passdb: use tevent_context in passdb. | Günther Deschner | 1 | -2/+3 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 28 13:09:47 CEST 2011 on sn-devel-104 | |||||
2011-10-18 | pdb-interface: Do not use unid_t here | Simo Sorce | 1 | -2/+2 | |
This interface needs to be publicly available, unid_t here is not really useful and makes it harder to use it as unid_t is not a public union. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Oct 18 20:57:16 CEST 2011 on sn-devel-104 | |||||
2011-10-14 | s3-passdb: remove fstring from pdb_set_user_sid_from_string(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2011-10-14 | s3-passdb: add {LM|NT}_HASH_LEN defines in passdb.h. | Günther Deschner | 1 | -0/+8 | |
Guenther | |||||
2011-10-14 | s3-passdb: use uintX_t at least in headers. | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2011-10-14 | s3-passdb: move passdb prototypes into passdb.h | Günther Deschner | 1 | -1/+285 | |
Guenther | |||||
2011-10-14 | s3-passdb: move group mapping headers into passdb.h | Günther Deschner | 1 | -1/+87 | |
Guenther | |||||
2011-10-12 | s3-group-mapping: Remove fstrings from GROUP_MAP. | Simo Sorce | 1 | -1/+1 | |
Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 12 19:28:12 CEST 2011 on sn-devel-104 | |||||
2011-09-26 | s3-passdb: Cleanup use of fstring and move to talloc. | Simo Sorce | 1 | -2/+2 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-31 | s3-pdb_ipa: Add supprted encryption types to struct pdb_trusted_domain | Sumit Bose | 1 | -0/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-08-31 | s3-pdb_ipa: Add posix offset to struct pdb_trusted_domain | Sumit Bose | 1 | -0/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-07-31 | s3-passdb: add dummy calls to control global (replicated) secrets. | Günther Deschner | 1 | -2/+18 | |
Guenther | |||||
2011-03-30 | s3-passdb: move some passdb defines to passdb.h | Günther Deschner | 1 | -0/+29 | |
Guenther | |||||
2011-03-30 | s3: include ../librpc/gen_ndr/lsa.h where needed. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2011-03-30 | s3-passdb: add machine_sid.h and lookup_sid.h | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2011-03-30 | s3-passdb: move mapping.h into passdb.h, its needed here. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2011-03-30 | s3-passdb: move passdb headers to passdb/proto.h. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2011-02-22 | s3:auth: change num_groups to from size_t to uint32_t | Stefan Metzmacher | 1 | -1/+1 | |
This will help with the change from UNIX_USER_TOKEN to security_unix_token metze | |||||
2011-02-17 | s3-passdb: add PDB_CAP_TRUSTED_DOMAINS_EX. | Günther Deschner | 1 | -2/+3 | |
Guenther | |||||
2011-02-16 | s3-lsa: Implement lsaRSetForestTrustInformation | Sumit Bose | 1 | -0/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-02-16 | s3-ipasam: add ipasam_get_trusted_domain_by_sid() | Sumit Bose | 1 | -0/+4 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-02-16 | s3-passdb: add {get,set,del,enum}_trusted_domain calls | Sumit Bose | 1 | -0/+26 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-02-15 | s3: Add "code_page" to struct samu | Volker Lendecke | 1 | -0/+2 | |
2011-02-15 | s3: Add "country_code" to struct samu | Volker Lendecke | 1 | -0/+3 | |
2011-02-09 | s3: move some stuff out of smb.h to better locations. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2010-08-05 | s3-secrets: only include secrets.h when needed. | Günther Deschner | 1 | -0/+9 | |
Guenther | |||||
2010-05-21 | s3:dom_sid Global replace of DOM_SID with struct dom_sid | Andrew Bartlett | 1 | -25/+25 | |
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-21 | s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 types | Andrew Bartlett | 1 | -30/+30 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-08 | s3: move BASE_RID to main includes.h (in preparation to separate passdb). | Günther Deschner | 1 | -2/+0 | |
Guenther | |||||
2010-03-16 | s3: Remove a typedef | Volker Lendecke | 1 | -2/+2 | |
2009-11-26 | s3-passdb: move some defines out of rpc headers (they really belong to passdb). | Günther Deschner | 1 | -0/+15 | |
Guenther | |||||
2009-11-14 | s3:passdb: bump interface VERSION 18->19 (removed uid_to_rid) | Michael Adam | 1 | -1/+2 | |
Michael | |||||
2009-11-14 | s3:passdb: remove the uid_to_rid method - we only need uid_to_sid | Michael Adam | 1 | -2/+0 | |
Michael | |||||
2009-07-14 | s3-account_policy: add pdb_policy_type enum. | Günther Deschner | 1 | -2/+20 | |
Guenther | |||||
2009-07-05 | Actually increase PASSDB_INTERFACE_VERSION to 18 :-) | Volker Lendecke | 1 | -1/+1 | |
2009-07-04 | Add pdb_get_domain_info | Volker Lendecke | 1 | -0/+11 | |
2009-07-04 | Make pdb_ads return an additional flag | Volker Lendecke | 1 | -0/+1 | |
2009-06-28 | Turn the pdb_rid_algorithm into a capabilities call that returns flags | Volker Lendecke | 1 | -1/+4 | |
2009-06-08 | Pass a talloc_ctx to pdb_enum_aliasmem | Volker Lendecke | 1 | -2/+2 | |
2009-05-28 | Fix some nonempty blank lines | Volker Lendecke | 1 | -17/+17 | |
2009-03-07 | Shape up pdb_search a bit by making it a talloc ctx with a destructor | Volker Lendecke | 1 | -1/+0 | |
2008-12-29 | s3:passdb: add SAMU_BUFFER_V4 with no changes | Stefan Metzmacher | 1 | -1/+3 | |
The upgrade is required because of the followin TDBSAM_VERSION upgrade. metze |