summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1996-08-01local_only NetServerEnum syncs can now be issued.Samba Release Account18-195/+387
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 Tridgell7-173/+81
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 Tridgell3-5/+5
(This used to be commit 7c8fd43b4e78f439406c3bb4478adf99ae17172f)
1996-07-24the client now loads the smb.conf config file so it can get theAndrew Tridgell1-1/+10
interfaces info, and the workgroup right. (This used to be commit fabd4230f17726743a0fde0a37ce3c09a3dec8a3)
1996-07-22removed the remote interfaces stuff.Andrew Tridgell12-65/+18
(This used to be commit 51e5a1a546adf6ba36c7e4c3298c651cff7e15b9)
1996-07-22added lots of comments to the docs that Luke wrote on the internals ofAndrew Tridgell4-0/+157
nmbd. I haven't been through all of them yet, but I'm getting there :-) (This used to be commit 9e411f2c9044104df60022da316379bd27e98b56)
1996-07-22added a bunch of comments to Lukes docs.Andrew Tridgell1-12/+59
(This used to be commit e6282da558995c7e875b89c43e91d027c45caa40)
1996-07-22minor debug output fixAndrew Tridgell1-1/+1
(This used to be commit c1415349acd7790eba236f26192a5098b5e26590)
1996-07-22fix up problems with "smbclient -L". It now uses a genericAndrew Tridgell1-10/+20
NetServerEnum with no workgroup attached if the workgroup is "WORKGROUP" (the default in the Makefile) and uses the specific NetServerEnum (with workgroup attached) otherwise. (This used to be commit 6fa3468c9ba50a4de39e3bdc1c976f363fb6a412)
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 Account2-12/+6
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 Tridgell5-9/+194
(This used to be commit 153d324c7be345ae87f99e62123e9a7dbaf74aee)
1996-07-18removed some debug stuff from lukeAndrew Tridgell1-6/+4
(This used to be commit 1fd1d7c27c4be1eba0833c787d40f1217e63127d)
1996-07-17lots of changes to nmbdSamba Release Account19-206/+394
lkcl (This used to be commit 45d3b2644733333c657c48a69719fec72881f7df)
1996-07-10updated docs to match code mods from last two or three updates. doneSamba Release Account14-941/+241
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 Account2-25/+7
did a make proto lkcl (This used to be commit 4ccc84989efc0875dfec95d38be4a8fe746c8795)
1996-07-09sorted out various timer delay bugs: nameannounce.c nameserv.cSamba Release Account11-106/+172
namedbname.c:search_for_name() wasn't looking for 0x1b as well as 0x0 and 0x20 name types. reduced number of retransmissions of packets from 4 to 3 times. added code that ensures remote lmhosts entries don't get deleted when a master browser cannot be found on a remote subnet. stopped forcing an election on remote subnets if a master browser cannot be found. stopped browse list and wins list from being written out too frequently. only add samba's names to local interfaces. add 0x1c name if we are a domain logon machine (needs more exploration). why bother reloading services when receiving a SIGTERM? sort out add_my_name_entry() and remove_name_entry() to deal with broadcast, samba as a WINS and samba using a WINS. properly. added extra debug information to help with expected response queue code. updated debug comments in become_master(). altered dump_names() DEBUG format. it looks prettier. altered wins.dat format to match DEBUG format. lkcl (This used to be commit 429f1f975e2936f2e220b656c51c211d48d47047)
1996-07-07added the recently shuffled and updated source files missed in theSamba Release Account10-40/+3414
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 Account20-2765/+1361
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-05Added uninstallation from Makefile, either in parts or total uninstallSamba Release Account3-0/+111
Dan (This used to be commit b6343dd09cdbc52677975405c2a85595ad152e8c)
1996-07-05Changed install scripts so they don't have hardcoded valuesSamba Release Account3-26/+48
Dan (This used to be commit 2eccc5eea289fa4b6af120d0bc92d568ca925482)
1996-07-04namebrowse.c was using variable work uninitialised.Samba Release Account2-0/+5
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 Account10-152/+281
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-04Started uninstall in MakefileSamba Release Account2-3/+4
Updated some email addresses (This used to be commit a7be82ee6e56481b907ab3672b214639ec63c9b5)
1996-07-03generated new proto.hAndrew Tridgell1-168/+1
(This used to be commit 05107be5660c31a7c07dee467d61c44ffdffaf3e)
1996-07-03fixed conflict between two variables called dAndrew Tridgell1-3/+3
(This used to be commit 38135c854e6b5d126939e226f815bb1a8d727f69)
1996-07-03fixed conflict with global variable updatecountAndrew Tridgell1-5/+5
(This used to be commit ba478e94047cc4f92ae35a508c9e62855619e665)
1996-07-03fix Makefile - remove Lukes private stuff :-)Andrew Tridgell1-11/+17
rerun proto generator (This used to be commit 98568862ca5f9f48b389a42633732de831331189)
1996-07-03- moved the protocol defs in the client to keep sill C compilers happyAndrew Tridgell2-16/+20
- added change for cnum range in reply_tdis() (This used to be commit 609c3a5e1e3a8d9ba380a802ab3ecf6f47093846)
1996-07-02as a result of the writing of namework.doc, namework.c has been tidied up,Samba Release Account9-521/+646
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-02updated low-level design documentation on nmbd. first draft of namework.docSamba Release Account3-15/+489
and updated the other two. lkcl (This used to be commit 96d242826d618f7dcdb1a1adf50d484df7e2a5c0)
1996-07-01patch to fix NetServerEnum with multiple workgroup lists kindly supplied.Samba Release Account1-3/+27
it works for him. needs testing. (This used to be commit 546c49080707c0cbaa6bfc928102d52826867592)
1996-07-01updated the NetBIOS code due to some bugs found by writing the first draftSamba Release Account3-268/+523
of the low level design docs. (This used to be commit 103012e5f2fac09598d60c4263c3a30992680729)
1996-07-01first draft of low-level design documents describing the operation ofSamba Release Account2-0/+564
nameserv.c and nameresp.c and their interaction with the rest of nmbd. (This used to be commit 875497d961fb7537ad850c97ba0bf4b1ed2121c3)
1996-06-29added local and remote interfaces (didn't get done in first attempt)Samba Release Account1-23/+34
(This used to be commit c0b0139d1a7816b027b2f1cf107487a4508ed92f)
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)