1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

2552 Commits

Author SHA1 Message Date
Andrew Tridgell
78f62c83be - fix a bug handling readraw packets that caused the timeout to be 30
milliseconds instead of 30 seconds as was intended. Thanks to Paul
Nelson for finding this bug.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
1c62aa14cc update the docs ready for a new release 0001-01-01 00:00:00 +00:00
Andrew Tridgell
d87fdb3ee9 handle sigpipe better for server security 0001-01-01 00:00:00 +00:00
Samba Release Account
eece931f67 preparing for release of 1.9.16alpha25 0001-01-01 00:00:00 +00:00
Andrew Tridgell
5a6425c3cb fix compiler warning 0001-01-01 00:00:00 +00:00
Andrew Tridgell
04353a9479 - bit a bit manipulation bug in find_name_search()
- add the * and __SAMBA__ names to all subnets

- sort the name status reply list and remove duplicate entries.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
07b0cf29d3 - remove the date markers from the man pages. I never keep them uptodate
anyway :-)
0001-01-01 00:00:00 +00:00
Samba Release Account
6636c7b5b8 JHT ==> Upgraded Samba to Windows NT Server version 4.1
Just to keep ahead of the pack.
	Note: Really only done to differntiate our version ID from
	existing SMB Servers.
0001-01-01 00:00:00 +00:00
Samba Release Account
feca8d27ec preparing for release of 1.9.16alpha24 0001-01-01 00:00:00 +00:00
Andrew Tridgell
eb84f2f342 - new handling of ST_TYPE bits, they are now consolidated much more in
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.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
48e623e2ea - new faxing doc from Gerhard Zuber <zuber@berlin.snafu.de 0001-01-01 00:00:00 +00:00
Samba Release Account
50eb07559f preparing for release of 1.9.16alpha23 0001-01-01 00:00:00 +00:00
Andrew Tridgell
ee7d8f7570 give names more time when refreshing 0001-01-01 00:00:00 +00:00
Samba Release Account
e1d5205595 preparing for release of 1.9.16alpha22 0001-01-01 00:00:00 +00:00
Andrew Tridgell
f496a4131e update "server string" docs 0001-01-01 00:00:00 +00:00
Andrew Tridgell
9e0fab2ee6 - removed ServerComment and instead set the comment string in nmbd
using the "server string" option. This replaces the -C option to nmbd
0001-01-01 00:00:00 +00:00
Andrew Tridgell
2d0ec53c50 - add NMB_REG_REFRESH capability to initiate_netbios_packet(). I think
this is why SELF names were getting expired.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
2960c3908c - fix a bug in NetServerEnum where counted and total were not counted
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.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
52af2b38fe add a bit more about the "trapdoor uid" messsage 0001-01-01 00:00:00 +00:00
Samba Release Account
07be656d3e preparing for release of 1.9.16alpha21 0001-01-01 00:00:00 +00:00
Andrew Tridgell
50ed940451 fix a bug in the new chaining code 0001-01-01 00:00:00 +00:00
Samba Release Account
ced17fd3cb preparing for release of 1.9.16alpha20 0001-01-01 00:00:00 +00:00
Andrew Tridgell
e9eac6cd49 - added "netbios name" option in smb.conf to make controlling the name
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
0001-01-01 00:00:00 +00:00
Andrew Tridgell
6d82a87512 a bunch of man page cleanups from a kind contributor 0001-01-01 00:00:00 +00:00
Samba Release Account
bb57170695 i wondered why there was a cvs clash on namedbname.c
- redid tridge's fprintf for storing wins.dat, and yet again removed the
unsigned long changing it to a unint32.

lkcl
0001-01-01 00:00:00 +00:00
Samba Release Account
6e87add16f preparing for release of 1.9.16alpha19 0001-01-01 00:00:00 +00:00
Samba Release Account
3d55e54156 - fixed wins.dat reloading (it wasn't happening!)
- 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
0001-01-01 00:00:00 +00:00
Andrew Tridgell
917160dee6 - made FAST_SHARE_MODES standard for Linux
- 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
0001-01-01 00:00:00 +00:00
Andrew Tridgell
0490dedfd8 added a note about the homes share and WinDD 0001-01-01 00:00:00 +00:00
Samba Release Account
8401ec875b - removed reference to my_workgroup() accidentally put back in nameserv.c 0001-01-01 00:00:00 +00:00
Samba Release Account
960aad39ac - updated load_netbios_names() to cope with new wins.dat format
it doesn't support loading of Internet Group names yet, but then again,
  you can't create Internet Group names yet, so it's not a problem!
0001-01-01 00:00:00 +00:00
Samba Release Account
a7330127a2 - started on support for 'Internet Group names' - type 0x1c NetBIOS names
- 0x1d name query to a WINS server should always return FAIL (see WINS
  server help on nt/as)
0001-01-01 00:00:00 +00:00
Samba Release Account
add8bdce8c changed the text a bit in Support.txt so that its clear that these
people expect payment for their help.

Apparently users were ringing some of them and assuming they would get
free phone support. Thats not what this list is for :-)

Andrew
0001-01-01 00:00:00 +00:00
Andrew Tridgell
ec3d539630 - added support for Amiga-unix (based on BSD I think)
- 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
0001-01-01 00:00:00 +00:00
Samba Release Account
15c1c84850 preparing for release of 1.9.16alpha18 0001-01-01 00:00:00 +00:00
Andrew Tridgell
f84199aad6 fixed installscripts.sh so it no longer creates ] and [ directories
every time its run!
0001-01-01 00:00:00 +00:00
Andrew Tridgell
be2b679403 - added the "remote announce" option
- 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
0001-01-01 00:00:00 +00:00
Andrew Tridgell
b2ca1f0c61 documented the new syntax of lmhosts 0001-01-01 00:00:00 +00:00
Andrew Tridgell
525235135b - document the "remote announce" option
- cleanup nmbd.8 quite a bit
0001-01-01 00:00:00 +00:00
Andrew Tridgell
46277e64a1 added support for the Bull Operating System (BOS) 0001-01-01 00:00:00 +00:00
Andrew Tridgell
57417cdaba SVR4 startup scripts from Timo Knuutila (knuutila@cs.utu.fi) 0001-01-01 00:00:00 +00:00
Andrew Tridgell
7b925230fc added Printing.txt and Tracing.txt 0001-01-01 00:00:00 +00:00
Samba Release Account
138410633b JHT ==> Added a GOTCHAS.txt file 16/8/96
Re: RedHat Rembrandt Beta 2 Installation Hint.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
28d797ac7d change email address 0001-01-01 00:00:00 +00:00
Andrew Tridgell
c94866e9e4 - added FAST_SHARE_MODES code
- added some named pipe code from Jim
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e37a624cf9 added notes on the new FAST_SHARE_MODES code 0001-01-01 00:00:00 +00:00
Andrew Tridgell
b4aaec504a changed "unsigned long" to "uint32" in several places (for IP
addresses) to keep 64 bit machines happy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
9735d7e8e2 fixed an obvious bug that meant that DosPrintQEnum could never
work. Now we'll see if it works after this fix ...
0001-01-01 00:00:00 +00:00
Andrew Tridgell
424814bed7 disabled SETFS (which was only enabled for Linux) until we resolve a
couple of bug reports that may be caused by it.

Andrew
0001-01-01 00:00:00 +00:00
Samba Release Account
16f10b333d preparing for release of 1.9.16alpha17 0001-01-01 00:00:00 +00:00