summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
* modified become_master() to a state-based system. becoming a masterSamba Release Account1996-07-042-3/+11
| | | | | | | | | | | | | | | | | | is now performed in stages: wait for each NetBIOS name to be successfully registered before proceeding to the next stage. tied implicit name registration and release (broadcast method) to the same piece of code as explicit method (via WINS server). created special_browser_name() function that checks __MSBROWSE__ name: this name is ignored by WINS servers apparently. fixed likely incompatibility between refresh_my_names() and add_my_names(). (netbios entries were unlikely to be refreshed). NOTE: none of these changes have been tested. at all. lkcl
* generated new proto.hAndrew Tridgell1996-07-031-168/+1
|
* fix Makefile - remove Lukes private stuff :-)Andrew Tridgell1996-07-031-11/+17
| | | | rerun proto generator
* as a result of the writing of namework.doc, namework.c has been tidied up,Samba Release Account1996-07-021-8/+15
| | | | | | | | | | | | | | | | | | | some bugs fixed / documented and some discrepancies noted down (in namework.c as well as namework.doc) namebrowse.c and namelogon.c contain functions that were inappropriately placed in namework.c. namebrowse.c contains browse sync queue management functions that were inappropriately placed in namedb.c the 'cmd_type' member of response_record has been renamed to 'state' because that more accurately reflects it purpose (not entirely. sigh). fixed a bug in nameserv.c that meant the previous version wouldn't compile. there's probably a bit more... lkcl
* updated the NetBIOS code due to some bugs found by writing the first draftSamba Release Account1996-07-011-37/+201
| | | | of the low level design docs.
* luke's first attempt at using cvsSamba Release Account1996-06-293-34/+743
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Basic doc changes to keep up to date.Samba Release Account1996-06-191-646/+0
| | | | Dan
* preparing for release of 1.9.16alpha10Samba Release Account1996-06-101-1/+1
|
* a cleanup of the receive_smb() usage, adding timeouts in some placesAndrew Tridgell1996-06-101-0/+3
| | | | | | 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
* got rid of a lot of redundent header files as we now globally generateAndrew Tridgell1996-06-102-0/+127
| | | | | prototypes automatically using "make proto". This is much less prone to error than the old method of manually adding prototypes
* moved some more locking routines to locking.c, and moved replacementAndrew Tridgell1996-06-101-17/+17
| | | | routines for broken OSes from util.c to replace.c.
* updates from Luke to rename "domains" more accurately to "subnets"Andrew Tridgell1996-06-101-4/+6
|
* preparing for release of 1.9.16alpha9Samba Release Account1996-06-081-1/+1
|
* more changes from LukeAndrew Tridgell1996-06-081-5/+9
|
* changes from LukeAndrew Tridgell1996-06-081-9/+30
|
* - added comments to byteorder.h explaining how it works.Andrew Tridgell1996-06-081-0/+64
| | | | | | | - 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
* - added predict.c, moving the routines from util.cAndrew Tridgell1996-06-071-4/+6
| | | | | | | | | | | | | | | | | | | | | | | - 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.
* preparing for release of 1.9.16alpha8Samba Release Account1996-06-061-1/+1
|
* - added interface.c and removed all the references to myip, bcast_ipAndrew Tridgell1996-06-062-10/+14
| | | | | | | | | | | | | | | 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
* preparing for release of 1.9.16alpha7Samba Release Account1996-06-061-1/+1
|
* fix a bug that meant alpha6 couldn't compile.Andrew Tridgell1996-06-061-1/+3
|
* preparing for release of 1.9.16alpha6Samba Release Account1996-06-051-1/+1
|
* - changed some debug levels in clientutil.cAndrew Tridgell1996-06-053-9/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* preparing for release of 1.9.16alpha5Samba Release Account1996-06-041-1/+1
|
* Did more integration of Lukes code ready for the first release.Andrew Tridgell1996-06-041-0/+6
| | | | | I've now got WINS registration working, and refresh working. Its looking pretty good so far, but needs lots of testing.
* a huge pile of changes :-)Andrew Tridgell1996-06-045-305/+664
| | | | | | | | 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
* - moved the uid handling to uid.cAndrew Tridgell1996-06-012-0/+3
| | | | | | - added setfsuid() support (for Linux) - started adding some of Lukes changes, just the loadparm and ipc ones so far
* preparing for release of 1.9.16alpha4Samba Release Account1996-05-311-1/+1
|
* Lots of changes!Andrew Tridgell1996-05-313-32/+5
| | | | | | | | | | | | | - 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
* preparing for release of 1.9.16alpha3Samba Release Account1996-05-291-1/+1
|
* fixed version number (again!)Andrew Tridgell1996-05-051-1/+1
|
* turn on KEEP_PASSWORD_SERVER_OPEN by defaultAndrew Tridgell1996-05-051-0/+3
|
* change version number to 1.9.16p2Andrew Tridgell1996-05-051-1/+1
|
* added sequent fixesSamba Release Account1996-05-041-2/+26
|
* upped version numberSamba Release Account1996-05-041-1/+1
|
* added issafe() define for "safe" charactersSamba Release Account1996-05-041-0/+4
|
* Initial version imported to CVS Samba Release Account1996-05-0411-0/+3089