diff options
author | Tim Potter <tpot@samba.org> | 2001-10-08 00:34:14 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-10-08 00:34:14 +0000 |
commit | 14fc7fd10917d9c08ea98aa08c70a8d1e97e7e58 (patch) | |
tree | e78c99aa9d7777e573ba48ddd3f5b0aef35d01ad /source3/nsswitch/winbindd.c | |
parent | 494bb7b980a6bd5fce16097030d43cc0659594b8 (diff) | |
download | samba-14fc7fd10917d9c08ea98aa08c70a8d1e97e7e58.tar.gz samba-14fc7fd10917d9c08ea98aa08c70a8d1e97e7e58.tar.bz2 samba-14fc7fd10917d9c08ea98aa08c70a8d1e97e7e58.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...
(This used to be commit 4f8ea877876e91d4762f22e78aeb1bce4c65f011)
Diffstat (limited to 'source3/nsswitch/winbindd.c')
-rw-r--r-- | source3/nsswitch/winbindd.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c index 9bf4935eff..21dda58aae 100644 --- a/source3/nsswitch/winbindd.c +++ b/source3/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 */ |