summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1996-11-06increased debug levels for name dump to same as that for workgroup dumpSamba Release Account1-7/+7
in log files. really verbose listings ought only to be shown at debug log level 5 and above. lkcl (This used to be commit 6f0a4d71787cf64468cdba0b2f82288c71b1499b)
1996-11-06queries for 0x1b names were resulting in dns lookups. not good.Samba Release Account1-2/+2
lkcl (This used to be commit 992ca1f32bd2bcb88bf85a71524b5643f63b322e)
1996-11-06nmblookup was looking for 0x1b (domain master browser) not 0x1d (localSamba Release Account1-1/+1
master browser) names with the -M switch. lkcl (This used to be commit f27a9ccc972432a8a49dc0f0290751971d5699cd)
1996-11-03allowed packets coming in from 'unexpected' subnets.Samba Release Account1-1/+0
lkcl (This used to be commit 2e727071c2856de4793352df4affdf4bb984f04e)
1996-10-27removed getdomainname() stuff and appending a '.' to the name inSamba Release Account1-21/+1
dns_name_search(). lkcl (This used to be commit adf5a42c21cd73ee0eaf05030e01788908fbb8a5)
1996-10-27severe debugging session for nmbd. in fact, i'm surprised that browsingSamba Release Account7-122/+126
in 1.9.16 works at all! question and resource record types for queries and response netbios packets sorted out properly (see rfc1002.txt 4.2.1.3). receipt of browser announcement packets were playing up lkcl (This used to be commit b289db62f1a53f1a68ea48dbfa59720cc778d39c)
1996-10-25Changed become_user to take a vuid as second arg.Samba Release Account1-7/+7
Consistent with other changes to make smb_uid an index+offset into the validated_users table. jra@cygnus.com (This used to be commit 89675f8ae8f136fb587690b137f4413607d30c14)
1996-10-25Added definitions for vuid offset and invalid user smb_uid.Samba Release Account1-2/+11
Added vuid to connections struct. jra@cygnus.com (This used to be commit 555f6cda319559ebcb0b566f7f4042cf6a734e01)
1996-10-25Modified all references to smb_uid to be vuid's.Samba Release Account1-6/+7
jra@cygnus.com (This used to be commit 5056672a3ad579fa900411534d7548a6fabc729f)
1996-10-25Modified all references to uid to vuid.Samba Release Account1-26/+29
jra@cygnus.com (This used to be commit a2b07e5562dda87b42d9447c0b29a7815bd3178d)
1996-10-25Changed prototypes for accesses into validated_users structure.Samba Release Account1-8/+8
Ensured all smb_uid accesses are uint16's. jra@cygnus.com (This used to be commit b5e2d87179d0cd347da6feedb9ed9f3605f5a6c3)
1996-10-25Core of the changes for returning smb_uid's. smb_uid's are nowSamba Release Account1-60/+57
returned as an index plus offset into the valudated_users table. The offset (100) is added so that an smb_uid of zero becomes an invalid value. All access into the validated_users table are done by removing the offset and indexing into the table. Out of ranges return NULL. Causes accesses into the validated_users table to be more consistant and controlled. This change made due to the fact that the uid field is only 16 bits in the smb header and we need for this not to be a unix user id (which can ge 32 bits). jra@cygnus.com (This used to be commit ac265eff85a043e139b259e400fbbc444a94c97c)
1996-10-25Changed definitions of prototypes to take uint16 vuid's notSamba Release Account1-69/+69
int uid's. Part of the change for Samba to return an index+offset into the registered users table rather than a raw unix uid. Added casts to required prototypes for function pointers in tables. jra@cygnus.com (This used to be commit ec2a3a1cf2220f6aace004d1808352f8e62a5616)
1996-10-25debugging the dns lookup changesSamba Release Account3-11/+28
lkcl (This used to be commit 3f63dd6771ee1c4cd30049478ea053caefdc262f)
1996-10-25debugged dns lookup / netbios name query code from yesterday.Samba Release Account2-50/+30
lkcl (This used to be commit 7c2f1da3773bac59ba0aeea7c0cac1134a74381c)
1996-10-24dealing with name queries and dns lookups etc.Samba Release Account3-53/+48
lkcl (This used to be commit 98cb371244fcb048ad13514140a4ea7243b2b039)
1996-10-24preparing for release of 1.9.16p9Samba Release Account1-1/+1
(This used to be commit 526e597d3c7c3b05bb7a8584457ee0731c494ed8)
1996-10-24- added support for TMPDIR env variableAndrew Tridgell12-17/+43
- fixed fault.c for linux 2.1 - put back in the FIND_SELF failing code - cleaned up casts in encryption (This used to be commit 3af04f1580b2569c0a4f2549bf6352c7a25afa0d)
1996-10-23Jeremy <jra@cygnus.com>Samba Release Account1-1/+1
Removed AS_USER requirement for SMBulogoff. A valid TID (cnum) is not given for this call, which become_user needs if it is not to return an error. This fixes a specific case with NT4.0 which stops users attaching to a Samba server using a different account to the one they are logged in under. (This used to be commit c65a2cdd830bcda396ad6a0bd51a9b80c9d26a67)
1996-10-23preparing for release of 1.9.16p8Samba Release Account1-1/+1
(This used to be commit 09588edfec5ea29728a0166aaa109562cf3f1eca)
1996-10-23wrong answer response resource record type expected, so the response packetSamba Release Account1-8/+4
was being abandoned. oops. lkcl (This used to be commit cf2ed4183be250a7a6e110fd79decbd9d234b382)
1996-10-23code was added to stop samba from replying to queries for its own names (?! :-)Samba Release Account1-7/+0
lkcl (This used to be commit 92a3d0f3e18f7e50ea24053a989fd0096264c816)
1996-10-13the response packets are being received (fix to process_nmb() worked)Samba Release Account1-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 (This used to be commit e9eb9d70e3663b53a3535f2f0a64c5bf4b2403e7)
1996-10-11preparing for release of 1.9.16p7Samba Release Account1-1/+1
(This used to be commit 998f8bae7234b39fa9aefcaa09795183911ec866)
1996-10-11netbios registration and release response packets were being junked. aSamba Release Account1-9/+14
BAD idea. lkcl (This used to be commit b790455aca91a5443df1010deafa9080b6348ca3)
1996-10-11- set default printer driver string to "NULL"Andrew Tridgell3-8/+7
- fixed debug levels for name status parsing (This used to be commit f2c5f1eab1f3de7a9ae2b7ec4770a5c455dc04e4)
1996-10-09preparing for release of 1.9.16p6Samba Release Account1-1/+1
(This used to be commit fca0c5dc8e65e2f64a4b93a231603c4e2d091b2c)
1996-10-09- correctly handle non-encrypted share mode session-setup. We wereAndrew Tridgell1-3/+7
losing the username due to the recent "handle broken password lengths" patch. (This used to be commit b006cd6f911c045488bcdab260b03fd98cb08145)
1996-10-07preparing for release of 1.9.16p5Samba Release Account1-1/+1
(This used to be commit 952918bdd5fa05453dfa78f911c8d00110ab98cd)
1996-10-07- revert to old idle dir code (marty pointed out a problem with theAndrew Tridgell4-6/+11
new code) - handle server level security in the new "detect NT password length stuffups" code (This used to be commit 7c135d499409d4ddedb978f681559dae90ac4288)
1996-10-07preparing for release of 1.9.16p4Samba Release Account1-1/+1
(This used to be commit 13c3a05093ab49908f8357017051d680dbc633eb)
1996-10-07- continue when failing to load config file in nmblookup and smbclientAndrew Tridgell4-6/+11
- fix important bug in nmbd where it set the return code for a negative name response to 0 (which means success!) (This used to be commit bfa816cc8f30d9a629b4fe9f71bf0707aa6c4502)
1996-10-07- changed the default nmbd loop timout to 10 seconds (2 seconds was muchAndrew Tridgell9-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. (This used to be commit 3cd7303dbc2118db7084a6d8872403d825c52323)
1996-10-05preparing for release of 1.9.16p3Samba Release Account1-1/+1
(This used to be commit 47212791c2e71ddd57018a4bc01c2c8931d32cd8)
1996-10-05add DEBUGLEVEL to replace.cAndrew Tridgell1-0/+3
(This used to be commit b215a902062e82d0e05f48c3a7246514143af94d)
1996-10-05- use waitpid for ultrixAndrew Tridgell2-4/+1
- don't use wait4 (This used to be commit 2aa612d676e634a892fdc50349f5b72732f0e91f)
1996-10-05- replace the base36 function with one that works on more systemsAndrew Tridgell6-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 (This used to be commit 92566ecc315c29da6e9aaa67ddae33e64f5bcc67)
1996-10-05I have fixed quite a few important bugs in this commit.Andrew Tridgell12-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 (This used to be commit ea472b7217b7693627a13a7b1e428a0a6a3d8755)
1996-10-05- use workgroup from smb.conf in smbclientAndrew Tridgell9-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() (This used to be commit 61e3116e573637d6b5a878eeb8db72831e3c5bd1)
1996-10-04- changed the umask handling. We now set the umask to 0 and explicitlyAndrew Tridgell12-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 (This used to be commit 5aa735c940ccdb6acae5f28449d484181c912e49)
1996-10-02- fix the EALREADY bug so connections to slow hosts with smbclient getAndrew Tridgell2-20/+25
through - add workarounds to handle the win95 and WinNT bugs in handling password lengths in sessionsetup (This used to be commit 671b3a3a770c824ae77fcb83dc551054a880edad)
1996-10-02backout all the changes to nmbd.Andrew Tridgell29-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. (This used to be commit 45e66a69d320024877c8b13f12b21bf895e04410)
1996-10-02- a huge pile of changes from Luke which implement the browse.confAndrew Tridgell32-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! (This used to be commit 20b6203dac4bbb43e4e7bea0b214496d76d679d9)
1996-10-02- accept either NT or lanman passwords in tconXAndrew Tridgell1-10/+9
(This used to be commit b6c1c60d72e1625ca172b8f8eb07078413611468)
1996-08-24added debug infoAndrew Tridgell1-1/+1
(This used to be commit 4a988021a2aceaa5fc0d4e5ba2802392a7141ad8)
1996-08-24removed all of lukes recent changes. I need to do a p2 release butSamba Release Account23-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? (This used to be commit 8b7fe224bce64803d55ae279fa61ef3ebbbb0241)
1996-08-24fixed dircahe bugSamba Release Account1-2/+2
(This used to be commit 050f941e21aeb57ab47ac9d29fb4acfceab45087)
1996-08-23- fixed bugs in nmb response packet checking.Samba Release Account23-2414/+2863
- added multiple workgroup code - samba can register under different (unique) NetBIOS aliases, one per workgroup it joins. lkcl (This used to be commit f24e341e7e4d8726b98d3a0f83b24f61817fe536)
1996-08-22preparing for release of 1.9.16p1Samba Release Account1-1/+1
(This used to be commit 6df471f6636694bcd741b61df8615858c5445f81)
1996-08-22- fix client for pathworks 4 accessAndrew Tridgell2-3/+10
- fix "connection already connected" bug in open_socket_out() (This used to be commit fcce452557a6f5cfc46972617ed6932bb7fbeb95)