Andrew Bartlett
c7b9dbea10
s3-libsmb remove ldap_err2string() as common nterrs[] has the constants
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue May 31 08:58:00 CEST 2011 on sn-devel-104
2011-05-31 08:58:00 +02:00
Andrew Bartlett
db74cad1c6
libcli/util Move NTSTATUS table to the top level
2011-05-06 07:51:24 +02:00
Andrew Bartlett
344eb08ee4
nterr: Add mem_ctx for return string from get_nt_error_c_code()
...
It is clearer to avoid the implicit return on talloc_tos()
Andrew Bartlett
2011-05-06 07:51:24 +02:00
Stefan Metzmacher
76b3867547
s3:libsmb/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILURE
...
metze
2011-05-02 13:58:23 +02:00
Günther Deschner
fad0112373
s3-build: stop including ldap and lber headers everywhere in the code.
...
Instead use new header smb_ldap.h where all LDAP API related things are handled,
while smbldap.h only deals with our smbldap_X() API.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar 16 10:54:51 CET 2011 on sn-devel-104
2011-03-16 10:54:50 +01:00
Günther Deschner
ef87f970b3
s3-nterr: use strcasecmp in nt_status_string_to_code().
...
Guenther
2011-03-04 01:18:42 +01:00
Günther Deschner
d367777352
s3-nterr: within nt_errstr() compare codes using NT_STATUS_V().
...
This is to avoid future very special NT_STATUS_EQUAL semantics within s4.
Guenther
2011-03-04 01:18:42 +01:00
Günther Deschner
199809b3cc
nterr: make sure both nt_err_desc structs are the same.
...
Guenther
2011-03-04 01:18:42 +01:00
Günther Deschner
45710a05c5
nterr: make sure both nt_errs structs are the same.
...
Guenther
2011-03-04 01:18:42 +01:00
Günther Deschner
c1089c130b
s3-nterr: make nt_err_desc static const.
...
Guenther
2011-03-04 01:18:42 +01:00
Günther Deschner
cb8c0e1776
nterr: remove space indents (use tabs instead), following coding standards.
...
Guenther
2011-03-04 01:18:41 +01:00
Günther Deschner
2f46942e08
nterr: remove trailing whitespace.
...
Guenther
2011-03-04 01:18:41 +01:00
Stefan Metzmacher
e2e426588b
s3:libsmb: display NT_STATUS_RPC_SEC_PKG_ERROR in error strings
...
metze
2011-01-30 17:36:21 +01:00
Stefan Metzmacher
5c82a1bb0a
s3:libsmb: add pipe related NT_STATUS_RPC_* codes
...
metze
2010-10-18 14:50:21 +02:00
Günther Deschner
e7cc45cb14
error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.
...
Metze, please check.
Guenther
2010-03-19 09:30:36 +01:00
Stefan Metzmacher
421a926237
s3:libsmb/nterr.c: fix/add NT_STATUS_RPC_* codes
...
metze
2010-03-18 15:27:47 +01:00
Volker Lendecke
8fd43f44ef
s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-)
2010-03-09 15:37:39 +01:00
Bo Yang
ef0b4e4687
s3: Add i18n/l10n strings in pam_winbind.c coming from winbindd.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2010-03-06 01:53:13 +08:00
Günther Deschner
f9edee119c
s3-nterr: print a NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED.
...
Guenther
2009-09-13 21:22:34 +02:00
Günther Deschner
cac5e64c00
s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE.
...
Guenther
2009-09-11 02:58:34 +02:00
Günther Deschner
38ab500b78
s3-nterr: add NT_STATUS_RPC_NT_PROTOCOL_ERROR to nt_errstr().
...
Guenther
2009-09-11 02:57:07 +02:00
Günther Deschner
5f2ec4b202
s3-nterr: add NT_STATUS_RPC_NT_CALL_FAILED.
...
Guenther
2009-09-08 23:21:14 +02:00
Matthias Dieter Wallnöfer
d87e937518
s3: Remove invalid constant
2009-07-31 19:24:53 +02:00
Volker Lendecke
e3569df15b
If we receive a DOS error code, nt_errstr should display it
2009-02-10 21:55:13 +01:00
Günther Deschner
0474c8665d
nterrors: add NT_STATUS_DS_BUSY.
...
Guenther
2008-11-10 21:46:24 +01:00
Jelmer Vernooij
44b728958a
Use common error definitions.
2008-10-23 15:35:21 +02:00
Volker Lendecke
8d03db99b8
Revert "If it is a forced DOS error, nt_errstr should say so"
...
This reverts commit ef5489ac805237274d6088aaa7ae870cc0deb52f.
(This used to be commit e987e9956f02557c7ec87a369b92f87083fda620)
2008-08-13 18:19:06 +02:00
Volker Lendecke
870c54ebb4
If it is a forced DOS error, nt_errstr should say so
...
(This used to be commit ef5489ac805237274d6088aaa7ae870cc0deb52f)
2008-08-13 17:50:24 +02:00
Günther Deschner
b028fd3f8c
Add NT_STATUS_RPC_CANNOT_SUPPORT.
...
Guenther
(This used to be commit 9e15ce03ca66a0b5ffdb39dd2faaad6e0f967e31)
2008-04-03 00:26:55 +02:00
Günther Deschner
d3b4b69a27
Add NT_STATUS_DOWNGRADE_DETECTED (thanks to Magnus Mertens).
...
Guenther
(This used to be commit 970daaa0a620d8e47475909cd7b5e54869602530)
2007-12-07 16:20:22 +01:00
Volker Lendecke
6069670f1b
Some pstring removal
...
Hi!
Feel free to push :-)
Volker
From 7fae6b3709a973bd0a5a13d3f5c880c61d5e35de Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@sernet.de>
Date: Sun, 11 Nov 2007 15:28:59 +0100
Subject: [PATCH] Remove some static pstrings
(This used to be commit c3a66b4ee97a902c5cf43c3bb145541849a029ed)
2007-11-11 21:34:40 -08:00
Volker Lendecke
b92212575d
r25538: Revert r25533
...
(This used to be commit 1e02208c43cb27ca4b43d268a7f0324f2a9b2cfd)
2007-10-10 12:31:12 -05:00
Volker Lendecke
9d1a95ac9c
r25533: remove a pstring
...
(This used to be commit 0f2552e20fb66b0b80006a8a7b999ccf6f54c656)
2007-10-10 12:31:12 -05:00
Andrew Tridgell
153cfb9c83
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
...
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10 12:28:27 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Volker Lendecke
84d2ceb1df
r21581: Add an error code I just got
...
(This used to be commit 5ef0286b56b368abd4da2cbe3d826a3438f3acc3)
2007-10-10 12:18:15 -05:00
Volker Lendecke
147fc86a94
r18891: Fix "double const" warning from host opi
...
(This used to be commit 47c19811ae2282259f523a0d41a08d84de74cbda)
2007-10-10 12:14:42 -05:00
Andrew Tridgell
0c3194816b
r18865: fixed some of the most obvious NTSTATUS/WERROR mixups in Samba3. It
...
still doesn't compile with immediate structures and the
NTSTATUS/WERROR separation, as there are still several places where
the two error types are mixed up. I haven't fixed those as they
require decisions about the rpcclient code that I really don't want to
get into (the error handling there is a mess)
So samba3 compiles now, but only becaise HAVE_IMMEDIATE_STRUCTURES is
not used (look for HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED)
(This used to be commit 8438a6a7d4506d395c8b4bd0e99f9c100e5e3c4e)
2007-10-10 12:01:06 -05:00
Volker Lendecke
cb3e14d5a2
r17855: Fix the build on systems without LDAP
...
(This used to be commit 2e9f5c520a843ad22088388d155a172a63c140d5)
2007-10-10 11:38:54 -05:00
Volker Lendecke
4bbb995e8d
r17854: Steal the LDAP in NTSTATUS trick from Samba4
...
Thanks to Michael Adam <ma@sernet.de>
Volker
(This used to be commit 91878f9b6fbe5187fb7d0464008ea0abe7f11a73)
2007-10-10 11:38:54 -05:00
Gerald Carter
232569c1f1
r17672: remove duplicate description on NT_STATUS_INVALID_PARAMETER (from Michael Adam <ma@sernet.de>)
...
(This used to be commit 7b51e27d026f2511edcde054f0d2deb9932d2fe8)
2007-10-10 11:38:46 -05:00
Volker Lendecke
3fc9b7e626
r17556: Remove duplicate entries. Thanks to Michael Adam <ma@sernet.de>
...
Volker
(This used to be commit ea83001d3ed0b5da67cf367c17fdef662bc01681)
2007-10-10 11:38:39 -05:00
Jeremy Allison
8189bb6e4c
r13502: Fix error messages for usershares when smbd is not
...
running. More generic error return cleanup in libsmb/
needs doing (everything returning NTSTATUS not BOOL).
Jeremy
(This used to be commit 654bb9853b450c5d509d182f67ec26ac320fd590)
2007-10-10 11:10:07 -05:00
Jeremy Allison
8875124a61
r2575: Return correct error codes on old SEARCH call (from Samba4 torture tester).
...
Jeremy.
(This used to be commit fc51c97ea86bd1a86830d4ab2c6c7c4ec9fccc88)
2007-10-10 10:52:47 -05:00
Andrew Bartlett
869348dfcb
r84: Implement --required-membership-of=, an ntlm_auth option that restricts
...
all authentication to members of this particular group.
Also implement an option to allow ntlm_auth to get 'squashed' error codes,
which are safer to communicate to remote network clients.
Andrew Bartlett
(This used to be commit eb1c1b5eb086f49a230142ad2de45dc0e9691df3)
2007-10-10 10:51:07 -05:00
Alexander Bokovoy
e8573c8fa9
Add NT quota support. Patch from Stefan (metze) Metzemacher
...
1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab
2. Disabled by default and when requested, will be probed and enabled only on Linux where it works
3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far
Documentation to follow
(This used to be commit 4bf022ce9e45be85609426762ba2644ac2031326)
2003-05-12 01:20:17 +00:00
Gerald Carter
3bfd440620
adding more descriptions for nt status codes
...
(This used to be commit 2fa33fcaee288f0607db9fc72d2f1cafdd6c5959)
2003-02-12 16:44:13 +00:00
Tim Potter
f354d6469a
Fixed typo.
...
(This used to be commit 09d8a8e87fbb13928b863f659381dddb09592985)
2003-01-23 00:21:22 +00:00
Gerald Carter
72ae2c1159
fix for CR 1603; provide description of NT_STATUS_PIPE_NOT_AVAILABLE
...
(This used to be commit b063acd9062704be6352647dae2ad801ecacec75)
2003-01-22 14:34:00 +00:00
Andrew Bartlett
634c54310c
Merge from HEAD - make Samba compile with -Wwrite-strings without additional
...
warnings. (Adds a lot of const).
Andrew Bartlett
(This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2003-01-03 08:28:12 +00:00