1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-07 00:58:40 +03:00

346 Commits

Author SHA1 Message Date
Günther Deschner
b239612fcf Use autogenerated libnet_join header.
Guenther
(This used to be commit d94bd3a03b574b3fdddd62add25b0c04673500a3)
2008-01-15 15:29:50 +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 2036b4c5ad677b8a477b34b0f076febab0abff5e)
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 94693755a291993217b5cb74794504a8593eae30)
2008-01-14 17:39:33 +01:00
Günther Deschner
495c38e546 Fix prototypes for lsa set info policy calls.
Guenther
(This used to be commit 33f6eff92b6bdf804d54c84375cece8a867933f2)
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 add28753b2e740804c48db5f6235cb2f8908d82b)
2008-01-14 17:13:17 +01:00
Jelmer Vernooij
4add2fe36e idl: Replace non-standard "declare" keyword with typedef and regenerate.
(This used to be commit 7e75acfdd1910b3b5908c02d5f343f014eb77841)
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 6169dea4dc3c4fc5eb1caefde828ed896cf048c5)
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 3d34c87612138e4457e824e1a6e3981d1c3fe238)
2008-01-09 11:59:52 +01:00
Günther Deschner
791fe3119e Pedantic cosmetics: rerun make idl.
Guenther
(This used to be commit d1fa8049b1c0a3cebbc2c64e245e8055c8d3e84b)
2008-01-08 18:08:15 +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 a0abb885214ed29659889e359aecb60fb6dec100)
2007-12-07 14:05:05 +01:00
Günther Deschner
58944aa5a5 Forgot header in previous commit.
Guenther
(This used to be commit 8a1b306b826c75dde9caadc93b022bfa9bf3c4e3)
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 298b0ce951f02705c5660a4171f7cc208de7a1db)
2007-12-03 18:43:19 +01:00
Günther Deschner
7557964bee Merge recent wkssvc changes from samba4.
Guenther
(This used to be commit 7539fb4c840a9b4429f347cebbda9c631746267a)
2007-11-30 01:45:07 +01:00
Stefan Metzmacher
08ace73dbb rerun make idl
metze
(This used to be commit 53a636828d2ba01603401086f4a5f72f9b5ea214)
2007-11-09 21:23:15 +01:00
Stefan Metzmacher
acc95a43a1 rerun make idl
metze
(This used to be commit 83b3ecde1312092fd9875a2a8628652ffa6b6aca)
2007-10-27 11:57:48 +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 f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
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 cb98869fa189ce2a926a00fa9077a114f31a5d45)
2007-10-17 10:35:51 +02:00
Stefan Metzmacher
725cbf6cc6 r25245: rerun 'make idl'
metze
(This used to be commit af91f4fd08aae117d9b48eade4d49762c9634cbc)
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 5514e8487fee453b730a966ebc6fcdcd56da047a)
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 5c4d998300d0c9836eb3cc6c3cd8ee4f262396b8)
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 5e3d4df9bca069708d72f548dc5ddfc7708ac122)
2007-10-10 12:30:08 -05:00
Stefan Metzmacher
8fb2e83733 r24564: regenerate after pidl changes...
metze
(This used to be commit ec8858c37482f0d2ac1291d9a9df00dace6944a8)
2007-10-10 12:30:05 -05:00
Stefan Metzmacher
8da26d3f96 r24561: merge from SAMBA_4_0:
rename some DCERPC_ prefixes into NDR_

metze
(This used to be commit 8f07b8ab658ae3d63487ca5fb20065318cdd9d0e)
2007-10-10 12:30:03 -05:00
Stefan Metzmacher
2f3511c56e r24558: merge from SAMBA_4_0:
rename 'dcerpc_table_' -> 'ndr_table_'

metze
(This used to be commit 4e5908cd596f97d3bb73bd9c0bf3d360944f7810)
2007-10-10 12:29:57 -05:00
Stefan Metzmacher
c2628e19a7 r24552: merge from SAMBA_4_0:
rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list  -> ndr_interface_list

and move them to libndr.h

metze
(This used to be commit f57d23d0f1b1c7a435f3a4ad801e58519cc92a77)
2007-10-10 12:29:56 -05:00
Stefan Metzmacher
24c594d0b3 r24541: merge from SAMBA_4_0:
rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
into ndr_interface_string_array and move it to libndr.h

metze
(This used to be commit 9fec0d6c2ceaf66752baa5c8a34821bef2c5b833)
2007-10-10 12:29:55 -05:00
Stefan Metzmacher
68821746d8 r24538: merge from SAMBA_4_0:
rename struct dcerpc_interface_call -> struct ndr_interface_call
and move it to librpc/ndr/libndr.h

metze
(This used to be commit 24e096b3659c3070a1ce029174fba51ae59e89ad)
2007-10-10 12:29:55 -05:00
Stefan Metzmacher
b018c9b9a2 r24537: regenerate after pidl fixes
metze
(This used to be commit e827c7311ce9890358be145099391c6b3cee15a1)
2007-10-10 12:29:54 -05:00
Stefan Metzmacher
fe068284e9 r24458: regenerate pidl output after pidl fixes:
fixes winreg_EnumValues()

metze
(This used to be commit cedf7022c5c61ed5eb49bb1cb24b062858f7d2fd)
2007-10-10 12:29:49 -05:00
Volker Lendecke
0c03be5503 r23808: Make us a bit more C++ friendly. Thanks to Constantine Vetoshev
<gepardcv@yahoo.com> for checking.
(This used to be commit 84b8a56fe9aef1e0583cf5f5abb037199cf21fd9)
2007-10-10 12:28:29 -05:00
Günther Deschner
a458211702 r23622: regenerate dfs rpc gen_ndr.
Guenther
(This used to be commit 71b3259962004c278ca2e859d5460ad47c2468d6)
2007-10-10 12:23:37 -05:00
Gerald Carter
eec5e026ad r23269: Regenerate svcctl files after IDL fixes
(This used to be commit 92c505bf7f15a79c6e32a38b2d218f65b0283507)
2007-10-10 12:23:01 -05:00
Volker Lendecke
ac3f08ddbe r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'm
doing this because for the clustering the marshalling is needed in more
than one place, so I wanted a decent routine to marshall a message_rec
struct which was not there before.

Tridge, this seems about the same speed as it used to be before, the
librpc/ndr overhead in my tests was under the noise.

Volker
(This used to be commit eaefd00563173dfabb7716c5695ac0a2f7139bb6)
2007-10-10 12:22:17 -05:00
Jelmer Vernooij
0389cad7c4 r22055: Port the endpoint mapper (and functions it requires) to Samba 3.
(This used to be commit ad981261877e6a2dce0c4f4e71fd9127aa31538a)
2007-10-10 12:19:06 -05:00
Jelmer Vernooij
091df71eea r21655: Regenerate after pidl bugfix.
(This used to be commit 7fdbf66976fa1b43eabca4786844a41a4381b3ef)
2007-10-10 12:18:22 -05:00
Jelmer Vernooij
2b5d317af1 r21565: Import ndrdump (doesn't compile yet, needs table support functions).
(This used to be commit 9a9b9421673ed1c455658d8ae79d7a1522a1baa7)
2007-10-10 12:18:14 -05:00
Jelmer Vernooij
7d2152b8dc r21562: Regenerate gen_ndr after pidl changes.
(This used to be commit 952f648d8132a0652bb03b9e7671239e57614ee9)
2007-10-10 12:18:13 -05:00
Jelmer Vernooij
1052cadbae r21462: Fix EnumValue (?)
(This used to be commit e73a418b5b0100936efb4c1133da3cfe3fcb61cd)
2007-10-10 12:18:06 -05:00
Jelmer Vernooij
4003edf0df r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4.
(This used to be commit b84370513fbf790e599c33f177fb271a2a992b72)
2007-10-10 12:18:00 -05:00
Jelmer Vernooij
654c36e187 r21203: Regenerate C files after pidl updates.
(This used to be commit 1dc2ba09c7afc516d894fddfed613990ccf1f1ee)
2007-10-10 12:17:47 -05:00
Volker Lendecke
8bfa935161 r21074: Preparation for the import of samba4 notify: Add the file notify.idl and the
resulting marshalling/unmarshalling routines in gen_ndr/

Volker
(This used to be commit a2ea54c23456925a8ed317edb1adf82d074041fc)
2007-10-10 12:17:33 -05:00
Jelmer Vernooij
d6b3fce078 r20875: Pass DCE/RPC server call arguments as a struct rather than as separate arguments.
This makes it a bit more similar to the Samba4 code.
(This used to be commit 0596badb410a58e7a715e2b17bc0bef0489a2448)
2007-10-10 12:17:16 -05:00
Jelmer Vernooij
e2e7ad91a9 r20837: Use real type name, to fix compilation with -WC++-compat
(This used to be commit 840485686d2b3765bd01fbe442f712803d1f4c0f)
2007-10-10 12:17:11 -05:00
Jelmer Vernooij
62e11c4f17 r20832: Remove extra pointers previously added to unique [out] pointers. Instead,
add [ref] pointers where necessary (top-level [ref] pointers,
by spec, don't appear on the wire).

This brings us closer to the DCE/RPC standard again.
(This used to be commit 580f2a7197b1bc9db14a643fdd112b40ef37aaef)
2007-10-10 12:17:11 -05:00
Jelmer Vernooij
b79629fcc4 r20674: Regenerate NDR parsers after pidl changes. This should fix a couple of
coverity warnings.
(This used to be commit 5f86d006debd880ec35db4ebe7db0663c5cb220f)
2007-10-10 12:17:02 -05:00
Volker Lendecke
443421828a r19946: in SetKeySec, sd is just a [in,ref] ptr
(This used to be commit 38a88ed5d71c5781286ed12a858dcfb135b33c90)
2007-10-10 12:16:14 -05:00
Volker Lendecke
f1d492d11f r19930: Revert the winreg idl changes. At least enumkey does not work anymore today.
With more than 5 different trees I can't swear that I did test this properly
yesterday. Sorry for the noise.

Volker
(This used to be commit 978a6196bf0a2280c7f74b4a6d9fa7941c3aa049)
2007-10-10 12:16:10 -05:00
Volker Lendecke
8e8821b1da r19919: Convert winreg_EnumKey to use ref ** instead of a unique *.
Volker
(This used to be commit b714b51884af0d79de8568410676d4889f23ffb6)
2007-10-10 12:16:10 -05:00
Volker Lendecke
4a361ffd7f r19918: Convert winreg_CreateKey to use a ref ** instead of a unique *. W2k3 can still
create keys on Samba and vice versa.

Jelmer, please check.

Thanks,

Volker
(This used to be commit 1b460d6cdfe0cadd915a5299e6ca9bb359bf0075)
2007-10-10 12:16:09 -05:00
Volker Lendecke
f57cd1f63c r19914: The "default" value with the name "" need different 0-length treatment as the
other StringBufs, otherwise clicking on a key with this value being set leads
to regedit.exe on w2k3 chew all memory.
(This used to be commit b148cde7f39859102288a87b6f0bd2b250947a85)
2007-10-10 12:16:09 -05:00