summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_autofs.c
Commit message (Collapse)AuthorAgeFilesLines
* Make DEBUG macro invocations variadicNikolai Kondrashov2014-02-121-39/+39
| | | | | | | | | | | | | | | | | | | | | | | | Use a script to update DEBUG macro invocations to use it as a variadic macro, supplying format string and its arguments directly, instead of wrapping them in parens. This script was used to update the code: grep -rwl --include '*.[hc]' DEBUG . | while read f; do mv "$f"{,.orig} perl -e \ 'use strict; use File::Slurp; my $text=read_file(\*STDIN); $text=~s#(\bDEBUG\s*\([^(]+)\((.*?)\)\s*\)\s*;#$1$2);#gs; print $text;' < "$f.orig" > "$f" rm "$f.orig" done Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
* SYSDB: Drop redundant sysdb_ctx parameter from sysdb.cMichal Zidek2013-11-151-2/+1
|
* SYSDB: Drop the sysdb_ctx parameter - module sysdb_ops (part 2)Michal Zidek2013-11-151-5/+4
|
* SYSDB: Drop the sysdb_ctx parameter from the autofs APIJakub Hrozek2013-11-151-35/+27
|
* Fix formating of variables with type: size_tLukas Slebodnik2013-09-111-1/+1
|
* LDAP: Compare lists of DNs when saving autofs entriesJakub Hrozek2013-01-211-5/+22
| | | | | | | | | | | | https://fedorahosted.org/sssd/ticket/1758 The autofs entries do not have the key as an unique identifier, but rather the full (key, value) tuple as some keys have a special meaning, such as the direct mount key (/-) and may be present in a single map multiple times. Comparing the full DN that contains both the key and the value will allow for working updates if either key or value changes.
* Add domain argument to sysdb autofs functionsSimo Sorce2013-01-151-14/+23
|
* Add domain to sysdb_delete_customSimo Sorce2013-01-151-1/+1
|
* Add domain argument to sysdb_search_custom()Simo Sorce2013-01-151-2/+2
| | | | Also changes sysdb_search_custom_by_name()
* Add domain argument to sysdb_store_custom()Simo Sorce2013-01-151-1/+1
|
* Make sysdb_custom_dn() require a domain.Simo Sorce2013-01-151-1/+2
|
* SYSDB: Add API to invalidate all map objectsJakub Hrozek2012-12-181-0/+91
| | | | This sysdb API will be used later to invalidate the autofs maps
* SYSDB: fix copy-n-paste errorJakub Hrozek2012-12-181-1/+1
|
* SYSDB: Remove unnecessary domain parameter from several sysdb callsJakub Hrozek2012-09-241-2/+1
| | | | | The domain can be read from the sysdb object. Removing the domain string makes the API more self-contained.
* AUTOFS: Use both key and value in entry RDNJakub Hrozek2012-09-241-10/+38
| | | | | | This patch switches from using just key in the RDN to using both key and value. That is neccessary to allow multiple direct mounts in a single map.
* AUTOFS: Add entry objects below map objectsJakub Hrozek2012-09-241-107/+59
| | | | | | | | https://fedorahosted.org/sssd/ticket/1506 Changes how the new autofs entry objects are handled. Instead of creating the entry on the cn=autofs,cn=custom level, the entry is created below the map it belongs to.
* Unify usage of sysdb transactions (part 2).Michal Zidek2012-09-041-3/+17
|
* Add sysdb_set_service_attr and sysdb_set_autofsmap_attrJakub Hrozek2012-04-181-0/+28
|
* AUTOFS: sysdb interfaceJakub Hrozek2012-02-051-0/+398