1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

54653 Commits

Author SHA1 Message Date
Samba Release Account
fcbd379d34 preparing for release of 1.9.16alpha17
(This used to be commit 16f10b333da0956cc501f77777957753d7e156b2)
1996-08-13 12:36:58 +00:00
Andrew Tridgell
cd41e6629e minor cleanups
(This used to be commit f1dc2b93179ace36407bbb25c2c34c78087714bd)
1996-08-13 12:35:28 +00:00
Andrew Tridgell
908b383ff4 added the validchars package written by tino@augsburg.net. This
package automates the building of a "valid chars =" line for any
client DOS based client. This makes setting things up right for
european languages much easier.
(This used to be commit d0ce245acca9ae5797ef9f5c770d1fcd2d7b3373)
1996-08-13 12:34:10 +00:00
Andrew Tridgell
5ecbc4235f doc updates
(This used to be commit 94aa86a1e9aa5f6d6485884270ce62fc007cb812)
1996-08-13 12:32:22 +00:00
Andrew Tridgell
4faf376bd6 - add the 0x1c name for all interfaces if we are a logon server
(This used to be commit c66ad071b7ff2dcdd7734b72670d181bb3ac6de7)
1996-08-13 11:13:11 +00:00
Andrew Tridgell
7ef19ee4bc don't allow newlines in printer status messages
(This used to be commit d84f5402fded4ffb9c2735fecaa47ec3d2c636c0)
1996-08-13 09:00:11 +00:00
Andrew Tridgell
396311075c - sequent-ptx support from bressler@iftccu.ca.boeing.com (Rick
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-13 08:57:55 +00:00
Andrew Tridgell
571fe7fbef - added docs on new "printer driver" option
- cleaned up a couple of minor things
(This used to be commit fe0f5d44e20599679d392eeda34a58769378fbbf)
1996-08-13 08:41:59 +00:00
Andrew Tridgell
571e265afd new docs for japanses extensions from Fujita
(This used to be commit f8740429a5d524e672318cf23c18c0dfc0388d4f)
1996-08-13 08:40:24 +00:00
Andrew Tridgell
5e94d5aa22 minor fix to write_data() for EOF handling
(This used to be commit 3a7c2d9dfaf01e616adbc896dfc853a45c824170)
1996-08-12 12:15:03 +00:00
Samba Release Account
02b98a8965 applying login updates from jim@oxfordcc.co.uk, sent in by
lewis2@server.uwindsor.ca. rest of this patch to follow.

bug in interface.c - uninitialised pointer.
nmbd has 0x20 as well as 0x0 NetBIOS name when lmhosts entry is added.

lkcl
(This used to be commit 2b9475cc5fda4b272f19c4f168d3f00363c8042b)
1996-08-09 18:05:34 +00:00
Samba Release Account
6d3eb881e2 preparing for release of 1.9.16alpha16
(This used to be commit 6567bac5d13f32729fe51eba1e904268c6ee00be)
1996-08-06 09:52:41 +00:00
Samba Release Account
d2e0d9d7e3 preparing for release of 1.9.16alpha14
(This used to be commit 32f495cf2261925ca3f0971eca6a6798584af653)
1996-08-05 18:23:10 +00:00
Samba Release Account
e4e73d7e5f updated comments in announce_server() to indicate that future work needs
to be done on this function when doing an announce host to a remote
domain master browser when samba is a WINS server.

lkcl
(This used to be commit 12c50bac4eab79bc2688bc849a8d781f4c12b6ea)
1996-08-05 18:19:41 +00:00
Samba Release Account
bd7fa650bd updating documentation to reflect code a little bit.
lkcl
(This used to be commit 2193c1ee4eff33c32367ff27c817a6b78af51409)
1996-08-05 18:18:58 +00:00
Samba Release Account
cfc0d5f5b3 jht spotted error in Domain announcements: the comment was being displayed
as the NetBIOS name of the master browser for samba's workgroup, instead
of samba's NetBIOS name.
(This used to be commit b5fb0293b02e8fdc6ae07be52666ebe55df1bd4e)
1996-08-05 17:45:47 +00:00
Samba Release Account
b1bddd39c7 Tiny bug in doco reported to samba-bugs
dan
(This used to be commit f46305d76e86546731da1e81c662c55f0798a502)
1996-08-03 14:56:43 +00:00
Samba Release Account
26c4a63580 preparing for release of 1.9.16alpha15
(This used to be commit 043898aa851bfda3db23f558719a7aab2df478de)
1996-08-03 00:25:05 +00:00
Samba Release Account
fa7361b621 updated doc files to include a GPL header, with revision history in it.
added created and tridge comments on first revision first kick-off in
revision history.

lkcl
(This used to be commit 70d3d3bbf0bca2d7093517c79fd4c6db3f004799)
1996-08-01 19:25:01 +00:00
Samba Release Account
3ffb30e8be local_only NetServerEnum syncs can now be issued.
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-08-01 17:49:40 +00:00
Samba Release Account
9bf446124b preparing for release of 1.9.16alpha13
(This used to be commit 801fe1066e7bae8b49e7396b04efe1d7135bbb05)
1996-07-30 15:48:22 +00:00
Andrew Tridgell
2b4b7b4e1a fix a bug that we've had for a long time where we don't handle EOF
properly from clients, and end up looping like mad.

At least I _hope_ this is fixed.
(This used to be commit a7c7d7afe2ef81f4a74584ce9b71e54442f7e484)
1996-07-30 15:47:30 +00:00
Samba Release Account
a7ed8cd8ac Lots of updating.
Dan
(This used to be commit 66148db2f7e421b84986abddd21354dcf821d9d6)
1996-07-27 14:18:55 +00:00
Andrew Tridgell
6b680bb89c minor cleanups
(This used to be commit 7c8fd43b4e78f439406c3bb4478adf99ae17172f)
1996-07-24 06:14:51 +00:00
Andrew Tridgell
1924f08d84 the client now loads the smb.conf config file so it can get the
interfaces info, and the workgroup right.
(This used to be commit fabd4230f17726743a0fde0a37ce3c09a3dec8a3)
1996-07-24 06:14:23 +00:00
Samba Release Account
8d9143cbcf Some examples for printer accounting that I use with samba. lp-acct is
an example for a local printer off a samba server, hp5-redir is for a
remote printer.  acct-sum, does the stats from acct-all.  There is an
example printcap entry for the redirection of the printer.  Lots more
to come!

<pkelly@ets.net>
(This used to be commit 14bae3a0bd380c524409d36c75c13d4a6daa6302)
1996-07-23 03:30:56 +00:00
Andrew Tridgell
234b8c6022 removed the remote interfaces stuff.
(This used to be commit 51e5a1a546adf6ba36c7e4c3298c651cff7e15b9)
1996-07-22 14:32:38 +00:00
Andrew Tridgell
1c2ab212d9 added lots of comments to the docs that Luke wrote on the internals of
nmbd. I haven't been through all of them yet, but I'm getting there
:-)
(This used to be commit 9e411f2c9044104df60022da316379bd27e98b56)
1996-07-22 14:30:58 +00:00
Andrew Tridgell
a1ab08fdb5 added a bunch of comments to Lukes docs.
(This used to be commit e6282da558995c7e875b89c43e91d027c45caa40)
1996-07-22 12:06:27 +00:00
Andrew Tridgell
4bfbee68f7 minor debug output fix
(This used to be commit c1415349acd7790eba236f26192a5098b5e26590)
1996-07-22 12:04:56 +00:00
Andrew Tridgell
124beb45f8 fix up problems with "smbclient -L". It now uses a generic
NetServerEnum with no workgroup attached if the workgroup is
"WORKGROUP" (the default in the Makefile) and uses the specific
NetServerEnum (with workgroup attached) otherwise.
(This used to be commit 6fa3468c9ba50a4de39e3bdc1c976f363fb6a412)
1996-07-22 12:00:39 +00:00
Samba Release Account
413db88cc7 Sorry for last empty message. Updated file to say that domain logons
and scripts are now possible and to see DOMAIN.txt for more info.
<pkelly@ets.net>
(This used to be commit fd6c3dfffdb204ef75c1f235174da8e65b68f472)
1996-07-22 02:42:05 +00:00
Samba Release Account
241dff346a CVS:
(This used to be commit 87cf3702c6ea82763d51ab729bf47646e294b1e6)
1996-07-22 02:35:41 +00:00
Samba Release Account
847fe7e456 preparing for release of 1.9.16alpha12
(This used to be commit eae670a7ca9e233f778c84323af861a47eec6ad7)
1996-07-19 09:34:54 +00:00
Samba Release Account
bcfba000df NeXT needs #define pid_t int in includes.h
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-18 17:09:22 +00:00
Samba Release Account
90357bb3b0 preparing for release of 1.9.16alpha11
(This used to be commit b9d7b458b901ffb5ccf62c0e5bf461090ed6e0dd)
1996-07-18 10:54:15 +00:00
Andrew Tridgell
b6037f01a0 minor cleanups ready for another release
(This used to be commit 153d324c7be345ae87f99e62123e9a7dbaf74aee)
1996-07-18 10:20:51 +00:00
Andrew Tridgell
201fefd658 removed some debug stuff from luke
(This used to be commit 1fd1d7c27c4be1eba0833c787d40f1217e63127d)
1996-07-18 10:09:01 +00:00
Samba Release Account
25b30c08dc lots of changes to nmbd
lkcl
(This used to be commit 45d3b2644733333c657c48a69719fec72881f7df)
1996-07-17 18:33:36 +00:00
Samba Release Account
a174694759 Modified demo smb.conf to not have /tmp writeable by everyone by default.
According to server-linux some people seem to be uncommenting the example
[tmp] without thinking what it does  :-)

Dan
(This used to be commit c290c229f9cef7f8bea0a77531ef7b3501323e9c)
1996-07-11 13:56:08 +00:00
Samba Release Account
e5a0619c28 updated docs to match code mods from last two or three updates. done
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-10 18:48:49 +00:00
Samba Release Account
9d59ce1d57 missed nmbd.c in previous update.
did a make proto

lkcl
(This used to be commit 4ccc84989efc0875dfec95d38be4a8fe746c8795)
1996-07-09 18:11:47 +00:00
Samba Release Account
9fdb312a69 sorted out various timer delay bugs: nameannounce.c nameserv.c
namedbname.c:search_for_name() wasn't looking for 0x1b as well as
0x0 and 0x20 name types.

reduced number of retransmissions of packets from 4 to 3 times.

added code that ensures remote lmhosts entries don't get deleted when
a master browser cannot be found on a remote subnet. stopped forcing
an election on remote subnets if a master browser cannot be found.

stopped browse list and wins list from being written out too frequently.

only add samba's names to local interfaces.

add 0x1c name if we are a domain logon machine (needs more exploration).

why bother reloading services when receiving a SIGTERM?

sort out add_my_name_entry() and remove_name_entry() to deal with
broadcast, samba as a WINS and samba using a WINS. properly.

added extra debug information to help with expected response queue code.
updated debug comments in become_master().

altered dump_names() DEBUG format. it looks prettier.
altered wins.dat format to match DEBUG format.

lkcl
(This used to be commit 429f1f975e2936f2e220b656c51c211d48d47047)
1996-07-09 18:01:46 +00:00
Samba Release Account
3545a9b873 added the recently shuffled and updated source files missed in the
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)
1996-07-07 13:29:56 +00:00
Samba Release Account
b338bce94f tidied up: code shuffling and documentation.
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
(This used to be commit b50ff657ddc29b81b4aa02a597e5affab197e4f2)
1996-07-07 12:36:18 +00:00
Samba Release Account
4d314a96e7 Added uninstallation from Makefile, either in parts or total uninstall
Dan
(This used to be commit b6343dd09cdbc52677975405c2a85595ad152e8c)
1996-07-05 03:53:32 +00:00
Samba Release Account
2285033933 Changed install scripts so they don't have hardcoded values
Dan
(This used to be commit 2eccc5eea289fa4b6af120d0bc92d568ca925482)
1996-07-05 03:51:27 +00:00
Samba Release Account
94b935c974 namebrowse.c was using variable work uninitialised.
remkproto'd proto.h

lkcl
(This used to be commit 166d70eba30a4b2773620f7cd9f0b84307b25472)
1996-07-04 19:41:16 +00:00
Samba Release Account
7812ff0813 modified become_master() to a state-based system. becoming a master
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
(This used to be commit 7719fb06524a66ce5e3f30f3152ddb1e200c97f3)
1996-07-04 19:19:26 +00:00
Samba Release Account
9a08bb015c Started uninstall in Makefile
Updated some email addresses
(This used to be commit a7be82ee6e56481b907ab3672b214639ec63c9b5)
1996-07-04 03:17:08 +00:00