1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

155 Commits

Author SHA1 Message Date
Günther Deschner
0331ff72f0 Add lsa_PolicyAuditEventType and lsa_PolicyAuditPolicy enums from samba3 to IDL.
Guenther
(This used to be commit 92bfa25922)
2008-01-16 16:06:15 +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
b239612fcf Use autogenerated libnet_join header.
Guenther
(This used to be commit d94bd3a03b)
2008-01-15 15:29:50 +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
Günther Deschner
6c9d517826 Define libnet join interface in IDL.
Guenther
(This used to be commit 7a48779ee5)
2008-01-15 15:29:29 +01:00
Volker Lendecke
57cc992e0f Implement vfs_ea_tdb
This is an option for file systems that do not implement xattrs: in
lockdir/eas.tdb an array of xatts per inode is stored.

It can not solve the problem that xattrs might reappear if a posix-level
process deletes a file and happens to re-create it under the same name. On file
systems with birthtime we might have a chance to detect this, but not with
standard posix. A future version might put relief on file systems that do have
xattrs but where these are severely limited in size/speed/whatever: We can put
a simple marker as a native xattr, but the xattrs proper are stored in the tdb.

Volker
(This used to be commit 2036b4c5ad)
2008-01-15 11:01:18 +01:00
Günther Deschner
dbd3efe942 Re-run make idl to update lsa idl.
Guenther
(This used to be commit 94693755a2)
2008-01-14 17:39:33 +01:00
Günther Deschner
e2d32e0407 Use lsa_PolicyInfo enum in lsa policy info calls.
Guenther
(This used to be commit 8b63a16657)
2008-01-14 17:37:35 +01:00
Günther Deschner
495c38e546 Fix prototypes for lsa set info policy calls.
Guenther
(This used to be commit 33f6eff92b)
2008-01-14 17:16:31 +01:00
Günther Deschner
003694b4a7 Re-run make idl for new lsa calls.
Guenther
(This used to be commit add28753b2)
2008-01-14 17:13:17 +01:00
Günther Deschner
aa9335491f Fill in IDL for lsa_SetInfoPolicy and lsa_SetInfoPolicy2.
Guenther
(This used to be commit dceb9a4c80)
2008-01-14 17:10:31 +01:00
Jelmer Vernooij
4add2fe36e idl: Replace non-standard "declare" keyword with typedef and regenerate.
(This used to be commit 7e75acfdd1)
2008-01-13 01:22:23 +01:00
Günther Deschner
3d87cba590 Re-run make idl to get even nicer pidl generated server code.
Guenther
(This used to be commit 6169dea4dc)
2008-01-09 12:29:11 +01:00
Günther Deschner
28ac552381 Re-run make idl. The pidl generated code now fully complies to coding standards.
Guenther
(This used to be commit 3d34c87612)
2008-01-09 11:59:52 +01:00
Günther Deschner
791fe3119e Pedantic cosmetics: rerun make idl.
Guenther
(This used to be commit d1fa8049b1)
2008-01-08 18:08:15 +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
bccadf83bb Fix two unused variable warnings
I know this will be overwritten by the next "make idl", but it just bugs me
*now* :-)

Volker
(This used to be commit a0abb88521)
2007-12-07 14:05:05 +01:00
Günther Deschner
58944aa5a5 Forgot header in previous commit.
Guenther
(This used to be commit 8a1b306b82)
2007-12-03 18:43:19 +01:00
Günther Deschner
59e9d5b449 Regenerate pidl rpc client calls that are WERROR based.
Guenther
(This used to be commit 298b0ce951)
2007-12-03 18:43:19 +01:00
Günther Deschner
7557964bee Merge recent wkssvc changes from samba4.
Guenther
(This used to be commit 7539fb4c84)
2007-11-30 01:45:07 +01:00
Volker Lendecke
c046a2f527 Add ndr_errstr
(This used to be commit e3b36073f1)
2007-11-11 09:12:30 +01:00
metze
5290ea864e ndr: change NTSTAUS into enum ndr_err_code (ndrdump)
librpc/tools/ndrdump.c

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25919 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 95530073de)
2007-11-09 21:23:16 +01:00
Stefan Metzmacher
08ace73dbb rerun make idl
metze
(This used to be commit 53a636828d)
2007-11-09 21:23:15 +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
metze
a0f59767f4 use NDR_CHECK()
metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25794 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 91ccaa8e70)
2007-11-07 12:11:33 +01:00
metze
f966752da7 check the return value of ndr_push_set_switch_value()
metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25793 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit aa155b2c29)
2007-11-07 12:11:33 +01:00
metze
ff595ad9c8 use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK()
metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25792 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit f3dde8c7b7)
2007-11-07 12:11:32 +01:00
metze
0f904f7d2a the return value of ndr_pull_set_switch_value() should be checked
metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25779 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 1563a08cb0)
2007-11-07 12:10:31 +01:00
metze
ac8cf500d4 use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK() macros
metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25778 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit b542eaf825)
2007-11-07 12:10:30 +01:00
metze
e04b21f7d4 add NDR_ERR_UNREAD_BYTES and don't use NTSTATUS directly
metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25777 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 52c422f4d7)
2007-11-07 12:10:30 +01:00
metze
fbb8cff0b8 create ndr_pull_union_blob_all() and match the logic of the struct fns
metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25774 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 8ed241532a)
2007-11-07 12:10:29 +01:00
Stefan Metzmacher
acc95a43a1 rerun make idl
metze
(This used to be commit 83b3ecde13)
2007-10-27 11:57:48 +02:00
metze
5a57da8e37 add NDR_ERR_INVALID_POINTER
metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25744 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 3625ed395c)
2007-10-27 10:27:38 +02:00
Jeremy Allison
30191d1a57 RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3c)
2007-10-18 17:40:25 -07:00
Stefan Metzmacher
ba7a979e53 fix crash bug in pidl generated client code, this
could have happend with [in,out,unique] pointers
when the clients sends a valid pointer, but the server
reponse with a NULL pointer (as samba-3.0.26a do for some calls).

I've tested with midl to see how windows handles this situation
and also the reverse case where the client sends NULL and
the server reposnse with non-NULL.

It appears that midl generated code just ignores this
and only copies the result if both pointers are non-NULL.

metze
(This used to be commit cb98869fa1)
2007-10-17 10:35:51 +02:00
Jeremy Allison
8e54530b52 Add start of IPv6 implementation. Currently most of this is avoiding
IPv6 in winbindd, but moves most of the socket functions that were
wrongly in lib/util.c into lib/util_sock.c and provides generic
IPv4/6 independent versions of most things. Still lots of work
to do, but now I can see how I'll fix the access check code.
Nasty part that remains is the name resolution code which is
used to returning arrays of in_addr structs.
Jeremy.
(This used to be commit 3f6bd0e1ec)
2007-10-10 18:25:16 -07:00
Günther Deschner
07cbec10b1 r25593: Add missing security_secinfo bits as seen while managing security descriptor
inheritance with regedit.

Guenther
(This used to be commit 534ee13596)
2007-10-10 12:31:16 -05:00
Stefan Metzmacher
725cbf6cc6 r25245: rerun 'make idl'
metze
(This used to be commit af91f4fd08)
2007-10-10 12:30:53 -05:00
Stefan Metzmacher
e273187811 r24605: remove some stuff samba3 doesn't need any more
metze
(This used to be commit 5514e8487f)
2007-10-10 12:30:10 -05:00
Stefan Metzmacher
96567fa3ea r24597: - talloc request structure for the samba3 server bindings
and make that the primary context for the request
  which the implementations can also use.
- go via functions pointers in the ndr_interface_table
  instead of calling functions directly.

metze
(This used to be commit 5c4d998300)
2007-10-10 12:30:08 -05:00
Stefan Metzmacher
18a48df488 r24594: pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions

metze
(This used to be commit 5e3d4df9bc)
2007-10-10 12:30:08 -05:00