summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2002-09-04DeletePrinterDriver[Ex]() fixes from APP_HEADGerald Carter1-24/+113
(This used to be commit 04874134ed83847988bad5fcad3463395dc283fb)
2002-09-02usrmgr expects unicode as ProductType.Volker Lendecke1-3/+11
This looks a bit like a hack ;-) Volker (This used to be commit f673eac06ab4af97a4d28427f7444696402ae680)
2002-08-30Add a fix for 'query_disp_info level 2', which should return all machines inAndrew Bartlett1-19/+21
the DC's SAM. We were only returning workstations, not PDCs or BDCs. Win2k's 'Computer Manager' tool uses this to list all computers in the domain (as opposed to using NetBIOS). Andrew Bartlett (This used to be commit 004090edffef6cc04c286b9924b8c47ea3260ef2)
2002-08-30fix up print portion of registry. Merge from APP_HEAD.Gerald Carter1-1/+1
(This used to be commit ec37633548ed329c05b93499f75883d987b78f1e)
2002-08-30merge of phant0m key fix from APP_HEADGerald Carter1-59/+32
(This used to be commit cb13d334a53f27713665570d85607d57eb407f9f)
2002-08-30Removed some misleading comment.Volker Lendecke1-2/+0
Volker (This used to be commit 70cf2f1e2f0187c546a0193824ab85a416c5236c)
2002-08-29Move samr_make_sam_obj_sd to lib/util_seaccess.c. samtest now compiles andJelmer Vernooij1-40/+0
links successfully! (This used to be commit 0ea4bcb6b772a0d95d20f7c1a2a0c08a0ba9e466)
2002-08-28add proto for forward referenceHerb Lewis1-0/+1
(This used to be commit 7573fd1746dfe5034deb51a6d205e15af6ff81de)
2002-08-28Put in intermediate version of new SAM system. It's not stable yet, codeJelmer Vernooij1-3/+1
might be ugly, etc - please don't blame me for anything but instead try to fix the code :-). Compiling of the new sam system can be enabled with the configure option --with-sam Removing passdb/passgrp.c as it's unused fix typo in utils/testparm.c (This used to be commit 4b7de5ee236c043e6169f137992baf09a95c6f2c)
2002-08-26merge from APP_HEADGerald Carter1-1/+1
(This used to be commit ebe89453b63467c87263c24f4380544fef1124a6)
2002-08-26merge from APP_HEADGerald Carter1-35/+60
(This used to be commit 4689e7ea5e55e22e1e4293c91ba69fee53436143)
2002-08-22fix registry editor API for printing backend after I changedGerald Carter1-3/+1
the NT_PRINTER_PARAM to a REGISTRY_VALUE (This used to be commit 8d510abe125e15a8d71c58a13d170dc3d6371368)
2002-08-22Fix compile warnings.Tim Potter1-3/+0
(This used to be commit e84f47a234d31e98b0dc28c51f3ec337458e48d1)
2002-08-22get the access check in addform() correct this time.Gerald Carter1-111/+94
Needed to modify OpenPrinter() to store the access granted to on the print server handle as well. (This used to be commit 08b3f9688c6c3c83ad8949e6346d8fab5e563df4)
2002-08-21addform fix from SAMBA_2_2Gerald Carter1-17/+29
(This used to be commit db286e66ec4788b40e279fd230b2013f311e44ec)
2002-08-20segfault fixes merged from APP_HEADGerald Carter1-32/+42
(This used to be commit cd9ee27d89a5cd489efac2029c22797ec9c383ca)
2002-08-20Based orginally by work by Kai, this patch moves our NT_TOKEN generation intoAndrew Bartlett2-19/+22
our authenticaion code - removing some of the duplication from the current code. This also gets us *much* closer to supporting a real SAM backend, becouse the SAM can give us the right info then. This also changes our service.c code, so that we do a VUID (rather than uid) cache on the connection struct, and do full NT ACL/NT_TOKEN checks (or cached equivilant) on every packet, for the same r or rw mode the whole share was open for. Andrew Bartlett (This used to be commit d8122cee059fc7098bfa7e42e638a9958b3ac902)
2002-08-19add support for the "value,OID" format described in MSDN.Gerald Carter1-1/+31
I've not seen this on a real network, but we support it now :-) (This used to be commit 1ed6f68f6f29e1a62b12764ec5e84de8351efbd3)
2002-08-19added wrapper for delete_printer_data() that write the printer out to disk.Gerald Carter1-7/+15
(This used to be commit 113d960d77fc9e3671a448d093237ced25c2e18c)
2002-08-19change notify fix left out of merge by APP_HEAD by accidentGerald Carter1-1/+2
(This used to be commit a413ff8b494e63b42fab213f12b44df6a5f0c34c)
2002-08-18* Fix DeletePrinterDataEx() to work with arbitrary registry keysGerald Carter1-29/+72
* Fix delete_all_printer_data() to accept a key name for partial tree deletions * Fix EnumPrinterKey() to work with subkeys * Fix DeletePrinterKey() to work with ful or partial registry trees * Fix get_printer_subkeys() to return a list of unique keynames ( some were getting added twice due to subkeys names ) * fix a couple of typos for good measure (This used to be commit b6ceb8c2e50b7fcdc614a3b6782db05b60689a85)
2002-08-18fix to allow EnumPrinterKey() to enumerate multiple levels of subkeys.Gerald Carter1-51/+36
Works on the top level. Needs more testing for levels > 1. (This used to be commit 32a7083843f2bf9a3f32027189dbb0ff92927cd4)
2002-08-18* small formatting fixesGerald Carter1-57/+79
* Fix EnumPrinterKey() to enumerate all printer keys ( this will break if we have more than one level deep of printer keys ) (This used to be commit e72184ce13a5645dc1e1a137468207270ed20ed6)
2002-08-18fixed up a few commentsGerald Carter1-64/+2
removed now unused getprinterdata)printer() function (This used to be commit 2d5e4cdc3a4128c6747350d8f66b783218045ce2)
2002-08-18* fix Get/SetPrinterDataEx() to work with printer key otherGerald Carter1-119/+217
than SPOOL_PRINTERDATA_KEY * created an internal set/get_printer_dataex() call for reuse in Set/GetPrinterData() (This used to be commit 4eb8ffba032971cf83a0fcec7ca3730b4ded0bf0)
2002-08-17* the printing code should now be back to the working state it wasGerald Carter1-18/+38
before the swap from NT_PRINTER_PARAM to REGISTRY_VALUE. * XxxPrinterDataEx() functions have not been expanded to support keys other than SPOOL_PRINTERDATA_KEY yet * fixed apparent long standing bug regarding the dependentfiles list in the DRIVER_INFO struct (This used to be commit d59b0eb1236cf5bb9371030a94eb60d4131c15fb)
2002-08-17fix seg fault in _spoolss_enumprinterkey after changes...Gerald Carter1-19/+29
add SPOOL_PNPDATA_KEY define (This used to be commit cdaa3f55e1fcc38b1d7a63d502a9fea3b92bf193)
2002-08-16Return access granted in create_user2.Tim Potter1-3/+1
(This used to be commit 8ebc295f4a487993474390e0686d2aa9313be8d1)
2002-08-16fix small bug in enumprinterdataex due to my changes (still more lurkingGerald Carter1-1/+3
though). (This used to be commit 2feb89601fc45dea13fe45a55a9c058726a5de84)
2002-08-16Fairly large change to printing code.Gerald Carter1-466/+244
* removed support for PHANTOM_DEVMODE printer data * s/NT_PRINTER_PARAM/REGISTRY_VALUE/g - This was a good bit of work. Everything seems stable, but is not complete. * support for printer data keys other than PrinterDriverData in the store and fetch routines. Still needs to be plugged into the XxxPrinterDataEx() calls. Tested against NT4.0 & 2k. Like I said, it's not done, but doesn't crash so it shouldn't upset anyone (unless you're trying to build a Samba printer server off of HEAD). More work to come. Should settle by Monday. jerry (This used to be commit 7ba7c04c0e961618c82c2112b9627af114c6cc42)
2002-08-16Return the error if get_group_domain_entries() fails.Andrew Bartlett1-1/+3
(This used to be commit bc9e9e3e2e0d861f34de26a9ef8b627a86c9954d)
2002-08-15Rename unknown_0 field in create_user2 reply in the actual struct.Tim Potter1-1/+4
(This used to be commit 482d873c26bf02e27ffcd92042b476eda765a5ff)
2002-08-08printing change notification merge from APPLIANCE_HEADGerald Carter1-109/+171
(This used to be commit 11ddfd9cfa550dcd3186c8aaf0cc038ce7f1791f)
2002-08-08Merge of incomplete rffpcnex testing code from APPLIANCE_HEAD.Tim Potter2-0/+84
(This used to be commit fe43c2ac2d2e1dd3b3a25c807d4dd379c5ac4960)
2002-08-06Add SAMR 0x3e, which is samr_connect4. Seems to be the same as ourJim McDonough2-7/+93
existing connect (which I've been told is really connect2), with one extra dword. We've only seen 0x00000002 there... (This used to be commit 266344634944dff30f56453f9d86c490e7ac7a55)
2002-07-30Add LSA RPC 0x2E, lsa_query_info2. Only level implemented is 0x0c, whichJim McDonough2-3/+131
is netbios and dns domain info. Also add code to set/fetch the domain GUID from secrets.tdb (although set is not yet called by anyone). (This used to be commit 31d7168530ccce2c5e9e7f96464b47f4d9771a25)
2002-07-29add another registry rpc (opnum 0x14). Have no idea what it's real nameGerald Carter2-0/+50
is. I'm calling it REG_SAVE_KEY, because 2k preps a regedt32.exe Registry->Save Key with this call. Done in the process of tracking down a PrinterDriverData issue. (This used to be commit 66104a361424f10cc986c597b91afa6f12b3cd8a)
2002-07-29couple of minor formatting fixes to help me see better.Gerald Carter1-2/+5
(This used to be commit 26027ee42ae378eef59a8ae46f5e4e44bf2d4af0)
2002-07-29merge from SAMBA_2_2Gerald Carter1-7/+13
(This used to be commit c268ae460e7e6fe25b6ac1583ea6d2f233c27d0f)
2002-07-28Fix a missing 'no memory' return in last night's svrsvc code, and useAndrew Bartlett1-1/+1
sys_dup2() in a couple more places. Andrew Bartlett (This used to be commit e69b476626c802b1e1920f241733d0dd6d06a06e)
2002-07-27A very long time ago (actually 6 months ago) I promised to commit this codeAndrew Bartlett2-87/+338
to the Samba tree. Originally written by Nigel Williams" <nigel@veritas.com>, I've been trying to keep it in some form of shape for the last 6 months. In particular I think some of the code got committed a few months ago, and others have made changes to the CVS version over time. anyway, its finally in - and doesn't appear to have broken anything. Now to try the client-side patches :-) Andrew Bartlett (This used to be commit f9bac7c5c2c4ddf0bf39d596a7b922fbb17c6b16)
2002-07-263 things:Gerald Carter1-5/+10
* normalize all registry key strings before storing or looking up paths in the registry tdb * return the current buffer size for REG_INFO even when not returning actual data * fix a segfault report by metze on #samba-technical so that the user/group object picker works again (was the "ProductType" key lookup that was failing). (This used to be commit 5640e6cdb213502d95fff33e06eaeed5ce3aeb76)
2002-07-26Mimir has been busy with patches again, and sent in the followingAndrew Bartlett1-3/+1
patches: Andrew Bartlett From his e-mail: Below I attach the following patches as a result of my work on trusted domains support: 1) srv_samr_nt.c.diff This fixes a bug which caused to return null string as the first entry of enumerated accounts list (no matter what entry, it was always null string and rid) and possibly spoiled further names, depeding on their length. I found that while testing my 'net rpc trustdom list' against nt servers and samba server. 2) libsmb.diff Now, fallback to anonymous connection works correctly. 3) smbpasswd.c.diff Just a little fix which actually allows one to create a trusting domain account using smbpasswd 4) typos.diff As the name suggests, it's just a few typos fix :) (This used to be commit 888d595fab4f6b28318b743f47378cb7ca35d479)
2002-07-24* fix return code so we don't let a client just open any key it wantsGerald Carter1-1/+1
(even nonexistent ones). This gets rid of the Scheduling Agent icon. * fix NT_STATUS return code for bad registry path (NT_STATUS_NO_SUCH_FILE) (This used to be commit 915ee5c0ec0467fea23be8f309bcaa085c6ed9dd)
2002-07-24done! printer_info_2, devicemode, sec_desc, & printer data all enumerateGerald Carter1-1/+1
and display correctly in regedit.exe. Not sure about REG_SZ values in PrinterDriverData. If we store these in UNICODE, I'll have to fix up a few things. REG_BINARY & REG_DWORD are fine. (This used to be commit 2a30c243ec28734bbc721dfc01b743faa6f73788)
2002-07-24several changes in this checkinGerald Carter2-64/+119
* added REG_OPEN_HKCR for supporting regedit.exe * All data n a REGISTRY_VALUE is stored to a pointer now * fixed REG_INFO to correctly display data when double clicking on and entry in the registry editor * Will now enumerate installed driver_info_3 data * fixed numerous bugs related to pointer offsets, memory issues, etc.. in the registry routines * added a simple caching mechanism to fetch_reg_[keys|values]_specific() All that is left now is to enumerate PrinterData and I will have finished what I started out to do.... (This used to be commit 419d7208e8384e4ad2c4dd328ad5e630971bc76c)
2002-07-23implemented getgrouplist() for systems that don't have it and use itAndrew Tridgell1-33/+29
in get_alias_user_groups(). The old method used getgrent() which is extremely slow when the number of groups is large (This used to be commit 44e92b6523ca2c119c2562df22eb71138dca9d9d)
2002-07-23* changed structure of REG_R_ENUM_VALUE structure since the BUFFER2Gerald Carter2-3/+72
is not and [in/out] buffer * registry value enumeration is working now for the Print\Forms key. The format of the binary data is not quite right yet but all installed forms are listed (This used to be commit 998eb9c7312c3c9a9ed1e9ec294593503c0304bf)
2002-07-22Sync with APPLIANCE_HEAD branch (whitespace, const only)Tim Potter1-2/+0
(This used to be commit 11229aa88b60d820ba714f2c793fe6932ec67a6b)
2002-07-22Merge from APPLIANCE_HEAD.Tim Potter1-9/+9
(This used to be commit 825cdc49dbc3e6b9d08b8e722c82cc09e2479fa1)