In the [global]
section, the workgroup is set to ESTREET, the server is identified as the Samba Server on Maple,
and only computers that are on the local network (192.168.0.) are allowed access to the Samba
service. You must change the local network to match your network.
Definitions for the local printers that will be shared are taken from the /etc/printcap file, the
printers are loaded (yes), and the CUPS printing service is used.
Separate log files for each host trying to use the service are created in /var/log/samba/%m.log
(with %m automatically replaced with each hostname). There is no limit to log file size (0).
This example uses the user-level security (security = user), which allows a user to log in once
and then easily access the printers and the user??™s home directory on the Linux system. Password
encryption is on (encrypt passwords = yes) because most Windows systems have password
encryption on by default. Passwords are stored in the /etc/samba/smbpasswd file on your Linux
system.
The dns proxy = no option prevents Linux from looking up system names on the DNS server
(used for TCP/IP lookups).
The [homes] section enables each user to access his or her Linux home directory from a Windows
system on the LAN. The user will be able to write to the home directory.
Pages:
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353