######################################################################
# Configuration file for NDTPD.
######################################################################

### Hostname of the server.
### (default: defined automatically)
server-name		localhost.my.domain

### Port number `ndtpd' binds.
### (default: ndtp)
# ndtp-port		ndtp

### Owner of the `ndtpd' process.
### (default: none)
user			root

### Group of the `ndtpd' process.
### (default: none)
group			wheel

### How many clients can be connected to `ndtpd' at the same time.
### (default: 1)
# max-clients		1

### Which hosts can or cannot connect to `ndtpd'.
### (default: none)
hosts			127.0.0.1
hosts			!?

### Timeout seconds until `ndtpd' disconnects an idle connection.
### (default: 900)
# timeout		900

### Which of hosts Identification Protocol is used to.
### (default: none)
# ident-hosts		!*

### Timeout seconds until `ndtpd' gives up identifying a remote user.
### (default: 30)
# ident-timeout		30

### Path to a working directory.
### Please create the directory and make it be writable for the ndtpd
### processes before executing `ndtpd'.
### (default: /usr/local/var/ndtpd/ndtpd)
# work-path		/usr/local/var/ndtpd/ndtpd

### How many hit entries `ndtpd' tries to find at a search.
### (default: 50)
# max-hits		50

### The maximum size of text the server may send as a response to
### a client.
### (default: 8192)
# max-text-size		8192

### Syslog facility
### (default: daemon)
syslog-facility		local0

###
### Book entry
###
begin book
    ### Name of the book.
    ### (default: none)
    name		KENKYUSHA

    ### Title of the book.
    ### (default: none)
    title		KENKYUSHA EIWA/WAEI

    ### Path to a top directory of the book.
    ### (default: none)
    path		/usr/local/share/dict/cdrom/e

    ### Path to a top directory of the appdendix data of the book.
    ### (default: none)
    appendix-path	/usr/local/share/eb/appendix/chujiten-2.3

    ### How many clients can access the book at the same time.
    ### *** not implemented yet ***
    ### (default: 1)
    max-clients		1

    ### Which hosts can or cannot access to the book.
    ### (default: none)
    hosts		127.0.0.1
    hosts		!?

    ### Aliases.
    ### (default: none)
    alias-eiwa		EIWA
    alias-waei		WAEI
end

### Add a book group directive (lines between `begin book' and `end'),
### if you want to read another CD-ROM book through NDTPD.  A book group
### directive is required for each book.
begin book
    ### Name of the book.
    ### (default: none)
    name		KOJIEN

    ### Title of the book.
    ### (default: none)
    title		IWANAMI KOJIEN

    ### Path to a top directory of the book.
    ### (default: none)
    path		/usr/local/share/dict/cdrom/k

    ### Path to a top directory of the appdendix data of the book.
    ### (default: none)
    appendix-path	/usr/local/share/eb/appendix/kojien4-2.2

    ### How many clients can access the book at the same time.
    ### *** not implemented yet ***
    ### (default: 1)
    max-clients		1

    ### Which hosts can or cannot access to the book.
    ### (default: none)
    hosts		127.0.0.1
    hosts		!?

    ### Aliases.
    ### (default: none)
    alias-kojien	KOUJIEN
end
