summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-08-25 00:55:27 +0000
committerTim Potter <tpot@samba.org>2000-08-25 00:55:27 +0000
commitebe8a05062c2385ff32ddef4d5438437d014a57e (patch)
treee33088a4db93e2c1349f0f437224b210077c71f7 /source3/nsswitch
parent42e8f4102d1ddcfcae600b27641bf80989a0b175 (diff)
downloadsamba-ebe8a05062c2385ff32ddef4d5438437d014a57e.tar.gz
samba-ebe8a05062c2385ff32ddef4d5438437d014a57e.tar.bz2
samba-ebe8a05062c2385ff32ddef4d5438437d014a57e.zip
Updated file with version in TNG.
(This used to be commit 156e17dea48962bca98a3f7d1e876eb6047ebc8a)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_nss.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_nss.h b/source3/nsswitch/winbindd_nss.h
index 05906717bf..cdb051889d 100644
--- a/source3/nsswitch/winbindd_nss.h
+++ b/source3/nsswitch/winbindd_nss.h
@@ -27,6 +27,7 @@
#define WINBINDD_SOCKET_NAME "pipe" /* Name of PF_UNIX socket */
#define WINBINDD_SOCKET_DIR "/tmp/.winbindd" /* Name of PF_UNIX dir */
+
#define WINBINDD_DOMAIN_ENV "WINBINDD_DOMAIN" /* Environment variables */
#define WINBINDD_DONT_ENV "_NO_WINBINDD"
@@ -40,6 +41,7 @@ enum winbindd_cmd {
WINBINDD_GETPWNAM_FROM_UID,
WINBINDD_GETGRNAM_FROM_GROUP,
WINBINDD_GETGRNAM_FROM_GID,
+ WINBINDD_INITGROUPS,
/* Enumerate users and groups */
@@ -139,7 +141,6 @@ struct winbindd_response {
fstring pw_gecos;
fstring pw_dir;
fstring pw_shell;
- int pwent_ndx;
} pw;
/* getgrnam, getgrgid */
@@ -149,7 +150,7 @@ struct winbindd_response {
fstring gr_passwd;
gid_t gr_gid;
int num_gr_mem;
- int grent_ndx;
+ int gr_mem_ofs; /* offset to group membership */
} gr;
uint32 num_entries; /* getpwent, getgrent */