Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-12-03 | s3:passdb: don't look into group mappings in legacy_sid_to_unixid() | Michael Adam | 1 | -28/+1 | |
The backends (tdbsam and ldapsam) do this. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-09-04 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -3/+3 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-09-01 | s3: Remove a shadowing variable declaration | Volker Lendecke | 1 | -2/+0 | |
2012-08-23 | s3: fix compile warning on openindiana | Björn Jacke | 1 | -5/+5 | |
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Aug 23 18:22:13 CEST 2012 on sn-devel-104 | |||||
2012-08-21 | s3-passdb: Allow pdb_sid_to_id to work on any SID | Andrew Bartlett | 1 | -13/+9 | |
This is needed so that pdb_samba4 can map any SID during a provision. At runtime, winbindd will be asked first, but this shortcut direct to the ldb file makes it possible to set the permissions on the sysvol share at provision time. Andrew Bartlett | |||||
2012-08-09 | Check error returns from strupper_m() (in all reasonable places). | Jeremy Allison | 1 | -1/+4 | |
2012-07-12 | s3: rename sid_check_is_in_our_domain() to sid_check_is_in_our_sam() | Michael Adam | 1 | -1/+1 | |
This does not check whether the given sid is in our domain, but but whether it belongs to the local sam, which is a different thing on a domain member server. Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Jul 12 18:36:02 CEST 2012 on sn-devel-104 | |||||
2012-07-12 | s3: rename sid_check_is_domain() to sid_check_is_our_sam() | Michael Adam | 1 | -3/+3 | |
This does not check whether the given sid is the domain sid, but whether it is the sid of the local sam, which is different for a domain member server. | |||||
2012-05-24 | s3-passdb: Fix negative SID->uid/gid/both cache handling | Ira Cooper | 1 | -0/+14 | |
-1 uid/gid/both signals a non existent uid/gid/both. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-05-02 | s3-idmap: convert most idmap_cache callers to unixid API | Andrew Bartlett | 1 | -10/+3 | |
This will eventually allow the struct unixid to be passed all the way up and down the stack. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-05-02 | s3:passdb: rename sids_to_unix_ids() --> sids_to_unixids() for consistency | Michael Adam | 1 | -2/+2 | |
2012-05-02 | s3-passdb: Use struct unixid in sids_to_unix_ids | Andrew Bartlett | 1 | -17/+31 | |
This avoids the union in the struct wbcUnixId and moves us to using only struct unixid internally. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-05-02 | s3-passdb: Rename legacy_sid_to_id -> legacy_sid_to_unixid for clarity | Andrew Bartlett | 1 | -3/+3 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-05-02 | s3-passdb: Change pdb_sid_to_id() to return struct unixid | Andrew Bartlett | 1 | -70/+41 | |
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-21 | s3: Remove two unused variables | Volker Lendecke | 1 | -2/+0 | |
2012-04-20 | s3:passdb: do not use the in-memory idmap cache (it will be removed) | Michael Adam | 1 | -145/+0 | |
2011-10-18 | pdb-interface: Do not use unid_t here | Simo Sorce | 1 | -6/+8 | |
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-12 | s3-group-mapping: Remove fstrings from GROUP_MAP. | Simo Sorce | 1 | -3/+9 | |
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-08-21 | s3-id_cache: Move id caches mgmt out of smbd | Andreas Schneider | 1 | -65/+0 | |
We must leave the MSG_IDMAP_KILL operation in SMBD as it uses smbd specific internal globals and makes sense only in the context of a smbd daemon. The rest is moved under lib/ as we need to deal with id cache cleanups in other daemons too (like lsasd). Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2011-06-09 | s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array() | Andrew Bartlett | 1 | -2/+2 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 1 | -5/+5 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-04-13 | s3: Use wbcSidsToUnixIds in create_local_token | Volker Lendecke | 1 | -0/+103 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-03-30 | s3-passdb: add passdb.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-winbind: remove global inclusion of libwbclient. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-10 | Quite some callers of sid_split_rid do not care about the rid | Volker Lendecke | 1 | -2/+1 | |
2011-03-03 | s3: Remove an obsolete comment | Volker Lendecke | 1 | -3/+1 | |
2011-02-28 | s3: add functions to remove entries from idmap memcache | Gregor Beck | 1 | -0/+52 | |
2011-02-28 | s3: add functions to flush the idmap memcache | Gregor Beck | 1 | -0/+14 | |
2011-02-22 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -10/+10 | |
2010-10-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 1 | -1/+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-20 | s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions. | Günther Deschner | 1 | -3/+4 | |
Guenther | |||||
2010-08-26 | s3-idmap: only include idmap headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-26 | s3-build: only include memcache.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-05 | s3-secrets: only include secrets.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-06-28 | s3-passdb: Make sure that we don't assign garbage. | Andreas Schneider | 1 | -1/+1 | |
2010-06-07 | s3:passdb Export function to calculate the proper primary group sid | Simo Sorce | 1 | -0/+124 | |
Don't keep it buried in passdb, this function need to be available for use in places where we do not want to construct an artificial samu struct just to play tricks. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-05-31 | s3-build: only use ndr_security.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-21 | s3:dom_sid Global replace of DOM_SID with struct dom_sid | Andrew Bartlett | 1 | -26/+26 | |
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-18 | s3: Remove use of iconv_convenience. | Jelmer Vernooij | 1 | -8/+8 | |
2010-04-28 | s3: Make a debug msg more readable | Volker Lendecke | 1 | -1/+1 | |
2010-01-10 | s3: Use sid_check_is_in_our_domain instead of a direct sid_peek_check_rid | Volker Lendecke | 1 | -4/+2 | |
2010-01-10 | s3: Replace most calls to sid_append_rid() by sid_compose() | Volker Lendecke | 1 | -10/+5 | |
2009-11-14 | s3:passdb: remove the uid_to_rid method - we only need uid_to_sid | Michael Adam | 1 | -4/+1 | |
Michael | |||||
2009-10-20 | s3-lsa: allow to lookup BUILTIN\ in lsa_LookupNames. | Günther Deschner | 1 | -0/+8 | |
Found by RPC-LSA-LOOKUPNAMES torture test. Guenther | |||||
2009-07-31 | Rename LOOKUP_NAME_EXPLICIT to LOOKUP_NAME_NO_NSS | Volker Lendecke | 1 | -4/+8 | |
It took me a bit to understand what this flag does. I hope this is a bit clearer, at least it is to me. | |||||
2009-06-26 | s3:passdb: fix bug #6509: use gid (not uid) cache in fetch_gid_from_cache(). | Michael Adam | 1 | -1/+1 | |
With the previous code, the cache can never have been hit at all. Michael | |||||
2009-05-27 | s3: zero an uninitialized array | Marc VanHeyningen | 1 | -1/+4 | |
Invalid pointers were being dereferenced in lookup_sids causing occasional seg faults. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-05-12 | s3: Fallback to the legacy sid_to_(uid|gid) instead of returning NULL. | Aravind Srinivasan | 1 | -9/+4 | |
This is very similar to be1dfff02d562e42a7847bd02fed8538630d3f41 | |||||
2009-05-11 | Fix a bunch of compiler warnings about wrong format types. | Jeremy Allison | 1 | -2/+2 | |
Should make Solaris 10 builds look cleaner. Jeremy. | |||||
2009-03-24 | Fix bug 6097 | Volker Lendecke | 1 | -1/+1 | |
A client sent a SID with authority 0 and 0 sub-authorities. W2k3 replies with NT_STATUS_INVALID_SID, even if other SIDs in the list are valid. Thanks to Pavel <wylda@volny.cz> for the bug report! |