summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1996-06-29luke's first attempt at using cvsSamba Release Account14-605/+2320
accidentally updated the Makefile updated the name database structure (again!). this time, there is one name database per local interface. there is also a pseudo-interface on ip 255.255.255.255. its purpose is to store WINS name entries. all the local interface name databases store SELF names only. the WINS name database stores non-special browser names. added wins.dat file: records WINS entries in ascii format. this is reloaded when nmbd restarts. added repeating code for response packets. timer is in seconds only at the moment. updated the response queue code to deal with samba registering with a WINS server a bit better (added more cases when a response isn't received). tidied up the response packet processing code and expire_response_queue() code. added cross references between response received and await-response expired code. added over-zealous code that checks all machines that register with samba as a WINS server (every 10 minutes i think): to see whether they are still alive or not (see rfc1001.txt) bug reported by terry@ren.pc.athabascau.ca: DNSFAILed names _stay_ as DNSFAIL, even though the machine may come back up and REGISTER. removed update_from_reg() function. it's not necessary, and it does too much. added code that announces on each local interface samba's ttl as zero and servertype as zero when nmbd is kill -TERMed first attempt at putting the first functionality of samba browsing back in (remote subnets should have samba appear in a workgroup specified through the lmhosts file) lots of other miscellaneous tidying up / chopping about. (This used to be commit 7e8c60cfe54060860e5ce20b1c3b8ec6aa5c54da)
1996-06-19Basic doc changes to keep up to date.Samba Release Account3-648/+8
Dan (This used to be commit 6d81d56f929e763bcf6b1f7a61aabaf884c4aad4)
1996-06-19 - deleted reduntant blank line at end of file (JHT)Samba Release Account1-1/+0
(This used to be commit 7960522e18bb34cba4fbc6ef0d68485d484c9cad)
1996-06-19- change date as a demo for johnAndrew Tridgell2-34/+32
- modified plp printing parser to work on my system (This used to be commit 9408f91e1b9a2482af96afe9df08e0a5fba60cdb)
1996-06-17Added source filename to give crude indexSamba Release Account1-0/+9
Dan 17 June 1996 (This used to be commit 5a72a6c8dfe3a0898db514c35a9d704c3627c41d)
1996-06-12demo of cvs - ignoreAndrew Tridgell1-1/+1
(This used to be commit 1a30ade78e31c5ffa889eedc998771b1bb98c246)
1996-06-10minor patch to allow host announcements to remote subnetsAndrew Tridgell3-59/+57
(This used to be commit e264a670e917102cfdbfce9ae76fbc4d548ddae4)
1996-06-10preparing for release of 1.9.16alpha10Samba Release Account1-1/+1
(This used to be commit a82ffca73e490f0fb9dbad43783ab55ac317a460)
1996-06-10a cleanup of the receive_smb() usage, adding timeouts in some placesAndrew Tridgell7-24/+43
also added paranoid code in the main process() loop of smbd to detect when smbd is looping uselessly. This should stop the "smbd is chewing lots of cpu" reports (This used to be commit 8e9dce34d50d673cb50531f0c4c7672ce2522cef)
1996-06-10got rid of a lot of redundent header files as we now globally generateAndrew Tridgell47-419/+175
prototypes automatically using "make proto". This is much less prone to error than the old method of manually adding prototypes (This used to be commit b551dc98f7cc194a5fc2e67a4ebae7fd67a01bbc)
1996-06-10moved some more locking routines to locking.c, and moved replacementAndrew Tridgell4-444/+470
routines for broken OSes from util.c to replace.c. (This used to be commit 3ee9d45426a9b3b584d1ffb9f81af26790a83b4c)
1996-06-10updates from Luke to rename "domains" more accurately to "subnets"Andrew Tridgell7-102/+104
(This used to be commit 0a044c25abc363d8b202ff5d148259d624b92ea7)
1996-06-08preparing for release of 1.9.16alpha9Samba Release Account1-1/+1
(This used to be commit 32053cfa78fee6b549742ec1f6d240781b162a72)
1996-06-08more changes from LukeAndrew Tridgell4-161/+170
(This used to be commit df44f10d7492679dabe3b998e7bacfebbc49ea5e)
1996-06-08changes from LukeAndrew Tridgell4-25/+69
(This used to be commit 5269aa277c635cfda65a27fd1b2e587ac181e1c3)
1996-06-08moved MSBROWSE into nameserv.hAndrew Tridgell1-4/+3
(This used to be commit 90fa15c45f1859306dc3ceb47bb0bb3452490227)
1996-06-08patches fromk Luke putting in symbolic names for time constantsAndrew Tridgell1-10/+7
(This used to be commit 79849b829314e5caf4f0f5b95e4a8a0c2c223f90)
1996-06-08- added comments to byteorder.h explaining how it works.Andrew Tridgell5-19/+163
- fixed problem with installscripts if srcdir is not set - fixed ptr init bug in interface.c - changed default lookup type in nmblookup to match nbtstat under NT - new quotas fixes for sunos and solaris (This used to be commit e775576f026d282473256aeac6fef65a85acd98e)
1996-06-07- added predict.c, moving the routines from util.cAndrew Tridgell12-155/+220
- added iface_count() and iface_n_ip() routines so its easy to loop over the local interface list - made readsize a normal loadparm global - check for null w in add_domain_entry() - set the deathtime to time()-1 for doamin entries with servertype==0 This allows servers that are shutting down to be removed - add the 0x1c name at startup if we are a WINS server. Previously we added it only if we were a master - loop over interfaces in add_my_domains(), so people don't have to have a lmhosts file to get lp_workgroup() on all interfaces - set add to True for find_workgroupstruct() in nmbsync, and check for null return - remove some ugly "errno = EBADF" bits. they just confused things. (This used to be commit 88b191b48836eeb7937f25b37d0bdd4a2276e5a7)
1996-06-06preparing for release of 1.9.16alpha8Samba Release Account1-1/+1
(This used to be commit 5a0d016b2432da9299d92b33d723534d91c8dcf4)
1996-06-06- added interface.c and removed all the references to myip, bcast_ipAndrew Tridgell22-698/+836
and Netmask, instead replacing them with calls to routines in interface.c - got rid of old MAXINT define - added code to ensure we only return one entry for each name in the ipc enum routines - added new_only option to add_netbios_entry() to prevent overwriting of important names - minor time handling fixup (This used to be commit 7ed71b73ae745da099072eee36fc2700d1d91407)
1996-06-06preparing for release of 1.9.16alpha7Samba Release Account1-1/+1
(This used to be commit dfb7fa3ae405f4e23f3cc9e4bbe93029981c99dc)
1996-06-06fix a bug that meant alpha6 couldn't compile.Andrew Tridgell2-2/+4
(This used to be commit 07288091c322fdb9f63889e84cfc57fa6cb5f613)
1996-06-06add sunos private makefile to .ignoreAndrew Tridgell1-0/+1
(This used to be commit 60a8a9c006f16186320fb13109128db35595523c)
1996-06-05preparing for release of 1.9.16alpha6Samba Release Account1-1/+1
(This used to be commit ee330d60458c8f056b32dc3aa54a54ce6643186b)
1996-06-05- remove some incorrect prototypes from server.cAndrew Tridgell3-70/+45
- formatting cleanup in check_master_browser() - removed unused code from nameserv.c (This used to be commit ed3ef2e47d5039077993c6addaf44dce2bb1e780)
1996-06-05- changed some debug levels in clientutil.cAndrew Tridgell14-380/+368
- added dir_check_ftype() to clean up the file type checking a bit - added check for libc version >= 5 for setfsuid() for Linux - moved the AM_MASTER() and related macros to nameserv.h - added proper defines for the various netbios announce types - don't call the announce_backup() code, as I'm pretty sure its wrong it sent ANN_GetBackupListReq packets as broadcasts, they are supposed to be used only by clients to the master browser to find a list of available backup servers to remote a netserverenum to, I don't think nmbd should ever send one. - fixed a bug in the browse list writing - minor debug cleanups - put in the code to discard our own broadcasts (it won't work for multi-homed hosts though) - changed ELECTION_VERSION to 1 so we can be beaten by a NT 3.51 server by lowering the os level. - only do sync_browse_lists() if we are the master browser, otherwise we'll cause network overload - don't call tell_become_backup() as it appears to be badly broken, it should only be used when the machine being told has its MAINTAIN_LIST to to auto. Not calling it does no great harm anyway - fix a nasty bug where becomebackup was confused with reset browser! - make setbuffer() not get caught by the auto protototypes (This used to be commit cfbad9b08242962f41595273de08a7293fe432b1)
1996-06-04preparing for release of 1.9.16alpha5Samba Release Account1-1/+1
(This used to be commit f5c493192eb744c8cd015a828b5fba311bee0093)
1996-06-04Did more integration of Lukes code ready for the first release.Andrew Tridgell14-2119/+2139
I've now got WINS registration working, and refresh working. Its looking pretty good so far, but needs lots of testing. (This used to be commit 045014aa57721b9701ca379bcab055b908773184)
1996-06-04add dummy quotas fnAndrew Tridgell3-37/+39
fix typo in reply to backup lists (This used to be commit bc4a2994377ab078d3d1a900f79fda9dfe4d0e6a)
1996-06-04a huge pile of changes :-)Andrew Tridgell44-3812/+7393
The biggest thing is the integration of Lukes new nmbd. Its still largely untested, so we will really need some feedback I've also added auto prototype generation and cleaned up a lot of minor things as a result (This used to be commit 0d8dcfa13c527ec2c8aca39ba49c09e4e694b26c)
1996-06-01- moved the uid handling to uid.cAndrew Tridgell9-435/+549
- added setfsuid() support (for Linux) - started adding some of Lukes changes, just the loadparm and ipc ones so far (This used to be commit 72543810ce3eb5ea7b141f957edf38b4c46b1ea4)
1996-05-31preparing for release of 1.9.16alpha4Samba Release Account1-1/+1
(This used to be commit 8a0a06cba939e91e2379d0c5367b8817e7328077)
1996-05-31Lots of changes!Andrew Tridgell21-536/+731
- add faq info on NT printer handling - add "delete readonly" option to help rcs users - add stuff to man pages on new printer options - add "proxy name resolution" option - add "command string" -c option to smbclient (thanks Ken) - split time functions into time.c - rearrange the quotas stuff a bit and fix some bugs - complete rehash of the time handling code thanks to Paul Eggert - fix nmblookup output a bit - add plp print queue parsing from Bertrand Wallrich (This used to be commit 635b56f19c817527c52e9bbde31faa6a8a47777b)
1996-05-31add my private makefile to the ignore listAndrew Tridgell1-1/+1
(This used to be commit 3e9750cc2713da7c3d4beb24217f94c033e2fee5)
1996-05-31comment out the code that tries to handle the NT bug where the 2ndAndrew Tridgell1-0/+2
passlen is wrong. The fix is worse than the problem :-) (This used to be commit 51e22c931078e0b612dbc9e20dc143c3aebf7eb5)
1996-05-30- added an entry on WinDD to samba.faqAndrew Tridgell2-2/+29
- added a sample smb.conf from Thoralf.Freitag@remserv.rz.fhtw-berlin.de - print the errno when you get a can't change directory error - added installscripts.sh from James_K._Foote.PARC@xerox.com (This used to be commit 48c6b86d4c580d62ef46132dc04ce2b1d14e21e8)
1996-05-29remove cvs.log from cvs, instead use the release script to copy it toSamba Release Account1-757/+0
the right places (This used to be commit d5613d3bf4649564040789473579c510a15408be)
1996-05-29preparing for release of 1.9.16alpha3Samba Release Account2-1/+80
(This used to be commit 071c7690a259c76c7fd70608af22b81d0481d7de)
1996-05-29handle errors from receive_smb better, and print error stringAndrew Tridgell2-9/+9
(This used to be commit 7814eca4b22f909e75c3321d9a157c2228198c5c)
1996-05-29fixed a typoAndrew Tridgell1-1/+1
(This used to be commit 654c242045a70b600488a765eb46b6f79e484de9)
1996-05-29cleanups to make thinsg compile cleanlyAndrew Tridgell4-19/+22
(This used to be commit 39fbeb04ae938594c380d97ebe67c012fa0dd51a)
1996-05-29preparing for release of 1.9.16alpha2Samba Release Account2-0/+681
(This used to be commit 875b2dfad043a43b915bfeee12532cf8b6cb690b)
1996-05-29cleaned up the way the max log size stuff works and fixed a potentialAndrew Tridgell1-33/+50
problem with varargs usage in Debug() (This used to be commit 8d5a3156ce42198b2f3ca8753e208b08572cafce)
1996-05-05fixed version number (again!)Andrew Tridgell1-1/+1
(This used to be commit 52b5148221e57c122f0c4ed3f0b49d6d9b7fd789)
1996-05-05made dptr_num signed to handle -1 from OS/2Andrew Tridgell1-1/+1
(This used to be commit d2c5ab135ca7ee6366f5f8733440318a724a4378)
1996-05-05- added hostname support to smbstatusAndrew Tridgell1-3/+7
- fix a bug where -s would not be recognised (This used to be commit 03744dc0cd49a54b4dd30645a2b77007c9d19bdc)
1996-05-05- fix a bug hanlding very log filenamesAndrew Tridgell1-247/+7
- move quotas support to separate file - send keepalives to password server (This used to be commit f81295c7b4346759ac522ba610438a68204f1858)
1996-05-05move quotas support out of server.cAndrew Tridgell1-0/+330
(This used to be commit 1ed5645a5d150de4e5e788c2389aa3cbe70a8faf)
1996-05-05turn on KEEP_PASSWORD_SERVER_OPEN by defaultAndrew Tridgell2-2/+5
(This used to be commit d2676cdd0b44fc4fc825118e510bac2c3f1e40d9)