summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_user.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-27 22:39:57 +0000
committerJeremy Allison <jra@samba.org>2001-11-27 22:39:57 +0000
commitb89fccabdd879b93510fb0d24ce78999d4231c18 (patch)
treed03d3c0774c2a164edf7c796c421e99fdf139c2f /source3/nsswitch/winbindd_user.c
parenta7ac992b12325c9771ef9baa5543c1e7ac2121d4 (diff)
downloadsamba-b89fccabdd879b93510fb0d24ce78999d4231c18.tar.gz
samba-b89fccabdd879b93510fb0d24ce78999d4231c18.tar.bz2
samba-b89fccabdd879b93510fb0d24ce78999d4231c18.zip
Added negative caching to group lookups.
Jeremy. (This used to be commit fceba7dea5b09ac9ce509c5252a46be8e4d3de85)
Diffstat (limited to 'source3/nsswitch/winbindd_user.c')
-rw-r--r--source3/nsswitch/winbindd_user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_user.c b/source3/nsswitch/winbindd_user.c
index 61057cb1b3..853350fd19 100644
--- a/source3/nsswitch/winbindd_user.c
+++ b/source3/nsswitch/winbindd_user.c
@@ -1,10 +1,11 @@
/*
Unix SMB/Netbios implementation.
- Version 2.0
+ Version 2.2
Winbind daemon - user related functions
Copyright (C) Tim Potter 2000
+ Copyright (C) Jeremy Allison 2001.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -96,8 +97,7 @@ static struct winbindd_pw negative_pw_cache_entry;
/* Return a password structure from a username. Specify whether cached data
can be returned. */
-enum winbindd_result winbindd_getpwnam_from_user(struct winbindd_cli_state
- *state)
+enum winbindd_result winbindd_getpwnam_from_user(struct winbindd_cli_state *state)
{
uint32 user_rid, group_rid;
SAM_USERINFO_CTR *user_info;