1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

87 Commits

Author SHA1 Message Date
Gerald Carter
92c505bf7f r23269: Regenerate svcctl files after IDL fixes 2007-10-10 12:23:01 -05:00
Gerald Carter
87b37de8ad r23268: Rename some variables in the svcctl.idl to prevent
redeclaration compile failures in the generated client
code.
2007-10-10 12:23:01 -05:00
Volker Lendecke
eaefd00563 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
2007-10-10 12:22:17 -05:00
Volker Lendecke
a66a04e9f1 r22747: Fix some C++ warnings 2007-10-10 12:21:54 -05:00
Volker Lendecke
0ad4b1226c r22736: Start to merge the low-hanging fruit from the now 7000-line cluster patch.
This changes "struct process_id" to "struct server_id", keeping both is
just too much hassle. No functional change (I hope ;-))

Volker
2007-10-10 12:21:52 -05:00
Jelmer Vernooij
ad98126187 r22055: Port the endpoint mapper (and functions it requires) to Samba 3. 2007-10-10 12:19:06 -05:00
Stefan Metzmacher
fa322f0cc9 r22001: change prototype of dump_data(), so that it takes unsigned char * now,
which matches what samba4 has.

also fix all the callers to prevent compiler warnings

metze
2007-10-10 12:18:59 -05:00
Volker Lendecke
a2e27c4431 r21960: Fix bugs 4463,4464,4465,4466. Thanks Jason :-) 2007-10-10 12:18:52 -05:00
Andrew Tridgell
05bd5cb6ee r21814: use ndr_push_error in the ndr layer, not just a NTSTATUS failure 2007-10-10 12:18:36 -05:00
Andrew Tridgell
4b1c4cd25a r21813: fixed an integer overflow error in the ndr push code.
Jerry, you might like to consider this for 3.0.25
2007-10-10 12:18:35 -05:00
Jelmer Vernooij
7fdbf66976 r21655: Regenerate after pidl bugfix. 2007-10-10 12:18:22 -05:00
Jelmer Vernooij
7ce0c5d0cc r21652: Fix samba3-specific initialization 2007-10-10 12:18:22 -05:00
Jelmer Vernooij
0db258c600 r21651: Add ndrdump to samba 3. This only works from external source at the
moment. To use, use something like:

./bin/ndrdump -l bin/smbd winreg winreg_EnumValue in <filename>

or to see what functions are available:

./bin/ndrdump -l bin/smbd winreg
2007-10-10 12:18:21 -05:00
Jelmer Vernooij
9a9b942167 r21565: Import ndrdump (doesn't compile yet, needs table support functions). 2007-10-10 12:18:14 -05:00
Jelmer Vernooij
952f648d81 r21562: Regenerate gen_ndr after pidl changes. 2007-10-10 12:18:13 -05:00
Jelmer Vernooij
e73a418b5b r21462: Fix EnumValue (?) 2007-10-10 12:18:06 -05:00
Jelmer Vernooij
b84370513f r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4. 2007-10-10 12:18:00 -05:00
Jelmer Vernooij
1dc2ba09c7 r21203: Regenerate C files after pidl updates. 2007-10-10 12:17:47 -05:00
Volker Lendecke
a2ea54c234 r21074: Preparation for the import of samba4 notify: Add the file notify.idl and the
resulting marshalling/unmarshalling routines in gen_ndr/

Volker
2007-10-10 12:17:33 -05:00
Jelmer Vernooij
0596badb41 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.
2007-10-10 12:17:16 -05:00
Jelmer Vernooij
d948d828d5 r20839: Fix other C++ warnings 2007-10-10 12:17:11 -05:00
Jelmer Vernooij
840485686d r20837: Use real type name, to fix compilation with -WC++-compat 2007-10-10 12:17:11 -05:00
Jelmer Vernooij
580f2a7197 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.
2007-10-10 12:17:11 -05:00
Jelmer Vernooij
5f86d006de r20674: Regenerate NDR parsers after pidl changes. This should fix a couple of
coverity warnings.
2007-10-10 12:17:02 -05:00
Volker Lendecke
38a88ed5d7 r19946: in SetKeySec, sd is just a [in,ref] ptr 2007-10-10 12:16:14 -05:00
Volker Lendecke
978a6196bf 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
2007-10-10 12:16:10 -05:00
Volker Lendecke
b714b51884 r19919: Convert winreg_EnumKey to use ref ** instead of a unique *.
Volker
2007-10-10 12:16:10 -05:00
Volker Lendecke
1b460d6cdf 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
2007-10-10 12:16:09 -05:00
Volker Lendecke
fb5bcb826e r19916: Fix some c++ warnings 2007-10-10 12:16:09 -05:00
Volker Lendecke
b148cde7f3 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.
2007-10-10 12:16:09 -05:00
Jelmer Vernooij
75515c5fda r19848: Sync with Samba4 - no top-level unique pointers. 2007-10-10 12:16:02 -05:00
Volker Lendecke
bc4e0a388a r19797: Convert the remaining pipes to the "new" unique out ptr handling 2007-10-10 12:15:56 -05:00
Volker Lendecke
2efd3b3509 r19794: Convert DFS 2007-10-10 12:15:56 -05:00
Volker Lendecke
144cddaef5 r19793: Change the lsa calls to the new calling convention. Nobody uses the changed
calls yet.

Volker
2007-10-10 12:15:56 -05:00
Volker Lendecke
95c14a822c r19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
waiting for comments. This is what version control is for, and it does fix a
segfault I ran into ;-)

Nevertheless, Jelmer & Jerry, please take a look!

Thanks,

Volker
2007-10-10 12:15:55 -05:00
Volker Lendecke
016ddce120 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
2007-10-10 12:15:55 -05:00
Jelmer Vernooij
68fc15a5e0 r19591: Use import' and include' in the IDL and regenerate. 2007-10-10 12:15:42 -05:00
Jelmer Vernooij
759c1b0fd2 r19542: Regenerate IDL. 2007-10-10 12:15:41 -05:00
Volker Lendecke
ed95fe3c63 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
2007-10-10 12:15:28 -05:00
Volker Lendecke
416466a16f r19221: Monster-Checkin after "make idl" 2007-10-10 12:15:22 -05:00
Gerald Carter
d0658139a3 r19007: reformat service control manager IDL 2007-10-10 12:14:56 -05:00
Gerald Carter
5d843612a1 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.
2007-10-10 12:14:53 -05:00
Gerald Carter
5381dcbde3 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.
2007-10-10 12:14:51 -05:00
Gerald Carter
f520a9d0fb 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()
2007-10-10 12:14:48 -05:00
Gerald Carter
435d7bfc37 r18929: * Clarify QueryValue IDL and regenerate code
* Fix server _winreg_Query_Value() implementation so that
  usrmgr.exe starts now
2007-10-10 12:14:47 -05:00
Gerald Carter
cc5f31c081 r18811: rename stat field to avoid compiler warnings about
shadowed variables
2007-10-10 12:01:02 -05:00
Jeremy Allison
53e97bf928 r18793: Fix BE string handling in the auto-generated
code. Should now work again with ASU.
Jeremy.
2007-10-10 12:00:58 -05:00
Gerald Carter
2363954637 r18791: print the error string and not the raw value 2007-10-10 12:00:58 -05:00
Gerald Carter
44851d7afa r18790: Correct the IDL (still a bug in pidl) for QueryValue() 2007-10-10 12:00:58 -05:00
Gerald Carter
cf1404a0d7 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.
2007-10-10 12:00:57 -05:00