Andrew Bartlett
ca20c56b26
Add definition for NT_STATUS_DOWNGRADE_DETECTED
...
(This used to be commit f6e227b72b
)
2008-08-27 10:29:54 +10:00
Jelmer Vernooij
cceabcd2a4
Use friendly NTSTATUS message in python code when possible.
...
(This used to be commit 09cf8c7dd8
)
2008-06-17 14:21:02 +02:00
Simo Sorce
929adc9efa
Make up the right dependencies now that ldb depends on libevents
...
(This used to be commit 3b8eec7ca3
)
2008-06-14 11:59:19 -04:00
Jelmer Vernooij
75e7962d2e
Add convenience functions for setting Python objects from errors.
...
(This used to be commit f1de723b89
)
2008-05-24 22:13:32 +02:00
Jelmer Vernooij
f9c36fae75
Export functions for setting NTSTATUS and WERRORs in python.
...
(This used to be commit 4bcb92d2d4
)
2008-05-24 21:38:33 +02:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf674
)
2008-04-02 04:53:27 +02:00
Stefan Metzmacher
25a3eb0436
swig: make the code more portable and use NT_STATUS_V() and W_ERROR_V()
...
metze
(This used to be commit d6fd98a307
)
2008-03-14 14:33:54 +01:00
Jelmer Vernooij
939edd0eb7
util: Move asn1 to lib/util to trim down the number of subsystems.
...
(This used to be commit 44e1cfd2d0
)
2008-01-15 01:04:38 +01:00
Jelmer Vernooij
cef40813fa
r26694: asn1: Fix header and some typo's.
...
(This used to be commit f9988734bb
)
2008-01-08 08:33:04 -06:00
Jelmer Vernooij
7d5f0e0893
r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
...
(This used to be commit 2f29f80e07
)
2008-01-01 16:12:15 -06:00
Andrew Bartlett
70cb5ac03c
r26613: Add a function to write a DATA_BLOB into an LDAPString.
...
This respects the length set in the DATA_BLOB, rather than hoping to
see NULL termination of the data pointer.
(found testing the Ambigious Name Resolution code against OpenLDAP).
Andrew Bartlett
(This used to be commit bc0022e8c7
)
2007-12-27 01:51:05 -06:00
Jelmer Vernooij
d0ba9f0014
r26572: Fix warnings in the Python code.
...
(This used to be commit 15038d9586
)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
3ee442c54f
r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files.
...
(This used to be commit cb76c60007
)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
aa0a06f13c
r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
...
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
(This used to be commit c550c03372
)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
249cc734ce
r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now.
...
(This used to be commit 485d1fa3d1
)
2007-12-24 01:51:01 -06:00
Günther Deschner
018a61a711
r26160: Add WERR_NAME_NOT_FOUND.
...
Guenther
(This used to be commit 66be960c67
)
2007-12-21 05:46:29 +01:00
Günther Deschner
017ee87485
r26133: Add some more error codes from wkssvc testing.
...
Guenther
(This used to be commit 0cf974ee33
)
2007-12-21 05:46:16 +01:00
Jelmer Vernooij
39adc2418a
r26088: Import some native-python python modules and move original python swig torture code to common python directory as well.
...
(This used to be commit cbf656ff05
)
2007-12-21 05:45:59 +01:00
Jelmer Vernooij
4cb790b768
r26074: Add SWIG magic for NTSTATUS and WERROR return codes.
...
(This used to be commit 0bee7cb92e
)
2007-12-21 05:45:54 +01:00
Günther Deschner
e66d7d8074
r26060: Add some error codes from remote join api.
...
Guenther
(This used to be commit 73f231cba3
)
2007-12-21 05:45:49 +01:00
Stefan Metzmacher
0ce646d49a
r25917: ndr: move ndr_map_error2ntstatus to errormap.c
...
metze
(This used to be commit 8fc2e7737f
)
2007-12-21 05:44:55 +01:00
Günther Deschner
b4ddef5942
r25897: Add WERR_INVALID_FLAGS.
...
Guenther
(This used to be commit c3023eaeb3
)
2007-12-21 05:44:44 +01:00
Günther Deschner
177faf940f
r25672: Some more FRS werrors.
...
Guenther
(This used to be commit 8fa3de8dca
)
2007-12-21 05:43:08 +01:00
Günther Deschner
47f67ef366
r25669: Real build fix.
...
Guenther
(This used to be commit 1b9e526bf6
)
2007-12-21 05:43:07 +01:00
Günther Deschner
6282194fe5
r25668: Hopefully fix the build, sorry...
...
Guenther
(This used to be commit df94fbfe96
)
2007-12-21 05:43:06 +01:00
Günther Deschner
4860557842
r25665: Add some more WERR codes.
...
Guenther
(This used to be commit 846d81c0ad
)
2007-12-21 05:43:05 +01:00
Jelmer Vernooij
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139
)
2007-10-10 15:07:55 -05:00
Michael Adam
20480a7953
r25516: Sorry, I reverted too much of r25448 in r25515.
...
These two fixes should have remained! Thanks to
Metze for pointing this out.
Michael
(This used to be commit 294b2bf593
)
2007-10-10 15:07:46 -05:00
Michael Adam
3b07f6aeb1
r25515: Revert r25448:
...
Immediate structures are *not* supportet by the native C compiler
at least on Solaris, Tru64 and HP-UX.
Michael
(This used to be commit 6d07e29de2
)
2007-10-10 15:07:46 -05:00
Jelmer Vernooij
a8f264eb2f
r25448: Remove IMMEDIATE_STRUCTURES define, which was used for splint. Newer versions of splint support immediate structures just fine.
...
(This used to be commit d54a47ecdc
)
2007-10-10 15:07:35 -05:00
Jelmer Vernooij
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839
)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
9b009c9009
r25301: Merge my includes.h cleanups.
...
(This used to be commit 37425495f3
)
2007-10-10 15:07:09 -05:00
Stefan Metzmacher
f353737094
r25212: merge some stuff from samba3
...
metze
(This used to be commit 502251451a
)
2007-10-10 15:06:54 -05:00
Jeremy Allison
9a012df08e
r25175: Change to talloc_asprintf_append_buffer().
...
Jeremy.
(This used to be commit 0844dbf597
)
2007-10-10 15:06:46 -05:00
Jelmer Vernooij
dccf3f99e4
r25027: Fix more warnings.
...
(This used to be commit 5085c53fcf
)
2007-10-10 15:05:41 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b
)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
922101afbd
r25010: Avoid uses of pstring
...
(This used to be commit cce7785474
)
2007-10-10 15:05:33 -05:00
Jelmer Vernooij
cd962355ab
r25000: Fix some more C++ compatibility warnings.
...
(This used to be commit 08bb1ef643
)
2007-10-10 15:05:27 -05:00
Jelmer Vernooij
61ffa08f4c
r24712: No longer expose the 'BOOL' data type in any interfaces.
...
(This used to be commit 1ce32673d9
)
2007-10-10 15:02:54 -05:00
Stefan Metzmacher
0d7d5a6d49
r24560: rename some DCERPC_ prefixes into NDR_
...
metze
(This used to be commit f874eca5da
)
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
f14bd1a90a
r24557: rename 'dcerpc_table_' -> 'ndr_table_'
...
metze
(This used to be commit 84651aee81
)
2007-10-10 15:02:15 -05:00
Andrew Bartlett
5f6b501f21
r24146: It is not an error for a Win2k3-only server not to support the NT4
...
replication call.
Andrew Bartlett
(This used to be commit 59cba32c09
)
2007-10-10 15:01:28 -05:00
Andrew Tridgell
cd1217ff5f
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
...
(This used to be commit 5c9b19271e
)
2007-10-10 14:59:18 -05:00
Andrew Tridgell
b8d69a7ea2
r23795: more v2->v3 conversion
...
(This used to be commit 84b468b2f8
)
2007-10-10 14:59:14 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Günther Deschner
eb9ae52981
r23381: Merge netr_GetDcName WERROR return and WERROR_DOMAIN_CONTROLLER_NOT_FOUND from
...
SAMBA_3_0.
Guenther
(This used to be commit 841ad140a3
)
2007-10-10 14:53:13 -05:00
Stefan Metzmacher
774d66c1e6
r23037: actually fix the asn1 memory leak :-)
...
metze
(This used to be commit 13bda1152d
)
2007-10-10 14:52:43 -05:00
Andrew Tridgell
931f594cf1
r23036: error checking on asn1_init() failure
...
(This used to be commit 26cf849408
)
2007-10-10 14:52:43 -05:00
Andrew Tridgell
7bb939b1cb
r23030: finally fixed up our asn1 code to use better memory allocation. This
...
should allow us to fix some long standing memory leaks.
(This used to be commit 3db49c2ec9
)
2007-10-10 14:52:42 -05:00
Ronnie Sahlberg
a777eb0cfa
r22986: error 2312 is returned when NetSessDel() fails because a matching session (username/clientname)
...
could not be found
(This used to be commit e2b46d280d
)
2007-10-10 14:52:36 -05:00
Ronnie Sahlberg
402218516a
r22958: For SRVSVC/NetFileClose only Administrator is allowed to close open files.
...
If a normal user tries to close a file that exists, even that users own files the server
responds with this error on w2k
if the file does not exist, the server instead responds with WERR_BADFILE
(This used to be commit c17df8bed6
)
2007-10-10 14:52:31 -05:00
Andrew Bartlett
cb00a33c67
r22884: Be consistant with the case of these constants.
...
Andrew Bartlett
(This used to be commit 7b086eebd6
)
2007-10-10 14:52:28 -05:00
Stefan Metzmacher
505fd4eb99
r21591: add new error code
...
metze
(This used to be commit 04da3db29d
)
2007-10-10 14:49:02 -05:00
Andrew Tridgell
60fd088c48
r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is created
...
using the pattern in the clilsa code, it didn't fill in the p->binding
structure. This affects nearly all users of dcerpc_pipe_open_smb(), so
the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises
the binding if its not already there.
- re-enable the RAW-ACLS test
(This used to be commit d8875c286d
)
2007-10-10 14:48:54 -05:00
Stefan Metzmacher
7f9d949bd3
r21510: make it possible to push tags with length > 0xFFFFFF
...
metze
(This used to be commit 8e604107da
)
2007-10-10 14:48:47 -05:00
Jelmer Vernooij
97416e6b01
r21297: Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk
...
This also adds some more headers to the list that is installed and a couple of extra #include lines so these
headers can be used externally without problems.
(This used to be commit 07652f65ce
)
2007-10-10 14:48:04 -05:00
Stefan Metzmacher
10c928a94f
r21291: add two more error codes
...
metze
(This used to be commit dd04c5dec5
)
2007-10-10 14:48:02 -05:00
Stefan Metzmacher
15f6cf2449
r20765: add two more schema related error codes
...
metze
(This used to be commit 75f5a88f22
)
2007-10-10 14:40:48 -05:00
Stefan Metzmacher
a2f568f000
r20404: add error code for missing attribute syntax
...
metze
(This used to be commit 769ce9799b
)
2007-10-10 14:30:23 -05:00
Stefan Metzmacher
11018b0e13
r20378: add new error code that says the schema mismatches between DC's
...
metze
(This used to be commit e769029f42
)
2007-10-10 14:30:19 -05:00
Volker Lendecke
84e7faf6cd
r20308: ContextSimple can be zero length -- seen in a multi-step gssapi ldap bind. Did
...
not find that in Samba3 code, so there's nothing to port.
Volker
(This used to be commit 9bdc19b6d5
)
2007-10-10 14:29:37 -05:00
Simo Sorce
52455cb922
r20284: Simplify OID primitive BER parsing.
...
Do not require an artificial ASN.1 context to be setup.
Simo.
(This used to be commit 14b3b9861a
)
2007-10-10 14:29:31 -05:00
Stefan Metzmacher
06c58a3dbb
r20277: make sure the asn1 structure has a welldefined state after a asn1_free()
...
metze
(This used to be commit 7e7d1a1da2
)
2007-10-10 14:29:30 -05:00
Stefan Metzmacher
bfa5a5a441
r20276: remove unneeded talloc_strdup()
...
metze
(This used to be commit c4733b20c7
)
2007-10-10 14:29:29 -05:00
Stefan Metzmacher
3853f820e6
r20259: add function to start a fake tag so that asn1_read_OID_String()
...
can work alone
metze
(This used to be commit ea70f6ff07
)
2007-10-10 14:29:28 -05:00
Stefan Metzmacher
b55a68b368
r20258: add functions to read and write asn1 encoded OID strings without leading tag
...
metze
(This used to be commit 576d4c54cc
)
2007-10-10 14:29:28 -05:00
Stefan Metzmacher
f37b7b8582
r20213: add 2 error codes related to the msDs-IntId attribute
...
metze
(This used to be commit dd5df84ccc
)
2007-10-10 14:29:23 -05:00
Stefan Metzmacher
f9609d779d
r20080: add error code that maps to NT_STATUS_INVALID_NETWORD_RESPONSE
...
metze
(This used to be commit cb5c2e9dc6
)
2007-10-10 14:29:01 -05:00
Stefan Metzmacher
be69066736
r20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED
...
metze
(This used to be commit 417f64184e
)
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
c7367e873e
r19734: display LDAP error code nicer
...
metze
(This used to be commit a0a45c3326
)
2007-10-10 14:28:16 -05:00
Günther Deschner
7c793e1bb7
r19162: Merge WERR code from Samba 3.
...
Guenther
(This used to be commit d9562e0f83
)
2007-10-10 14:20:46 -05:00
Andrew Bartlett
31454d2e8b
r18989: Fixes found by these two LDAP testsuites:
...
- http://www.ee.oulu.fi/research/ouspg/protos/testing/c06/ldapv3/
- http://gleg.net/protover_ldap_sample.shtml
Also fixes found by a subsequent audit of the code for similar issues.
(This used to be commit 441a4f6262
)
2007-10-10 14:20:26 -05:00
Andrew Tridgell
bbe3cffb4b
r18968: EWOULDBLOCK should also be mapped to STATUS_MORE_ENTRIES
...
(This used to be commit 27114fe175
)
2007-10-10 14:20:25 -05:00
Andrew Tridgell
a0c614ede2
r18916: fixed the messaging layer on *BSD systems. When a socket was full we
...
were getting ENOBUFS, which mapped to NT_STATUS_NO_MEMORY, which in
turn caused the messaging code to loop trying until it gave up.
Now it correctly falls back to select. Messaging speed goes from 3
messages per second to over 7000 on my test vmware box. Not bad for a
one line change :)
(This used to be commit 6568f30adf
)
2007-10-10 14:20:21 -05:00
Günther Deschner
333557e28f
r18847: Add WERR_NO_SYSTEM_RESOURCES showing up in dfs torture testing.
...
Guenther
(This used to be commit 692746ff8d
)
2007-10-10 14:20:15 -05:00
Günther Deschner
f3fd73ed52
r18633: Add a couple of new WERR codes encountered with dfs torture testing.
...
Guenther
(This used to be commit e2879f6fc2
)
2007-10-10 14:18:58 -05:00
Stefan Metzmacher
b0a264f1ae
r17567: add error code I got from DsGetNCChanges
...
when I don't use the DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION
flag on DsBind
metze
(This used to be commit 8458ee72c5
)
2007-10-10 14:15:38 -05:00
Stefan Metzmacher
3455998edc
r17414: add new error code
...
metze
(This used to be commit e15a015a1d
)
2007-10-10 14:15:23 -05:00
Stefan Metzmacher
d89b4adf7a
r16949: add and fix some NOTIFY return codes
...
metze
(This used to be commit e40d62363c
)
2007-10-10 14:10:02 -05:00
Günther Deschner
91e4f9f6d8
r16801: Adding WERR_DS_DRA_ACCESS_DENIED.
...
Guenther
(This used to be commit 075242b976
)
2007-10-10 14:09:46 -05:00
Andrew Tridgell
79183f68fc
r15794: fixed a problem with DOS status codes - found by kukks (thanks!)
...
(This used to be commit 1a57b16715
)
2007-10-10 14:08:21 -05:00
Stefan Metzmacher
39fd6db42b
r15775: add some privilege related WERROR codes
...
metze
(This used to be commit 4e8c9bbd76
)
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
edee7dd8fd
r15661: add NT_STATUS_OBJECTID_NOT_FOUND
...
metze
(This used to be commit 2c9db94291
)
2007-10-10 14:08:04 -05:00
Jelmer Vernooij
e002300f23
r15328: Move some functions around, remove dependencies.
...
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
(This used to be commit c19c2b51d3
)
2007-10-10 14:05:17 -05:00
Andrew Tridgell
69e40fa99a
r14876: added ENOSYS to unix error mapping
...
(This used to be commit 77f32a2735
)
2007-10-10 14:00:11 -05:00
Stefan Metzmacher
1af925f394
r14860: create libcli/security/security.h
...
metze
(This used to be commit 9ec706238c
)
2007-10-10 13:59:44 -05:00
Jelmer Vernooij
935af3eb19
r14724: Rearrange some source files, install more headers.
...
(This used to be commit 7146c1600f
)
2007-10-10 13:59:14 -05:00
Jelmer Vernooij
2d558d5e19
r14498: Revert part of my commit that removed support for compilers that
...
don't support immediate structures
(This used to be commit 657a893b25
)
2007-10-10 13:57:34 -05:00
Jelmer Vernooij
2438b90b32
r14473: Modern splint has no problems with immediate structures.
...
(This used to be commit 6046dd8220
)
2007-10-10 13:57:30 -05:00
Jelmer Vernooij
4f1c8daa36
r14470: Remove some unnecessary headers.
...
(This used to be commit f7312dab3b
)
2007-10-10 13:57:29 -05:00
Jelmer Vernooij
8528016978
r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
...
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca51
)
2007-10-10 13:57:27 -05:00
Jelmer Vernooij
1060f6b3f6
r14402: Generate seperate headers for RPC client functions.
...
(This used to be commit 7054ebf024
)
2007-10-10 13:57:19 -05:00
Jelmer Vernooij
4ac2be9958
r13924: Split more prototypes out of include/proto.h + initial work on header
...
file dependencies
(This used to be commit 1228358767
)
2007-10-10 13:52:24 -05:00
Jelmer Vernooij
10d88a02d7
r13652: Move some more stuff out off include/
...
(This used to be commit 26bf2a393b
)
2007-10-10 13:52:04 -05:00
Stefan Metzmacher
23aa4becf2
r12910: fix bug #3069
...
metze
(This used to be commit 1768a698a4
)
2007-10-10 13:51:02 -05:00
Jelmer Vernooij
78c50015bb
r12694: Move some headers to the directory of the subsystem they belong to.
...
(This used to be commit c722f665c9
)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
d4de4c2d21
r12608: Remove some unused #include lines.
...
(This used to be commit 70e7449318
)
2007-10-10 13:49:03 -05:00
Jelmer Vernooij
acd6a086b3
r12510: Change the DCE/RPC interfaces to take a pointer to a
...
dcerpc_interface_table struct rather then a tuple of interface
name, UUID and version.
This removes the requirement for having a global list of DCE/RPC interfaces,
except for these parts of the code that use that list explicitly
(ndrdump and the scanner torture test).
This should also allow us to remove the hack that put the authservice parameter
in the dcerpc_binding struct as it can now be read directly from
dcerpc_interface_table.
I will now modify some of these functions to take a dcerpc_syntax_id
structure rather then a full dcerpc_interface_table.
(This used to be commit 8aae0f168e
)
2007-10-10 13:47:48 -05:00
Stefan Metzmacher
43fa1b6dbd
r11740: add some EA error codes
...
metze
(This used to be commit b1afcced39
)
2007-10-10 13:46:20 -05:00
Andrew Tridgell
65baaafc34
r11620: switch the ldap client code over to using the generic packet code
...
(This used to be commit 1d29ad2a27
)
2007-10-10 13:45:59 -05:00