1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
Commit Graph

115 Commits

Author SHA1 Message Date
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
Gerald Carter
83dec55782 r18788: updating the IDL for QueryValue 2007-10-10 12:00:57 -05:00
Gerald Carter
0cb79ee13f 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
2007-10-10 12:00:53 -05:00
Gerald Carter
57d8519185 r18728: revert previous commit until I fix the wkssvc_nt.c changes 2007-10-10 12:00:52 -05:00
Gerald Carter
bb9b7a058d r18725: Replace out one wkssvc call (wkssrv_GetInfo()) with autogenerated
code.  Removed first rpc_parse/*.c file.  w00t!
2007-10-10 12:00:52 -05:00
Gerald Carter
91a48e9baa r18718: Change a few out parameter to ref pointers and regenerate 2007-10-10 12:00:52 -05:00
Jelmer Vernooij
a8aa312b7e r18713: Autogenerate srvsvc and svcctl interfaces 2007-10-10 12:00:51 -05:00
Jelmer Vernooij
3295122173 r18695: Zero initialize ref ptrs as well. 2007-10-10 12:00:48 -05:00
Jelmer Vernooij
503d1a27d5 r18692: Dump debug data when DEBUGLEVEL >= 10 2007-10-10 12:00:48 -05:00
Jelmer Vernooij
87d3430537 r18690: Regenerate RPC files after pidl changes. 2007-10-10 12:00:47 -05:00
Jelmer Vernooij
b970f05b9b r18688: get rid of the now obsolete keepref attribute 2007-10-10 12:00:47 -05:00
Volker Lendecke
8c60e71229 r18667: Two C++ warnings 2007-10-10 12:00:45 -05:00
Gerald Carter
ac5561103c r18666: checking in generated netlogon files 2007-10-10 12:00:45 -05:00
Gerald Carter
9c67dd36c6 r18642: convert [out] parameters to pointers in Spooler IDL 2007-10-10 11:52:03 -05:00
Gerald Carter
1dbfb25d0a r18641: Checking in the wkssvc files after updating the [out]
pointers.  Waiting on on srvsvc files before it can actually compile.
2007-10-10 11:52:03 -05:00
Jelmer Vernooij
609224565f r18632: Make C++ compilers happy. 2007-10-10 11:52:01 -05:00
Gerald Carter
6cb7b6226d r18623: starting on eventlog IDL 2007-10-10 11:52:01 -05:00
Gerald Carter
e936d39e00 r18618: * remove svn:externals
* 'make idl' now requires pidl in the current PATH
* regenerate winreg ndr files
2007-10-10 11:52:00 -05:00
Jelmer Vernooij
9e9a053661 r18572: Use the autogenerated client and server for the echo interface and implement
some of the missing functions. RPC-ECHO now passes against Samba3.
2007-10-10 11:51:51 -05:00
Gerald Carter
23a8828613 r18560: * Add in the winreg and initshutdown IDL files
* rename PI_SHUTDOWN from include/smb.h to PI_INITSHUTDOWN
  for compatibility with pidl libndr output
2007-10-10 11:51:50 -05:00
Jelmer Vernooij
a5c0606d76 r18526: Use generated server for unixinfo RPC interface. 2007-10-10 11:51:46 -05:00
Jelmer Vernooij
3f337c104d r18481: Use pidl-generated server side code for dfs. 2007-10-10 11:51:43 -05:00
Jelmer Vernooij
e277fb067b r18469: Use new pidl-generated DFS client code. 2007-10-10 11:51:43 -05:00
Gerald Carter
d2fe3eab54 r18396: regenerate unixinfo files after metze changes to the IDL 2007-10-10 11:51:21 -05:00
Gerald Carter
edb7a3607e r18275: add auto generated dfs code 2007-10-10 11:51:19 -05:00
Gerald Carter
e4fc8ba7fb r18274: Cleanup unnecessary empty headers and add a comment
why the remaining ones are needed
2007-10-10 11:51:19 -05:00
Gerald Carter
3da9f80c28 r18271: Big change:
* autogenerate lsa ndr code
* rename 'enum SID_NAME_USE' to 'enum lsa_SidType'
* merge a log more security descriptor functions from
  gen_ndr/ndr_security.c in SAMBA_4_0

The most embarassing thing is the "#define strlen_m strlen"
We need a real implementation in SAMBA_3_0 which I'll work on
after this code is in.
2007-10-10 11:51:18 -05:00
Stefan Metzmacher
2047e2a985 r18269: regenerate idl output
metze
2007-10-10 11:51:18 -05:00
Gerald Carter
3757f249aa r18237: include dcerpc.h here to fix compile of autogenerated unixinfo files 2007-10-10 11:51:17 -05:00
Gerald Carter
cbe39cb5e5 r18236: fully autogenerated unix info files 2007-10-10 11:51:17 -05:00
Jelmer Vernooij
eec8b915d1 r18233: Use the autogenerated cli_unixinfo rather than the old one. 2007-10-10 11:51:17 -05:00
Jelmer Vernooij
4dba965f9a r18232: - Trim number of regexes applied to generated files
- Fix syntax error in shell script (refused by dash)
- Regenerate output
2007-10-10 11:51:17 -05:00
Gerald Carter
b860685a81 r18229: regenerated unixinfo files and add a few header stubs. Almost autogenerated now 2007-10-10 11:51:16 -05:00
Gerald Carter
9b0d44a0b0 r18197: compile fixes 2007-10-10 11:51:15 -05:00
Gerald Carter
cbf57a6327 r18195: remove hardcoded path introdiced by pidl 2007-10-10 11:51:15 -05:00
Gerald Carter
cf271aa433 r18193: Not quite to autogenerated NDR but closer thanks to Jelmer's
initial work.  I'm including the librpc/gen_ndr directory
in svn temporarily just to get some compile issues straightened
out.
2007-10-10 11:51:08 -05:00
Gerald Carter
647ed21b09 r18187: Replace copy of idl files with a svn:externals link.
Will fix the build_idl.sh script to only process the files
we are concerned with in this branch.
2007-10-10 11:43:56 -05:00
Gerald Carter
6da1ef0f1c r18185: add librpc/idl and relevant IDL files from SAMBA_4_0 2007-10-10 11:43:30 -05:00