summaryrefslogtreecommitdiff
path: root/src/db/sysdb_search.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-19Refactor the way subdomain accounts are savedSimo Sorce1-1/+3
The original sysdb code had a strong assumption that only users from one domain are saved in the databse, with the subdomain feature, we have changed reality, but have not adjusted all the code arund the sysdb calls to not rely on the original assumption. One of the side effects of this incongrunece is that currently group memberships do not return fully qualified names for subdomain users as they should. In oreder to fix this and other potential issues surrounding the violation of the original assumption, we need to fully qualify subdomain user names. By savin them fully qualified we do not risk aliasing local users and have group memberhips or other name based matching code mistake a domain user with subdomain usr or vice versa.
2012-03-06Search netgroups by alias, tooJakub Hrozek1-1/+3
https://fedorahosted.org/sssd/ticket/1228
2011-11-21Fix FTBFS related to -Werror=format-securityKrzysztof Klimonda1-1/+1
2011-10-17Sanitize DN in sysdb_get_direct_parentsJakub Hrozek1-1/+7
2011-10-06Fix typo in sysdb_get_direct_parentsJakub Hrozek1-1/+1
2011-09-28Return users and groups based on aliasJakub Hrozek1-3/+4
https://fedorahosted.org/sssd/ticket/926
2011-09-28Add a sysdb_get_direct_parents functionJakub Hrozek1-0/+101
2011-08-15Remaining memory context variables renamedJan Zeleny1-62/+62
memctx to mem_ctx tmpctx to tmp_ctx
2011-08-15sysdb refactoring: memory context deletedJan Zeleny1-9/+9
This patch deletes memory context parameter in those places in sysdb where it is not necessary. The code using modified functions has been updated. Tests updated as well.
2011-08-15sysdb refactoring: deleted domain variables in sysdb APIJan Zeleny1-60/+14
The patch also updates code using modified functions. Tests have also been adjusted.
2011-08-15sysdb refactoring: renamed ctx variable to sysdbJan Zeleny1-37/+37
2010-11-15Sanitize search filters for the sysdbStephen Gallagher1-6/+39
2010-10-13Also return member groups to the clientSumit Bose1-55/+71
2010-10-13Netgroups sysdb APIStephen Gallagher1-0/+336
2010-09-22Initgroups on a non-cached user should go to the data providerStephen Gallagher1-1/+11
We were accidentally returning an error when sysdb_getpwnam() returned zero results internally in sysdb_initgroups(). The correct behavior here is to return EOK and a result object with zero entries.
2010-04-12sysdb: remove obsolete helpers from sysdbSimo Sorce1-150/+0
2010-04-12sysdb: convert sysdb_initgroupsSimo Sorce1-95/+48
2010-04-12sysdb: convert sysdb_enumgrentSimo Sorce1-55/+33
2010-04-12sysdb: convert sysdb_enumpwentSimo Sorce1-53/+22
2010-04-12sysdb: convert sysdb_get_user_attrSimo Sorce1-17/+22
2010-04-12sysdb: convert sysdb_getgrgidSimo Sorce1-21/+33
2010-04-12sysdb: convert sysdb_getgrnamSimo Sorce1-17/+46
2010-04-12sysdb: convert sysdb_getpwuidSimo Sorce1-18/+22
2010-04-12sysdb: convert sysdb_getpwnamSimo Sorce1-17/+21
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+691
Also update BUILD.txt