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

25984 Commits

Author SHA1 Message Date
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
Samba Release Account
fe1337ba7b added nimbus to list of mirrors
(This used to be commit 234ba85697)
1996-05-28 13:39:48 +00:00
Samba Release Account
3e8ddf7aec General updating.
Dan
(This used to be commit 2209de41df)
1996-05-23 23:55:13 +00:00
Samba Release Account
09050330b0 Added reference to DIAGNOSIS.txt. Deleted the claim that tridge reads all
postings to mailing list. Removed arvidsjaur, other small stuff.
   Dan
(This used to be commit af463f82c5)
1996-05-23 23:50:59 +00:00
Samba Release Account
b64f106c26 Updated general section to include more about current capabilities. Added
references to samba-bugs, DIAGNOSIS.txt and the hypermail archives. Various
other small changes.
   Dan
(This used to be commit 58950a0562)
1996-05-23 23:45:56 +00:00
Samba Release Account
e40bf31788 Added check for something already binding to port 139 to TEST 3
Dan
(This used to be commit 0e21388559)
1996-05-23 23:23:48 +00:00
Samba Release Account
b479eafd66 Changed more references of 'nimbus.anu.edu.au/pub/tridge/samba' to
'samba.anu.edu.au/pub/samba'
The only reference I see now to 'nimbus' is in ENCRYPTION.txt regarding
libdes stuff.
Paul...
(This used to be commit eee3a6f139)
1996-05-20 08:11:51 +00:00
Samba Release Account
4c67f3701f Made chang
blody comso: can't see what i'm writing...
Made changes to reflect nimbus.anu.edu.au -> samba.anu.edu.au chage.
changed reference to /ub/samba/change-log o /ub/samba/alpha/change-log
Also added samba.faq.html to docs directory
Paul...
(This used to be commit d6f124a7ca)
1996-05-17 00:43:54 +00:00
Samba Release Account
d0977dd44b Update the samba.faq file with what was current on the web site, there
were a number of additions.
Changed the faq version number to 1.9.15 to match current samba version.
(This used to be commit 4002e4cf15)
1996-05-06 09:16:35 +00:00