summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
1996-08-17- started on support for 'Internet Group names' - type 0x1c NetBIOS namesSamba Release Account2-2/+15
- 0x1d name query to a WINS server should always return FAIL (see WINS server help on nt/as) (This used to be commit a7330127a261f814c56e860b6de658dbef24c33f)
1996-08-17- added support for Amiga-unix (based on BSD I think)Andrew Tridgell1-1/+0
- changed the order of PROGS and SPROGS in Makefile (SPROGS first) - another 64 bit cleanup (for INADDR_NONE) - added paranoia code in DirCacheAdd() to detect looping - fixed important DirCache flush bug - rewrote the NetServerEnum code after I found it could return servers from multiple workgroups at once, and this could cause browsing havoc. Now a null workgroup query is equivalent to a query for the servers primary workgroup - got rid of my_workgroup() - got rid of "workgroup = *" comment in Makefile. We no longer support a workgroup of *, users must set the workgroup explicitly - the wins.dat file was being stored in a different format to what it was being loaded in - this could cause havoc. fixed. - uppercase our netbios name and the workgroup name at startup - if accept fails in main loop when running as a daemon then continue, don't just exit! - don't use ./ on smbclient in smbtar - better code to detect if a process exists (This used to be commit ec3d53963064b50ff33e8eff47812aac82f164ba)
1996-08-16preparing for release of 1.9.16alpha18Samba Release Account1-1/+1
(This used to be commit 15c1c848506cdb9e8d19ee9f7c250b90b60b76da)
1996-08-16- added the "remote announce" optionAndrew Tridgell2-0/+4
- made the lp_string() code able to handle any length string - got rid of the obsolete lmhosts code, instead users should use "interfaces" and "remote announce". lmhosts now is just used as a IP to netbios name map - cleanup the inet_address() code (This used to be commit be2b67940302b2e63890cb865fe3948c2206ea91)
1996-08-16added support for the Bull Operating System (BOS)Andrew Tridgell1-0/+14
(This used to be commit 46277e64a1bcfeff3715ebca3657ef4103ac4664)
1996-08-15- added FAST_SHARE_MODES codeAndrew Tridgell3-9/+59
- added some named pipe code from Jim (This used to be commit c94866e9e44ea1eb72da06bc65ef1c032ae8e0c9)
1996-08-14changed "unsigned long" to "uint32" in several places (for IPAndrew Tridgell1-1/+1
addresses) to keep 64 bit machines happy. (This used to be commit b4aaec504ae66dc6a0f05d12529100cb62d47afd)
1996-08-14disabled SETFS (which was only enabled for Linux) until we resolve aAndrew Tridgell1-0/+3
couple of bug reports that may be caused by it. Andrew (This used to be commit 424814bed710a96d87786763b851a11ea1103026)
1996-08-13preparing for release of 1.9.16alpha17Samba Release Account1-1/+1
(This used to be commit 16f10b333da0956cc501f77777957753d7e156b2)
1996-08-13- sequent-ptx support from bressler@iftccu.ca.boeing.com (RickAndrew Tridgell3-14/+11
Bressler) - machten support from Trevor Strohman (trev@figment.tenon.com) - added qinfo command to client as part of drag-and-drop printer support for win95 from David Chappell <chappell@mouse.cc.trincoll.edu> He also added the "printer driver" option - use sigblock() on more systems and use sigsetmask(0) instead of sigunblock() as its more portable. This beats a problem with zombies on heavilily loaded systems. - added internals.doc written by David Chappell into the source tree - get rid of PRINT_COMMAND options from local.h as they are no longer relevent - new kanji code from Fujita - don't set the recursion_available flag on queries in nmbd - fix a potential bug with pointer subtraction in printing.c - got rid of error_count code as the real fix (the EOF problem) is now in (This used to be commit aa6f8b04d125b5bc00f267abf72b800228aabf7d)
1996-08-06preparing for release of 1.9.16alpha16Samba Release Account1-1/+1
(This used to be commit 6567bac5d13f32729fe51eba1e904268c6ee00be)
1996-08-05preparing for release of 1.9.16alpha14Samba Release Account1-1/+1
(This used to be commit 32f495cf2261925ca3f0971eca6a6798584af653)
1996-08-03preparing for release of 1.9.16alpha15Samba Release Account1-1/+1
(This used to be commit 043898aa851bfda3db23f558719a7aab2df478de)
1996-08-01local_only NetServerEnum syncs can now be issued.Samba Release Account2-12/+33
bug spotted in nameservresp.c - arguments to test subnet the response is received on (same_net()) were the wrong way round (ccm@shentel.net) samba was adding WORKGROUP(1e) as a unique not a group name: fixed this bug in reply_name_status() and reply_name_query(): WINS entries weren't being looked up. name status reply adds local SELF entries to WINS SELF entries: some SELF entries are only added locally, while others are only added via WINS. name status needs to have both, combined. a sync will only occur when an ANN_LocalMasterAnnouncement is received, NOT an ANN_HostAnnouncement or an ANN_DomainAnnouncement. when samba is a member of a workgroup, it looks for (using a wins server) and announces to its domain master. NAME_QUERY_ANNOUNCE_HOST - yet another 'state' - has been created to do this: do the name query on the wins server and send the announce host to the answer to this query. jeremy @ vantive wrote the original code to do this, which used the name_query() function. i'm trying to avoid name_query: it times out and generally messes things up, but using queue_netbios_packet() and queue_netbios_pkt_wins() is... not intuitive? lkcl with help from jra (This used to be commit 6e932e4bae8b46e7ff4a55a75484bad78308336a)
1996-07-30preparing for release of 1.9.16alpha13Samba Release Account1-1/+1
(This used to be commit 801fe1066e7bae8b49e7396b04efe1d7135bbb05)
1996-07-30fix a bug that we've had for a long time where we don't handle EOFAndrew Tridgell2-8/+6
properly from clients, and end up looping like mad. At least I _hope_ this is fixed. (This used to be commit a7c7d7afe2ef81f4a74584ce9b71e54442f7e484)
1996-07-24minor cleanupsAndrew Tridgell1-0/+2
(This used to be commit 7c8fd43b4e78f439406c3bb4478adf99ae17172f)
1996-07-22removed the remote interfaces stuff.Andrew Tridgell2-3/+0
(This used to be commit 51e5a1a546adf6ba36c7e4c3298c651cff7e15b9)
1996-07-19preparing for release of 1.9.16alpha12Samba Release Account1-1/+1
(This used to be commit eae670a7ca9e233f778c84323af861a47eec6ad7)
1996-07-18NeXT needs #define pid_t int in includes.hSamba Release Account1-0/+1
namedbname.c:find_name_search() needed search capability on both local subnet records and WINS records. it used to return NULL if the name was not found in the local subnet records even if you asked it to search the WINS name records as well. (This used to be commit 96c2efded884ce4390c5da68afaccca9acc17558)
1996-07-18preparing for release of 1.9.16alpha11Samba Release Account1-1/+1
(This used to be commit b9d7b458b901ffb5ccf62c0e5bf461090ed6e0dd)
1996-07-18minor cleanups ready for another releaseAndrew Tridgell3-6/+193
(This used to be commit 153d324c7be345ae87f99e62123e9a7dbaf74aee)
1996-07-17lots of changes to nmbdSamba Release Account3-6/+20
lkcl (This used to be commit 45d3b2644733333c657c48a69719fec72881f7df)
1996-07-10updated docs to match code mods from last two or three updates. doneSamba Release Account1-3/+5
some more commenting of code to match docs. sorted some bugs. ipc BOOL domains was uninitialised. lkcl (This used to be commit cb43ce7bc08fa43a6ce49e0937f13afec5dce67b)
1996-07-09missed nmbd.c in previous update.Samba Release Account1-23/+5
did a make proto lkcl (This used to be commit 4ccc84989efc0875dfec95d38be4a8fe746c8795)
1996-07-07added the recently shuffled and updated source files missed in theSamba Release Account1-38/+82
previous commit (see previous log message for details) fixed bug in nameservreply.c: wrong macro in use (RSSVAL not IVAL!). did another make proto lkcl (This used to be commit d78b319062144d14a54408fce77ccc313ad58ee3)
1996-07-07tidied up: code shuffling and documentation.Samba Release Account1-5/+13
created namedb*.c nameservresp.c nameservreply.c and namepacket.c added modules to Makefile, downloading dan's current version first :-) shuffled docs to match source created more docs fixed bug in announce_backup() discovered when going nameannounce.doc: backup list requests to the master browser should be used when samba is not a master browser; backup list requests to the primary domain controller should be used when samba is not a primary domain controller. fixed bug in sync_server: it would never send MasterAnnounce packets. removed the code that ignored special browser names: these should only be ignored (except 0x1b names) when broadcasted name queries are sent, not when directed registration or directed queries are sent samba as a WINS server. (note: exactly what's going on is still uncertain). renamed NAME_QUERY_MST_SRV_CHK to NAME_QUERY_PDC_SRV_CHK (more accurate). renamed NAME_STATUS_MST_SRV_CHK to NAME_STATUS_PDC_SRV_CHK (more accurate). added secured WINS name registration: a new 'state' NAME_REGISTER_CHALLENGE; functions send_name_response(), response_name_query_register(); added sending of WAIT ACKNOWLEDGEMENT packet; added a reply_to_ip field to the response record structure so that after the name query challenge, you know who to inform of the outcome of that challenge. note: these are all currently untested modifications (yikes!) lkcl (This used to be commit b50ff657ddc29b81b4aa02a597e5affab197e4f2)
1996-07-04namebrowse.c was using variable work uninitialised.Samba Release Account1-0/+3
remkproto'd proto.h lkcl (This used to be commit 166d70eba30a4b2773620f7cd9f0b84307b25472)
1996-07-04modified become_master() to a state-based system. becoming a masterSamba Release Account2-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 (This used to be commit 7719fb06524a66ce5e3f30f3152ddb1e200c97f3)
1996-07-03generated new proto.hAndrew Tridgell1-168/+1
(This used to be commit 05107be5660c31a7c07dee467d61c44ffdffaf3e)
1996-07-03fix Makefile - remove Lukes private stuff :-)Andrew Tridgell1-11/+17
rerun proto generator (This used to be commit 98568862ca5f9f48b389a42633732de831331189)
1996-07-02as a result of the writing of namework.doc, namework.c has been tidied up,Samba Release Account1-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 (This used to be commit a66417ebe871a1c1366c395ea4c7099852975e65)
1996-07-01updated the NetBIOS code due to some bugs found by writing the first draftSamba Release Account1-37/+201
of the low level design docs. (This used to be commit 103012e5f2fac09598d60c4263c3a30992680729)
1996-06-29luke's first attempt at using cvsSamba Release Account3-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. (This used to be commit 7e8c60cfe54060860e5ce20b1c3b8ec6aa5c54da)
1996-06-19Basic doc changes to keep up to date.Samba Release Account1-646/+0
Dan (This used to be commit 6d81d56f929e763bcf6b1f7a61aabaf884c4aad4)
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 Tridgell1-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 (This used to be commit 8e9dce34d50d673cb50531f0c4c7672ce2522cef)
1996-06-10got rid of a lot of redundent header files as we now globally generateAndrew Tridgell2-0/+127
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 Tridgell1-17/+17
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 Tridgell1-4/+6
(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 Tridgell1-5/+9
(This used to be commit df44f10d7492679dabe3b998e7bacfebbc49ea5e)
1996-06-08changes from LukeAndrew Tridgell1-9/+30
(This used to be commit 5269aa277c635cfda65a27fd1b2e587ac181e1c3)
1996-06-08- added comments to byteorder.h explaining how it works.Andrew Tridgell1-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 (This used to be commit e775576f026d282473256aeac6fef65a85acd98e)
1996-06-07- added predict.c, moving the routines from util.cAndrew Tridgell1-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. (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 Tridgell2-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 (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 Tridgell1-1/+3
(This used to be commit 07288091c322fdb9f63889e84cfc57fa6cb5f613)
1996-06-05preparing for release of 1.9.16alpha6Samba Release Account1-1/+1
(This used to be commit ee330d60458c8f056b32dc3aa54a54ce6643186b)