summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
1997-03-15JHT ===> Blasted typos. BROWSER_ELECT_VERSION in smb.h should have beenSamba Release Account1-1/+1
BROWSER_ELECTION_VERSION. (This used to be commit 377bfdecfcf618322004bfdcbdf9e520c0ebe8b5)
1997-03-15JHT ===> Moved MAJOR_VERSION and MINOR_VERSION defines to smb.hSamba Release Account1-1/+9
Made version info consistent in ipc.c and nameannounce.c Added define for BROWSER_ELECTION_VALUE and BROWSER_CONSTANT (see do_announce_host() in nameannounce.c). Sniffing with the latest bloodhound I found that the byte range occupied by the BROWSER_ELECTION_VALUE is interpreted depending on the type of announcement being made. In a Local_Master_Announcement it is BROWSER_ELECTION_VALUE but in both Workgroup_Announcement and Host_Announcement this is seen as Comment_String_Pointer. What does this mean? We need to know? (This used to be commit 86b0018cc7e246910a9a621b2bf379f782506a08)
1997-03-12added code that checks whether the DOMAIN<1b> name is claimed on theSamba Release Account1-1/+2
local subnet _before_ going and registering it. the reason for this is that i don't want to cause chaos by registering the name twice. it's ok to register DOMAIN<1b> with the WINS server, because the WINS server's job is to check a) _if_ there's a current owner of the name b) if the current owner exists c) if the current owner still wants the name. if they don't, the WINS server responds by saying, 'yes, you can have it'. lkcl (This used to be commit 0d51899b59204b99d5aeb9542c8adfff42167fec)
1997-03-091) updated ipc.c NetUserGetInfo - load \\%L\%U instead of \\%L\HOMESSamba Release Account3-13/+57
because the share must be browseable by a w95 client 2) send_mailslot_reply - unique or group datagram argument added. 3) netlogon.c - rewrote response packet to do the right thing for w95. 4) server.c reply_nt1() - added OEMDomainstring to the end. 5) (deep breath) reworked the nmbd-browsing code a little bit. i discovered two months ago that becoming a primary domain controller (and domain master browser) is done independently of becoming a backup domain controller (logon server) is done independently of becoming a local master browser. therefore, three sets of state-machines (instead of just one) are in place - each of which is responsible for taking samba through the required stages to become: a logon server; a domain master browser; and a local master browser. each of these three things can occur independently on each interface, _including_ the wins pseudo-interface. the only slight caveat is that the wins pseudo-interface, by virtue of _not_ being a broadcast interface, does _not_ register as a local master browser with the wins server, as this doesn't make sense. lkcl (This used to be commit 88c6a00c3c1b430307f512986185b5ed7aea7181)
1997-02-23JHT ===> Set to 1.9.16p12alpha until someone thinks it's Beta prime time.Samba Release Account1-1/+1
To be set to 1.9.16p12 just before release. (This used to be commit 09d81adb9ef365003b1d9a8b5629a2a83fc27665)
1997-02-23Makefile: Added cleandir target.Samba Release Account2-0/+7
chgpasswd.c: Added patch from Roland Haag <haag@think.de> to allow password changes to be done more than once. loadparm.c: Added entries for the "directory mode/directory mask parameters". Changed default file mode to 644. proto.h: Added sys_gethostbyname. server.c: Added directory mode changes. system.c: Added sys_gethostbyname. trans2.c: Added NT_FILE_ATTRIBUTE_NORMAL patch from Roger Orr <rorr@csfp.csfb.com> trans2.h: Defined NT_FILE_ATTRIBUTE_NORMAL for above patch. util.c: Changes calls to gethostbyname to sys_gethostbyname. jra@cygnus.com (This used to be commit d8d8a7ee00971fca7a8d079bfb547af107df35a4)
1997-02-22JHT ===> Updated SV_TYPE defines in smb.h (added WIN95 entry)Samba Release Account2-1/+2
nameserv.h returned to original state. (This used to be commit e313de4619dcfde53db49ca4f7d6f78603504040)
1997-02-13Fixed inclusion of crypt.h bug when libdes is being used on SolarisSamba Release Account1-1/+3
only. jra@cygnus.com (This used to be commit c189ef38455653334b8414f30d0aeaa3ecefa202)
1997-02-11Replaced YOST code with more functionally equivalent code thatSamba Release Account1-1/+1
changes a bit less. Also added fix to tricky reply_mv case. jra@cygnus.com (This used to be commit f22ac13b1423186d463c9fc5b3588a3dcbd7bc1c)
1997-02-04JHT ===> **** WARNING **** Only updated version to 1.9.16p11Samba Release Account1-1/+1
so I can test RedHat RPM builds. (This used to be commit fa1dff05d4a01be84638b4427ddc0e26b9c6166d)
1997-02-03Fixed const definitions for StrCaseXXX calls.Samba Release Account1-2/+2
jra@cygnus.com (This used to be commit cbb59639659476054571d4bd18b5df55b0e11a2e)
1997-02-02util.c: StrCaseCmp and StrnCaseCmp terminated incorrectly, giving falseSamba Release Account1-12/+15
answers when a string was partially identical. this issue is still outstanding, and needs to be investigated further. loadparm.c: added lp_logon_path() parameter. ipc.c: in NetUserGetInfo, lp_logon_path() can be returned instead of always specifying \\SAMBA_SERVER\HOMES (which may not necessarily exist). it is now possible to specify lp_logon_path() as \\ARBITRARY_SERVER\%U, just like NT server can. the default is \\SAMBA_SERVER\HOMES, just like it used to be. lkcl (This used to be commit d5b6ad7cb87d6b1a9342f027ac4f57ffdb54b4f3)
1997-01-29Fixed proto problem with lp_veto_files().Samba Release Account1-1/+1
Jeremy (This used to be commit c43d192a361000f306622a28584cc87490070d48)
1997-01-15locking.c proto.h shmem.c smb.h status.c :Samba Release Account2-14/+14
Changed shm_ prefixes to smb_shm_ prefixes as shm_ is a POSIX.4 prefix. Updated fd code in FAST_SHARE_MODE code to work with new fd indirection. quotas.c: Fixed #ifdef not on position zero. Jeremy. (jra@cygnus.com). (This used to be commit c9a9d56642cc34369a42f48a28116e466240d303)
1997-01-13Added an extra parameter for unix_convert. If present this is theSamba Release Account1-1/+1
last component of the modified pathname before modification. This is needed due to an exceptional condition in reply_mv when the filesystem is case preserving, but not case sensitive and the user wants to change the case of a filename. Code for this is also added to reply.c Jeremy (jra@cygnus.com). (This used to be commit cdafa35f9dba6eb0073700e3a214348c432a3e84)
1997-01-09Makefile: Changes to split Solaris into Solaris2.3 and previous, and 2.4 and ↵Samba Release Account6-14/+75
after from Paul Eggert. Makefile: Added AMIGA changes from Rask Ingemann Lambertsen <rask@k4315.kampsax.dtu.dk>. charset.c: Patch for Western European Languages from Josef Hinteregger <joehtg@joehtg.co.at> charset.h: Patch for Western European Languages from Josef Hinteregger <joehtg@joehtg.co.at> clitar.c: Patch to re-sync after read fail from (lost contributor name, sorry). includes.h: Patch for AMIGA from Rask Ingemann Lambertsen <rask@k4315.kampsax.dtu.dk> includes.h: Patch for SunOS atexit by Jeremy (jra@cygnus.com) interface.c: Patch for AMIGA from Rask Ingemann Lambertsen <rask@k4315.kampsax.dtu.dk> kanji.h: Patch for Western European Languages from Josef Hinteregger <joehtg@joehtg.co.at> locking.c: Patch to fix file locking from Jeremy (jra@cygnus.com) locking.c: Patch to add granularity of lock files to usec by Jeremy (jra@cygnus.com) pipes.c: Patch to fix file locking from Jeremy (jra@cygnus.com) proto.h: Patch to fix file locking from Jeremy (jra@cygnus.com) reply.c: Patch to fix file locking from Jeremy (jra@cygnus.com) server.c: Patch to fix file locking from Jeremy (jra@cygnus.com) server.c: Patch for FAST_SHARE_MODE fix from (lost contributor name, sorry). smb.h: Patch to fix file locking from Jeremy (jra@cygnus.com) smb.h: Patch to add granularity of lock files to usec by Jeremy (jra@cygnus.com) status.c: Patch to fix file locking from Jeremy (jra@cygnus.com) statuc.c: Patch to add granularity of lock files to usec by Jeremy (jra@cygnus.com) system.c: Patch for Western European Languages from Josef Hinteregger <joehtg@joehtg.co.at> trans2.c: Patch to fix file locking from Jeremy (jra@cygnus.com) trans2.c: Patch to fix volume name reported to Win95 from Jeremy (jra@cygnus.com) util.c: Patch for Western European Languages from Josef Hinteregger <joehtg@joehtg.co.at> util.c: Patch to fix client_name from continuously returning UNKNOWN (from various contributors). version.h: Update to 1.9.16p10. (This used to be commit 03d28fa32eb094affa33133ebe2602fdb70f6361)
1997-01-02JHT => Modified for RedHat Linux for DEC Alpha platform includes.Samba Release Account1-0/+3
(This used to be commit 40fa8d4be629ccffa93ba7d969f2684907a058fa)
1996-12-10Added veto calls.Samba Release Account1-0/+3
jra@cygnus.com (This used to be commit 8167becd333dc0fd4327e4c3f29e4d4fd1302bdb)
1996-12-10Added in changes for FreeBsd.Samba Release Account1-1/+10
jra@cygnus.com (This used to be commit 074d28fcb61045891191b007b19a099301a94d16)
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-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-25debugging the dns lookup changesSamba Release Account1-4/+2
lkcl (This used to be commit 3f63dd6771ee1c4cd30049478ea053caefdc262f)
1996-10-24dealing with name queries and dns lookups etc.Samba Release Account1-6/+2
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 Tridgell2-0/+5
- 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-23preparing for release of 1.9.16p8Samba Release Account1-1/+1
(This used to be commit 09588edfec5ea29728a0166aaa109562cf3f1eca)
1996-10-11preparing for release of 1.9.16p7Samba Release Account1-1/+1
(This used to be commit 998f8bae7234b39fa9aefcaa09795183911ec866)
1996-10-09preparing for release of 1.9.16p6Samba Release Account1-1/+1
(This used to be commit fca0c5dc8e65e2f64a4b93a231603c4e2d091b2c)
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 Tridgell1-1/+1
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- changed the default nmbd loop timout to 10 seconds (2 seconds was muchAndrew Tridgell2-11/+11
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-05- use waitpid for ultrixAndrew Tridgell1-0/+1
- don't use wait4 (This used to be commit 2aa612d676e634a892fdc50349f5b72732f0e91f)
1996-10-05I have fixed quite a few important bugs in this commit.Andrew Tridgell2-9/+5
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 Tridgell2-0/+7
- 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 Tridgell2-1/+5
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-02backout all the changes to nmbd.Andrew Tridgell3-139/+98
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 Tridgell3-101/+156
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-08-24removed all of lukes recent changes. I need to do a p2 release butSamba Release Account3-125/+284
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-23- fixed bugs in nmb response packet checking.Samba Release Account2-283/+124
- 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-22preparing for release of 1.9.16Samba Release Account1-1/+1
(This used to be commit 7e26006cc38594373d6baee41d3e20c30babe9c0)
1996-08-22- add timeouts to connect() for password server connections. ThisAndrew Tridgell2-1/+6
makes multiple password servers practical. (This used to be commit 5c3e8326cc45d3cbd076475e445ce461a2bf7560)
1996-08-21preparing for release of 1.9.16alpha26Samba Release Account1-1/+1
(This used to be commit 03aaf9a705d190ac040aca82ffcd37d58b9b5bc3)
1996-08-21- fix a bug handling readraw packets that caused the timeout to be 30Andrew Tridgell1-6/+2
milliseconds instead of 30 seconds as was intended. Thanks to Paul Nelson for finding this bug. (This used to be commit 78f62c83be5df6b66aa0b5e83b2d290f97ce53c2)
1996-08-21preparing for release of 1.9.16alpha25Samba Release Account1-1/+1
(This used to be commit eece931f6753b1a6506c67657c3c24459c7cab1e)
1996-08-21preparing for release of 1.9.16alpha24Samba Release Account1-1/+1
(This used to be commit feca8d27ec8c63d7daa8e7e9cf13594c55086e28)
1996-08-21- new handling of ST_TYPE bits, they are now consolidated much more inAndrew Tridgell2-0/+7
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. (This used to be commit eb84f2f342375439d94481a0ccf47c9593544e32)
1996-08-20preparing for release of 1.9.16alpha23Samba Release Account1-1/+1
(This used to be commit 50eb07559f750c458dcdf04a4068cd19c40a757d)