Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix GetPrinterDataEx() to work with registry subkeys using a depth > 1 | Gerald Carter | 2002-08-18 | 2 | -2/+2 | |
| | ||||||
* | fix to allow EnumPrinterKey() to enumerate multiple levels of subkeys. | Gerald Carter | 2002-08-18 | 3 | -58/+99 | |
| | | | | Works on the top level. Needs more testing for levels > 1. | |||||
* | * small formatting fixes | Gerald Carter | 2002-08-18 | 1 | -57/+79 | |
| | | | | | * Fix EnumPrinterKey() to enumerate all printer keys ( this will break if we have more than one level deep of printer keys ) | |||||
* | fixed up a few comments | Gerald Carter | 2002-08-18 | 1 | -64/+2 | |
| | | | | removed now unused getprinterdata)printer() function | |||||
* | * fix Get/SetPrinterDataEx() to work with printer key other | Gerald Carter | 2002-08-18 | 2 | -119/+218 | |
| | | | | | | | than SPOOL_PRINTERDATA_KEY * created an internal set/get_printer_dataex() call for reuse in Set/GetPrinterData() | |||||
* | get the error code right in case of a blocking lock timeout. | Andrew Tridgell | 2002-08-17 | 1 | -1/+1 | |
| | ||||||
* | amazing! we've had a reversed comparison in our blocking lock code | Andrew Tridgell | 2002-08-17 | 1 | -1/+1 | |
| | | | | | | since 1998 and nobody noticed. It means that sometimes smbd would sit there forever, and smbd would never get the timing part of blocking locks right. | |||||
* | preparing for release of 3.0-alpha19 | Samba Release Account | 2002-08-17 | 1 | -1/+1 | |
| | ||||||
* | preparing for release of 19 | Samba Release Account | 2002-08-17 | 1 | -1/+1 | |
| | ||||||
* | Update indent arguments, they're now correct. | Jelmer Vernooij | 2002-08-17 | 1 | -1/+1 | |
| | ||||||
* | * the printing code should now be back to the working state it was | Gerald Carter | 2002-08-17 | 3 | -57/+58 | |
| | | | | | | | | | | 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 | |||||
* | Change which session key we negotiate. This uses the NT-based session key that | Andrew Bartlett | 2002-08-17 | 1 | -1/+1 | |
| | | | | | | | | we previously expected, rather than the LM based key. A Win2k SPNEGO enabled join goes a *lot* further with this option on. Andrew Bartlett | |||||
* | Quick hack to get around the inadequacy of pdb_smbpasswd. This should make the | Andrew Bartlett | 2002-08-17 | 1 | -1/+1 | |
| | | | | | | build farm happy again, and allow the 'guest account' to be added to smbpasswd. Andrew Bartlett | |||||
* | Move tridge's getgrouplist() replacement function from replace.c to a new | Andrew Bartlett | 2002-08-17 | 5 | -101/+176 | |
| | | | | | | | | | | 'system_smbd.c' file, where it can link with become_root() and unbecome_root(), and therefore avoiding some nasty 'it workes on linux' bugs. (The replacement function is implemented in terms of initgroups(), which is naturally only avaliable to root). Andrew Bartlett | |||||
* | Add const. | Andrew Bartlett | 2002-08-17 | 1 | -1/+1 | |
| | ||||||
* | Add 'const'. | Andrew Bartlett | 2002-08-17 | 1 | -1/+1 | |
| | ||||||
* | Becouse of changes to the meaning of this feild over time, this doesn't | Andrew Bartlett | 2002-08-17 | 2 | -22/+0 | |
| | | | | | | | | | actually work. Also, the idea of 'loopback winbind' isn't that bad an idea anyway (potential PDC/BDC applications). Given all that, remove it... Andrew Bartlett | |||||
* | The idea of this function is not to touch the argument, so make it const too... | Andrew Bartlett | 2002-08-17 | 1 | -1/+1 | |
| | ||||||
* | Rework the 'guest account get's RID 501' code again... | Andrew Bartlett | 2002-08-17 | 3 | -47/+58 | |
| | | | | | | | | | | This moves it right into the passdb subsystem, where we can do this in just one (or 2) places. Due to the fact that this code can be in a tight loop, I've had to make 'guest account' a 'const' paramater, where % macros cannot be used. In any case, if the 'guest account' varies, we are in for some nasty cases in the other code, so it's useful anyway. Andrew Bartlett | |||||
* | fix seg fault in _spoolss_enumprinterkey after changes... | Gerald Carter | 2002-08-17 | 2 | -19/+30 | |
| | | | | add SPOOL_PNPDATA_KEY define | |||||
* | Return access granted in create_user2. | Tim Potter | 2002-08-16 | 1 | -3/+1 | |
| | ||||||
* | fix small bug in enumprinterdataex due to my changes (still more lurking | Gerald Carter | 2002-08-16 | 1 | -1/+3 | |
| | | | | though). | |||||
* | Fairly large change to printing code. | Gerald Carter | 2002-08-16 | 6 | -951/+669 | |
| | | | | | | | | | | | | | | | | | | | * 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 | |||||
* | Return the error if get_group_domain_entries() fails. | Andrew Bartlett | 2002-08-16 | 1 | -1/+3 | |
| | ||||||
* | Make the 'guest account' always have a RID of DOMAIN_USER_RID_GUEST. | Andrew Bartlett | 2002-08-16 | 1 | -6/+20 | |
| | | | | Andrew Bartlett | |||||
* | Re-add the last empty item to the NTLMSSP info list, but this time do it | Jim McDonough | 2002-08-16 | 1 | -3/+4 | |
| | | | | | | with an empty string, not a NULL pointer... Also, check for security=ads before giving a kerberos spnego response. | |||||
* | Add some const to the 'in' paramaters for these functions. | Andrew Bartlett | 2002-08-16 | 1 | -2/+2 | |
| | | | | Andrew Bartlett | |||||
* | Fix segfault in the new NTLMSSP code. jmcd: can you look at this - what | Andrew Bartlett | 2002-08-16 | 1 | -3/+2 | |
| | | | | | | exactly were you trying to do here? Andrew Bartlett | |||||
* | Merge of netbios namecache code from APPLIANCE_HEAD. | Tim Potter | 2002-08-16 | 7 | -5/+299 | |
| | | | | | | | Tridge suggested a generic caching mechanism for Samba to avoid the proliferation of little cache files hanging around limpet like in the locks directory. Someone should probably implement this at some stage. | |||||
* | The unused variable was actually needed. The correct fix is to move | Tim Potter | 2002-08-15 | 1 | -1/+1 | |
| | | | | | it inside an #ifdef HAVE_ADS to avoid the warning and breaking the build. (-: | |||||
* | Rename unknown_0 field in create_user2 reply in the actual struct. | Tim Potter | 2002-08-15 | 2 | -2/+5 | |
| | ||||||
* | Rename unknown_0 field in create_user2 reply in the actual struct. | Tim Potter | 2002-08-15 | 1 | -30/+23 | |
| | | | | Remove 9th place leading zero from some constants. | |||||
* | Removed unused variable. | Tim Potter | 2002-08-15 | 1 | -1/+0 | |
| | ||||||
* | *** empty log message *** | Simo Sorce | 2002-08-15 | 2 | -88/+176 | |
| | ||||||
* | Fix NTLMSSP challenge command and auth response. We can now service joins | Jim McDonough | 2002-08-15 | 2 | -31/+98 | |
| | | | | | from win2k AND still use SPNEGO (provided you don't build with kerberos...I still have to fix that, as we are not properly falling back). | |||||
* | The unknown_0 field in a CREATE_USER2 reply is the access granted. | Tim Potter | 2002-08-15 | 1 | -1/+1 | |
| | ||||||
* | added comment about a new specversion seen from client. | Gerald Carter | 2002-08-14 | 1 | -0/+2 | |
| | | | | | | | | | Device mode size is still the same though. jerry | |||||
* | unresolved symbols fix for pam_smbpass from Steve L. | Gerald Carter | 2002-08-14 | 1 | -10/+3 | |
| | ||||||
* | Use byteorder.h macros | Jim McDonough | 2002-08-12 | 1 | -45/+9 | |
| | ||||||
* | Bugfix for problem pointed out by Sean Trace <Sean.Trace@aveva.com>. We can't | Jeremy Allison | 2002-08-12 | 1 | -10/+13 | |
| | | | | | | check for POSIX errors in the blocking lock code as we may have never made a POSIX call (could have denied lock before POSIX checked). Jeremy. | |||||
* | Update secrets_fetch_domain_guid to generate and store it if it doesn't exist. | Jim McDonough | 2002-08-12 | 1 | -2/+11 | |
| | | | | Only does it for PDCs. | |||||
* | Allow ADS PDC to exist | Jim McDonough | 2002-08-12 | 1 | -2/+2 | |
| | ||||||
* | Add lib/util_uuid.c to build. | Jim McDonough | 2002-08-12 | 1 | -1/+1 | |
| | ||||||
* | Code to generate uuids for ADS setups. Uses our random generator but | Jim McDonough | 2002-08-12 | 1 | -0/+108 | |
| | | | | conforms to standard OSF/DCE uuid format. | |||||
* | Add lsaqueryinfo2, but keep under "lsaquery" command. It will autoselect | Jim McDonough | 2002-08-12 | 1 | -9/+40 | |
| | | | | | which lsaqueryinfo to do based in infoclass. Currently 12 is the only one that causes a queryinfo2. | |||||
* | Add lsa 0x2e (queryinfo2) client side | Jim McDonough | 2002-08-12 | 2 | -0/+99 | |
| | ||||||
* | Add RESOLVE_DFSPATH to mkdir operations in HEAD. | Shirish Kalele | 2002-08-12 | 1 | -0/+2 | |
| | ||||||
* | Use samr connect4, then fall back to samr connect if it fails. This is | Jim McDonough | 2002-08-12 | 1 | -29/+46 | |
| | | | | what 2k does. | |||||
* | Add client side support for samr connect4 (0x3e). Seems to have one | Jim McDonough | 2002-08-12 | 2 | -0/+69 | |
| | | | | | additional parm compared to samr connect, but I've only seen 0x00000002 in that field... | |||||
* | Merge some usage info from APPLIANCE_HEAD. | Tim Potter | 2002-08-11 | 1 | -0/+3 | |
| |