1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

2046 Commits

Author SHA1 Message Date
Andrew Tridgell
fe0f5d44e2 - added docs on new "printer driver" option
- cleaned up a couple of minor things
-
Andrew Tridgell
f8740429a5 new docs for japanses extensions from Fujita -
Andrew Tridgell
3a7c2d9dfa minor fix to write_data() for EOF handling -
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
-
Samba Release Account
6567bac5d1 preparing for release of 1.9.16alpha16 -
Samba Release Account
32f495cf22 preparing for release of 1.9.16alpha14 -
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
-
Samba Release Account
2193c1ee4e updating documentation to reflect code a little bit.
lkcl
-
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.
-
Samba Release Account
f46305d76e Tiny bug in doco reported to samba-bugs
dan
-
Samba Release Account
043898aa85 preparing for release of 1.9.16alpha15 -
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
-
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
-
Samba Release Account
801fe1066e preparing for release of 1.9.16alpha13 -
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.
-
Samba Release Account
66148db2f7 Lots of updating.
Dan
-
Andrew Tridgell
7c8fd43b4e minor cleanups -
Andrew Tridgell
fabd4230f1 the client now loads the smb.conf config file so it can get the
interfaces info, and the workgroup right.
-
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>
-
Andrew Tridgell
51e5a1a546 removed the remote interfaces stuff. -
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
:-)
-
Andrew Tridgell
e6282da558 added a bunch of comments to Lukes docs. -
Andrew Tridgell
c1415349ac minor debug output fix -
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.
-
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>
-
Samba Release Account
87cf3702c6 CVS: -
Samba Release Account
eae670a7ca preparing for release of 1.9.16alpha12 -
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.
-
Samba Release Account
b9d7b458b9 preparing for release of 1.9.16alpha11 -
Andrew Tridgell
153d324c7b minor cleanups ready for another release -
Andrew Tridgell
1fd1d7c27c removed some debug stuff from luke -
Samba Release Account
45d3b26447 lots of changes to nmbd
lkcl
-
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
-
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
-
Samba Release Account
4ccc84989e missed nmbd.c in previous update.
did a make proto

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

lkcl
-
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
-
Samba Release Account
a7be82ee6e Started uninstall in Makefile
Updated some email addresses
-
Andrew Tridgell
05107be566 generated new proto.h -
Andrew Tridgell
38135c854e fixed conflict between two variables called d -
Andrew Tridgell
ba478e9404 fixed conflict with global variable updatecount -
Andrew Tridgell
98568862ca fix Makefile - remove Lukes private stuff :-)
rerun proto generator
-
Andrew Tridgell
609c3a5e1e - moved the protocol defs in the client to keep sill C compilers happy
- added change for cnum range in reply_tdis()
-
Samba Release Account
a66417ebe8 as a result of the writing of namework.doc, namework.c has been tidied up,
some bugs fixed / documented and some discrepancies noted down (in
namework.c as well as namework.doc)

namebrowse.c and namelogon.c contain functions that were inappropriately
placed in namework.c. namebrowse.c contains browse sync queue management
functions that were inappropriately placed in namedb.c

the 'cmd_type' member of response_record has been renamed to 'state'
because that more accurately reflects it purpose (not entirely. sigh).

fixed a bug in nameserv.c that meant the previous version wouldn't
compile.

there's probably a bit more...

lkcl
-
Samba Release Account
96d242826d updated low-level design documentation on nmbd. first draft of namework.doc
and updated the other two.

lkcl
-