From f3f2744e9cf9fde94a75ba3c6c6ffd02434375d1 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 9 Oct 2001 22:55:00 +0000 Subject: Implemented sam group handle stuff. getent group now works. (This used to be commit 63731d4a00e7a70b48d0c25677c76ec6b2e04ce1) --- source3/nsswitch/winbindd.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'source3/nsswitch/winbindd.c') 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 }, -- cgit