<<

,sambaIX.fm.28352 Page 385 Friday, November 19, 1999 3:40 PM

Index

<> (angled ), 14 archive files, 137 * (), 169 authentication, 19, 164–171 \ (backslash) in smb.conf file, 85 mechanisms for, 35 \\ (backslashes, two) in directories, 5 NT domain, 170 : (), 6 share-level option for, 192 \ (continuation character), 85 auto services option, 124 . (dot), 128, 134 automounter, support for, 35 # (hash mark), 85 awk script, 176 % (), 86 . (period), 128 B ? (), 135 backup browsers ; (), 85 local master browser, 22 / ( character), 129, 134–135 per local master browser, 23 / (slash) in shares, 116 maximum number per workgroup, 22 _ () 116 backup domain controllers (BDCs), 20 * wildcard, 177 backups, with smbtar program, 245–248 backwards compatibility elections and, 23 for , 143 A Windows domains and, 20 access-control options (shares), 160–162 base directory, 40 accessing server, 61 .BAT scripts, 192 accounts, 51–53 BDCs (backup domain controllers), 20 active connections, option for, 244 binary vs. source files, 32 addresses, networking option for, 106 bind interfaces only option, 106 addtosmbpass executable, 176 bindings, 71 admin users option, 161 Bindings tab, 60 AFS files, support for, 35 blocking locks option, 152 aliases b-node, 13 multiple, 29 boolean type, 90 for NetBIOS names, 107 bottlenecks, 320–328 alid users option, 161 reducing, 321–326 announce as option, 123 types of, 320 announce version option, 123 broadcast addresses, troubleshooting, 289 API (application programming interface), 9 broadcast registration, 13

385 ,sambaIX.fm.28352 Page 386 Friday, November 19, 1999 3:40 PM

386

broadcast resolution, 13, 59 clients, testing with nmblookup broadcasting program, 279 troubleshooting with tcpdump .CMD scripts, 192 utility, 255 code pages, 234 (see also browsing; name resolution) multiple, 30 browse lists, 21, 116 coding system option, 235 options for, 124, 127 command string, SMB, 75 propagation, 24 commands for Samba, 366–377 restricting shares from, 115 in values, 84 browsing, 21–23, 114–127 comment option, 99 client-side, testing with net view, 280 comments in smb.conf (Samba configuration options for, 122–127 configuration) file, 85 elections, 23, 116–119 compatibility, Samba with Windows NT, 30 machines, list of, 21 compilers, 33 options for, list of, 122 compiling Samba, 38–41 preventing, 115 in version 2.0, 29 resources of a specific machine, 21–23 config file option, 91 server from client, 281 configuration files troubleshooting, 275–282 for individual clients, 253 with smbclient, 276–278 machine-specific, 87 bug avoidance options, 240–245 sample of, 379–383 list of, 240–241 smb.conf (Samba configuration) file (see smb.conf file) configuration options browsing, 122–127 cache size, new option for (Samba version disk share, 97–100 2.0), 239 format of, 83 cache time (printers), option for, 220 list of, 329–356 capitalization, 84 server, 94–96 Carnegie Mellon University, 35 configuring disk shares, 96–100 carriage-returns for scripts, 193 configuring DNS (Windows NT), 68 case sensitivity configuring Samba, 34–38 hostnames and, 5 configuration file options for, 146 creating, 41–45 usernames and, 163 testing, 45 CD-ROM with this book (see also smb.conf (Samba Samba distribution, 28, 32 configuration) file) testing tools, 28 configure script certificate authority, 300–303 GNU, 34 change notification, new option for (Samba sample execution, 38 version 2.0), 239 options, 34–37 change notify timeout option, 239 performance tuning, 312–328 Change Windows Password dialog box, 52 benchmark for, 312, 314 changes at runtime, 85 other options for, 319–328 chat characters for passwords, 178 server, 93–96 CIFS (Common Internet File System), 3 with SSL, 295–311 (see also SMB/CIFS protocol) requirements for, 296 client option, 234 configuring TCP/IP networking client users (see users) protocol, 55, 66–71 client variables, 86 ,sambaIX.fm.28352 Page 387 Friday, November 19, 1999 3:40 PM

Index 387

configuring Windows clients, 50–81 DFS, support for, 35 Windows 95/98 , 50–63 DHCP (Dynamic Host Configuration Windows NT 4.0 computers, 63–73 Protocol), 57, 67 configuration, 63–67 dialup connection, 53 configuring WINS address, 70 Digital Pathworks clients, option for, 244 connected systems, status of, 9 directories connections barring users from viewing active, option for, 244 contents, 130, 133 current, list of, 370 installation, 40 resources, connecting to, 81 permissions, options for, 140 scripts for, 198 for Samba startup file, 363 SMB, 77 target, 40 testing, 259–263 working, option for, 134 virtual, 78 directory mask option, 138, 141 copy option, 92 disabling/enabling features, 34 creation masks, 138 discussion archives for Samba, 293 option for, 140 disk quotas, support for, 37 cryptography, private key, 35 disk shares, 4–7, 49, 82–113 CVS (Concurrent Versions Systems), 378 advanced, 114–154 Cyclic Software, 378 configuring, 96–100 creating, 96 D maximum size of, option for, 242 option, 98 daemons, 82, 359–362 disk sync, options for, 245 killing, 48 DMB (domain master browser), 119–122 messages generated by, reading, 8 option for, 126 stand-alone, 47 resource type, 24 starting, 46–48 DNS Configuration tab, 57 status report, 8 DNS (Domain Name System), 57 testing, 49 configuring, 68 with testparm, 266 as fallback for WINS address, 71 troubleshooting, 264–268 names Unix, 2 NetBIOS names and, 14 viewing, 8 resource types and, 15 (see also smbd daemon; nmbd daemon) option for, 228 data transfer protocol, 6 resources for further information, 293 datagram service, 10, 16–18 tab, 68 deadtime option, 241 dns proxy option, 228 debug files, 49 docs directory, 34 debug level option, 251, 314 test utilities, 254 debug timestamp option, 112 documentation for Samba, 291 default case option, 146 importance of reading, 34 default services, 115 domain controllers, 20, 169 option for, 124 for Windows 95/98, 18–20 defending hostnames, 12 domain group map option, 191 delays, troubleshooting, 287 domain logons, 28, 184 delete, 142 configuring Windows 95/98 for, 188 delete readonly option, 139, 142 configuring Windows NT 4.0 for, 189 delete veto files option, 135 scripts for, 192–200 dfree command option, 241 domain logons option, 190 ,sambaIX.fm.28352 Page 388 Friday, November 19, 1999 3:40 PM

388 Index

domain master browser (see DMB) /etc/resolv.conf file, 57 domain master option, 126 /etc/services configuration file, adding Domain Name System (see DNS) SWAT tool to, 41, 48 domain user map option, 191 Ethernet adaptor cards, 53, 70 domain-level security, 164, 169–171 linking to TCP/IP networking domains, 18–20 protocol, 55 adding Samba server to Windows NT execute permissions, 47 domain, 171 /export/samba/test directory, 42 behavior vs. Windows workgroups, 20 controllers (see domain controllers) F logons (see domain logons) fake directory create times option, 232 new option for password timeout fake oplocks option, 153 (Samba version 2.0), 239 FAQ, Samba, 291 roles in assumed by Samba, 26 fast locking, 36 Windows, 18, 28, 184–192 fatal error, option for, 244 authentication, 170 fault tree, 257–291 caution when selecting, 190 how to use, 257 support for, 28 "File and Printer Sharing for dont descend option, 133 Networks", 53, 60, 246 DOS file permissions and file creation masks, 138 attributes, 135–143 filenames DOS-formatted carriage returns, 193 8.3 format, 143 downloads limitations on, 143 Samba, 32 representing/resolving, 145 obtained using CVS, 378 Unix, option for, 245 tcpdump utility, 78, 257 files drive letters, mapping, 5 archive, 137 dynamically linked libraries, 33 attributes, 135–143 deleting, option for, 129 E hidden, 128, 136 elections, 23 options for, 134 operating system values in, 117 open, option for maximum order of decisions in, 118 number of, 243 role settings in, 117 permissions, 135–143 WINS servers and, 26 options for, 140 enabling/disabling features, 34 read-only, 136 encrypt passwords option, 181 deleting, 139, 142 encrypted passwords, 172 system, 136 Microsoft format, 183 in use, status of, 9 option for, 181 veto, 129–131 vs. plaintext passwords, 173 option for deleting, 135 Entire Network icon, 4 filesystems enumerated lists, 91 differences between, 127–131 errors links and, 130 searching for, 38 options for, 132–135 syntax, 45 reporting on by Samba, option for, 242 /etc/hosts file, 57, 60 (see also files) /etc/inetd.conf configuration files, 48 fixed user configuration, 196 adding SWAT tool to, 41 flat , 14, 25 ,sambaIX.fm.28352 Page 389 Friday, November 19, 1999 3:40 PM

Index 389

follow symlinks option, 133 hosts force create mode option, 141 files (Windows 95/98), 59 force directory mode option, 141 files (Windows NT computers), 71 force group option, 139, 141 networking option for connections, 101, force user option, 139, 141 103, 105 foreign-language characters, 234–236 subnets and, caution with, 102 free on disk, option for, 241 hosts allow option, 103 fstype option, 242 hosts deny option, 105 FTP (File Transfer Protocol), 6 hosts equiv option, 184 sites for Samba downloads, 32 how-tos, fault tree, 257–291 http, 6 G HUP (hangup) signal, 48 gateway field, 68 getwd cache option, 134, 320 I global options, 90 Identification Changes dialog box [globals] section, 88 (Windows NT), 63 GNU autoconf, 29 Identification tab, 60 GNU configure script, 34 implementations, Microsoft, 18–27 GNU General Public License (GPL), 3, 378 include option, 92 groups, 155–158 inetd daemon, starting other daemons administrative privileges for, 159 from, 48 names and types of, 15 installing Samba, 31–49 guest, 162 common problems, 34 guest access, 159–162 installation directories, 40 guest account option, 162 steps in, 31 guest ok option, 98 final, 41 guest only option, 162 time required, 31 installing TCP/IP protocol, 65 H installing Workstation service, 65 interfaces, networking options for, 102 hangup (HUP) signal, 48 interfaces option, 105 header, SMB, 74 internationalization, 234–236 Hexidecimal byte value invalid users option, 161 for NetBIOS group resource types, 16 IP address, 288–290 for NetBIOS unique resource types, 15 setting for Windows NT computers, 67 hidden files, 128, 136 IP Address tab options for, 134, 142, 319 Windows 95/98, 57 h-node, 13 Windows NT, 67 home directory, user’s, 36, 155 IP packet size, tuning, 316 logon script option for location of, 198 homedir map option, 200 [homes] share, 89, 157 J hort preserve case option, 147 Jacobson, Van, 255 hostnames case sensitivity and, 5 K troubleshooting keep-alive packets, option for, 242 long/short, 286 Kerberos, support for, 35 lookup, 284 kernel oplocks option, 153 ,sambaIX.fm.28352 Page 390 Friday, November 19, 1999 3:40 PM

390 Index

L options for, 199 troubleshooting, 282 languages, non-European, 30 troubleshooting from, 251–254 LDAP (Lightweight Directory Access log level option, 112, 251, 314 Protocol) login dialog box, domain logons replacement for password Windows 95/98, 188 synchronization, 179 Windows NT, 190 support for, 36 login parameters, setting, 79 ldd tool, 33 logon drive option, 197 legal agreements covering multi-user logon home option, 198 functionality, 6 logon path option, 197 Leres, Craig, 255 logon script option, 197 Lightweight Directory Access Protocol (see logon scripts, 192–200 LDAP) options for, 196–198 line continuation, 85 logons (see domain logons) links, 130 lppause command option, 221 option for, 133 lpq cache time option, 220, 319 Linux lpq command option, 221 installing Samba on Linux system, 31 lpresume command option, 221 submount and, 36 lprm command option, 221 lm announce option, 125 lm interval option, 125 LMHOSTS file, 224 M load printers option, 222 machine name, types, 15 local group map option, 192 machine password timeout option, 239 local master browser, 21, 116–122 magic output option, 233 checking machines for, 118 magic script option, 233 option for, 125 magic scripts, 233 local master option, 125 mailing lists local profiles, 194 posting to, 39 localhost for Samba, 292 address, 69 main tree, 40 troubleshooting, 288 makefiles, 33–34 localization, 234–236 mandatory profiles, 196 lock directory option, 154 mangle case option, 148 locking option, 152 mangled map option, 148 locks/locking files, 9, 149–154 mangled names option, 147 messaging option for, 237 mangled stack option, 148 opportunistic locking, 29 mangling char option, 148 tuning of, 316 map archive option, 142 (see also oplocks) map hidden option, 142 options for, 151–154 Map Network Drive option, 5, 62 Unix and, 150 map system option, 142 log files/logging mapping activating/deactivating, 253 files, options for location of, 191 checking, 108–113 network drives, 5 configuration options, 108–113 masks in for the first time (Samba), 52 creation, 138 levels of netmasks, 57 setting, 251–253 subnet, 57, 67 tuning, 314 umasks, 138 ,sambaIX.fm.28352 Page 391 Friday, November 19, 1999 3:40 PM

Index 391

master browsers (see local master browser; naming DMB; preferred master browser) machine name, types, 15 max connections option, 161 machines on NetBIOS network, 10–13 max disk size option, 242 NT computers, 63 max log size option, 112 caution with, 64 max mux option, 243 TCP/IP networking protocol, setting max open files option, 243 machine name for, 60 max ttl option, 229 NBNS (see NetBIOS, name server) max wins ttl option, 229 NBT standard, 10 max xmit option, 243, 317 NBTSTAT utility, 15 Maximum Transport Unit (MTU), 316 Netatalk (), support for McCanne, Steven, 255 interoperating with, 37 measurement forms, 326 NetBEUI (NetBIOS Extended User memory, status of, 9 Interface), 10, 53 message command option, 238 Windows NT computers and, 65 messages netbios aliases option, 107 from daemons, reading, 8 NetBIOS name, 14–16 WinPopup, 237 option for aliases, 107 Microsoft, 3 setting encryption, 30 Windows 95/98, 61 implementations, 18–27 Windows NT, 63 Microsoft Networking Client, 65 troubleshooting, 290 min print space option, 223 netbios name option, 95 min wins ttl option, 229 NetBIOS (Network Basic Input/Output mirror sites for Samba distribution, 28 System), 9 MIT, 35 compared with TCP/IP, 10 mmap code, 36 Extended User Interface (see NetBEUI) m-node, 13 multiple servers (see virtual servers) modem, linking to TCP/IP networking name (see NetBIOS name) protocol, 55 name server (NBNS), 11, 25, 58 MTU (Maximum Transport Unit), 316 network, naming machines on, 10–13 multiple code pages, 30 over TCP/IP, 10 multiple subnets, 120 Unique Resource Types, 15 multi-user functionality, legal netmasks, 57, 67 agreements and, 6 troubleshooting, 288 My (Windows 95/98), 51 network addresses finding, 290 N troubleshooting, 288–290 Network Basic Input/Output System (see name mangling, 143–149 NetBIOS) options for, 145–149 network configuration commands, 192 steps in, 143 Network dialog box (Windows NT), 63 name registration, 10 network drives, mapping, 5 name resolution, 11, 60, 224–229 Network File System options for, 227–229 resources for further information, 293 name resolve order option, 229 Network File System (NFS), 30 name services, 10 Network icon identifying what is in use, 283 Windows 95/98, 53 nmblookup program, 372 Windows NT, 63 testing, 258 network masks (see netmasks) troubleshooting, 282–288 ,sambaIX.fm.28352 Page 392 Friday, November 19, 1999 3:40 PM

392 Index

Network Neighborhood icon, 61, 93 oplocks option, 153 viewing Samba server, 72 opportunistic locking, 29 Network Neighborhood window, 21–22 tuning, 316 mapping network drives via, 5 (see also oplocks) networking option names, 84 hardware for, testing, 259 os filetime resolution option, 232 network address ranges, 289 os level option, 126 nmblookup program, testing with, 279 OS/2, support for share-level security, 165 options, 101–106 OSF/1 (Digital Unix), 35 list of, 103 magic script, 233 P printing on a network, steps in, 201 packets setting up, 53–60 headers for, tcpdump utility and, 376 newsgroups for Samba, 291 maximum size of, option for, 243 NFS (Network File System), 30 PAM (pluggable authentication resources for further information, 293 modules), 179 nis homedir option, 200 support for, 36 NIS/NIS+ protocol, 36, 169 panic action option, 244 how Samba works with, 199 passwd chat debug option, 182 resources for further information, 293 passwd chat option, 182 nmbd daemon, 2, 29, 82, 85, 361–362 passwd program option, 182 browsing options for, 125 password file, security and, 53 killing, 48 password level option, 182 starting, 46 Password settings (Windows 95/98), 51 nmblookup program, 372 passwords, 171–184 networks, testing with, 279 chat characters for, 178 node types, 13 encrypted non-encrypted passwords, 172 changing, 176 non-European languages, 30 disabling on Windows Novell Networking, 53 computers, 173 nt pipe support option, 243 vs. non-encrypted, 172, 173 nt smb support option, 243 null, 183 null passwords, 183 options for, 180–184 null TID, 74 share-level, 192 numerical type, 90 passwd program, 182 smbpasswd program, 374 O stored by Samba, 172 .old files, 39 synchronizing, 176–179 ole locking compatibility option, 244 user-level security and, 168 Open Source Software (OSS), 3 Windows 95/98, 51–53 operating systems changing, 52 encrypted/non-encrypted pathnames passwords, 172 option for, 98 miscellaneous options for, 240 printer configuration and, 207 values in elections, 117 paths, architecture-specific, 86 oplock files option, 316 pdate encrypted option, 183 oplocks, 149–154 PDC (primary domain controller), 20 break requests, 149 domain master browser and, 119 messaging option for, 237 domain option for, 190 options for, 151–154 domain-level security and, 164 ,sambaIX.fm.28352 Page 393 Friday, November 19, 1999 3:40 PM

Index 393

PDC (continued) option for, 219–221 Samba 2.1 and, 186 sharing (see print shares) Samba, setting up as, 184 System V, 216 sever-level security and, 168 printing, 201–224 trust accounts and, 186 commands, 202 performance, 29 default commands for, 221 performance tuning, 312–328 configuration, minimal, 203–205 benchmark for, 312, 314 configuration options, 203–207 other options for, 319–328 drivers for, setting up, 210–213 recommended enhancements, 320 on a network, steps in, 201 permissions, 207 options for, 217–224 options for, 140–143 pathnames used in commands for, 207 for printing, 207 permissions for, 207 plaintext passwords, 173 print jobs, 204 pluggable authentication modules spooling with smbprint tool, 213 (PAM), 36, 179 printer definition file, 211 p-node, 13 resources for information on point-to-point communication, 13 debugging, 208 point-to-point registration/resolution, 13 through Samba, 201–213 port not telnet option, 257 test for, 206 postexec option, 199 types, 218 postscript option, 221 variables for, 203 preexec option, 199 Windows client printers preferred master browser, 119 printing to, 213–224 preferred master option, 126 setting up and testing, 208 preserve case option, 147 printing configuration option, 218 preventing browsing, 115 private directory (Samba distribution), 172 primary domain controller (see PDC) private key cryptography, 35 primary WINS server, 26 privileges, option for, 199 print command option, 221 processes (see daemons) print queue, options for, 223 profiles, 194 print shares, 7–9, 89–90, 204–205 creating, 53 created by Samba, 205 local, 194 options for, 222 mandatory, 196 path option, 98 roaming, 194–196 setting up on Windows client, 7 option for location of, 197 printable option, 219 programmers, support for, 230–233 printcap name option, 223 propagation, browse list, 24 printer capabilities file, 89 Properties button (Windows 95/98), 55 printer driver file option, 219 protocols printer driver location option, 220 routed through a hardware device, 53 printer driver option, 219 variant, negotiating, 78 printer option, 219 Protocols tab, 65–66 PRINTER$ share, creating, 212 printers Q BSD, 215 queuepause command option, 223 names queueresume command option, 223 caution with, 205 quotation marks in values, 84 checking, 375 ,sambaIX.fm.28352 Page 394 Friday, November 19, 1999 3:40 PM

394 Index

R documentation, importance of reading, 34 rc.local file, 47 downloading, 32–34 read list option, 161 with CVS, 378 read only option, 100 features/uses, x read prediction, testing, 318 installing (see installing Samba) read raw, tuning, 315 logging in for the first time, 52 read size, tuning, 318 Microsoft encryption and, 30 reading documentation, importance of, 34 new features file, 34 read-only files, 136 origin of name, 2 deleting, 139, 142 performance tuning, 312–328 read-only partitions, 40 benchmark for, 312, 314 read-only/read-write access, 159 other options for, 319–328 remote announce option, 127 reasons for using, 3 remote browse sync option, 127 resources for further remote procedure call (RPC), 376 information, 291–293 representing/resolving filenames, 145 roles in Windows resource names, 14 domains/workgroups, 26 resource types, 14 startup file, 363 for primary domain controller vs. test utilities, 254–257 domain master browser, 24 version 2.0, 20, 28 resources, connecting to, 81 character sets, 235 resources for further information, 291–293 code pages for, 234 group attributes, 16 coding system parameters, 235 NFS (Network File System), 293 new options, 238 printers, debugging, 208 version 2.0.5, xi, 28 Samba, 32 version 2.1, 20 Solaris servers, 321 PDC functionality and, 186 Windows network configuration web site, 32, 291 commands, 192 WINS server and, 225 revalidation of users, 192 Samba server roaming profiles, 194–196 accessing, 61 option for location of, 197 connecting to, 71 role settings in elections, 117 resources offered, 72 root postexec option, 199 sizing, 320–328 root preexec option, 198 viewing via Network Neighborhood root user, 37, 199 icon, 72 access, 159 Samba Web Administration Tool (see SWAT routers, TCP/IP configuring and, 68 tool) RPC (remote procedure call), 376 scripts rpcclient program, 376 connection, 198 logon, 192–200 S magic, 233 SAM (security account manager), 19, 169 for Samba startup file, 363 Samba, 1–9 secondary WINS server, 26 compatibility with Windows NT, 30 sections of smb.conf (Samba configuration) compiling (see compiling Samba) file, 83 configuring (see configuring Samba) Secure Sockets Layer protocol (see SSL) daemons (see daemons) security, 35, 164–171 distribution, xi, 28, 32 domain-level, 169–171 levels of, 164 ,sambaIX.fm.28352 Page 395 Friday, November 19, 1999 3:40 PM

Index 395

security (continued) viewing (see browsing) options for, 164 sharing restricting access to shares, 158–163 disks (see disk shares) server-level, 168 printers (see print shares) share-level, 164–167 Sharpe, Richard, 74 options for, 167 SIGHUP signal, 85 user-level, 167 sizing Samba servers, 320–328 security account manager (SAM), 19, 169 smb passwd file option, 183 Select Network Protocol dialog box, 65 SMB (), 2, 74–81 server configuration options, 94–96 command string, 75 Server Message Block (see SMB) commercial products for, 77 server string parameter, 95 deny-mode locks, 151 server-level security, 168 format of, 74 servers header, 75 active, list of, 116 magic scripts, 233 testing with nmblookup program, 278 making a simple connection, 77 virtual, 106–108 maximum number of operations, options for, 107 option for, 243 service bindings, 71 networks, 4 services, 83 usernames and, 162 list of enabled on machine, 45 option for NT-specific options, 243 performed by Samba, 2 password server, 168 testing low-level, 257–263 resources for further information, 74 Workstation, 65 seamless operation across networks, 30 (see also shares) troubleshooting connections, 268–275 Services tab, 65 testing locally, 268 session layer, connection at, 78 testing with NET USE, 271–274 session parameters, setting, 79 testing with smbclient, 270 session service, 10, 16–18 testing with Windows set directory option, 244 Explorer, 274–275 share modes, 151 wrapper support, 34 share options, 90 SMB/CIFS protocol, 3 shared directory/resources (see shares) filesystems, 34 shared resources (see shares) network and, 9–18 share-level security, 164–167 smbclient program, 49, 364–370 options for, 167 smb.conf (Samba configuration) file, 8, 41, printing and guest accounts, 204 63, 82–93 steps in taken by Samba, 165 configuring printers, 203 shares, 30, 83 creating, 93 access to for each client, 253 controlling, 158–163 example of, 82 creating for groups, 157 modifying for printer drivers, 212 by foreign hosts, option for, 184 options for, 90–93 contents, restricting view of, 115 format of, 83 default, 115 supporting programmers, 230–232 file, path option for, 98 special sections of, 88–91 [globals] section, 88 structure of, 83–86 option for identifying users allowed testparm program for, 375 access to, 168 variables for, 86–88 ,sambaIX.fm.28352 Page 396 Friday, November 19, 1999 3:40 PM

396 Index

smbd daemon, 2, 82, 359–360 ssl server cert option, 308 file, 47 ssl server key option, 308 killing, 48 ssl version option, 310 starting, 46 stand-alone daemons, 47 smbd server, checking with telnet, 266 stat cache option, 239 smbmount, support for, 36 stat cache size option, 239 smbpasswd file, 172, 174–176 status option, 244 adding entries to, 175 status report on Samba, 8 caution with, 173–174 strict locking option, 152, 319 option for location of, 183 strict sync option, 245, 319 smbpasswd program, 171, 374 string types, 90 changing passwords with, 176 strip dot option, 245 smbprint tool, spooling print jobs, 213 subnets, 12 smbrun option, 244 hosts and, caution with, 102 smbsh program, 364 mask, 57, 67 smbstatus program, 8, 370 multiple spanned by Windows smbtar program, 245–248 workgroups, 24 tar operations and, 371 Windows NT workstations and, 24 smbwrapper client, 30 superuser (see root user) smbwrapper package, 35 SWAT tool, 29 socket address option, 106 adding to configuration files, 41 socket options configuration options, 314 creating configuration file with, 42 software distribution (see Samba, sync always option, 245, 319 distribution) synchronizing source vs. binary files, 32 passwords, 176–179 spaces in values, 84 time, options for, 231 special sections, smb.conf (Samba syntax errors, 45 configuration) file, 88–91 syslog only option, 113 spelling, caution with, 61 syslog option, 113 spool space, options for, 223 SYSLOG utility, 110 square brackets, 83 support for, 36 ssl CA certDir option, 308 system administrator, WINS server and, 26 ssl CA certFile option, 308 system files, 136 ssl ciphers option, 310 System V Unix, 47 ssl client cert option, 309 printer configuration for, 203 ssl client key option, 309 ssl compatibility option, 311 T ssl hosts option, 307 tar operations, 371 ssl hosts resign option, 307 tcpdump utility, 78, 255–257, 376 ssl option, 307 passwords, reading, 172 ssl require clientcert option, 309 TCP/IP networking protocol, 9 ssl require servercert option, 310 adding/configuring, 54 SSL (Secure Sockets Layer) protocol, 30 checking setup, 53 configuration options for, 306–311 compared with NetBIOS, 10 configuring Samba to use, 300 configuring, 66–71 configuring Samba with, 295–311 installing, 65 SS Proxy, 296 NetBIOS over, 10 setting up, 304 receive window, tuning, 317 SSLeay, 296–304 resources for further information, 293 support for, 34, 36 TCP, troubleshooting, 263 ,sambaIX.fm.28352 Page 397 Friday, November 19, 1999 3:40 PM

Index 397

TCP/IP Properties panel (Windows servers, backing up computers 95/98), 55 from, 246 test parser, 45 System V, 47 test share, 42 printer configuration for, 203 testing printing and, 29 configuration file, 45 troubleshooting utilities, 254 daemons, 49 user classifications, 135 Samba, 41–46 unix password sync option, 180 smbclient program, 364–370 unix realname option, 133 test utilities for Samba, 254–257 URLs (uniform resource locators), 6 tools for (CD-ROM with this book), 28 distribution, 28 testparm program, 375 Kerberos, 35 testparm test parser, 45 Samba, 28, 32 testprns program, 375 distribution, xi TID (tree identifier), 74, 78, 80 web site, 291 time server option, 231 SMB (Server Message Block), 74 time synchronization, options for, 231 use rhosts option, 184 time to live (TTL), options for, 229 user profiles (Windows 95/98), 50 timestamp logs option, 112 user variables, 86 trace utility, 254 user-level security, 164, 167 trailing dot, option for, 245 username level option, 163 tree identifier (TID), 74, 78, 80 username map option, 162 Tridgell, Andrew, 2, 255 username option, 167 troubleshooting, 250–291 usernames information to have on hand, 257 case sensitivity and, 163 network addresses, 288–290 options for, 162–163 where to start, 250 SMB vs. Unix networks, 162 trust accounts, creating, 186 Windows 95/98, 51–53 TTL (time to live), options for, 229 users, 155–158 tuning (see performance tuning) allowing superuser (root) access to, 159 creating, 89 U domain, semi-automatic deletion, 171 home directory, 36 umasks, 138 logon script option for location uniform resource locators (URLs), 6 of, 198 Universal Naming Convention (UNC), 5 invalid, specifying, 158 Unix read-only/read-write access, 159 carriage returns, 193 setting up, 155 daemons, 2 share-level option for authentication file permissions and attributes, 135–143 of, 192 filenames, option for, 245 shares for, setting up, 157 locks and, 150 /usr/local/samba file, 40 networks, usernames and, 162 /usr/local/samba/var/log.smb file, 49 options for messaging, 237 miscellaneous, 240 V for print commands, 221 valid chars option, 236 for system logger, 113 variables, 86–88 password files, 169 veto files, 129–131 permissions, share write access and, 159 option for deleting, 135 ,sambaIX.fm.28352 Page 398 Friday, November 19, 1999 3:40 PM

398 Index

veto files option, 134 Windows NT Server Manager for Domains veto oplock files option, 154 tool, 171 viewing daemons, 8 Windows NT Workstation 4.0, 65 virtual connection, 78 Windows UNC format, 62 virtual hosts, 29 Windows workgroups (see workgroups, virtual servers, 106–108 Windows) options for, 107 WINDOWSHOSTS directory, 71 volume option, 100 WinPopup tool, 237 WINS Address tab (Windows NT panel), 70 W WINS Configuration tab, 58 wins proxy option, 228 Whistle, 3 wins server option, 228 whitespaces in values, 84 wins support option, 228 wide links option, 134, 319 WINS (Windows Internet Name Service), 2, Windows 95/98 25, 58 domain controllers for, 18–20 address, configuring, 70 domain logons, configuring, 185 name resolution and, 224 domains, 184–192 options for, 228 miscellaneous options for, 240 server, 44 multiple users, support for, 50 configuring Windows domain logons passwords, encrypted, 172 and, 185 printer drivers, installing, 210 servers, 25, 59 share-level security, support for, 165 Windows operating systems and, 26 WinPopup tool, 237 WINS server Windows clients primary/secondary, 26 configuring, 50–81 WINS (Windows Internet Name Service) Windows NT 4.0 computers, 63–73 server Windows95/98 computers, 50–63 setting up Samba as, 226 individual configuration files for, 253 setting up Sambato use, 225 printers for, setting up and testing, 208 Wong, Brian, 321 role settings in elections, 117 workgroup parameter, 96 Windows Explorer, Map Network Drive workgroups, 4 option, 5 roles in assumed by Samba, 26 Windows Internet Name Service (see setting, 60 WINS) Windows Windows NT behaviors vs. Windows domain, 20 client/server and, 77 spanning multiple subnets, 24 configuring domain logons, 186 working directory, option for, 134 domains, 18, 28, 184–192 Workstation service, installing, 65 caution when selecting, 190 wrapper support for SMB (Server Message IP address, setting, 67 Block), 34 naming, caution with, 63 write ahead, tuning, 318 passwords write list option, 161 encrypted, 172 write privileges, 40 new option for timeout (Samba write raw, tuning, 315 version 2.0), 239 write size, tuning, 317 pipes, option for, 243 writeable/write ok option, 100 server, domain master browser and, 119 SMB, option for, 243 user authentication and, 186 Y WINS address and, 70 Young, Eric, 296 Windows NT Server 4.0, 65