1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

109542 Commits

Author SHA1 Message Date
Samba Release Account
ed2639ebe2 luke's first attempt at using cvs
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 7e8c60cfe5)
1996-06-29 18:49:20 +00:00
Samba Release Account
851ee418b4 Basic doc changes to keep up to date.
Dan
(This used to be commit 6d81d56f92)
1996-06-19 13:23:46 +00:00
Samba Release Account
ddc4fc68b9 - deleted reduntant blank line at end of file (JHT)
(This used to be commit 7960522e18)
1996-06-19 12:27:26 +00:00
Andrew Tridgell
dc38599c5a - change date as a demo for john
- modified plp printing parser to work on my system
(This used to be commit 9408f91e1b)
1996-06-19 12:23:54 +00:00
Samba Release Account
912d4dae3a Added source filename to give crude index
Dan 17 June 1996
(This used to be commit 5a72a6c8df)
1996-06-17 14:11:14 +00:00
Andrew Tridgell
02657e5162 demo of cvs - ignore
(This used to be commit 1a30ade78e)
1996-06-12 01:47:09 +00:00
Andrew Tridgell
292b2f1d13 minor patch to allow host announcements to remote subnets
(This used to be commit e264a670e9)
1996-06-10 06:08:50 +00:00
Samba Release Account
53409e5e34 preparing for release of 1.9.16alpha10
(This used to be commit a82ffca73e)
1996-06-10 05:20:35 +00:00
Andrew Tridgell
a521fe8a27 a cleanup of the receive_smb() usage, adding timeouts in some places
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 8e9dce34d5)
1996-06-10 05:16:19 +00:00
Andrew Tridgell
7e3b4a1c0d got rid of a lot of redundent header files as we now globally generate
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 b551dc98f7)
1996-06-10 04:38:24 +00:00
Andrew Tridgell
b7ca915de8 documented the "max disk size" option.
I'm sure I've done this before, we must have lost some patches a while
ago?
(This used to be commit 0c96ac512f)
1996-06-10 03:42:06 +00:00
Andrew Tridgell
de411c701e moved some more locking routines to locking.c, and moved replacement
routines for broken OSes from util.c to replace.c.
(This used to be commit 3ee9d45426)
1996-06-10 03:39:58 +00:00
Andrew Tridgell
e2eac352b1 updates from Luke to rename "domains" more accurately to "subnets"
(This used to be commit 0a044c25ab)
1996-06-10 03:38:08 +00:00
Samba Release Account
97c01f6114 preparing for release of 1.9.16alpha9
(This used to be commit 32053cfa78)
1996-06-08 05:39:06 +00:00
Andrew Tridgell
3f6fb647e7 more changes from Luke
(This used to be commit df44f10d74)
1996-06-08 05:37:33 +00:00
Andrew Tridgell
75390b839a fixed the apana MIRRORS entry
(This used to be commit f539b4bf6b)
1996-06-08 05:36:21 +00:00
Andrew Tridgell
bfbca5ac77 changes from Luke
(This used to be commit 5269aa277c)
1996-06-08 04:41:51 +00:00
Andrew Tridgell
b1228b7dcf moved MSBROWSE into nameserv.h
(This used to be commit 90fa15c45f)
1996-06-08 04:36:25 +00:00
Andrew Tridgell
f78081fd1f patches fromk Luke putting in symbolic names for time constants
(This used to be commit 79849b8293)
1996-06-08 04:34:45 +00:00
Andrew Tridgell
4eba893b02 - added comments to byteorder.h explaining how it works.
- 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 e775576f02)
1996-06-08 04:33:37 +00:00
Andrew Tridgell
d160d93d8f - added predict.c, moving the routines from util.c
- 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 88b191b488)
1996-06-07 03:34:22 +00:00
Samba Release Account
bb0a9664f5 preparing for release of 1.9.16alpha8
(This used to be commit 5a0d016b24)
1996-06-06 11:58:12 +00:00
Andrew Tridgell
b9ae225b28 - added interface.c and removed all the references to myip, bcast_ip
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 7ed71b73ae)
1996-06-06 11:43:09 +00:00
Andrew Tridgell
f57b053db8 added some notes on the new "interfaces" option
(This used to be commit 8eb701d0d6)
1996-06-06 11:24:54 +00:00
Samba Release Account
f6733fe3cf preparing for release of 1.9.16alpha7
(This used to be commit dfb7fa3ae4)
1996-06-06 00:30:18 +00:00
Andrew Tridgell
19d1b1eb5f fix a bug that meant alpha6 couldn't compile.
(This used to be commit 07288091c3)
1996-06-06 00:29:22 +00:00
Andrew Tridgell
a127ecf772 add sunos private makefile to .ignore
(This used to be commit 60a8a9c006)
1996-06-06 00:28:48 +00:00
Samba Release Account
4ccb55ff7d preparing for release of 1.9.16alpha6
(This used to be commit ee330d6045)
1996-06-05 15:46:41 +00:00
Andrew Tridgell
f6655e8a38 - remove some incorrect prototypes from server.c
- formatting cleanup in check_master_browser()
- removed unused code from nameserv.c
(This used to be commit ed3ef2e47d)
1996-06-05 15:44:24 +00:00
Andrew Tridgell
e38afbf382 - changed some debug levels in clientutil.c
- added dir_check_ftype() to clean up the file type checking a bit

- added check for libc version >= 5 for setfsuid() for Linux

- moved the AM_MASTER() and related macros to nameserv.h

- added proper defines for the various netbios announce types

- don't call the announce_backup() code, as I'm pretty sure its wrong
it sent ANN_GetBackupListReq packets as broadcasts, they are supposed
to be used only by clients to the master browser to find a list of
available backup servers to remote a netserverenum to, I don't think
nmbd should ever send one.

- fixed a bug in the browse list writing

- minor debug cleanups

- put in the code to discard our own broadcasts (it won't work for
multi-homed hosts though)

- changed ELECTION_VERSION to 1 so we can be beaten by a NT 3.51 server by
lowering the os level.

- only do sync_browse_lists() if we are the master browser, otherwise
we'll cause network overload

- don't call tell_become_backup() as it appears to be badly broken, it
should only be used when the machine being told has its MAINTAIN_LIST
to to auto. Not calling it does no great harm anyway

- fix a nasty bug where becomebackup was confused with reset browser!

- make setbuffer() not get caught by the auto protototypes
(This used to be commit cfbad9b082)
1996-06-05 15:16:09 +00:00
Samba Release Account
526cc39e43 preparing for release of 1.9.16alpha5
(This used to be commit f5c493192e)
1996-06-04 15:20:14 +00:00
Samba Release Account
23903eda2f updated the entry for Phillip Hands
(This used to be commit 7f54e6b460)
1996-06-04 15:19:23 +00:00
Andrew Tridgell
a2641cfe00 Did more integration of Lukes code ready for the first release.
I've now got WINS registration working, and refresh working. Its
looking pretty good so far, but needs lots of testing.
(This used to be commit 045014aa57)
1996-06-04 15:14:47 +00:00
Andrew Tridgell
5607ff396c add dummy quotas fn
fix typo in reply to backup lists
(This used to be commit bc4a299437)
1996-06-04 06:53:43 +00:00
Andrew Tridgell
a2c1623827 a huge pile of changes :-)
The biggest thing is the integration of Lukes new nmbd. Its still
largely untested, so we will really need some feedback

I've also added auto prototype generation and cleaned up a lot of
minor things as a result
(This used to be commit 0d8dcfa13c)
1996-06-04 06:42:03 +00:00
Andrew Tridgell
81e398963d - moved the uid handling to uid.c
- added setfsuid() support (for Linux)
- started adding some of Lukes changes, just the loadparm and ipc ones
so far
(This used to be commit 72543810ce)
1996-06-01 15:25:30 +00:00
Samba Release Account
0966bf7fb7 preparing for release of 1.9.16alpha4
(This used to be commit 8a0a06cba9)
1996-05-31 15:16:22 +00:00
Andrew Tridgell
58734631b4 Lots of changes!
- add faq info on NT printer handling
- add "delete readonly" option to help rcs users
- add stuff to man pages on new printer options
- add "proxy name resolution" option
- add "command string" -c option to smbclient (thanks Ken)
- split time functions into time.c
- rearrange the quotas stuff a bit and fix some bugs
- complete rehash of the time handling code thanks to Paul Eggert
- fix nmblookup output a bit
- add plp print queue parsing from Bertrand Wallrich
(This used to be commit 635b56f19c)
1996-05-31 15:13:29 +00:00
Andrew Tridgell
26e045daff add my private makefile to the ignore list
(This used to be commit 3e9750cc27)
1996-05-31 06:10:18 +00:00
Andrew Tridgell
d8cf90d37f comment out the code that tries to handle the NT bug where the 2nd
passlen is wrong. The fix is worse than the problem :-)
(This used to be commit 51e22c9310)
1996-05-31 06:09:42 +00:00
Andrew Tridgell
1b87ef2440 - added an entry on WinDD to samba.faq
- added a sample smb.conf from Thoralf.Freitag@remserv.rz.fhtw-berlin.de
- print the errno when you get a can't change directory error
- added installscripts.sh from James_K._Foote.PARC@xerox.com
(This used to be commit 48c6b86d4c)
1996-05-30 03:16:17 +00:00
Samba Release Account
5e1d10f20f added this ages ago, but forgot to put it in cvs
(This used to be commit 64c6a19923)
1996-05-30 00:06:59 +00:00
Samba Release Account
8ebd8a3a58 remove cvs.log from cvs, instead use the release script to copy it to
the right places
(This used to be commit d5613d3bf4)
1996-05-29 13:38:01 +00:00
Samba Release Account
fd2a6d67e2 preparing for release of 1.9.16alpha3
(This used to be commit 071c7690a2)
1996-05-29 07:55:29 +00:00
Andrew Tridgell
ec52001809 handle errors from receive_smb better, and print error string
(This used to be commit 7814eca4b2)
1996-05-29 07:54:01 +00:00
Andrew Tridgell
debd5b6ae9 fixed a typo
(This used to be commit 654c242045)
1996-05-29 07:49:50 +00:00
Andrew Tridgell
1956d13494 cleanups to make thinsg compile cleanly
(This used to be commit 39fbeb04ae)
1996-05-29 07:47:47 +00:00
Andrew Tridgell
0cb74d3bb8 added comments about trapdoor uids
(This used to be commit 2f793c48a9)
1996-05-29 07:45:45 +00:00
Samba Release Account
4513edd077 preparing for release of 1.9.16alpha2
(This used to be commit 875b2dfad0)
1996-05-29 04:35:50 +00:00
Andrew Tridgell
4ecfd2ea93 cleaned up the way the max log size stuff works and fixed a potential
problem with varargs usage in Debug()
(This used to be commit 8d5a3156ce)
1996-05-29 03:11:42 +00:00