1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

743 Commits

Author SHA1 Message Date
Andrew Tridgell
5e54558c6d r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
(This used to be commit b0132e94fc)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b)
2007-10-10 12:28:20 -05:00
Günther Deschner
a458211702 r23622: regenerate dfs rpc gen_ndr.
Guenther
(This used to be commit 71b3259962)
2007-10-10 12:23:37 -05:00
Günther Deschner
4010f9847a r23621: Merge samba4 dfs rpc idl.
Guenther
(This used to be commit bb43d56e92)
2007-10-10 12:23:37 -05:00
Volker Lendecke
de565785f5 r23410: Merge the core of the cluster code.
I'm 100% certain I've forgotten to merge something, but the main code
should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and
messages_ctdbd.c.

There should be no changes to the non-cluster case, it does survive make
test on my laptop.

It survives some very basic tests with ctdbd enables, I did not do the
full test suite for clusters yet.

Phew...

Volker
(This used to be commit 15553d6327)
2007-10-10 12:23:14 -05:00
Volker Lendecke
423dfd6707 r23376: More warnings
(This used to be commit a8ec53f022)
2007-10-10 12:23:11 -05:00
Gerald Carter
eec5e026ad r23269: Regenerate svcctl files after IDL fixes
(This used to be commit 92c505bf7f)
2007-10-10 12:23:01 -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 87b37de8ad)
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 eaefd00563)
2007-10-10 12:22:17 -05:00
Volker Lendecke
7192160599 r22747: Fix some C++ warnings
(This used to be commit a66a04e9f1)
2007-10-10 12:21:54 -05:00
Volker Lendecke
e6383f4762 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
(This used to be commit 0ad4b1226c)
2007-10-10 12:21:52 -05:00
Jelmer Vernooij
0389cad7c4 r22055: Port the endpoint mapper (and functions it requires) to Samba 3.
(This used to be commit ad98126187)
2007-10-10 12:19:06 -05:00
Stefan Metzmacher
56ba447668 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
(This used to be commit fa322f0cc9)
2007-10-10 12:18:59 -05:00
Volker Lendecke
eca13022ef r21960: Fix bugs 4463,4464,4465,4466. Thanks Jason :-)
(This used to be commit a2e27c4431)
2007-10-10 12:18:52 -05:00
Andrew Tridgell
a2d9f07d4c r21814: use ndr_push_error in the ndr layer, not just a NTSTATUS failure
(This used to be commit 05bd5cb6ee)
2007-10-10 12:18:36 -05:00
Andrew Tridgell
5e74df4202 r21813: fixed an integer overflow error in the ndr push code.
Jerry, you might like to consider this for 3.0.25
(This used to be commit 4b1c4cd25a)
2007-10-10 12:18:35 -05:00
Jelmer Vernooij
091df71eea r21655: Regenerate after pidl bugfix.
(This used to be commit 7fdbf66976)
2007-10-10 12:18:22 -05:00
Jelmer Vernooij
a47ae92464 r21652: Fix samba3-specific initialization
(This used to be commit 7ce0c5d0cc)
2007-10-10 12:18:22 -05:00
Jelmer Vernooij
09ff57907a 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
(This used to be commit 0db258c600)
2007-10-10 12:18:21 -05:00
Jelmer Vernooij
2b5d317af1 r21565: Import ndrdump (doesn't compile yet, needs table support functions).
(This used to be commit 9a9b942167)
2007-10-10 12:18:14 -05:00
Jelmer Vernooij
7d2152b8dc r21562: Regenerate gen_ndr after pidl changes.
(This used to be commit 952f648d81)
2007-10-10 12:18:13 -05:00
Jelmer Vernooij
1052cadbae r21462: Fix EnumValue (?)
(This used to be commit e73a418b5b)
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 b84370513f)
2007-10-10 12:18:00 -05:00
Jelmer Vernooij
654c36e187 r21203: Regenerate C files after pidl updates.
(This used to be commit 1dc2ba09c7)
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 a2ea54c234)
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 0596badb41)
2007-10-10 12:17:16 -05:00
Jelmer Vernooij
203622b734 r20839: Fix other C++ warnings
(This used to be commit d948d828d5)
2007-10-10 12:17:11 -05:00
Jelmer Vernooij
e2e7ad91a9 r20837: Use real type name, to fix compilation with -WC++-compat
(This used to be commit 840485686d)
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 580f2a7197)
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 5f86d006de)
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 38a88ed5d7)
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 978a6196bf)
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 b714b51884)
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 1b460d6cdf)
2007-10-10 12:16:09 -05:00
Volker Lendecke
fb5d4f9c86 r19916: Fix some c++ warnings
(This used to be commit fb5bcb826e)
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 b148cde7f3)
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 75515c5fda)
2007-10-10 12:16:02 -05:00
Volker Lendecke
01367cdfd0 r19797: Convert the remaining pipes to the "new" unique out ptr handling
(This used to be commit bc4e0a388a)
2007-10-10 12:15:56 -05:00
Volker Lendecke
3372adce58 r19794: Convert DFS
(This used to be commit 2efd3b3509)
2007-10-10 12:15:56 -05:00
Volker Lendecke
28a01d3fdf r19793: Change the lsa calls to the new calling convention. Nobody uses the changed
calls yet.

Volker
(This used to be commit 144cddaef5)
2007-10-10 12:15:56 -05:00
Volker Lendecke
9849f04868 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
(This used to be commit 95c14a822c)
2007-10-10 12:15:55 -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 016ddce120)
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 68fc15a5e0)
2007-10-10 12:15:42 -05:00
Jelmer Vernooij
ddc7dd256e r19542: Regenerate IDL.
(This used to be commit 759c1b0fd2)
2007-10-10 12:15:41 -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 ed95fe3c63)
2007-10-10 12:15:28 -05:00
Volker Lendecke
6b0b563fa4 r19221: Monster-Checkin after "make idl"
(This used to be commit 416466a16f)
2007-10-10 12:15:22 -05:00
Gerald Carter
7b7e7dcb8c r19007: reformat service control manager IDL
(This used to be commit d0658139a3)
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 5d843612a1)
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 5381dcbde3)
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 f520a9d0fb)
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 435d7bfc37)
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 cc5f31c081)
2007-10-10 12:01:02 -05:00
Jeremy Allison
3a60a67432 r18793: Fix BE string handling in the auto-generated
code. Should now work again with ASU.
Jeremy.
(This used to be commit 53e97bf928)
2007-10-10 12:00:58 -05:00
Gerald Carter
82f12507a4 r18791: print the error string and not the raw value
(This used to be commit 2363954637)
2007-10-10 12:00:58 -05:00
Gerald Carter
8e0217da6f r18790: Correct the IDL (still a bug in pidl) for QueryValue()
(This used to be commit 44851d7afa)
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 cf1404a0d7)
2007-10-10 12:00:57 -05:00
Gerald Carter
20b9cd5354 r18788: updating the IDL for QueryValue
(This used to be commit 83dec55782)
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 0cb79ee13f)
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 57d8519185)
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 bb9b7a058d)
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 91a48e9baa)
2007-10-10 12:00:52 -05:00
Jelmer Vernooij
66c089acaa r18713: Autogenerate srvsvc and svcctl interfaces
(This used to be commit a8aa312b7e)
2007-10-10 12:00:51 -05:00
Jelmer Vernooij
7cf3a10756 r18695: Zero initialize ref ptrs as well.
(This used to be commit 3295122173)
2007-10-10 12:00:48 -05:00
Jelmer Vernooij
e3068ef054 r18692: Dump debug data when DEBUGLEVEL >= 10
(This used to be commit 503d1a27d5)
2007-10-10 12:00:48 -05:00
Jelmer Vernooij
8c79b4cbc1 r18690: Regenerate RPC files after pidl changes.
(This used to be commit 87d3430537)
2007-10-10 12:00:47 -05:00
Jelmer Vernooij
6ffa76d76e r18688: get rid of the now obsolete keepref attribute
(This used to be commit b970f05b9b)
2007-10-10 12:00:47 -05:00
Volker Lendecke
d52612a7d9 r18667: Two C++ warnings
(This used to be commit 8c60e71229)
2007-10-10 12:00:45 -05:00
Gerald Carter
6ef0edb38e r18666: checking in generated netlogon files
(This used to be commit ac5561103c)
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 9c67dd36c6)
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 1dbfb25d0a)
2007-10-10 11:52:03 -05:00
Jelmer Vernooij
0da8adbc59 r18632: Make C++ compilers happy.
(This used to be commit 609224565f)
2007-10-10 11:52:01 -05:00
Gerald Carter
738f168ecc r18623: starting on eventlog IDL
(This used to be commit 6cb7b6226d)
2007-10-10 11:52:01 -05:00
Gerald Carter
8dd826f500 r18618: * remove svn:externals
* 'make idl' now requires pidl in the current PATH
* regenerate winreg ndr files
(This used to be commit e936d39e00)
2007-10-10 11:52:00 -05:00
Jelmer Vernooij
e5db7fee0f r18572: Use the autogenerated client and server for the echo interface and implement
some of the missing functions. RPC-ECHO now passes against Samba3.
(This used to be commit 9e9a053661)
2007-10-10 11:51:51 -05:00
Gerald Carter
c4013df0c1 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
(This used to be commit 23a8828613)
2007-10-10 11:51:50 -05:00
Jelmer Vernooij
71453ab90d r18526: Use generated server for unixinfo RPC interface.
(This used to be commit a5c0606d76)
2007-10-10 11:51:46 -05:00
Jelmer Vernooij
48e2a2bfb7 r18481: Use pidl-generated server side code for dfs.
(This used to be commit 3f337c104d)
2007-10-10 11:51:43 -05:00
Jelmer Vernooij
8be112a81b r18469: Use new pidl-generated DFS client code.
(This used to be commit e277fb067b)
2007-10-10 11:51:43 -05:00
Gerald Carter
0a42e71252 r18396: regenerate unixinfo files after metze changes to the IDL
(This used to be commit d2fe3eab54)
2007-10-10 11:51:21 -05:00
Gerald Carter
415aa96f09 r18275: add auto generated dfs code
(This used to be commit edb7a3607e)
2007-10-10 11:51:19 -05:00
Gerald Carter
96dd10cc00 r18274: Cleanup unnecessary empty headers and add a comment
why the remaining ones are needed
(This used to be commit e4fc8ba7fb)
2007-10-10 11:51:19 -05:00
Gerald Carter
2b27c93a9a 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.
(This used to be commit 3da9f80c28)
2007-10-10 11:51:18 -05:00
Stefan Metzmacher
c2d59d8170 r18269: regenerate idl output
metze
(This used to be commit 2047e2a985)
2007-10-10 11:51:18 -05:00
Gerald Carter
c1e0e75dc8 r18237: include dcerpc.h here to fix compile of autogenerated unixinfo files
(This used to be commit 3757f249aa)
2007-10-10 11:51:17 -05:00
Gerald Carter
368682954d r18236: fully autogenerated unix info files
(This used to be commit cbe39cb5e5)
2007-10-10 11:51:17 -05:00
Jelmer Vernooij
1779e3f104 r18233: Use the autogenerated cli_unixinfo rather than the old one.
(This used to be commit eec8b915d1)
2007-10-10 11:51:17 -05:00
Jelmer Vernooij
6ed67b003e r18232: - Trim number of regexes applied to generated files
- Fix syntax error in shell script (refused by dash)
- Regenerate output
(This used to be commit 4dba965f9a)
2007-10-10 11:51:17 -05:00
Gerald Carter
cb78a0d24a r18229: regenerated unixinfo files and add a few header stubs. Almost autogenerated now
(This used to be commit b860685a81)
2007-10-10 11:51:16 -05:00
Gerald Carter
94eb7d93d8 r18197: compile fixes
(This used to be commit 9b0d44a0b0)
2007-10-10 11:51:15 -05:00
Gerald Carter
b8704c5217 r18195: remove hardcoded path introdiced by pidl
(This used to be commit cbf57a6327)
2007-10-10 11:51:15 -05:00
Gerald Carter
82ed086618 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.
(This used to be commit cf271aa433)
2007-10-10 11:51:08 -05:00
Gerald Carter
a7be2ec7c5 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.
(This used to be commit 647ed21b09)
2007-10-10 11:43:56 -05:00
Gerald Carter
48450d97a5 r18185: add librpc/idl and relevant IDL files from SAMBA_4_0
(This used to be commit 6da1ef0f1c)
2007-10-10 11:43:30 -05:00