nbd(ADMN) nbd(ADMN) Name nbd - NetBIOS daemon Syntax /etc/nbd Description /etc/nbd initializes NetBIOS, then remains active to create new TCP end- points for NetBIOS and recycle used ones. NetBIOS initialization con- sists of performing an ioctl to set certain configuration parameters and linking UDP and TCP endpoints to NetBIOS. Two UDP endpoints and one TCP endpoint are used for the name, datagram, and session services, respec- tively. Each NetBIOS session requires one TCP endpoint. As sessions ter- minate, their TCP endpoints are unlinked. From time to time, new TCP endpoints must be linked to NetBIOS to use for new sessions. The daemon listens for messages from NetBIOS instructing it to unlink certain end- points and/or provide new ones. Certain NetBIOS configuration parameters are set by /etc/nbd from the values of a set of environment variables. /etc/nbd executes getenv(S) to obtain these variables. If all variables are not found, /etc/nbd fails. These variables are: NBADDR Internet address of interface to be used (in dot notation) NBBROADCAST Internet broadcast address to use (in dot notation) NBMAXPKT Maximum IP datagram size to avoid fragmentation NBSCOPE NetBIOS scope name string (fully-qualified domain name string, e.g. i88.isc.com; NetBIOS names are qualified by this domain name) NBDFLTNCB Default maximum number of pending NetBIOS Control Blocks (NCBs) per NetBIOS user environment NBDFLTSSN Default maximum number of active sessions per NetBIOS user environment NBMAXNAME Maximum number of names a user may register NBMAXNCB Limit on the allowed number of NCBs configured NBMAXSSN Limit on the allowed number of sessions configured The script /etc/netbios reads some of these parameters from a configura- tion file and determines others from the environment, then runs /etc/nbd (see netbios(ADMN).) Files /dev/netbios NetBIOS device node See also netbios(ADMP) and netbios(ADMN).