summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_srvsvc_nt.c
AgeCommit message (Collapse)AuthorFilesLines
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-10r19963: Add 'registry shares = yes' and registry key security descriptors.Volker Lendecke1-0/+1
(This used to be commit 6cab254c49e07b11c170511ec613f0f33914c3e6)
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-10r19224: Add setting the rng_fault_state to the already converted pipes.Volker Lendecke1-0/+35
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-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 Vernooij1-630/+665
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-10r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij1-5/+5
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-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-10r17872: Fix possible null deref found by the Stanford checker.Jeremy Allison1-1/+3
Jeremy. (This used to be commit ac06fc42cb9b1e2304d44653614aeaa7c537f34b)
2007-10-10r17346: Add optimisation vl needs for the cluster code whereJeremy Allison1-1/+1
we don't get the chainlock when getting the byte range lock record read-only. Jeremy. (This used to be commit fcd798ca0c1b76adb2bcda4a99c40c7aacb0addb)
2007-10-10r17293: After the results from the cluster tests in Germany,Jeremy Allison1-9/+0
fix the messaging code to call the efficient calls : save_re_uid() set_effective_uid(0); messaging_op restore_re_uid(); instead of using heavyweight become_root()/unbecome_root() pairs around all messaging code. Fixup the messaging code to ensure sec_init() is called (only once) so that non-root processes still work when sending messages. This is a lighter weight solution to become_root()/unbecome_root() (which swaps all the supplemental groups) and should be more efficient. I will migrate all server code over to using this (a similar technique should be used in the passdb backend where needed). Jeremy. (This used to be commit 4ace291278d9a44f5c577bdd3b282c1231e543df)
2007-10-10r17177: Get rid of a global variable by adding a private data pointer toVolker Lendecke1-8/+9
share_mode_forall(). Volker (This used to be commit f97f6cedffdc4d10afcac90a163b93a801acf514)
2007-10-10r17097: Move share_access_check from rpc_server/srv_srvsvc_nt.c to ↵Volker Lendecke1-31/+0
lib/sharesec.c (This used to be commit 220dd4333032aea238066e3fbec9fca51ed16ddf)
2007-10-10r17096: Simplify share_access_check a bit: It takes the sharename instead of ↵Volker Lendecke1-15/+9
the snum, and the decision which token to use (conn or vuser) does not really belong here, it is better done in the two places where this is called. Volker (This used to be commit 0a138888adf7a0f04a38cd911e797e1a379e908b)
2007-10-10r17039: Eliminate snum from enumshares and getshareinfo. Get rid of some ↵Volker Lendecke1-124/+155
pstrings. Volker (This used to be commit c5e393d5eda4e13a844171d9ff319d1f1bac3d84)
2007-10-10r17033: Restructure init_srv_share_info_ctr so that there's only one loop, ↵Volker Lendecke1-185/+119
not a dozen or so. Next step will be to eliminate the explicit snum reference. Volker (This used to be commit 6e98f8d6c6cc126b0d27ac574c128be96e50abf3)
2007-10-10r17032: I thought I had already merged this from trunk:Volker Lendecke1-4/+5
> r16959 | vlendec | 2006-07-11 23:10:44 +0200 (Di, 11 Jul 2006) | 1 line > > get_share_security does not need snum, activate RPC-SAMBA3-SRVSVC Volker (This used to be commit c89471e15766fcdbfa4f40701e12c19f95c2d8ef)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-171/+349
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16301: Fix a memleakVolker Lendecke1-0/+2
(This used to be commit 21aaede518503e6722ba5ccfdb2c77007d12ddee)
2007-10-10r13316: Let the carnage begin....Gerald Carter1-201/+7
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2007-10-10r13293: Rather a big patch I'm afraid, but this should fix bug #3347Jeremy Allison1-9/+9
by saving the UNIX token used to set a delete on close flag, and using it when doing the delete. libsmbsharemodes.so still needs updating to cope with this change. Samba4 torture tests to follow. Jeremy. (This used to be commit 23f16cbc2e8cde97c486831e26bcafd4ab4a9654)
2007-10-10r13086: hooking max connections into 'add share' as well (although the WinXP ↵Gerald Carter1-6/+13
UI doesn't give you a way to set the value on add (This used to be commit e6afdf1df568921c82ce85fdce9456674c3a9a75)
2007-10-10r13085: hook the max connections spin box in the share properties MMC pluginGerald Carter1-10/+16
dialog to the 'max connections' smb.conf parameter. Also added the max uses int from the SHARE_INFO_2 structure to the 'modify share command' (This used to be commit af68748baae6d2e5ef850c16622d5424fd303ee7)
2007-10-10r13082: revert an accidentally commited patch (still in progress)Gerald Carter1-11/+8
(This used to be commit e43775fb3156bf29e4e412f01ad2d731aa866323)
2007-10-10r13081: correct fix for the segv in nmbd caused by a double free on namerec.Gerald Carter1-8/+11
(This used to be commit c908dbc4b260bac72cbc6d25f4728359a6ec8259)
2007-10-10r12916: use rpcstr_pull() instead of unistr_to_ascii() when validating share ↵Gerald Carter1-7/+3
names (This used to be commit c08bc30698eac2f3f5dd8257b4fd7c3e23e6de39)
2007-10-10r12224: adding more characters to the invalid share name stringGerald Carter1-1/+1
(This used to be commit e461143639889da78cd4de47df40ac59a5a758a4)
2007-10-10r12177: last of outstanding patches in my queue to deal with MMC.Gerald Carter1-5/+41
Validate the share name and fail when trying to creating a share with bad characters. (This used to be commit 174fe494f9cbec3386ed687007e137fa7064373d)
2007-10-10r11936: Fix bug in returning remote time found by Thomas Bork <tombork@web.de>.Jeremy Allison1-1/+4
get_time_zone() was overwriting static buffer returned by gmtime(). Lars - this is a mandatory fix for the next patch... Jeremy. (This used to be commit 68d03a7a74738ce62e7531127aa4533147217e6d)
2007-10-10r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison1-3/+3
of the Samba4 timezone handling code back into Samba3. Gets rid of "kludge-gmt" and removes the effectiveness of the parameter "time offset" (I can add this back in very easily if needed) - it's no longer being looked at. I'm hoping this will fix the problems people have been having with DST transitions. I'll start comprehensive testing tomorrow, but for now all modifications are done. Splits time get/set functions into srv_XXX and cli_XXX as they need to look at different timezone offsets. Get rid of much of the "efficiency" cruft that was added to Samba back in the day when the C library timezone handling functions were slow. Jeremy. (This used to be commit 414303bc0272f207046b471a0364fa296b67c1f8)
2007-10-10r11054: patch from Brian Moran; fix error code return in ↵Gerald Carter1-18/+5
_srv_net_name_validate() (This used to be commit b4e78520ccb8c896a52e3f3e7a52e19e3b2c33bf)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-2/+3
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r9780: Clean up a bunch of compiler warnings.James Peach1-3/+0
(This used to be commit 623d2e69319ffead31a780a4d6156dae45f386d7)
2007-10-10r8573: Fix set but not used warning in srvsvc server-side code.Tim Potter1-2/+2
Another bugzilla (#2891) from Jason Mader. (This used to be commit ae6b4df7fed2516c5236755f75300ec0d95c35b3)
2007-10-10r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the tortureJeremy Allison1-17/+18
tests on this as it's very late NY time (just wanted to get this work into the tree). I'll test this over the weekend.... Jerry - in looking at the difference between the two trees there seem to be some printing/ntprinting.c and registry changes we might want to examine to try keep in sync. Jeremy. (This used to be commit c7fe18761e2c753afbffd3a78abff46472a9b8eb)
2007-10-10r8019: Better give a hint that we are failing share-manipulation due to missingGünther Deschner1-2/+6
scripts. Guenther (This used to be commit 1f17b4f45e966cba83f6ad48e5017cbaa5b58bdf)
2007-10-10r7606: add WERR_NET_NAME_NOT_FOUND. This is what windows returns whenGünther Deschner1-1/+1
trying to manipulate non-existing shares. Guenther (This used to be commit 2e5cb531ab8a8babbc425b22d17a39c18f602d4f)
2007-10-10r6942: * merging the registry changes back to the 3.0 treeGerald Carter1-5/+17
* removing the testprns tool (This used to be commit 81ffb0dbbbd244623507880c323a3c37e2b8dc4d)
2007-10-10r6263: Get rid of generate_wellknown_sids, they are const static and ↵Volker Lendecke1-1/+0
initializable statically. Volker (This used to be commit 3493d9f383567d286e69c0e60c0708ed400a04d9)
2007-10-10r6225: get rid of warnings from my compiler about nested externsHerb Lewis1-3/+3
(This used to be commit efea76ac71412f8622cd233912309e91b9ea52da)
2007-10-10r6037: little cleanup of unused vars and unnecessary codepathsGerald Carter1-12/+7
(This used to be commit 167f7d3caa84e612cf3af0095536734dc7c3ad29)
2007-10-10r6034: Check only onceSimo Sorce1-1/+3
(This used to be commit 5a4274371cdbbd278d8aaa922f3e5f51a3cb5aec)
2007-10-10r6016: Give access only to root and Domain UsersSimo Sorce1-11/+23
(This used to be commit d3557ed4b7c4d58a50cc6041c06cc4eff5ef659a)
2007-10-10r6009: Add privillage check for SE_DISK_OP (is this the right privilage?)Jeremy Allison1-3/+15
before allowing users to shut down any sessions. Simo - please check security before allowing state changes. Please review this change. Jeremy. (This used to be commit 51beba71d4d5d3d259e567b65b1694d862814fe9)
2007-10-10r6004: Let's make server manager able to kill a user session.Simo Sorce1-0/+43
This will send a shutdown command to the right process by pid read from the sessions list. (This used to be commit 5d3d025db757f7d48f241142a60a93214f2b47ea)
2007-10-10r4856: after testing a simple add printer script, i realized that you still ↵Gerald Carter1-12/+12
have to be root to send the message to all smbds that the config file has been updated (This used to be commit 6409de1a1ef34bb41c3efeebfabdf13be5e08613)