summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison1-4/+8
works from smbclient and Windows, and I am promising to support and fix both client and server code moving forward. Still need to test the RPC admin support but I haven't changed that code. Jeremy. (This used to be commit 7a7862c01d07796ef206b255c676ad7dc2cc42fc)
2007-10-10r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes ↵Volker Lendecke1-47/+32
winbind who did not run the idle events to drop ldap connections. Volker (This used to be commit af3308ce5a21220ff4c510de356dbaa6cf9ff997)
2007-10-10r21635: Don't free talloc()'d memory. I wish people would check the callersGerald Carter1-1/+1
when changing how memory is allocated. (This used to be commit 78bf4042dd22bf063846c58729d5b64be3fce8a8)
2007-10-10r21569: Fix bug reported by Martin Zielinski <mz@seh.de>Jeremy Allison1-1/+1
where return value was incorrectly initialized. Jeremy. (This used to be commit 8d45f1f3b524031a34cfba21b677be8a09fc192c)
2007-10-10r21563: Fix a memleak: We only need dispinfo structs for "our" and for the ↵Volker Lendecke1-40/+41
builtin domain. Without this patch we leaked a DISPINFO for the (NULL) domain per samr_connect*() call. Volker (This used to be commit 4423880ff47a94074c625a4f4f81c3b516faa644)
2007-10-10r21551: Ok, this is more subtle. More tomorrow :-)Volker Lendecke1-65/+37
(This used to be commit f63189907efe857ef51ff91470ddb8d21b9a41fa)
2007-10-10r21550: make disp_info_list static to get_samr_dispinfo_by_sid(), add a ↵Volker Lendecke1-2/+18
comment :-) (This used to be commit fad2ee8aa3e99c31a0632a80b4a64dedb6e01495)
2007-10-10r21549: Only create DISP_INFO structs for domain handles, the others don't needVolker Lendecke1-35/+47
them. It just does not make sense to do a querydispinfo on an alias handle... This fixes a memleak: Every samr_connect*() call leaked a DISP_INFO for the (NULL) sid. More cleanup pending: Essentially, we only need the DISP_INFO cache for the get_global_sam_sid() domain. BUILTIN is fixed and small enough, and there are no other domains around where enumerations could happen. This also removes the explicit builtin_domain flags. I don't think this is worth it. If this makes a significant difference, then we have a *VERY* tuned RPC layer... Jeremy, please check this. If it's ok, we might want to merge it across. Volker (This used to be commit 0aceda68a825788895759e79de55b080ad3f971d)
2007-10-10r21507: Fix some "cannot access LDAP when no root" bugs.Gerald Carter1-10/+13
The two culprits were * pdb_get_account_policy() * pdb_get_group_sid() (This used to be commit 6a69caf6907fad01b13aa4358ce5c62506f98495)
2007-10-10r21462: Fix EnumValue (?)Jelmer Vernooij1-2/+2
(This used to be commit e73a418b5b0100936efb4c1133da3cfe3fcb61cd)
2007-10-10r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4.Jelmer Vernooij1-6/+6
(This used to be commit b84370513fbf790e599c33f177fb271a2a992b72)
2007-10-10r21265: Fix some valgrind errors -- not in 3_0Volker Lendecke1-6/+28
(This used to be commit b419a3407532efcd50f54c77927b3b3bb566845f)
2007-10-10r21191: Add in the POSIX open/mkdir/unlink calls.Jeremy Allison1-0/+2
Move more error code returns to NTSTATUS. Client test code to follow... See if this passes the build-farm before I add it into 3.0.25. Jeremy. (This used to be commit 83dbbdff345fa9e427c9579183f4380004bf3dd7)
2007-10-10r21164: Fix from Martin Zielinski <mz@seh.de> for EnumprinterdataEXJeremy Allison1-9/+9
on Vista. Jeremy. (This used to be commit b16707a8615e1d00839d31e7a3061fb111336691)
2007-10-10r21129: Fix from Martin Zielinski <mz@seh.de> - ensureJeremy Allison1-0/+10
the hand marshalled container size is a multiple of 4 bytes for RPC alignment. Jeremy. (This used to be commit 0e9ad2b29f1c05dc3f5d5e9659fe0557fa077d2e)
2007-10-10r21115: notify_internal.c needs to remove the table entry if a process has ↵Volker Lendecke1-1/+1
crashed. So it needs the specific error message. Make messages.c return NTSTATUS and specificially NT_STATUS_INVALID_HANDLE if sending to a non-existent process. Volker (This used to be commit 3f620d181da0c356c8ffbdb5b380ccab3645a972)
2007-10-10r21100: Add the RPC hack fix to adddriver as well as adddriverex.Jeremy Allison1-0/+9
Thanks to Martin Zielinski <mz@seh.de>. Jeremy. (This used to be commit d18a3f8b72f0f4cf0aa5b599f36ce3f4125adac3)
2007-10-10r21099: Protect ourselves from null pointer deref. This isn'tJeremy Allison1-0/+6
the correct fix for the Vista bug, but it needed as protection against invalid RPC. Thanks to Martin Zielinski <mz@seh.de> for pointing this out. Jeremy. (This used to be commit fbab8e4ba93325f68353ee345a257a5445d78e67)
2007-10-10r21064: The core of this patch isVolker Lendecke1-4/+7
void message_register(int msg_type, void (*fn)(int msg_type, struct process_id pid, - void *buf, size_t len)) + void *buf, size_t len, + void *private_data), + void *private_data) { struct dispatch_fns *dfn; So this adds a (so far unused) private pointer that is passed from message_register to the message handler. A prerequisite to implement a tiny samba4-API compatible wrapper around our messaging system. That itself is necessary for the Samba4 notify system. Yes, I know, I could import the whole Samba4 messaging system, but I want to do it step by step and I think getting notify in is more important in this step. Volker (This used to be commit c8ae60ed65dcce9660ee39c75488f2838cf9a28b)
2007-10-10r21047: Hand marshalling hack from Martin Zielinski <mz@seh.de>Jeremy Allison1-0/+9
to allow Vista to upload printer drivers (it wants level 8 which we don't support yet). Downgrade in the same way that Windows servers do. Jeremy. (This used to be commit 01c659692c3e054904f1af815cf243b8a1dde109)
2007-10-10r20876: Fix bug 4346 -- Thanks to YAMASAKI HiroyukiVolker Lendecke1-1/+1
(This used to be commit a7a66eb4eb2e518007b791457694c39dfff90705)
2007-10-10r20875: Pass DCE/RPC server call arguments as a struct rather than as ↵Jelmer Vernooij8-669/+629
separate arguments. This makes it a bit more similar to the Samba4 code. (This used to be commit 0596badb410a58e7a715e2b17bc0bef0489a2448)
2007-10-10r20844: Somewhat radical change - this may break the build (I willJeremy Allison1-2/+4
watch carefully - so I'm doing it in one transaction so I can roll back). Change check_name(), reduce_name() and dptr_create() to return NTSTATUS. This helps a lot in error path processing and especially in reduce_name() allows us to ditch the flaky and error-prone saving of errno and return errors directly. Jeremy. (This used to be commit 6133a694aa429d638320e39ffe1c49d172583ccf)
2007-10-10r20832: Remove extra pointers previously added to unique [out] pointers. ↵Jelmer Vernooij1-1/+1
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 580f2a7197b1bc9db14a643fdd112b40ef37aaef)
2007-10-10r20824: Send access to the trusted domain passwords through the pdb backend, ↵Volker Lendecke1-2/+1
so that in the next step we can store them in LDAP to be replicated across DCs. Thanks to Michael Adam <ma@sernet.de> Volker (This used to be commit 3c879745cfc39be6128b63a88ecdbfa3d9ce6c2d)
2007-10-10r20718: Sync up the filename path parsing changes from SAMBA_3_0_24.Jeremy Allison1-6/+4
The only difference between the two trees now w.r.t file serving are the changes to smbd/open.c in this branch I need to review. Jeremy. (This used to be commit f4474edf6a0c71001dbd01429ef70bafad6abd74)
2007-10-10r20546: Fix some IBM checker errorsVolker Lendecke1-0/+4
(This used to be commit 8f67efd582655e03fea746eee499f3cab6cbdb4d)
2007-10-10r20269: merge -r20264:20267 from SAMBA_3_0_24Herb Lewis1-1/+1
more no previous prototype warnings (This used to be commit 41be182f78762372ae13759ede5d2bd40a71d7f5)
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)