summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
1996-10-05- use workgroup from smb.conf in smbclientAndrew Tridgell2-0/+7
- change debug level on clitar stuff - define MAP_FILE if not defined - ensure we never set authoritative on queries in nmbd - fake a positive response to SMBioctl, apparently this is needed for some WfWg printer drivers - deny file access for non-fcbopen queries when (access_allowed == AREAD && flags == O_RDWR) - add sys_waitpid() (This used to be commit 61e3116e573637d6b5a878eeb8db72831e3c5bd1)
1996-10-04- changed the umask handling. We now set the umask to 0 and explicitlyAndrew Tridgell2-1/+5
set the mode on all created files. I think this is a better policy. - change the debug levels on some items - fix a charset handling bug which affected foreign and extended charset users - no longer switch back to the original directory when idle, instead switch to / as the original directory may not be readable by ordinary users. - fix some bugs where the create mode of files was not being explicitly set (it was relying on the umask and using fopen). Not a big bug as it only affected obscure commands like the messaging ops. - got rid of the lock code in the lpq cache as its no longer needed - rewrote smbrun to be faster and to remove the security hole. We now don't actually need a external smbrun binary, its all done by smbd. - add a more explicit warning about uids and gids of -1 or 65535 (This used to be commit 5aa735c940ccdb6acae5f28449d484181c912e49)
1996-10-02backout all the changes to nmbd.Andrew Tridgell3-139/+98
The 1.9.16 tree is now back to 1.9.16p2 as far as nmbd is concerned apart from a small change that fixes the announce type in two places. (This used to be commit 45e66a69d320024877c8b13f12b21bf895e04410)
1996-10-02- a huge pile of changes from Luke which implement the browse.confAndrew Tridgell3-101/+156
stuff and also fix a pile of nmbd bugs. Unfortunately I found it very hard to disentangle the new features from the bug fixes so I am putting in the new code. I hope this is the last big pile of changes to the 1.9.16 series! (This used to be commit 20b6203dac4bbb43e4e7bea0b214496d76d679d9)
1996-08-24removed all of lukes recent changes. I need to do a p2 release butSamba Release Account3-125/+284
can't test the multi group changes. I also found that some of lukes changes wiped out some recent bug fixes. Is your CVS tree ok luke? (This used to be commit 8b7fe224bce64803d55ae279fa61ef3ebbbb0241)
1996-08-23- fixed bugs in nmb response packet checking.Samba Release Account2-283/+124
- added multiple workgroup code - samba can register under different (unique) NetBIOS aliases, one per workgroup it joins. lkcl (This used to be commit f24e341e7e4d8726b98d3a0f83b24f61817fe536)
1996-08-22preparing for release of 1.9.16p1Samba Release Account1-1/+1
(This used to be commit 6df471f6636694bcd741b61df8615858c5445f81)
1996-08-22preparing for release of 1.9.16Samba Release Account1-1/+1
(This used to be commit 7e26006cc38594373d6baee41d3e20c30babe9c0)
1996-08-22- add timeouts to connect() for password server connections. ThisAndrew Tridgell2-1/+6
makes multiple password servers practical. (This used to be commit 5c3e8326cc45d3cbd076475e445ce461a2bf7560)
1996-08-21preparing for release of 1.9.16alpha26Samba Release Account1-1/+1
(This used to be commit 03aaf9a705d190ac040aca82ffcd37d58b9b5bc3)
1996-08-21- fix a bug handling readraw packets that caused the timeout to be 30Andrew Tridgell1-6/+2
milliseconds instead of 30 seconds as was intended. Thanks to Paul Nelson for finding this bug. (This used to be commit 78f62c83be5df6b66aa0b5e83b2d290f97ce53c2)
1996-08-21preparing for release of 1.9.16alpha25Samba Release Account1-1/+1
(This used to be commit eece931f6753b1a6506c67657c3c24459c7cab1e)
1996-08-21preparing for release of 1.9.16alpha24Samba Release Account1-1/+1
(This used to be commit feca8d27ec8c63d7daa8e7e9cf13594c55086e28)
1996-08-21- new handling of ST_TYPE bits, they are now consolidated much more inAndrew Tridgell2-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. (This used to be commit eb84f2f342375439d94481a0ccf47c9593544e32)
1996-08-20preparing for release of 1.9.16alpha23Samba Release Account1-1/+1
(This used to be commit 50eb07559f750c458dcdf04a4068cd19c40a757d)
1996-08-20preparing for release of 1.9.16alpha22Samba Release Account1-1/+1
(This used to be commit e1d5205595eec8dcfe2b32e0e31722a902e0ed05)
1996-08-20- removed ServerComment and instead set the comment string in nmbdAndrew Tridgell1-2/+0
using the "server string" option. This replaces the -C option to nmbd (This used to be commit 9e0fab2ee6c89155e6ba6b2401a25de37cb89333)
1996-08-20- fix a bug in NetServerEnum where counted and total were not countedAndrew Tridgell2-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. (This used to be commit 2960c3908c2c3b01a1f2b77def60350018d298e1)
1996-08-19preparing for release of 1.9.16alpha21Samba Release Account1-1/+1
(This used to be commit 07be656d3ed46dd4cd9cfaefff90300242984301)
1996-08-19preparing for release of 1.9.16alpha20Samba Release Account1-1/+1
(This used to be commit ced17fd3cbea7c6490f0e7b0949cb60acc644ef8)
1996-08-19- added "netbios name" option in smb.conf to make controlling the nameAndrew Tridgell3-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 (This used to be commit e9eac6cd49c352349580ddb13d720cb201aecc48)
1996-08-17preparing for release of 1.9.16alpha19Samba Release Account1-1/+1
(This used to be commit 6e87add16f116e55880657c7723442ece35f79da)
1996-08-17- fixed wins.dat reloading (it wasn't happening!)Samba Release Account1-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 (This used to be commit 3d55e541569e7ab887bddc284bddcafdf86c4d22)
1996-08-17- made FAST_SHARE_MODES standard for LinuxAndrew Tridgell2-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 (This used to be commit 917160dee69bbc198985b6f3232ca2dcda809d8a)
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)