14 * (Asterisk), 169 \ (Backslash) in Smb.Conf File, 85
Total Page:16
File Type:pdf, Size:1020Kb
,sambaIX.fm.28352 Page 385 Friday, November 19, 1999 3:40 PM Index <> (angled brackets), 14 archive files, 137 * (asterisk), 169 authentication, 19, 164–171 \ (backslash) in smb.conf file, 85 mechanisms for, 35 \\ (backslashes, two) in directories, 5 NT domain, 170 : (colon), 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 % (percent sign), 86 . (period), 128 B ? (question mark), 135 backup browsers ; (semicolon), 85 local master browser, 22 / (slash character), 129, 134–135 per local master browser, 23 / (slash) in shares, 116 maximum number per workgroup, 22 _ (underscore) 116 backup domain controllers (BDCs), 20 * wildcard, 177 backups, with smbtar program, 245–248 backwards compatibility elections and, 23 for filenames, 143 A Windows domains and, 20 access-control options (shares), 160–162 base directory, 40 accessing Samba 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 Index 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 commas 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) C 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 code page 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 computers, 50–63 DHCP (Dynamic Host Configuration Windows NT 4.0 computers, 63–73 Protocol), 57, 67 basic 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 path 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 Microsoft 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 namespaces, 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 space 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,