source: trunk/server/source3/libsmb/clierror.c@ 599

Last change on this file since 599 was 429, checked in by Silvan Scherrer, 16 years ago

Samba 3.5.x: trunk update to 3.5.2

File size: 10.8 KB
RevLine 
[429]1/*
2 Unix SMB/CIFS implementation.
3 client error handling routines
4 Copyright (C) Andrew Tridgell 1994-1998
5 Copyright (C) Jelmer Vernooij 2003
6 Copyright (C) Jeremy Allison 2006
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20*/
21
22#include "includes.h"
23
24/*****************************************************
25 RAP error codes - a small start but will be extended.
26
27 XXX: Perhaps these should move into a common function because they're
28 duplicated in clirap2.c
29
30*******************************************************/
31
32static const struct {
33 int err;
34 const char *message;
35} rap_errmap[] = {
36 {5, "RAP5: User has insufficient privilege" },
37 {50, "RAP50: Not supported by server" },
38 {65, "RAP65: Access denied" },
39 {86, "RAP86: The specified password is invalid" },