diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2012-04-23 04:49:16 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-05-31 15:46:26 -0400 |
commit | e4fb78b4507fe0c9ad55a3cff12b67b7b4976580 (patch) | |
tree | ce549addd60731e0aa0d2f40a6e668798d3fe536 /src/db/sysdb.h | |
parent | 8c8cbddeabe585377a5fb3d5df09cc9a236b77dd (diff) | |
download | sssd-e4fb78b4507fe0c9ad55a3cff12b67b7b4976580.tar.gz sssd-e4fb78b4507fe0c9ad55a3cff12b67b7b4976580.tar.xz sssd-e4fb78b4507fe0c9ad55a3cff12b67b7b4976580.zip |
Ghost members - modifications in sysdb
Deleted sysdb_add_fake_user():
This function is no longer used.
Modified sysdb_add_user():
When user object is added to sysdb, it is important to iterate over all
groups that might have its name or any of its aliases as ghost member
and replace this ghost membership by a real one. This will eliminate
duplicite memberships.
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 9e7d3c5ca..85dde2c49 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -583,11 +583,6 @@ int sysdb_add_user(struct sysdb_ctx *sysdb, int cache_timeout, time_t now); -int sysdb_add_fake_user(struct sysdb_ctx *sysdb, - const char *name, - const char *original_dn, - time_t now); - /* Add group (only basic attrs and w/o checks) */ int sysdb_add_basic_group(struct sysdb_ctx *sysdb, const char *name, gid_t gid); |