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

253 Commits

Author SHA1 Message Date
Jelmer Vernooij
af3ff75e1f idl: Update initshutdown and echo IDL from Samba 4.
(This used to be commit 35d71a40b385a62b8c85ed68e64b6d38d80aeb3c)
2008-01-17 15:57:52 +01:00
Jelmer Vernooij
5e86ac9e6d idl: Update DFS IDL from Samba 4.
(This used to be commit a6677b2e186212f723b24775293682ce5b94952e)
2008-01-17 15:57:52 +01:00
Günther Deschner
587a2dbf8d Merge lsarpc.idl from samba4 and rerun make idl.
Guenther
(This used to be commit d9c8a2271d5d4ff845f1fe5986a2c63d79c41415)
2008-01-16 16:32:12 +01:00
Günther Deschner
0331ff72f0 Add lsa_PolicyAuditEventType and lsa_PolicyAuditPolicy enums from samba3 to IDL.
Guenther
(This used to be commit 92bfa25922860a6951c72d41799f4d3c1bc7a007)
2008-01-16 16:06:15 +01:00
Günther Deschner
6c9d517826 Define libnet join interface in IDL.
Guenther
(This used to be commit 7a48779ee5ec8bdd5e2b5eef94fd465f733b74b4)
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 2036b4c5ad677b8a477b34b0f076febab0abff5e)
2008-01-15 11:01:18 +01:00
Günther Deschner
e2d32e0407 Use lsa_PolicyInfo enum in lsa policy info calls.
Guenther
(This used to be commit 8b63a1665795d2739b54144212926113d9be7f09)
2008-01-14 17:37:35 +01:00
Günther Deschner
aa9335491f Fill in IDL for lsa_SetInfoPolicy and lsa_SetInfoPolicy2.
Guenther
(This used to be commit dceb9a4c80fb241e12fafc6229aa8e81f5d2df1a)
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 7e75acfdd1910b3b5908c02d5f343f014eb77841)
2008-01-13 01:22:23 +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
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 534ee13596cd4d95b61ae973823b3041bd889216)
2007-10-10 12:31:16 -05:00
Stefan Metzmacher
5da47f8518 r24533: merge from SAMBA_4_0:
rename dcerpc_syntax_id -> ndr_syntax_id

metze
(This used to be commit 7facd9bf3ffd0718bc9f9161274d18a0014f3744)
2007-10-10 12:29:54 -05:00
Stefan Metzmacher
ffae125ad0 r24450: merge from SAMBA_4_0:
length_is() isn't supported without size_is().

I assume what we need is an array of strings,
so the code isn't used and broken anyway without
a testsuite...just get rid of the pidl warning

metze
(This used to be commit a3fd68d48582865923e18e8412ac7dca7f725c64)
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
4010f9847a r23621: Merge samba4 dfs rpc idl.
Guenther
(This used to be commit bb43d56e92f4ea08fbf2ae4fa90570a101efd4e2)
2007-10-10 12:23:37 -05:00
Gerald Carter
de51cbadfc r23268: Rename some variables in the svcctl.idl to prevent
redeclaration compile failures in the generated client
code.
(This used to be commit 87b37de8ad4e91e75530996dde0900b6e1fed622)
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
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
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
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
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
Jelmer Vernooij
4d708dfd2c r19848: Sync with Samba4 - no top-level unique pointers.
(This used to be commit 75515c5fda2d405e4b08413a80ee71139673b18a)
2007-10-10 12:16:02 -05:00
Volker Lendecke
30db93664c r19786: My last checkin to winreg_StringBuf killed rpccli_winreg_EnumKeys against
W2k3. The server requires that size==0 in the [in] name. Somehow I get the
feeling that something is badly wrong here....

I did not yet recreate the gen_ndr equivalent, see next mail.

Volker
(This used to be commit 016ddce12005bb0829bf050e4d4851852751b3e5)
2007-10-10 12:15:55 -05:00
Jelmer Vernooij
482603735d r19591: Use import' and include' in the IDL and regenerate.
(This used to be commit 68fc15a5e025348dee4bf14aa4498e20905cb377)
2007-10-10 12:15:42 -05:00
Volker Lendecke
99cf1bef10 r19290: regedit running on nt4 will cut off the last character from a enumkey without
this patch. Jerry, Jelmer, can you please check this?

Thanks,

Volker
(This used to be commit ed95fe3c63d48de9504d43f90e72f11ec0617064)
2007-10-10 12:15:28 -05:00
Gerald Carter
7b7e7dcb8c r19007: reformat service control manager IDL
(This used to be commit d0658139a3419e42e00b3cddb2b149d48f2a76a5)
2007-10-10 12:14:56 -05:00
Gerald Carter
18d4176633 r18981: * cleanup some vestiges of old cli_reg.c code and mark some TODO
items in cac_winreg.c
* Get 'net rpc registry enumerate' to list values again
* Fix winreg.idl QueryInfoKey().  The max_subkeysize is the
  max_classlen (we previously had this correct in Samba3")
* fix valgrind error about uninitialized memory and use-before-set
  on size value inmemset() call
* Fix key enumeration in 'net rpc registry enumerate'
* regenerate gen_dir files based on local pidl patches

Please note that the generated ndr files are from my local
copy of pidl.  If you need to regenerate, please apply the
patch that I posted to the samba-technical list earlier today.
(This used to be commit 5d843612a1b9d92022f76626f1c7473faebec4ba)
2007-10-10 12:14:53 -05:00
Gerald Carter
b3ec4697ef r18962: * Add IDL for SaveKey() and RestoreKey() and regenerated
* Tested RegSaveKey() using win32 app.  Apparently
  this code has been brokne for a really long time.
(This used to be commit 5381dcbde34206462562bdfc7639f488820a5a64)
2007-10-10 12:14:51 -05:00
Gerald Carter
49c73b5734 r18931: * Fix the IDL for QueryInfoKey. teh Classname in an
in,out ref pointer
* Clarify variable names in EnumValue IDL
* Fix server code for _winreg_EnumValue() and _winreg_QueryInfoKe()
(This used to be commit f520a9d0fba4cc3cfbda40dd68cb63c4c3c4ed30)
2007-10-10 12:14:48 -05:00
Gerald Carter
5935ea9da1 r18929: * Clarify QueryValue IDL and regenerate code
* Fix server _winreg_Query_Value() implementation so that
  usrmgr.exe starts now
(This used to be commit 435d7bfc37f430c462fcb53bf3a82fcddc809771)
2007-10-10 12:14:47 -05:00
Gerald Carter
0705d64035 r18811: rename stat field to avoid compiler warnings about
shadowed variables
(This used to be commit cc5f31c08159d671eaa873eb39b25893931c7341)
2007-10-10 12:01:02 -05:00
Gerald Carter
8e0217da6f r18790: Correct the IDL (still a bug in pidl) for QueryValue()
(This used to be commit 44851d7afa3112278faea41b470cc5d3cad97cb5)
2007-10-10 12:00:58 -05:00
Gerald Carter
eab57a0a0f r18789: Replace the winreg server code with the libndr parsing code.
Many things work (OpenHKLM, etc...) but some still don't.
This shouldn't block anyone so I'm checking it in.
Will probably move to a bzr tree after this for
longer dev cycles between checkins.
(This used to be commit cf1404a0d7538288b9370ba80df328f81b713ce0)
2007-10-10 12:00:57 -05:00
Gerald Carter
20b9cd5354 r18788: updating the IDL for QueryValue
(This used to be commit 83dec5578246111798678dce73d928ecf2a47d5f)
2007-10-10 12:00:57 -05:00
Gerald Carter
b7d069097b r18739: * Get the wkssvc patch right this time.
* Remove the old wkssvc server, client, & parsing code.
* Update srv_wkssvc_nt.c with stubs for the remaining
  stubs
(This used to be commit 0cb79ee13fd78b515a48b2c72d91596ed21e41a8)
2007-10-10 12:00:53 -05:00
Gerald Carter
8126f91375 r18728: revert previous commit until I fix the wkssvc_nt.c changes
(This used to be commit 57d8519185008602fab5cf5d1d1951415aacb7f0)
2007-10-10 12:00:52 -05:00
Gerald Carter
9dda6cdf4c r18725: Replace out one wkssvc call (wkssrv_GetInfo()) with autogenerated
code.  Removed first rpc_parse/*.c file.  w00t!
(This used to be commit bb9b7a058d72569bee5683856661ac063c281c9f)
2007-10-10 12:00:52 -05:00
Gerald Carter
a1c53e50de r18718: Change a few out parameter to ref pointers and regenerate
(This used to be commit 91a48e9baaf210cf64a324e205a4786482ac4ebb)
2007-10-10 12:00:52 -05:00
Jelmer Vernooij
66c089acaa r18713: Autogenerate srvsvc and svcctl interfaces
(This used to be commit a8aa312b7e597c4fc922a6d1783d5b6d43bceecb)
2007-10-10 12:00:51 -05:00
Jelmer Vernooij
6ffa76d76e r18688: get rid of the now obsolete keepref attribute
(This used to be commit b970f05b9b06762ed11bef0e765717bd2b36d760)
2007-10-10 12:00:47 -05:00
Gerald Carter
6ef0edb38e r18666: checking in generated netlogon files
(This used to be commit ac5561103caccac7d14fddbdc9a0fa972be45c6f)
2007-10-10 12:00:45 -05:00
Gerald Carter
c2c684b460 r18642: convert [out] parameters to pointers in Spooler IDL
(This used to be commit 9c67dd36c633bf367322385f6d43ca8bbdecaa70)
2007-10-10 11:52:03 -05:00
Gerald Carter
768e7cb043 r18641: Checking in the wkssvc files after updating the [out]
pointers.  Waiting on on srvsvc files before it can actually compile.
(This used to be commit 1dbfb25d0a8a6e75af17ac8efff82bbe28d47094)
2007-10-10 11:52:03 -05:00
Gerald Carter
738f168ecc r18623: starting on eventlog IDL
(This used to be commit 6cb7b6226da0b3060f4850fc2cc2ca82fbdcaa8f)
2007-10-10 11:52:01 -05:00