1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

89 Commits

Author SHA1 Message Date
Günther Deschner
d413e1f40a drsuapi: share drsuapi idl and helper code.
Guenther
2008-10-18 23:25:48 +02:00
Jelmer Vernooij
519458a2fa Use shared util.c. 2008-10-18 14:27:13 +02:00
Günther Deschner
f0dccc0307 s3: re-merge s4 drsuapi helper and re-run make samba3-idl.
Guenther
2008-10-16 14:02:26 +02:00
Jelmer Vernooij
0132423a09 Share libndr.h between Samba 3 and Samba 4. 2008-10-15 00:35:13 +02:00
Jelmer Vernooij
5198fb6e19 Share ndr_krb5pac implementation. 2008-10-14 23:52:20 +02:00
Jelmer Vernooij
f02a68a89f Share ndr_compression.c. 2008-10-14 23:46:34 +02:00
Jelmer Vernooij
42f0172fe2 Remove unused file. 2008-10-14 16:21:26 +02:00
Jelmer Vernooij
2fddd2e2d5 Share ndrdump implementation. 2008-10-13 15:58:45 +02:00
Jelmer Vernooij
6d02f0805a Import warning fixes from Samba 3 into libndr, sync more libndr code. 2008-10-13 15:33:40 +02:00
Jelmer Vernooij
58f844ab54 Share uuid implementations. 2008-10-13 15:23:35 +02:00
Jelmer Vernooij
8cae7a5bab Share ndr_misc implementations. 2008-10-13 15:22:27 +02:00
Jelmer Vernooij
390d37187a Share ndr_basic implementation. 2008-10-13 15:20:10 +02:00
Jelmer Vernooij
e779345bca Import changes from upstream libndr. 2008-10-13 15:01:28 +02:00
Jelmer Vernooij
de0aa7850c Move code specific to Samba 3 to a separate file. 2008-10-13 14:38:42 +02:00
Jelmer Vernooij
9f2ed1e00f Share RPC binding string utility functions. 2008-10-12 19:05:46 +02:00
Günther Deschner
022947097f s3-ndr: add stub smb_iconv_convenience to some ndr_ functions.
Guenther
2008-09-23 23:35:14 +02:00
Günther Deschner
c48186f507 s3: use samba4 prototype for ndr_push/pull_struct_blob.
Guenther
2008-09-23 09:37:23 +02:00
Jelmer Vernooij
9c466a6158 Use single copy of compression library in Samba3,4. 2008-09-16 19:07:02 +02:00
Volker Lendecke
8e02cb17fe Ooops, GUID_equal was already around :-)
(This used to be commit 9a0bc277f2)
2008-07-19 19:50:36 +02:00
Volker Lendecke
e65ea7471e Add ndr_syntax_id_equal()
(This used to be commit 5fc90908de)
2008-07-16 23:19:48 +02:00
Stefan Metzmacher
dea1c7ae16 drsuapi.idl: fix unknowns in drsuapi_DsReplicaObject*
metze
(cherry picked from commit de2aed042d)
(This used to be commit 7488eda7a3)
2008-07-16 15:12:19 +02:00
Günther Deschner
7cc9b5c5a1 drsuapi: fix data_blob_free() caller (this call is quite different in s3 and 4).
Guenther
(This used to be commit 895036829c)
2008-05-27 16:47:42 +02:00
Volker Lendecke
5b237b8d30 Move ber_[read|write]_OID_String protypes to proto.h
(This used to be commit 2dbbd81677)
2008-05-25 13:53:43 +02:00
Günther Deschner
6b3bcb3724 drsuapi: add all code required for our drsuapi rpc client.
Guenther
(This used to be commit 7c93190843)
2008-05-23 23:56:21 +02:00
Volker Lendecke
e2d8b0a792 Fix some signed/unsigned warnings
(This used to be commit dbb4d8107a)
2008-05-20 23:06:38 +02:00
Tim Prouty
fb37f15600 Cleanup size_t return values in callers of convert_string_allocate
This patch is the second iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(This used to be commit 6b189dabc5)
2008-05-20 22:40:13 +02:00
Jeremy Allison
e90b4061c1 Janitor for tridge. Keep lib/replace in sync with the gcc4
changes.
Jeremy.
(This used to be commit b496f13322)
2008-04-18 00:30:50 -07:00
Günther Deschner
4f46c2d926 IDL: Re-run make idl and hand merge some required functions from Samba 4.
Guenther
(This used to be commit edb0092e4d)
2008-04-17 18:49:30 +02:00
Günther Deschner
6c6c89cde0 IDL: build generated nbt code.
Guenther
(This used to be commit 554dcfdab0)
2008-04-17 14:55:15 +02:00
Günther Deschner
3057c40dbe Ndr pull and push errors are worth to be logged with 1 at least.
Guenther
(This used to be commit 3426f13f3b)
2008-03-27 18:04:01 +01:00
Volker Lendecke
3176392878 Fix some warnings
warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
(This used to be commit ad37b7b0ae)
2008-02-25 16:09:26 +01:00
Günther Deschner
f47d642ca7 Add krb5pac IDL from samba4.
Guenther
(This used to be commit dc2e563e1f)
2008-02-17 01:13:05 +01:00
Günther Deschner
7cab0f5c0c Fix the build. Avoid unrequired ndr_print_ads_struct dependencies.
Guenther
(This used to be commit c832882e49)
2008-01-29 15:17:02 +01:00
Günther Deschner
b6529b6f6d Add ndr_print_ads_auth_flags().
Guenther
(This used to be commit 52bd4ce68d)
2008-01-29 15:16:44 +01:00
Günther Deschner
df5b03a780 Re-run make idl and use generated ndr based on samba4 security.idl (except for DOM_SID).
Guenther
(This used to be commit 1781a57b18)
2008-01-24 13:54:45 +01:00
Günther Deschner
101f275b98 Use pidl generated data from misc.idl.
Guenther
(This used to be commit 5d8e5cbc3b)
2008-01-17 16:54:46 +01:00
Günther Deschner
767fe3943d Add some NDR_PRINT_*_STRING macros (returning talloced strings).
Guenther
(This used to be commit 50ab169f58)
2008-01-15 23:07:10 +01:00
Günther Deschner
af69a1b431 Add ndr_print_ads_struct().
Guenther
(This used to be commit 0a914a55ba)
2008-01-15 15:29:44 +01:00
Günther Deschner
4e2029f25c Add ndr_print_sockaddr_storage and ndr_print_bool.
Guenther
(This used to be commit f44f76415a)
2008-01-15 15:29:36 +01:00
Volker Lendecke
79cd97cc3f Use dom_sid_string for sid_string_talloc
Remove some code duplication, but introduce one more dependency on librpc/ndr.
Easily turned around so that librpc/ndr depends on lib/util_sid if necessary
(This used to be commit 3a0b1b2060)
2007-12-15 22:33:52 +01:00
Volker Lendecke
c046a2f527 Add ndr_errstr
(This used to be commit e3b36073f1)
2007-11-11 09:12:30 +01:00
Stefan Metzmacher
909b03d3c6 ndr: change NTSTAUS into enum ndr_err_code (samba3 handwritten stuff)
ndr_misc.c
ndr_sec.h
ndr_sec_helper.c
librpc/ndr/sid.c

metze
(This used to be commit 42590e917a)
2007-11-09 21:23:15 +01:00
metze
427b48a92c ndr: change NTSTAUS into enum ndr_err_code (basic stuff)
librpc/ndr/

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25916 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit b1b8088caf)
2007-11-09 21:23:14 +01:00
Volker Lendecke
0fb6a301d9 Fix some warnings
(This used to be commit df42038f88)
2007-11-09 15:17:35 +01:00
Stefan Metzmacher
84df457860 use samba4's librpc/ndr/uuid.c
metze
(This used to be commit c148e91fde)
2007-11-09 11:51:20 +01:00
Stefan Metzmacher
128fa582a6 sync the most parts of librpc/ndr with samba4
metze
(This used to be commit 201800a4c9)
2007-11-08 14:36:13 +01:00
Stefan Metzmacher
248e900374 we should not ignore convert_string_talloc() failures.
In all other places in ndr_string.c we already use False...

metze
(This used to be commit 9a201fd4c8)
2007-11-08 13:52:56 +01:00
metze
e0c24fa248 - check return value of ndr_push_set_switch_value()
- fix memory leaks in error pathes

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25798 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit a0d0a06a9e)
2007-11-07 12:13:09 +01:00
metze
aef317ea57 use error and out logic
metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25797 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 55d01b3f5b)
2007-11-07 12:13:09 +01:00
metze
a01f9e3fc0 use NT_STATUS_HAVE_NO_MEMORY()
metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25796 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit be1f2f1abf)
2007-11-07 12:11:34 +01:00