summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
* preparing for release of 1.9.16alpha26Samba Release Account1996-08-211-1/+1
|
* - fix a bug handling readraw packets that caused the timeout to be 30Andrew Tridgell1996-08-211-6/+2
| | | | | milliseconds instead of 30 seconds as was intended. Thanks to Paul Nelson for finding this bug.
* preparing for release of 1.9.16alpha25Samba Release Account1996-08-211-1/+1
|
* preparing for release of 1.9.16alpha24Samba Release Account1996-08-211-1/+1
|
* - new handling of ST_TYPE bits, they are now consolidated much more inAndrew Tridgell1996-08-212-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.
* preparing for release of 1.9.16alpha23Samba Release Account1996-08-201-1/+1
|
* preparing for release of 1.9.16alpha22Samba Release Account1996-08-201-1/+1
|
* - removed ServerComment and instead set the comment string in nmbdAndrew Tridgell1996-08-201-2/+0
| | | | using the "server string" option. This replaces the -C option to nmbd
* - fix a bug in NetServerEnum where counted and total were not countedAndrew Tridgell1996-08-202-1/+2
| | | | | | | | | | | | | | correctly if there were multiple instances of a name. This led to the infamous "not enough memory" error when browsing (but this isn't the only cause of that message) - fix a triple-chaining bug which affected OpenX following a TconX - fix a serious nmbd bug that meant nmdb would answer packets that it wasn't supposed to, causing havoc with browse lists. - never time out SELF packets. This is an interim fix until I find out why nmbd thought they should be timed out.
* preparing for release of 1.9.16alpha21Samba Release Account1996-08-191-1/+1
|
* preparing for release of 1.9.16alpha20Samba Release Account1996-08-191-1/+1
|
* - added "netbios name" option in smb.conf to make controlling the nameAndrew Tridgell1996-08-193-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | that samba uses possible - added "socket address" option to allow virtual SMB servers (on systems with IP aliasing line Linux) - disabled FAST_SHARE_MODES by default in Linux as older Linux boxes can't do shared writeable mappings. We really need autoconf ... - added new option types in loadparm so a string type can be specified ot be uppercase only, this is used for the workgroup and netbios name options - auto-create the lock directory if it doesn't exist in shared mem startup - get rid of announce_backup() - change a few comments in nmbd code - rewrote the chaining code completely. Hopefully it will handle any depth chains now. - added LPRng support
* preparing for release of 1.9.16alpha19Samba Release Account1996-08-171-1/+1
|
* - fixed wins.dat reloading (it wasn't happening!)Samba Release Account1996-08-171-1/+1
| | | | | | | | | - made nb_flags an unsigned 16 bit int in nameserv.h - nmbd was calling add_my_subnets() with an uninitialised parameter group. removed it. lkcl
* - made FAST_SHARE_MODES standard for LinuxAndrew Tridgell1996-08-172-9/+5
| | | | | | | | | | | | | | | - you can now press enter after a password prompt with "smbclient -L hostname" and it will use a blank username and password, the same as if you used -U% - changed the wins.dat store code to not go via a string variable (just use fprintf instead) - removed a "unsigned long" that luke put back in, changing it to uint32 to keep 64 bit machines happy. Naughtly luke! - allow guest non-connnected print queue listings so ms client 3 can work
* - started on support for 'Internet Group names' - type 0x1c NetBIOS namesSamba Release Account1996-08-172-2/+15
| | | | | - 0x1d name query to a WINS server should always return FAIL (see WINS server help on nt/as)
* - added support for Amiga-unix (based on BSD I think)Andrew Tridgell1996-08-171-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
* preparing for release of 1.9.16alpha18Samba Release Account1996-08-161-1/+1
|
* - added the "remote announce" optionAndrew Tridgell1996-08-162-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
* added support for the Bull Operating System (BOS)Andrew Tridgell1996-08-161-0/+14
|
* - added FAST_SHARE_MODES codeAndrew Tridgell1996-08-153-9/+59
| | | | - added some named pipe code from Jim
* changed "unsigned long" to "uint32" in several places (for IPAndrew Tridgell1996-08-141-1/+1
| | | | addresses) to keep 64 bit machines happy.
* disabled SETFS (which was only enabled for Linux) until we resolve aAndrew Tridgell1996-08-141-0/+3
| | | | | | couple of bug reports that may be caused by it. Andrew
* preparing for release of 1.9.16alpha17Samba Release Account1996-08-131-1/+1
|
* - sequent-ptx support from bressler@iftccu.ca.boeing.com (RickAndrew Tridgell1996-08-133-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
* preparing for release of 1.9.16alpha16Samba Release Account1996-08-061-1/+1
|
* preparing for release of 1.9.16alpha14Samba Release Account1996-08-051-1/+1
|
* preparing for release of 1.9.16alpha15Samba Release Account1996-08-031-1/+1
|
* local_only NetServerEnum syncs can now be issued.Samba Release Account1996-08-012-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
* preparing for release of 1.9.16alpha13Samba Release Account1996-07-301-1/+1
|
* fix a bug that we've had for a long time where we don't handle EOFAndrew Tridgell1996-07-302-8/+6
| | | | | | properly from clients, and end up looping like mad. At least I _hope_ this is fixed.
* minor cleanupsAndrew Tridgell1996-07-241-0/+2
|
* removed the remote interfaces stuff.Andrew Tridgell1996-07-222-3/+0
|
* preparing for release of 1.9.16alpha12Samba Release Account1996-07-191-1/+1
|
* NeXT needs #define pid_t int in includes.hSamba Release Account1996-07-181-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.
* preparing for release of 1.9.16alpha11Samba Release Account1996-07-181-1/+1
|
* minor cleanups ready for another releaseAndrew Tridgell1996-07-183-6/+193
|
* lots of changes to nmbdSamba Release Account1996-07-173-6/+20
| | | | lkcl
* updated docs to match code mods from last two or three updates. doneSamba Release Account1996-07-101-3/+5
| | | | | | | | | | some more commenting of code to match docs. sorted some bugs. ipc BOOL domains was uninitialised. lkcl
* missed nmbd.c in previous update.Samba Release Account1996-07-091-23/+5
| | | | | | did a make proto lkcl
* added the recently shuffled and updated source files missed in theSamba Release Account1996-07-071-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
* tidied up: code shuffling and documentation.Samba Release Account1996-07-071-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
* namebrowse.c was using variable work uninitialised.Samba Release Account1996-07-041-0/+3
| | | | | | remkproto'd proto.h lkcl
* 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