summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* fix GetPrinterDataEx() to work with registry subkeys using a depth > 1Gerald Carter2002-08-182-2/+2
|
* fix to allow EnumPrinterKey() to enumerate multiple levels of subkeys.Gerald Carter2002-08-183-58/+99
| | | | Works on the top level. Needs more testing for levels > 1.
* * small formatting fixesGerald Carter2002-08-181-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 commentsGerald Carter2002-08-181-64/+2
| | | | removed now unused getprinterdata)printer() function
* * fix Get/SetPrinterDataEx() to work with printer key otherGerald Carter2002-08-182-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 Tridgell2002-08-171-1/+1
|
* amazing! we've had a reversed comparison in our blocking lock codeAndrew Tridgell2002-08-171-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-alpha19Samba Release Account2002-08-171-1/+1
|
* preparing for release of 19Samba Release Account2002-08-171-1/+1
|
* Update indent arguments, they're now correct.Jelmer Vernooij2002-08-171-1/+1
|
* * the printing code should now be back to the working state it wasGerald Carter2002-08-173-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 thatAndrew Bartlett2002-08-171-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 theAndrew Bartlett2002-08-171-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 newAndrew Bartlett2002-08-175-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 Bartlett2002-08-171-1/+1
|
* Add 'const'.Andrew Bartlett2002-08-171-1/+1
|
* Becouse of changes to the meaning of this feild over time, this doesn'tAndrew Bartlett2002-08-172-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 Bartlett2002-08-171-1/+1
|
* Rework the 'guest account get's RID 501' code again...Andrew Bartlett2002-08-173-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 Carter2002-08-172-19/+30
| | | | add SPOOL_PNPDATA_KEY define
* Return access granted in create_user2.Tim Potter2002-08-161-3/+1
|
* fix small bug in enumprinterdataex due to my changes (still more lurkingGerald Carter2002-08-161-1/+3
| | | | though).
* Fairly large change to printing code.Gerald Carter2002-08-166-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 Bartlett2002-08-161-1/+3
|
* Make the 'guest account' always have a RID of DOMAIN_USER_RID_GUEST.Andrew Bartlett2002-08-161-6/+20
| | | | Andrew Bartlett
* Re-add the last empty item to the NTLMSSP info list, but this time do itJim McDonough2002-08-161-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 Bartlett2002-08-161-2/+2
| | | | Andrew Bartlett
* Fix segfault in the new NTLMSSP code. jmcd: can you look at this - whatAndrew Bartlett2002-08-161-3/+2
| | | | | | exactly were you trying to do here? Andrew Bartlett
* Merge of netbios namecache code from APPLIANCE_HEAD.Tim Potter2002-08-167-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 moveTim Potter2002-08-151-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 Potter2002-08-152-2/+5
|
* Rename unknown_0 field in create_user2 reply in the actual struct.Tim Potter2002-08-151-30/+23
| | | | Remove 9th place leading zero from some constants.
* Removed unused variable.Tim Potter2002-08-151-1/+0
|
* *** empty log message ***Simo Sorce2002-08-152-88/+176
|
* Fix NTLMSSP challenge command and auth response. We can now service joinsJim McDonough2002-08-152-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 Potter2002-08-151-1/+1
|
* added comment about a new specversion seen from client.Gerald Carter2002-08-141-0/+2
| | | | | | | | | Device mode size is still the same though. jerry
* unresolved symbols fix for pam_smbpass from Steve L.Gerald Carter2002-08-141-10/+3
|
* Use byteorder.h macrosJim McDonough2002-08-121-45/+9
|
* Bugfix for problem pointed out by Sean Trace <Sean.Trace@aveva.com>. We can'tJeremy Allison2002-08-121-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 McDonough2002-08-121-2/+11
| | | | Only does it for PDCs.
* Allow ADS PDC to existJim McDonough2002-08-121-2/+2
|
* Add lib/util_uuid.c to build.Jim McDonough2002-08-121-1/+1
|
* Code to generate uuids for ADS setups. Uses our random generator butJim McDonough2002-08-121-0/+108
| | | | conforms to standard OSF/DCE uuid format.
* Add lsaqueryinfo2, but keep under "lsaquery" command. It will autoselectJim McDonough2002-08-121-9/+40
| | | | | which lsaqueryinfo to do based in infoclass. Currently 12 is the only one that causes a queryinfo2.
* Add lsa 0x2e (queryinfo2) client sideJim McDonough2002-08-122-0/+99
|
* Add RESOLVE_DFSPATH to mkdir operations in HEAD.Shirish Kalele2002-08-121-0/+2
|
* Use samr connect4, then fall back to samr connect if it fails. This isJim McDonough2002-08-121-29/+46
| | | | what 2k does.
* Add client side support for samr connect4 (0x3e). Seems to have oneJim McDonough2002-08-122-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 Potter2002-08-111-0/+3
|