summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20020: Arglll... eventlogadm links against reg_db but not the rest of the ↵Volker Lendecke1-1/+9
registry stuff. Revert the last change. This needs better fixing. Volker (This used to be commit ad1e00430bf5c4130023d30e9c8266ecdc640d2b)
2007-10-10r20019: Replace one set of tricky code by calls to another set of tricky code:Volker Lendecke1-9/+1
Initializing the reg_db now uses reg_createkey and reg_setvalue. Volker (This used to be commit cab5ccbbe484795f13531726d68b978073262e33)
2007-10-10r20017: Make srvsvc_NetShareAdd & friends take care of registry sharesVolker Lendecke1-125/+299
(This used to be commit fc29a283cc9c2458375aa4fe2ecef82e6a3847df)
2007-10-10r20015: We have to zero out handle on key_close, otherwise the NT4 regedit ↵Volker Lendecke1-0/+2
will re-use the handle (This used to be commit 0afd696f88ed04f562ef64201ac2e58cef372a90)
2007-10-10r20013: Fix segfaults: parm_error is a unique in/out ptrVolker Lendecke1-3/+9
(This used to be commit 0104371dd648204c9e8102cdc399539857be4a63)
2007-10-10r20012: ReformattingVolker Lendecke1-26/+40
(This used to be commit b32c65cb6243f939247bcfb0f14e4e49dc5ee13e)
2007-10-10r20007: Fix a const warning just introducedVolker Lendecke1-1/+1
(This used to be commit 3da37287cadfe251491bcefea4ca9d407048868b)
2007-10-10r19991: Sorry for this 2000-liner...Volker Lendecke2-550/+155
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality has moved to registry/reg_api.c which is then usable by the rest of Samba as well. On that way it fixes creating keys with more than one element in the path. This did not work before. Two things that sneaked in (sorry :-) is the change of some routines from NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal. Volker (This used to be commit fea52801de8c7b85c578d200c599475680c5339f)
2007-10-10r19963: Add 'registry shares = yes' and registry key security descriptors.Volker Lendecke2-3/+36
(This used to be commit 6cab254c49e07b11c170511ec613f0f33914c3e6)
2007-10-10r19947: Change regkey_open_internal to take the parent key and a talloc_ctx asVolker Lendecke2-22/+4
arguments. This also replaces regkey_close_internal by TALLOC_FREE. Volker (This used to be commit a177bbb2d5611f03cec25b7577c2e6a542f94a69)
2007-10-10r19930: Revert the winreg idl changes. At least enumkey does not work ↵Volker Lendecke1-12/+7
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-10r19929: Fix indentationVolker Lendecke1-1/+1
(This used to be commit 2369ad08529d31bb77b9cb5378d0114669cdf8a8)
2007-10-10r19919: Convert winreg_EnumKey to use ref ** instead of a unique *.Volker Lendecke1-4/+9
Volker (This used to be commit b714b51884af0d79de8568410676d4889f23ffb6)
2007-10-10r19918: Convert winreg_CreateKey to use a ref ** instead of a unique *. W2k3 ↵Volker Lendecke1-3/+3
can still create keys on Samba and vice versa. Jelmer, please check. Thanks, Volker (This used to be commit 1b460d6cdfe0cadd915a5299e6ca9bb359bf0075)
2007-10-10r19915: Fix two type-punned warningsVolker Lendecke1-2/+2
(This used to be commit f1266475daa3687e0b0dc5333a6fbd12a9640c3a)
2007-10-10r19914: The "default" value with the name "" need different 0-length ↵Volker Lendecke1-9/+1
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-10r19912: Move the subkey cache to srv_winreg_nt.cVolker Lendecke1-13/+28
(This used to be commit 01a53590a6325413551016effe302585a3a1e656)
2007-10-10r19872: Move the value cache to srv_winreg_nt.c. Fix some minor issues found ↵Volker Lendecke1-69/+100
while playing with regedit.exe. Volker (This used to be commit 81bd816fa2afe89261aff2f395e8d056b73e515c)
2007-10-10r19867: Introduce struct regkey_info in srv_winreg_nt.c to be able to re-add theVolker Lendecke1-91/+130
QueryValue and later the QueryKey cache independent of the backend. Volker (This used to be commit 0ed3a21fccd9c05f1db40f8e20376a76583a81b6)
2007-10-10r19860: Streamline _winreg_QueryValue a bit. We've been pushing around memoryVolker Lendecke1-105/+86
considerably here. This temporarily removes a cache for the tdb based registry, I'll re-add that in srv_winreg_nt.c in the next step. This fixes creating/renaming values from the windows regedit.exe, as "New Value #1" was not entering the cache after being created. Volker (This used to be commit c8c81f0e86256f769765c142e4f1e4c45cb74296)
2007-10-10r19824: Fix the max value calculation in QueryInfoKeyVolker Lendecke1-9/+10
(This used to be commit cd14b7f05234f540601cd2c5841a52dd047c965d)
2007-10-10r19819: Windows returns an empty string instead of NULL hereVolker Lendecke1-1/+1
(This used to be commit c1083216c83f4236edb78484c6333ff1d1646c40)
2007-10-10r19803: Fix problem reported by Chetan S: QueryInfoKey needs to report the ↵Volker Lendecke1-1/+1
max name length in *bytes* for UTF-16, not the string length. This got lost during the conversion. This took a while to figure out :-) Thanks to Chetan! Volker (This used to be commit 8df6544fa855d2d07b1b69c8d448a1362e41733c)
2007-10-10r19780: Ok, regkey_open_internal needs a regkey_close_internal. Giving a ↵Volker Lendecke2-5/+4
talloc ctx is misleading here. This needs fixing properly :-) Volker (This used to be commit f808182346aa16bb2f3a9383e28d318099a5e14e)
2007-10-10r19778: Make regkey_open_internal take a talloc ctxVolker Lendecke2-4/+5
(This used to be commit cb7f4211b8441642dce9594522dc9588475a7719)
2007-10-10r19776: Hmmm. I should have done one instead of three commits. Sorry :-)Volker Lendecke1-1/+1
(This used to be commit e2a35ceffe35b25aafde987c50e63b89a3e3ec16)
2007-10-10r19775: Fix typoVolker Lendecke1-1/+1
(This used to be commit 370e29ebb9da92c9072bdd4eec84980b5753089a)
2007-10-10r19689: Fix a NULL dereference found by coverity (the call to strlen).Volker Lendecke1-1/+3
Jerry, please check this. The way I understood alpha_strcpy the last arg needs to be the size of the target, not of the source. Thanks, Volker (This used to be commit 287d68daab89c78748b90849c9782473784b6a84)
2007-10-10r19669: set_share_security does not need a mem_ctx passedVolker Lendecke1-2/+2
(This used to be commit 53eaa603eb84047263c27d57b8c0f5ce8e157189)
2007-10-10r19468: Fix some potential NULL dereferencesVolker Lendecke1-14/+48
(This used to be commit c8ed4129767d53ba6b7a084ca43b3e22e847ffec)
2007-10-10r19448: Convert delete_share_security to struct share_params plus some cleanupsVolker Lendecke1-13/+15
(This used to be commit c73d0815a3a1f58b951caa62fac601a8f4630894)
2007-10-10r19292: Avoid some potential segfaults: In winreg_EnumValue all pointers are ↵Volker Lendecke1-9/+21
unique pointers and can thus be independently NULL. Thanks, Volker (This used to be commit d48ac0726a931a7200c47a87f771b74826ab9c96)
2007-10-10r19224: Add setting the rng_fault_state to the already converted pipes.Volker Lendecke6-146/+596
Convert the low-hanging fruit of the LSA server. This provides a sample how the server calls can be converted one by one, see the "proxy_lsa_call" function. Volker (This used to be commit 99e54a213ad3561ea6e8dc44c483847c18c5681e)
2007-10-10r19220: Check if a backend has set rng_fault_state and send a dce-level ↵Volker Lendecke1-0/+7
fault pdu. Volker (This used to be commit 21c08e7ef460ae7eaf1f441e8aadcfe0502fa1ad)
2007-10-10r19156: Make enumprinters use the share iterators.Volker Lendecke1-25/+29
Volker (This used to be commit 9b1759617ce7841a78d9f792254a9e4fa814858f)
2007-10-10r19154: Trivial logic simplification: Get rid of two indentation levels. ↵Volker Lendecke1-32/+51
Survives the consistency checks just checked into Samba4. Volker (This used to be commit c48bb4b37b32fac9d01d243290532641d3701ec7)
2007-10-10r19058: Implement "user cannot change password", and complete "user must changeJim McDonough2-13/+107
password at next logon" code. The "password last set time" of zero now means "user must change password", because that's how windows seems to use it. The "can change" and "must change" times are now calculated based on the "last set" time and policies. We use the "can change" field now to indicate that a user cannot change a password by putting MAX_TIME_T in it (so long as "last set" time isn't zero). Based on this, we set the password-can-change bit in the faked secdesc. (This used to be commit 21abbeaee9b7f7cff1d34d048463c30cda44a2e3)
2007-10-10r19028: Implement getprinterinfo level 6 (only the status) and get rid of ↵Volker Lendecke1-80/+214
snum in the getprinter calls. Survives the RPC-SAMBA3-SPOOLSS test which I will activate when the Samba4 build farm has picked it up. Volker (This used to be commit d7248b6cfa4d6e639d92afdd092136d900d90e19)
2007-10-10r18962: * Add IDL for SaveKey() and RestoreKey() and regeneratedGerald Carter1-42/+34
* Tested RegSaveKey() using win32 app. Apparently this code has been brokne for a really long time. (This used to be commit 5381dcbde34206462562bdfc7639f488820a5a64)
2007-10-10r18954: Fix segv in QueryValue and Enumvalue. regedit.exe nowGerald Carter1-2/+2
is happy again when creating keys and values (This used to be commit 6e9e9f8facbdd694041709e1fc6a8f824ac8c119)
2007-10-10r18940: Fix a few memory corruption bugs to make CreateKey() and DeleteKey() ↵Gerald Carter1-4/+10
work (This used to be commit e7e3e35c1def29430dc69d3311d5779575659ec5)
2007-10-10r18934: fix a segv in CreateKey()Gerald Carter1-1/+3
(This used to be commit 92f22f67ede2ae8c23ee86021a5709d2e27d1dec)
2007-10-10r18932: In RegEnumvalue() and RegQueryValue(), the output bufferGerald Carter1-0/+4
size must match the real value of the data. (This used to be commit e11108024a049f6a62d6c170296ee9877200a0c0)
2007-10-10r18931: * Fix the IDL for QueryInfoKey. teh Classname in anGerald Carter1-23/+27
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-10r18929: * Clarify QueryValue IDL and regenerate codeGerald Carter1-14/+17
* Fix server _winreg_Query_Value() implementation so that usrmgr.exe starts now (This used to be commit 435d7bfc37f430c462fcb53bf3a82fcddc809771)
2007-10-10r18898: Fix for bug #4100 from Udo Eberhardt <udo.eberhardt@thesycon.de>.Jeremy Allison1-0/+3
Ensure we initialize values for smb_io_notify_info_data_strings to fix crash. Jeremy. (This used to be commit ceefb8dd3ca67449d5afbf556e9879abb37830ac)
2007-10-10r18888: Fix a 64-bit warningVolker Lendecke1-1/+2
(This used to be commit 94b53f2f2abf7be003aebdb586b154dfda56d120)
2007-10-10r18823: Fix some errors in the srsvc handling code and start running the ↵Jelmer Vernooij1-4/+8
RPC-SRVSVC test against samba3. (This used to be commit f0508ecb44f13e9e9e521e2534889e98a31d2372)
2007-10-10r18804: resume_hnd isn't a ref pointer and can be NULLStefan Metzmacher1-1/+3
metze (This used to be commit 8736262342611d432d529812bc1f647b8d6cf625)
2007-10-10r18802: Use the pidl-generated code for the srvsvc interface, both client ↵Jelmer Vernooij3-1251/+666
and server code. This has had some basic testing. I'll do more during the next couple of days and hopefully also make RPC-SRVSVC from Samba4 pass against it. (This used to be commit ef10672399c4b82700dc431b4d93431ffdd42d98)