1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

97 Commits

Author SHA1 Message Date
Steven Danneman
b329ea1cf3 s3: Modifications to generic notify structures to allow implementation of OneFS notify.
The OneFS kernel based change notify system takes an fd of the directory
to watch in it's initialization syscall.  Since we already have this
directory open, this commit plumbs that fd down to the VFS layer via the
notify_entry struct.

We also need to know if the watch is taken out on a snapshot directory.
The full file_id struct is also passed down to make this determination.
The file_id marshalling wrappers are hand written here, but should
eventually be auto-generated by moving the struct file_id into the idl.
2009-02-20 14:10:30 -08:00
Stefan Metzmacher
7082e4526f s3:librpc/ndr: if uninitialized variable in string_array code
metze
2009-02-19 11:13:34 +01:00
Günther Deschner
35f1e02ca4 librpc: add ndr_size_string_array().
Guenther
2009-02-03 15:42:29 +01:00
Jelmer Vernooij
08259c1c52 Add iconv_convenience argument to size functions. 2009-01-01 04:45:33 +01:00
Jelmer Vernooij
cd25b6245f Move dom_sid to the Samba 3 IDL file, remove the old definition. 2008-12-12 20:20:01 +01:00
Stefan Metzmacher
0d25517723 s3: security.idl: split of dom_sid stuff into dom_sid.idl
And use the toplevel ndr_sec_helper.c

metze
2008-11-08 08:02:26 +01:00
Jelmer Vernooij
3fda6c5c2a Remove global_loadparm stub in Samba 3 as it's no longer used. 2008-11-02 18:28:06 +01:00
Jelmer Vernooij
ff36c52d8c Remove another use of global_loadparm.
Eventually, we should move some of these parameters into a separate
struct (perhaps into smb_transport_options?), to avoid the long lists of
parameters.
2008-11-02 16:07:28 +01:00
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