sdap_sudo_cache.c revision 4af1d1869d659fec84c518c26844132fa1df8f64
/*
Authors:
Jakub Hrozek <jhrozek@redhat.com>
Copyright (C) 2011 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "db/sysdb_sudo.h"
#include "providers/ldap/sdap_sudo_cache.h"
/* ========== Functions specific for the native sudo LDAP schema ========== */
static errno_t
struct sdap_attr_map *map,
struct sysdb_attrs *attrs)
{
const char *rule_name;
&rule_name);
return ret;
}
return ret;
}
return ret;
}
struct sdap_attr_map *map,
struct sysdb_attrs **replies,
{
bool in_transaction = false;
size_t i;
goto fail;
}
in_transaction = true;
for (i=0; i<replies_count; i++) {
goto fail;
}
}
goto fail;
}
in_transaction = false;
fail:
if (in_transaction) {
}
}
return ret;
}