summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-10-09 22:55:00 +0000
committerTim Potter <tpot@samba.org>2001-10-09 22:55:00 +0000
commitf3f2744e9cf9fde94a75ba3c6c6ffd02434375d1 (patch)
tree1ba2ad8417fd5cfc0f7e23310d73a1ce709a2b8b /source3/nsswitch/winbindd.c
parenta2272cb71f2c48ffeb9a89ce79b3cdbdef7cc249 (diff)
downloadsamba-f3f2744e9cf9fde94a75ba3c6c6ffd02434375d1.tar.gz
samba-f3f2744e9cf9fde94a75ba3c6c6ffd02434375d1.tar.bz2
samba-f3f2744e9cf9fde94a75ba3c6c6ffd02434375d1.zip
Implemented sam group handle stuff. getent group now works.
(This used to be commit 63731d4a00e7a70b48d0c25677c76ec6b2e04ce1)
Diffstat (limited to 'source3/nsswitch/winbindd.c')
-rw-r--r--source3/nsswitch/winbindd.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index 21dda58aae..4a01b06ea9 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -1,6 +1,6 @@
/*
Unix SMB/Netbios implementation.
- Version 2.0
+ Version 3.0
Winbind daemon for ntdom nss module
@@ -234,18 +234,20 @@ static struct dispatch_table dispatch_table[] = {
{ WINBINDD_ENDPWENT, winbindd_endpwent },
{ WINBINDD_GETPWENT, winbindd_getpwent },
-#if 0
-
{ WINBINDD_GETGROUPS, winbindd_getgroups },
/* Group functions */
+#if 0
{ WINBINDD_GETGRNAM_FROM_GROUP, winbindd_getgrnam_from_group },
{ WINBINDD_GETGRNAM_FROM_GID, winbindd_getgrnam_from_gid },
+#endif
{ WINBINDD_SETGRENT, winbindd_setgrent },
{ WINBINDD_ENDGRENT, winbindd_endgrent },
{ WINBINDD_GETGRENT, winbindd_getgrent },
+#if 0
+
/* PAM auth functions */
{ WINBINDD_PAM_AUTH, winbindd_pam_auth },
@@ -254,10 +256,13 @@ static struct dispatch_table dispatch_table[] = {
/* Enumeration functions */
+#endif
+
{ WINBINDD_LIST_USERS, winbindd_list_users },
{ WINBINDD_LIST_GROUPS, winbindd_list_groups },
{ WINBINDD_LIST_TRUSTDOM, winbindd_list_trusted_domains },
+#if 0
/* SID related functions */
{ WINBINDD_LOOKUPSID, winbindd_lookupsid },