summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-01-24 01:48:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:23 -0500
commitaaec0115e2c96935499052d9a637a20c6445986e (patch)
tree8686d22267022ee5d6c8fd98830bd6268bd2481c /source/nsswitch/winbindd.h
parent2a7311db272b5a504e2db672d92adbb3cf2bea15 (diff)
downloadsamba-aaec0115e2c96935499052d9a637a20c6445986e.tar.gz
samba-aaec0115e2c96935499052d9a637a20c6445986e.tar.xz
samba-aaec0115e2c96935499052d9a637a20c6445986e.zip
r20986: Commit the prototype of the nss_info plugin interface.
This allows a provider to supply the homedirectory, etc... attributes for a user without requiring support in core winbindd code. The idmap_ad.c module has been modified to provide the idmap 'ad' library as well as the rfc2307 and sfu "winbind nss info" support. The SID/id mapping is working in idmap_ad but the nss_info still has a few quirks that I'm in the process of resolving.
Diffstat (limited to 'source/nsswitch/winbindd.h')
-rw-r--r--source/nsswitch/winbindd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd.h b/source/nsswitch/winbindd.h
index 59557c49423..b9e07a2321b 100644
--- a/source/nsswitch/winbindd.h
+++ b/source/nsswitch/winbindd.h
@@ -112,6 +112,8 @@ typedef struct {
char *full_name;
char *homedir;
char *shell;
+ gid_t primary_gid; /* allow the nss_info
+ backend to set the primary group */
DOM_SID user_sid; /* NT user and primary group SIDs */
DOM_SID group_sid;
} WINBIND_USERINFO;