1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

263 Commits

Author SHA1 Message Date
Stefan Metzmacher
ef0fa403f1 libcli/ldap: move ldap_errors.h to the toplevel and install it
metze
2009-02-24 17:55:39 +01:00
Simo Sorce
380874ef86 Fix the mess with ldb includes.
Separate again the public from the private headers.

Add a new header specific for modules.
Also add service function for modules as now ldb_context and ldb_module are
opaque structures for them.
2009-01-30 01:02:03 -05:00
Jelmer Vernooij
f36ff0bac2 Include errors.i verbatim in security.i, as it's the only file still using it. 2008-12-21 05:35:39 +01:00
Jelmer Vernooij
49d522fe38 Add convenience macro for raising exceptions for NTSTATUS / WERROR. 2008-12-18 15:32:58 +00:00
Günther Deschner
0474c8665d nterrors: add NT_STATUS_DS_BUSY.
Guenther
2008-11-10 21:46:24 +01:00
Jelmer Vernooij
15c0aad880 Remove unused include of param/param.h. 2008-11-02 18:13:19 +01:00
Jelmer Vernooij
62c57cb400 Remove use of global_loadparm when comparing nt status error - use
global variable instead.
2008-11-02 17:11:20 +01:00
Jelmer Vernooij
a1cc278142 Remove use of global_loadparm during initialization of gensec. 2008-11-02 17:04:22 +01:00
Günther Deschner
92f1c0d156 s4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl.
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
992c03a192 s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.
Guenther
2008-10-27 19:33:23 +01:00
Jelmer Vernooij
23302413b3 Remove unused include param/param.h. 2008-10-24 16:37:56 +02:00
Jelmer Vernooij
284f523ec7 Remove a few more usages of global_loadparm. 2008-10-24 13:22:12 +02:00
Jelmer Vernooij
44b728958a Use common error definitions. 2008-10-23 15:35:21 +02:00
Jelmer Vernooij
94c522b1ab Import NTSTATUS defines from Samba 3. 2008-10-23 03:29:20 +02:00
Jelmer Vernooij
3be0f6ea56 Move libcli-util error code to top-level. 2008-10-23 03:11:19 +02:00
Günther Deschner
a1b7b6d5b4 idl: more lsa.idl merges.
Guenther
2008-10-15 20:46:35 +02:00
Jelmer Vernooij
db872cfe37 Remove more hand-written marshallers. 2008-09-16 05:48:29 +02:00
Andrew Bartlett
b7326979e9 Add a new error code
(This used to be commit b52fba5b2c63a24acbfc7e3e989c16b691d98162)
2008-09-05 16:46:12 +10:00
Andrew Bartlett
ca20c56b26 Add definition for NT_STATUS_DOWNGRADE_DETECTED
(This used to be commit f6e227b72bb56d12cb270d76f7f458136c4ca160)
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 09cf8c7dd82bb95e2f8782782286869654d96375)
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 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
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 f1de723b89251cbc8140b838941f304a34871bf3)
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 4bcb92d2d49d90863b1e64b15d055517fbfd263c)
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 47ffbbf67435904754469544390b67d34c958343)
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 d6fd98a307f83fd492ef73bf6ec281f9f11286f2)
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 44e1cfd2d0ef62e4ee541cec00581a7151d951b3)
2008-01-15 01:04:38 +01:00
Jelmer Vernooij
cef40813fa r26694: asn1: Fix header and some typo's.
(This used to be commit f9988734bb8a1d823e14b6bff5c4d55d75471f18)
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 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
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 bc0022e8c7357b126dc91a945f0e53e4e4108e7d)
2007-12-27 01:51:05 -06:00
Jelmer Vernooij
d0ba9f0014 r26572: Fix warnings in the Python code.
(This used to be commit 15038d9586d0b58f301ca8c39c21ef10c4283f28)
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 cb76c60007ae1254181c09ba1ab09c419f500bc5)
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 c550c03372cb260b78f6a6c132e70571bc4cb852)
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 485d1fa3d17fe6cc7a0ecd80e8bac42d173bbb19)
2007-12-24 01:51:01 -06:00
Günther Deschner
018a61a711 r26160: Add WERR_NAME_NOT_FOUND.
Guenther
(This used to be commit 66be960c67787ed7355775e619f3973543a4fef8)
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 0cf974ee33ba0dbd41c554db2fd1d0458e99e3d1)
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 cbf656ff054ab2b0b5ca81e1d4f16ac54c8098f1)
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 0bee7cb92e8ae1b80a957dd8fe32c36db1c32032)
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 73f231cba3fde4b2c5078b7c6dd52c3dac8cd1ce)
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 8fc2e7737fc15f7265816f077e2a48a7a98f75b8)
2007-12-21 05:44:55 +01:00
Günther Deschner
b4ddef5942 r25897: Add WERR_INVALID_FLAGS.
Guenther
(This used to be commit c3023eaeb389f44b64becc383552df0debfc232d)
2007-12-21 05:44:44 +01:00
Günther Deschner
177faf940f r25672: Some more FRS werrors.
Guenther
(This used to be commit 8fa3de8dca9e9d0d9f7fc79e4fc78b85313f870b)
2007-12-21 05:43:08 +01:00
Günther Deschner
47f67ef366 r25669: Real build fix.
Guenther
(This used to be commit 1b9e526bf60372e5b3731e98dbfcc029b04e4b01)
2007-12-21 05:43:07 +01:00
Günther Deschner
6282194fe5 r25668: Hopefully fix the build, sorry...
Guenther
(This used to be commit df94fbfe96200ed521fd377a01b6b7b7a7ef88d8)
2007-12-21 05:43:06 +01:00
Günther Deschner
4860557842 r25665: Add some more WERR codes.
Guenther
(This used to be commit 846d81c0ade7a1b56366feb4338312c24dc4351b)
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 566aa14139510788548a874e9213d91317f83ca9)
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 294b2bf593445a79c500f02569f10ff72e1d6933)
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 6d07e29de2a7e535139622fa688b407da232c816)
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 d54a47ecdc418ee07c9479f519bd1a207e6ba3eb)
2007-10-10 15:07:35 -05:00
Jelmer Vernooij
37d53832a4 r25398: Parse loadparm context to all lp_*() functions.
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
9b009c9009 r25301: Merge my includes.h cleanups.
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10 15:07:09 -05:00