summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-10-08 00:34:14 +0000
committerTim Potter <tpot@samba.org>2001-10-08 00:34:14 +0000
commit4f8ea877876e91d4762f22e78aeb1bce4c65f011 (patch)
tree10e66843dd56605d434f8c3bfff2858ebc05c876 /source/nsswitch/winbindd.c
parent74f746fee2e528e4f23192e21e1d74739dc1072e (diff)
downloadsamba-4f8ea877876e91d4762f22e78aeb1bce4c65f011.tar.gz
samba-4f8ea877876e91d4762f22e78aeb1bce4c65f011.tar.xz
samba-4f8ea877876e91d4762f22e78aeb1bce4c65f011.zip
More work on winbindd connection rewrite:
- implemented some of the sam related connection manager routines - fill in group id and gecos fields for getpwnam/getpwuid routines - convert querydispinfo to cm - getent passwd now works Now for the group related routines...
Diffstat (limited to 'source/nsswitch/winbindd.c')
-rw-r--r--source/nsswitch/winbindd.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/nsswitch/winbindd.c b/source/nsswitch/winbindd.c
index 9bf4935effd..21dda58aae1 100644
--- a/source/nsswitch/winbindd.c
+++ b/source/nsswitch/winbindd.c
@@ -230,12 +230,12 @@ static struct dispatch_table dispatch_table[] = {
{ WINBINDD_GETPWNAM_FROM_USER, winbindd_getpwnam_from_user },
{ WINBINDD_GETPWNAM_FROM_UID, winbindd_getpwnam_from_uid },
-#if 0
-
{ WINBINDD_SETPWENT, winbindd_setpwent },
{ WINBINDD_ENDPWENT, winbindd_endpwent },
{ WINBINDD_GETPWENT, winbindd_getpwent },
+#if 0
+
{ WINBINDD_GETGROUPS, winbindd_getgroups },
/* Group functions */
@@ -699,6 +699,12 @@ int main(int argc, char **argv)
secrets_init();
+ /* Get list of domains we look up requests for. This includes the
+ domain which we are a member of as well as any trusted
+ domains. */
+
+ get_domain_info();
+
ZERO_STRUCT(server_state);
/* Winbind daemon initialisation */