summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r18794: Make ENumKey() work again in the registry serverGerald Carter1-2/+4
(This used to be commit 7ead5ac79203a15dc1d9d7982446eafbb1f9eefd)
2007-10-10r18792: small fix for server QueryValue codeGerald Carter1-2/+1
(This used to be commit b11558c2320d8da8fee0fb8398729f9005021384)
2007-10-10r18790: Correct the IDL (still a bug in pidl) for QueryValue()Gerald Carter1-1/+3
(This used to be commit 44851d7afa3112278faea41b470cc5d3cad97cb5)
2007-10-10r18789: Replace the winreg server code with the libndr parsing code.Gerald Carter4-799/+369
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-10r18756: cleanup copyrights after moving to new wkssvc implementation codeGerald Carter1-4/+3
(This used to be commit 18b24e0fe94449b4a3e662f75b233d9c5f622d06)
2007-10-10r18754: Get rid of some more invalid time setsJim McDonough1-48/+0
(This used to be commit 3840d3785f1d61885aa7c83675a3e19673eb4b2a)
2007-10-10r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij2-18/+18
descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it. (This used to be commit b41c52b9db5fc4a553b20a7a5a051a4afced9366)
2007-10-10r18742: this function returns WERRORStefan Metzmacher1-3/+3
gix the build on RedHat 7.0 metze (This used to be commit d6f5a0cc7a7833f36288ec6201da6b4422b22c97)
2007-10-10r18739: * Get the wkssvc patch right this time.Gerald Carter2-100/+301
* 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-10r18730: readd missing files (one more)Gerald Carter1-0/+78
(This used to be commit 8e0b801c8be3f040a2a928e0b966279741a5d303)
2007-10-10r18728: revert previous commit until I fix the wkssvc_nt.c changesGerald Carter1-294/+22
(This used to be commit 57d8519185008602fab5cf5d1d1951415aacb7f0)
2007-10-10r18725: Replace out one wkssvc call (wkssrv_GetInfo()) with autogeneratedGerald Carter2-100/+294
code. Removed first rpc_parse/*.c file. w00t! (This used to be commit bb9b7a058d72569bee5683856661ac063c281c9f)
2007-10-10r18724: Fixup time(0) -> time(NULL)Jim McDonough1-2/+2
(This used to be commit 6b17af0769ab0d04ec01cc83ed6e7fad822b00b1)
2007-10-10r18722: Fix up password change times. The can change and must change times areJim McDonough1-40/+20
calculated based on the last change time, policies, and acb flags. Next step will be to not bother storing them. Right now I'm just trying to get them reported correctly. (This used to be commit fd5761c9e52cbf8f1f7e45e71693598b27ecbf57)
2007-10-10r18680: Fix last struct uuids (in uncommented code).Günther Deschner1-3/+3
Guenther (This used to be commit 41c79ee5accb13f73d1f65b303d723ca2ff49933)
2007-10-10r18654: Rename "struct uuid" => "struct GUID" for consistency.Jelmer Vernooij2-3/+3
(This used to be commit 5de76767e857e9d159ea46e2ded612ccd6d6bf19)
2007-10-10r18621: Fix samr server build.Günther Deschner1-1/+1
Guenther (This used to be commit 23d6656427d0f7184f5365f6cb9356b15186b30e)
2007-10-10r18572: Use the autogenerated client and server for the echo interface and ↵Jelmer Vernooij3-167/+73
implement some of the missing functions. RPC-ECHO now passes against Samba3. (This used to be commit 9e9a05366176454cc1779acc6c2b6070743f5939)
2007-10-10r18526: Use generated server for unixinfo RPC interface.Jelmer Vernooij2-235/+44
(This used to be commit a5c0606d7667506fdc64776e32d4b3508195a199)
2007-10-10r18487: Add NULL checksJelmer Vernooij1-0/+8
(This used to be commit 3df11307f8ca05e4f7182522d835911f0768e9eb)
2007-10-10r18481: Use pidl-generated server side code for dfs.Jelmer Vernooij2-732/+77
(This used to be commit 3f337c104d42321595161d0283b39357df252a8e)
2007-10-10r18429: fix a regression renaming local group introduced by trying to handle ↵Gerald Carter1-0/+2
renames to the same name (This used to be commit 4faa5004fb7e5814bf8a97cfe8d0b443f0acdb8d)
2007-10-10r18413: Based on the new torture test I added in samba4 it turns outSimo Sorce1-1/+18
the flags determines what kind of share is this. I suppose 0x80000000 means something like (legacy) as it will fail for any share name longer then 13 chars (same size accepted for old RAP calls that come from pre NT OSs. Jerry, let me know if you want me to commit this to 3_0_23 Simo. (This used to be commit f09f8b2d820b10679f3e9cf80749da0a35f5ce6a)
2007-10-10r18404: * swap from POLICY_HND to the struct policy_handle from ndr/misc.hGerald Carter3-13/+12
* move OUR_HANDLE macro to include/rpc_misc.h (This used to be commit 2b37079af2f569df7a58878150a61980c6fe06ee)
2007-10-10r18390: give a better error codeStefan Metzmacher1-1/+1
metze (This used to be commit b2709f4fe529e89fcabfa3fc2ff27e09a192b3b6)
2007-10-10r18271: Big change:Gerald Carter2-8/+8
* 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 3da9f80c28b1e75ef6d46d38fbb81ade6b9fa951)
2007-10-10r18188: merge 3.0-libndr branchJelmer Vernooij3-37/+29
(This used to be commit 1115745caed3093c25d6be01ffee21819fb0a675)
2007-10-10r17872: Fix possible null deref found by the Stanford checker.Jeremy Allison1-1/+3
Jeremy. (This used to be commit ac06fc42cb9b1e2304d44653614aeaa7c537f34b)
2007-10-10r17797: Just say "ok" when trying to rename a local group to its same name.Gerald Carter1-4/+11
(This used to be commit e6e54125003373f83e6900668ceb9981e8620776)
2007-10-10r17554: CleanupVolker Lendecke2-4/+4
(This used to be commit 761cbd52f0cff6b864c506ec03c94039b6101ef9)
2007-10-10r17468: To minimize the diff later on, pre-commit some changes ↵Volker Lendecke1-3/+3
independently: Change internal mapping.c functions to return NTSTATUS instead of BOOL. Volker (This used to be commit 4ebfc30a28a6f48613098176c5acdfdafbd2941a)
2007-10-10r17463: A bit of cleanup work:Volker Lendecke1-1/+1
Remove some unused code: pdb_find_alias is not used anymore, and nobody I think has ever used the pdb_nop operations for group mapping. smbpasswd and tdb use the default ones and ldap has its own. Make the functions pdb_getgr* return NTSTATUS instead of BOOL. Nobody right now really makes use of it, but it feels wrong to throw away information so early. Volker (This used to be commit f9856f6490fe44fdba97ea86062237d8c74d4bdc)
2007-10-10r17453: Fix msdfs RPC management (this broke with the autogenerated dfs rpcs).Günther Deschner1-4/+17
* Remove "unknown" from dfs_Enum (samba4 dfs IDL updates to follow). * When encountering an unsupported infolevel the rpc server must reply with a dfs_info_0 structure and WERR_OK (observed from w2k3 when talking to nt4). Guenther (This used to be commit f9bef1f08f7d2a4c95c28329ac73e8646f033998)
2007-10-10r17451: Change pdb_getgrsid not to take a DOM_SID but a const DOM_SID * as anVolker Lendecke2-4/+4
argument. Volker (This used to be commit 873a5a1211d185fd50e7167d88cbc869f70dfd3f)
2007-10-10r17439: Fix logic error in checking TALLOC return. Spotted by Volker.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 06aea05c52ee770a2dd6465e9e2fcd0ccd8c811d)
2007-10-10r17386: fix inverted logic pointed out by Volker. When deleting a printer ↵Gerald Carter1-1/+1
return access denied if the printer still exists after the delete_printer_hook() is called (This used to be commit c05e2bdc0c068eb832035daea7962ab1a9e787b2)