
Samba Distribution Programs
|
103
ip=host
Sets the destination hostname or IP address.
netbiosname=name
Sets the computer name to connect as. This defaults to the
hostname of the local system.
workgroup=name
Sets the workgroup or domain.
sockopt=opts
Sets TCP socket options.
scope=num
Sets the NetBIOS scope.
guest
Don’t expect or prompt for a password.
ro
Mounts the share read-only.
rw
Mounts the share read-write.
iocharset=charset
Sets the charset used by the Linux machine for codepage-to-
charset translation. See also the codepage option.
codepage=page
Sets the DOS code page. See also the iocharset option.
ttl=milliseconds
Sets the time to live, in milliseconds, for entries in the direc-
tory cache. A higher value gives better performance on large
directories and/or slower connections. The default is 1000ms.
Try 10000ms (10 seconds) as a starting value if directory
operations are visibly slow.
smbpasswd
smbpasswd [options] [username] [password]
smbpasswd [options] [password]
The smbpasswd program provides the general function of
managing encrypted passwords. How it works depends on
whether it is run by the superuser or an ordinary user.
For the superuser, smbpasswd can be used to maintain Samba’s
smbpasswd file. It can add or delete users, change their passwords,