diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-03-02 14:49:06 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-03-02 14:49:06 +0000 |
commit | b5c98c295c1131e805cccbbfbf061cf723b221c3 (patch) | |
tree | aef2482ea467b64297095a45ba98f11169c0d389 /source3/nsswitch/winbindd.h | |
parent | 923a0bed5c6062e620ed3d4ba57c01e6eb86b5b6 (diff) | |
download | samba-b5c98c295c1131e805cccbbfbf061cf723b221c3.tar.gz samba-b5c98c295c1131e805cccbbfbf061cf723b221c3.tar.bz2 samba-b5c98c295c1131e805cccbbfbf061cf723b221c3.zip |
This adds winbind-generated groups showing up in 'getent group'. It is not
very efficient though, it only does one group at a time. Needs improving, but
the structures are not particularly easy to set up, so check in the basically
working part for others to review.
I'm close to saying that I would like to remove aliases from general group
mapping. These can not be reflected correctly in /etc/group, winbind could do
a better job here.
And having aliases only on machines with nss_winbind at least for me is not a
too severe limitation.
Comments?
Volker
(This used to be commit 6cad5bcc280c2964473346cc467423a44cc6a5c2)
Diffstat (limited to 'source3/nsswitch/winbindd.h')
-rw-r--r-- | source3/nsswitch/winbindd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h index 7c8e6256e1..340ea07733 100644 --- a/source3/nsswitch/winbindd.h +++ b/source3/nsswitch/winbindd.h @@ -48,6 +48,11 @@ struct winbindd_cli_state { struct winbindd_response response; /* Respose to client */ struct getent_state *getpwent_state; /* State for getpwent() */ struct getent_state *getgrent_state; /* State for getgrent() */ + + /* Local groups for getgrent() */ + char **local_group_names; + int num_local_group_names; + int local_group_ndx; }; /* State between get{pw,gr}ent() calls */ |