diff options
Diffstat (limited to 'source3/groupdb/aliasunix.c')
-rw-r--r-- | source3/groupdb/aliasunix.c | 39 |
1 files changed, 34 insertions, 5 deletions
diff --git a/source3/groupdb/aliasunix.c b/source3/groupdb/aliasunix.c index f9b93bbce4..f9537ddeb4 100644 --- a/source3/groupdb/aliasunix.c +++ b/source3/groupdb/aliasunix.c @@ -224,11 +224,7 @@ static BOOL add_alsunixgrp_entry(LOCAL_GRP *newals) /************************************************************************ Routine to search the alspasswd file for an entry matching the aliasname. - and then modify its alias entry. We can't use the startalspwent()/ - getalspwent()/endalspwent() interfaces here as we depend on looking - in the actual file to decide how much room we have to write data. - override = False, normal - override = True, override XXXXXXXX'd out alias or NO PASS + and then modify its alias entry. ************************************************************************/ static BOOL mod_alsunixgrp_entry(LOCAL_GRP* als) @@ -237,6 +233,35 @@ static BOOL mod_alsunixgrp_entry(LOCAL_GRP* als) return False; } +/************************************************************************ + Routine to search the grppasswd file for an entry matching the rid. + and then delete it. +************************************************************************/ + +static BOOL del_alsunixgrp_entry(uint32 rid) +{ + DEBUG(0, ("del_alsunixgrp_entry: NOT IMPLEMENTED\n")); + return False; +} + +/************************************************************************ + Routine to add a member to an entry to the grppasswd file. +*************************************************************************/ +static BOOL add_alsunixgrp_member(uint32 rid, DOM_SID *member_sid) +{ + DEBUG(0, ("add_alsunixgrp_member: NOT IMPLEMENTED\n")); + return False; +} + +/************************************************************************ + Routine to delete a member from an entry to the grppasswd file. +*************************************************************************/ +static BOOL del_alsunixgrp_member(uint32 rid, DOM_SID *member_sid) +{ + DEBUG(0, ("del_alsunixgrp_member: NOT IMPLEMENTED\n")); + return False; +} + static struct aliasdb_ops unix_ops = { @@ -252,6 +277,10 @@ static struct aliasdb_ops unix_ops = add_alsunixgrp_entry, mod_alsunixgrp_entry, + del_alsunixgrp_entry, + + add_alsunixgrp_member, + del_alsunixgrp_member, iterate_getuseraliasntnam /* in aliasdb.c */ }; |