diff options
author | Luke Leighton <lkcl@samba.org> | 1998-10-21 21:11:16 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-10-21 21:11:16 +0000 |
commit | 399035098f212e976cc0000a215e0705ebe78c05 (patch) | |
tree | cede75211b1cfce2549fae9cb1e37974ea771e81 /source/passdb/ldap.c | |
parent | 487a2e13b7913e512fa01e736daaccc3858eb689 (diff) | |
download | samba-399035098f212e976cc0000a215e0705ebe78c05.tar.gz samba-399035098f212e976cc0000a215e0705ebe78c05.tar.xz samba-399035098f212e976cc0000a215e0705ebe78c05.zip |
the next dialog: user-groups. it's not very sensible what appears, but hey:
it appears!
Diffstat (limited to 'source/passdb/ldap.c')
-rw-r--r-- | source/passdb/ldap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/passdb/ldap.c b/source/passdb/ldap.c index 59b06d7e6fe..b673b816836 100644 --- a/source/passdb/ldap.c +++ b/source/passdb/ldap.c @@ -930,6 +930,11 @@ static struct smb_passwd *getldappwuid(uid_t smb_userid) return pdb_sam_to_smb(iterate_getsam21pwuid(smb_userid)); } +static struct smb_passwd *getldappwrid(uint32 user_rid) +{ + return pdb_sam_to_smb(iterate_getsam21pwuid(pdb_user_rid_to_uid(user_rid))); +} + static struct smb_passwd *getldappwent(void *vp) { return pdb_sam_to_smb(getldap21pwent(vp)); @@ -973,6 +978,7 @@ static struct passdb_ops ldap_ops = setldappwpos, getldappwnam, getldappwuid, + getldappwrid, getldappwent, add_ldappwd_entry, mod_ldappwd_entry, |