summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
* preparing for release of 1.9.16p8Samba Release Account1996-10-231-1/+1
|
* wrong answer response resource record type expected, so the response packetSamba Release Account1996-10-231-8/+4
| | | | | | was being abandoned. oops. lkcl
* code was added to stop samba from replying to queries for its own names (?! :-)Samba Release Account1996-10-231-7/+0
| | | | lkcl
* the response packets are being received (fix to process_nmb() worked)Samba Release Account1996-10-131-3/+3
| | | | | | | | | however dead_netbios_entry() is still thinking that no response has been received when the response_record times out for the registration with the WINS server. only print a debug message when no registration response is _really_ received from the WINS server. lkcl
* preparing for release of 1.9.16p7Samba Release Account1996-10-111-1/+1
|
* netbios registration and release response packets were being junked. aSamba Release Account1996-10-111-9/+14
| | | | | | BAD idea. lkcl
* - set default printer driver string to "NULL"Andrew Tridgell1996-10-113-8/+7
| | | | - fixed debug levels for name status parsing
* preparing for release of 1.9.16p6Samba Release Account1996-10-091-1/+1
|
* - correctly handle non-encrypted share mode session-setup. We wereAndrew Tridgell1996-10-091-3/+7
| | | | | losing the username due to the recent "handle broken password lengths" patch.
* preparing for release of 1.9.16p5Samba Release Account1996-10-071-1/+1
|
* - revert to old idle dir code (marty pointed out a problem with theAndrew Tridgell1996-10-074-6/+11
| | | | | | | new code) - handle server level security in the new "detect NT password length stuffups" code
* preparing for release of 1.9.16p4Samba Release Account1996-10-071-1/+1
|
* - continue when failing to load config file in nmblookup and smbclientAndrew Tridgell1996-10-074-6/+11
| | | | | - fix important bug in nmbd where it set the return code for a negative name response to 0 (which means success!)
* - changed the default nmbd loop timout to 10 seconds (2 seconds was muchAndrew Tridgell1996-10-079-43/+34
| | | | | | | | too short) - got rid of many unnecessary calls to time(NULL) in nmbd. They were causing it to chew too much CPU time when idle. Now we pass a time value in from the top level.
* preparing for release of 1.9.16p3Samba Release Account1996-10-051-1/+1
|
* add DEBUGLEVEL to replace.cAndrew Tridgell1996-10-051-0/+3
|
* - use waitpid for ultrixAndrew Tridgell1996-10-052-4/+1
| | | | - don't use wait4
* - replace the base36 function with one that works on more systemsAndrew Tridgell1996-10-056-20/+35
| | | | | | | | | | | (compiler bugs were the problem) - minor password cleanups (catch WfWG bug where it sets the password to a space instead of a NULL) - fix printing problem for kanji users - minor cleanups
* I have fixed quite a few important bugs in this commit.Andrew Tridgell1996-10-0512-172/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Luke, can you take special note of the bug fixes to nmbd so you can propogate them to your new code. - rewrote the code that used to use fromhost(). We now call gethostbyaddr() only if necessary and a maximum of once per connection. Calling gethostbyaddr() causes problems on some systems so avoiding it if possible is a good thing :-) - added the "fake oplocks" option. See the docs in smb.conf(5) and Speed.txt - fixed a serious bug in nmbd where it would try a DNS lookup on FIND_SELF queries. This caused a lot of unnecessary (and incorrect) DNS lookups to happen. FIND_SELF queries should only go to the internal name tables. - don't set FIND_SELF for name queries if we are a wins proxy, as we are supposed to be answering queries for other hosts. - fixed a bug in nmbd which had "if (search | FIND_LOCAL)" instead of "if (search & FIND_LOCAL)". Luke, this was in nameservreply.c - the above 3 bugs together meant that DNS queries were being cached, but the cache wasn't being used, so every query was going to DNS, no wonder nmbd has been chewing so much CPU time! Another side effect was that queries on names in lmhosts weren't being answered for bcast queries with "wins proxy" set. - ignore the maxxmit for seconday session setups (see CIFS spec) - close user opened files in a uLogoffX for user level security (see CIFS spec) - added uid into the files struct to support the above change
* - use workgroup from smb.conf in smbclientAndrew Tridgell1996-10-059-10/+39
| | | | | | | | | | | | | | | - change debug level on clitar stuff - define MAP_FILE if not defined - ensure we never set authoritative on queries in nmbd - fake a positive response to SMBioctl, apparently this is needed for some WfWg printer drivers - deny file access for non-fcbopen queries when (access_allowed == AREAD && flags == O_RDWR) - add sys_waitpid()
* - changed the umask handling. We now set the umask to 0 and explicitlyAndrew Tridgell1996-10-0412-74/+180
| | | | | | | | | | | | | | | | | | | | | | | | set the mode on all created files. I think this is a better policy. - change the debug levels on some items - fix a charset handling bug which affected foreign and extended charset users - no longer switch back to the original directory when idle, instead switch to / as the original directory may not be readable by ordinary users. - fix some bugs where the create mode of files was not being explicitly set (it was relying on the umask and using fopen). Not a big bug as it only affected obscure commands like the messaging ops. - got rid of the lock code in the lpq cache as its no longer needed - rewrote smbrun to be faster and to remove the security hole. We now don't actually need a external smbrun binary, its all done by smbd. - add a more explicit warning about uids and gids of -1 or 65535
* - fix the EALREADY bug so connections to slow hosts with smbclient getAndrew Tridgell1996-10-022-20/+25
| | | | | | | through - add workarounds to handle the win95 and WinNT bugs in handling password lengths in sessionsetup
* backout all the changes to nmbd.Andrew Tridgell1996-10-0229-2497/+2065
| | | | | The 1.9.16 tree is now back to 1.9.16p2 as far as nmbd is concerned apart from a small change that fixes the announce type in two places.
* - a huge pile of changes from Luke which implement the browse.confAndrew Tridgell1996-10-0232-2085/+2547
| | | | | | | stuff and also fix a pile of nmbd bugs. Unfortunately I found it very hard to disentangle the new features from the bug fixes so I am putting in the new code. I hope this is the last big pile of changes to the 1.9.16 series!
* - accept either NT or lanman passwords in tconXAndrew Tridgell1996-10-021-10/+9
|
* added debug infoAndrew Tridgell1996-08-241-1/+1
|
* removed all of lukes recent changes. I need to do a p2 release butSamba Release Account1996-08-2423-2515/+2415
| | | | | | | can't test the multi group changes. I also found that some of lukes changes wiped out some recent bug fixes. Is your CVS tree ok luke?
* fixed dircahe bugSamba Release Account1996-08-241-2/+2
|
* - fixed bugs in nmb response packet checking.Samba Release Account1996-08-2323-2414/+2863
| | | | | | | - added multiple workgroup code - samba can register under different (unique) NetBIOS aliases, one per workgroup it joins. lkcl
* preparing for release of 1.9.16p1Samba Release Account1996-08-221-1/+1
|
* - fix client for pathworks 4 accessAndrew Tridgell1996-08-222-3/+10
| | | | - fix "connection already connected" bug in open_socket_out()
* preparing for release of 1.9.16Samba Release Account1996-08-221-1/+1
|
* - add timeouts to connect() for password server connections. ThisAndrew Tridgell1996-08-227-15/+86
| | | | makes multiple password servers practical.
* preparing for release of 1.9.16alpha26Samba Release Account1996-08-211-1/+1
|
* - fix a bug handling readraw packets that caused the timeout to be 30Andrew Tridgell1996-08-213-8/+4
| | | | | milliseconds instead of 30 seconds as was intended. Thanks to Paul Nelson for finding this bug.
* handle sigpipe better for server securityAndrew Tridgell1996-08-211-0/+14
|
* preparing for release of 1.9.16alpha25Samba Release Account1996-08-211-1/+1
|
* fix compiler warningAndrew Tridgell1996-08-211-1/+1
|
* - bit a bit manipulation bug in find_name_search()Andrew Tridgell1996-08-213-47/+81
| | | | | | - add the * and __SAMBA__ names to all subnets - sort the name status reply list and remove duplicate entries.
* JHT ==> Upgraded Samba to Windows NT Server version 4.1Samba Release Account1996-08-211-1/+1
| | | | | | Just to keep ahead of the pack. Note: Really only done to differntiate our version ID from existing SMB Servers.
* preparing for release of 1.9.16alpha24Samba Release Account1996-08-211-1/+1
|
* - new handling of ST_TYPE bits, they are now consolidated much more inAndrew Tridgell1996-08-2110-106/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DFLT_SERVER_TYPE in nameserv.h - got rid of a lot of spurious domain controller stuff. Samba is not a domain controller yet, but it can be a domain master. We were claiming to be a domain controller in some packets which may have caused problems - don't do preferred master startups on the WINS pseudo-net - don't do election requests on the WINS pseudo-net - fix a nasty bug in become_non_master() which wiped out the bits in remove_type before using them. The result was that samba didn't like losing its master status. - changed the logic in the election packet handling to enable us to become a non-master whenever we receive a winning election frame, even if we aren't expecting it - get another packet from the socket in nmbd when we reject one of our own packets, this stops us from going into the packet reading code too often and makes nmbd much snappier - always remove a name immediately when we try to release it, don't wait for the lack of response from the network, otherwise we will end up replying to name that we don't really own. We still send the dereg packets, we just don't wait for them to time out.
* preparing for release of 1.9.16alpha23Samba Release Account1996-08-201-1/+1
|
* give names more time when refreshingAndrew Tridgell1996-08-201-0/+3
|
* preparing for release of 1.9.16alpha22Samba Release Account1996-08-201-1/+1
|
* - removed ServerComment and instead set the comment string in nmbdAndrew Tridgell1996-08-207-29/+6
| | | | using the "server string" option. This replaces the -C option to nmbd
* - add NMB_REG_REFRESH capability to initiate_netbios_packet(). I thinkAndrew Tridgell1996-08-201-3/+11
| | | | this is why SELF names were getting expired.
* - fix a bug in NetServerEnum where counted and total were not countedAndrew Tridgell1996-08-2010-148/+101
| | | | | | | | | | | | | | correctly if there were multiple instances of a name. This led to the infamous "not enough memory" error when browsing (but this isn't the only cause of that message) - fix a triple-chaining bug which affected OpenX following a TconX - fix a serious nmbd bug that meant nmdb would answer packets that it wasn't supposed to, causing havoc with browse lists. - never time out SELF packets. This is an interim fix until I find out why nmbd thought they should be timed out.
* preparing for release of 1.9.16alpha21Samba Release Account1996-08-191-1/+1
|
* fix a bug in the new chaining codeAndrew Tridgell1996-08-191-6/+10
|