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

11303 Commits

Author SHA1 Message Date
Samba Release Account
16f10b333d preparing for release of 1.9.16alpha17 0001-01-01 00:00:00 +00:00
Andrew Tridgell
f1dc2b9317 minor cleanups 0001-01-01 00:00:00 +00:00
Andrew Tridgell
d0ce245acc 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.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
94aa86a1e9 doc updates 0001-01-01 00:00:00 +00:00
Andrew Tridgell
c66ad071b7 - add the 0x1c name for all interfaces if we are a logon server 0001-01-01 00:00:00 +00:00
Andrew Tridgell
d84f5402fd don't allow newlines in printer status messages 0001-01-01 00:00:00 +00:00
Andrew Tridgell
aa6f8b04d1 - 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
0001-01-01 00:00:00 +00:00
Andrew Tridgell
fe0f5d44e2 - added docs on new "printer driver" option
- cleaned up a couple of minor things
0001-01-01 00:00:00 +00:00
Andrew Tridgell
f8740429a5 new docs for japanses extensions from Fujita 0001-01-01 00:00:00 +00:00
Andrew Tridgell
3a7c2d9dfa minor fix to write_data() for EOF handling 0001-01-01 00:00:00 +00:00
Samba Release Account
2b9475cc5f 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
0001-01-01 00:00:00 +00:00
Samba Release Account
6567bac5d1 preparing for release of 1.9.16alpha16 0001-01-01 00:00:00 +00:00
Samba Release Account
32f495cf22 preparing for release of 1.9.16alpha14 0001-01-01 00:00:00 +00:00
Samba Release Account
12c50bac4e 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
0001-01-01 00:00:00 +00:00
Samba Release Account
2193c1ee4e updating documentation to reflect code a little bit.
lkcl
0001-01-01 00:00:00 +00:00
Samba Release Account
b5fb0293b0 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.
0001-01-01 00:00:00 +00:00
Samba Release Account
f46305d76e Tiny bug in doco reported to samba-bugs
dan
0001-01-01 00:00:00 +00:00
Samba Release Account
043898aa85 preparing for release of 1.9.16alpha15 0001-01-01 00:00:00 +00:00
Samba Release Account
70d3d3bbf0 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
0001-01-01 00:00:00 +00:00
Samba Release Account
6e932e4bae 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
0001-01-01 00:00:00 +00:00
Samba Release Account
801fe1066e preparing for release of 1.9.16alpha13 0001-01-01 00:00:00 +00:00
Andrew Tridgell
a7c7d7afe2 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.
0001-01-01 00:00:00 +00:00
Samba Release Account
66148db2f7 Lots of updating.
Dan
0001-01-01 00:00:00 +00:00
Andrew Tridgell
7c8fd43b4e minor cleanups 0001-01-01 00:00:00 +00:00
Andrew Tridgell
fabd4230f1 the client now loads the smb.conf config file so it can get the
interfaces info, and the workgroup right.
0001-01-01 00:00:00 +00:00
Samba Release Account
14bae3a0bd 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>
0001-01-01 00:00:00 +00:00
Andrew Tridgell
51e5a1a546 removed the remote interfaces stuff. 0001-01-01 00:00:00 +00:00
Andrew Tridgell
9e411f2c90 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
:-)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e6282da558 added a bunch of comments to Lukes docs. 0001-01-01 00:00:00 +00:00
Andrew Tridgell
c1415349ac minor debug output fix 0001-01-01 00:00:00 +00:00
Andrew Tridgell
6fa3468c9b 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.
0001-01-01 00:00:00 +00:00
Samba Release Account
fd6c3dfffd 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>
0001-01-01 00:00:00 +00:00
Samba Release Account
87cf3702c6 CVS: 0001-01-01 00:00:00 +00:00
Samba Release Account
eae670a7ca preparing for release of 1.9.16alpha12 0001-01-01 00:00:00 +00:00
Samba Release Account
96c2efded8 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.
0001-01-01 00:00:00 +00:00
Samba Release Account
b9d7b458b9 preparing for release of 1.9.16alpha11 0001-01-01 00:00:00 +00:00
Andrew Tridgell
153d324c7b minor cleanups ready for another release 0001-01-01 00:00:00 +00:00
Andrew Tridgell
1fd1d7c27c removed some debug stuff from luke 0001-01-01 00:00:00 +00:00
Samba Release Account
45d3b26447 lots of changes to nmbd
lkcl
0001-01-01 00:00:00 +00:00
Samba Release Account
c290c229f9 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
0001-01-01 00:00:00 +00:00
Samba Release Account
cb43ce7bc0 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
0001-01-01 00:00:00 +00:00
Samba Release Account
4ccc84989e missed nmbd.c in previous update.
did a make proto

lkcl
0001-01-01 00:00:00 +00:00
Samba Release Account
429f1f975e 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
0001-01-01 00:00:00 +00:00
Samba Release Account
d78b319062 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
0001-01-01 00:00:00 +00:00
Samba Release Account
b50ff657dd 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
0001-01-01 00:00:00 +00:00
Samba Release Account
b6343dd09c Added uninstallation from Makefile, either in parts or total uninstall
Dan
0001-01-01 00:00:00 +00:00
Samba Release Account
2eccc5eea2 Changed install scripts so they don't have hardcoded values
Dan
0001-01-01 00:00:00 +00:00
Samba Release Account
166d70eba3 namebrowse.c was using variable work uninitialised.
remkproto'd proto.h

lkcl
0001-01-01 00:00:00 +00:00
Samba Release Account
7719fb0652 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
0001-01-01 00:00:00 +00:00
Samba Release Account
a7be82ee6e Started uninstall in Makefile
Updated some email addresses
0001-01-01 00:00:00 +00:00