summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-08-18O_NOFOLLOW does not exist on solaris 8 ??Simo Sorce1-0/+4
(This used to be commit 4280300d80d831b78ca50a0a4325b9e239a8bb63)
2002-08-18round lock timeouts in lockingX upwards to multiples of 1 second, so aAndrew Tridgell1-1/+1
half second timout rounds to 1 not 0 (This used to be commit 282a64b085162a58560175d14e7ceaef3d6cc9cc)
2002-08-18added exact timing semantics on blocking locksAndrew Tridgell2-12/+27
(This used to be commit aed32eb412cab7f6d0959f9faaaebdb320b2b6a8)
2002-08-18nicer locking timeout testAndrew Tridgell1-2/+7
(This used to be commit 2307869798c99f75d2624bb3c144e780e358a3c9)
2002-08-18improvements and bugfixSimo Sorce1-17/+71
open calls now understands flags and mode bug on read (This used to be commit 751d057713a3fa8a5a141eaed4e8401e7802cfc9)
2002-08-18A new utility to test VFS system and modulesSimo Sorce7-30/+1508
Just now it is acommandline tool like smbclient and rpcclient that is able to perform operations on the file system passing through the vfs layer It is not complete yet, some functions have simply faked up data, but module loading works yet and basic operations too. Thanks to Eric Lorimer for helping out with the initial setup. Simo. (This used to be commit 42ae5eb82657d4905bdaf247286f95599380afbb)
2002-08-18* Fix DeletePrinterDataEx() to work with arbitrary registry keysGerald Carter2-53/+173
* 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-18make the LOCK1 test randomise the time for the blocking lock testAndrew Tridgell1-1/+1
(This used to be commit 28d325227c9b7ab48a47df006204319b21f7e7f7)
2002-08-18be a bit more paranoid about not getting duplicate domain names (canAndrew Tridgell1-2/+8
happen when the LDAP call to get the flatname for the primary domain fails) (This used to be commit 8d40f34e2f5188f15f414e807d023bfea7bd8c8e)
2002-08-18fix GetPrinterDataEx() to work with registry subkeys using a depth > 1Gerald Carter2-2/+2
(This used to be commit 8799d4f7ccf3b3767c155d29f15cecd142d0db99)
2002-08-18fix to allow EnumPrinterKey() to enumerate multiple levels of subkeys.Gerald Carter3-58/+99
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 Carter2-119/+218
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-17get the error code right in case of a blocking lock timeout.Andrew Tridgell1-1/+1
(This used to be commit 01d35694ae0497ee11a7677eecc597336e6b59ca)
2002-08-17amazing! we've had a reversed comparison in our blocking lock codeAndrew Tridgell1-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. (This used to be commit 5d4df58b6d4de548d8aa0a49ec307dce7cd1515a)
2002-08-17preparing for release of 3.0-alpha19Samba Release Account1-1/+1
(This used to be commit 227472286f479bddfac7ea958b779fc4459a9e1e)
2002-08-17preparing for release of 19Samba Release Account1-1/+1
(This used to be commit be5a649ed4c06aa1ffb709f1d3ff8ed26919bf1c)
2002-08-17Update indent arguments, they're now correct.Jelmer Vernooij1-1/+1
(This used to be commit 7f2d506bab0b649f707a25dec856639b18eee625)
2002-08-17* the printing code should now be back to the working state it wasGerald Carter3-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 (This used to be commit d59b0eb1236cf5bb9371030a94eb60d4131c15fb)
2002-08-17Change which session key we negotiate. This uses the NT-based session key thatAndrew Bartlett1-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 (This used to be commit b224938e4e843288630cdc7c3c3931b241bd0e1a)
2002-08-17Quick hack to get around the inadequacy of pdb_smbpasswd. This should make theAndrew Bartlett1-1/+1
build farm happy again, and allow the 'guest account' to be added to smbpasswd. Andrew Bartlett (This used to be commit 5e5cd2874527dd9a213c4bfcf98a425c39f3f2e2)
2002-08-17Move tridge's getgrouplist() replacement function from replace.c to a newAndrew Bartlett5-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 (This used to be commit a91018dd026be3db473bb1cf1f4981295f9758e4)
2002-08-17Add const.Andrew Bartlett1-1/+1
(This used to be commit fb28abd120310a591bdf5fa1afc5521443c3d34c)
2002-08-17Add 'const'.Andrew Bartlett1-1/+1
(This used to be commit 8955f3d63a9d9e5da76331996fba42dc105737da)
2002-08-17Becouse of changes to the meaning of this feild over time, this doesn'tAndrew Bartlett2-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 (This used to be commit fc0d6e53fce1d05b16ec58c0bdc38aa8da4422c0)
2002-08-17The idea of this function is not to touch the argument, so make it const too...Andrew Bartlett1-1/+1
(This used to be commit 8a63fe45058b15c15d79e15387e908564cfe5c2d)
2002-08-17Rework the 'guest account get's RID 501' code again...Andrew Bartlett3-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 (This used to be commit 8718e5e7b2651edad15f52a4262dc745df7ad70f)
2002-08-17fix seg fault in _spoolss_enumprinterkey after changes...Gerald Carter2-19/+30
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 Carter6-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 (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-16Make the 'guest account' always have a RID of DOMAIN_USER_RID_GUEST.Andrew Bartlett1-6/+20
Andrew Bartlett (This used to be commit 4725d7d04936335cbd85bd6ac5096c50fed93671)
2002-08-16Re-add the last empty item to the NTLMSSP info list, but this time do itJim McDonough1-3/+4
with an empty string, not a NULL pointer... Also, check for security=ads before giving a kerberos spnego response. (This used to be commit 6eca417d1c29c7c18455f8290cad86fb1444e615)
2002-08-16Add some const to the 'in' paramaters for these functions.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 23f332178526877e9670515eb7c614b81fca21a9)
2002-08-16Fix segfault in the new NTLMSSP code. jmcd: can you look at this - whatAndrew Bartlett1-3/+2
exactly were you trying to do here? Andrew Bartlett (This used to be commit 81b675b54d86d196fb2035dc5d22781160518beb)
2002-08-16Merge of netbios namecache code from APPLIANCE_HEAD.Tim Potter7-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. (This used to be commit dad31483b3bd1790356ef1e40ac62624a403bce8)
2002-08-15The unused variable was actually needed. The correct fix is to moveTim Potter1-1/+1
it inside an #ifdef HAVE_ADS to avoid the warning and breaking the build. (-: (This used to be commit a8c4febdb760beb669048c2bf2bb0a0b1c5ed472)
2002-08-15Rename unknown_0 field in create_user2 reply in the actual struct.Tim Potter2-2/+5
(This used to be commit 482d873c26bf02e27ffcd92042b476eda765a5ff)
2002-08-15Rename unknown_0 field in create_user2 reply in the actual struct.Tim Potter1-30/+23
Remove 9th place leading zero from some constants. (This used to be commit 876e7b2bf45aad40282fd0ccddadf01df23d8d41)
2002-08-15Removed unused variable.Tim Potter1-1/+0
(This used to be commit 23f1b839e6287089511cd51ceed298d6a6d65a89)
2002-08-15*** empty log message ***Simo Sorce2-88/+176
(This used to be commit cb72eead70509eddaa051571f3eed3c46304b5f8)
2002-08-15Fix NTLMSSP challenge command and auth response. We can now service joinsJim McDonough2-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). (This used to be commit 1f9b3d46c7c99e84b2983220f79613b7420c5ced)
2002-08-15The unknown_0 field in a CREATE_USER2 reply is the access granted.Tim Potter1-1/+1
(This used to be commit 8bca3085836255536794444248e7ff3a2460c045)
2002-08-14added comment about a new specversion seen from client.Gerald Carter1-0/+2
Device mode size is still the same though. jerry (This used to be commit fb822e97cb832361062fbb2aa239d949cc83efed)
2002-08-14unresolved symbols fix for pam_smbpass from Steve L.Gerald Carter1-10/+3
(This used to be commit 27618a5ca271aef4d5f2f9180729c7d09a46d587)
2002-08-12Use byteorder.h macrosJim McDonough1-45/+9
(This used to be commit eb9004efc3580799063009a8298c35cbc420626f)
2002-08-12Bugfix for problem pointed out by Sean Trace <Sean.Trace@aveva.com>. We can'tJeremy Allison1-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. (This used to be commit 8403253f277299f566f2931fdec53b6e4ece376e)
2002-08-12Update secrets_fetch_domain_guid to generate and store it if it doesn't exist.Jim McDonough1-2/+11
Only does it for PDCs. (This used to be commit 3543f92c39a80c8b6eb7ca3188b87f0f15896f33)