summaryrefslogtreecommitdiff
path: root/source3/auth/auth_winbind.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-11-15 21:23:55 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-11-15 21:23:55 +0000
commitac29d6b310d612f52b6200b0bb5320d09fc66039 (patch)
treeba88284ef3b99d22e1e7f057b3c0e83842a15fc4 /source3/auth/auth_winbind.c
parent973645cf2d37d478b71124b550af8b284377ef10 (diff)
downloadsamba-ac29d6b310d612f52b6200b0bb5320d09fc66039.tar.gz
samba-ac29d6b310d612f52b6200b0bb5320d09fc66039.tar.bz2
samba-ac29d6b310d612f52b6200b0bb5320d09fc66039.zip
Small auth updates:
- add static remove unnneded prototype - move become_root() to just around pdb calls, so as to make it easier to remove when we kill off this silly idea - Change auth_sam to do 'account before password' rather than 'password before account'. This means that we match Win2k in giving 'account disabled' instead of 'wrong password' if the wrong password to a disabled account is used. Andrew Bartlett (This used to be commit e6d2debaf6064c3229f41c06545a1ccb83695a77)
Diffstat (limited to 'source3/auth/auth_winbind.c')
-rw-r--r--source3/auth/auth_winbind.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index 10788721fd..c6a1727ebe 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -26,13 +26,7 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH
-/* Prototypes from common.h */
-
-NSS_STATUS winbindd_request(int req_type,
- struct winbindd_request *request,
- struct winbindd_response *response);
-
-NTSTATUS get_info3_from_ndr(TALLOC_CTX *mem_ctx, struct winbindd_response *response, NET_USER_INFO_3 *info3)
+static NTSTATUS get_info3_from_ndr(TALLOC_CTX *mem_ctx, struct winbindd_response *response, NET_USER_INFO_3 *info3)
{
uint8 *info3_ndr;
size_t len = response->length - sizeof(response);