summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-27 23:33:45 +0200
committerVolker Lendecke <vl@samba.org>2009-08-29 19:42:27 +0200
commite47491e83c27c5cd8dbc10e69b57f54ff570f703 (patch)
tree71b12dbde4d59a2b90d069f58b222a16a564f471 /source3/winbindd/winbindd.c
parente71714830e23032bef9e5f644ca9531e8bc168b6 (diff)
downloadsamba-e47491e83c27c5cd8dbc10e69b57f54ff570f703.tar.gz
samba-e47491e83c27c5cd8dbc10e69b57f54ff570f703.tar.bz2
samba-e47491e83c27c5cd8dbc10e69b57f54ff570f703.zip
s3:winbind: Convert the getgrent functions to the new API
Diffstat (limited to 'source3/winbindd/winbindd.c')
-rw-r--r--source3/winbindd/winbindd.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 10538d3f21..5dac9322f6 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -425,13 +425,6 @@ static struct winbindd_dispatch_table {
const char *winbindd_cmd_name;
} dispatch_table[] = {
- /* Group functions */
-
- { WINBINDD_SETGRENT, winbindd_setgrent, "SETGRENT" },
- { WINBINDD_ENDGRENT, winbindd_endgrent, "ENDGRENT" },
- { WINBINDD_GETGRENT, winbindd_getgrent, "GETGRENT" },
- { WINBINDD_GETGRLST, winbindd_getgrent, "GETGRLST" },
-
/* PAM auth functions */
{ WINBINDD_PAM_AUTH, winbindd_pam_auth, "PAM_AUTH" },
@@ -538,6 +531,12 @@ static struct winbindd_async_dispatch_table async_nonpriv_table[] = {
winbindd_dsgetdcname_send, winbindd_dsgetdcname_recv },
{ WINBINDD_GETDCNAME, "GETDCNAME",
winbindd_getdcname_send, winbindd_getdcname_recv },
+ { WINBINDD_SETGRENT, "SETGRENT",
+ winbindd_setgrent_send, winbindd_setgrent_recv },
+ { WINBINDD_GETGRENT, "GETGRENT",
+ winbindd_getgrent_send, winbindd_getgrent_recv },
+ { WINBINDD_ENDGRENT, "ENDGRENT",
+ winbindd_endgrent_send, winbindd_endgrent_recv },
{ 0, NULL, NULL, NULL }
};