1. Shared Files Grid
The Shared Files Grid displays the list of all shared files in a tabular grid format. It has the following fields.
Field | Description |
---|---|
Share Name | It is the name of the share. |
Path | It specifies the path that is shared. |
Security | It shows the type of security available for the share. |
2. Selecting All Shares
Located along the top of the Samba File Sharing Wizard.
You can select all the file shares. To do so, simply click the Select All button.
All the shared files in the list will be selected.
3. Inverting Selection
Located along the top of the Samba File Sharing Wizard.
You can invert the selection of the file shares. To do so, simply click the Invert Selection button.
The selection of the shared files in the list will be inverted.
3. Creating a New File Share
Located along the top of the Samba File Sharing Wizard.
Note |
---|
Before you start creating a new file share, it is better to configure the default windows network environment settings. |
- On the CIFS Shares panel, click the Create a New File Share link.
The Create File Share section of the panel will be displayed. - Enter the name of the share that will appear as the network mount point in the Share Name text entry box.
- The Directory to share is the path to the Volume that was created in the prior step. Click the Browse button to select the Volume from the filesystem for sharing.
- Set the Automatically Create Directory field option to be Yes.
- The Create with Owner field determines which Linux user will be assigned to the shared folder.
- Enter the permission mask in the Create with Permissions text entry box. Example, 777 is read/write/execute for all users.
- The Create with Group field determines which Linux group will be assigned to the shared folder.
- To make the share to be available on the network, check the Yes option in the Available field.
- To make the share to be browsable on the network, check the Yes option in the Browsable field.
- Enter the comment if any to display to users who browse the share, in the Share Comment text entry box.
- Click the Create button.
The new file share will be created and published for access by windows servers and clients.
4. Creating a New Printer Share
Located along the top of the Samba File Sharing Wizard.
Creating a new printer share is easy. Simply follow the steps given below.
- Click the Create a New Printer Share button.
The Create Printer Share page will be displayed. - In the Share name field, make sure the first button is selected and enter a unique alphanumeric name for your share into the text box. This should be the same as the name of the Unix printer you select in the next step to avoid confusion. If an automatically created printer share with the same name already exists, this new one will override it.
- From the Unix printer drop down list, select the printer to make available to SMB clients.
- In the Spool directory field, enter the name of a directory in which temporary files for printing are stored.
- To disable this printer so that it cannot be used, change the Available? field to No.
- To hide this printer from the list that appears when the server is browsed, change the Browseable? field to No. It will still be directly accessible using a \\servername\printername path though.
- In the Share comment field, enter a short description for this printer.
- Click the Create button to add the share to the Samba configuration.
You can edit this share and configure security options.
5. Creating a New Copy
Located along the top of the Samba File Sharing Wizard.
To create a new copy share:
- Click the Create a New Copy button.
The Create Copy page will be displayed. - Select the name of the share from the existing shares drop down list.
- Enter the new name for the share in the text entry box.
- Click the Create button.
The new copy share will be created.
6. Viewing All Connections
Located along the top of the Samba File Sharing Wizard.
You can view all users and their connections through file sharing. To do so, simply click the View All Connections button.
All the users of the shared files will be displayed.
7. Deleting Selected Shares
Located just under the "Share Name" section.
You can delete a share that is no longer being used.
- Select the shares that you wish to delete from the list of shares.
- Click the Delete Selected Shares button.
All the selected shares will be removed.
8. Configuring Unix Networking
You can configure Unix networking options.
- To do so, click the Unix Networking icon in the Global Configuration section.
The Unix Networking Options page will be displayed. - Specify the Idle time before disconnect in the field. The default is Never.
- Specify the Trusted hosts/users file in the field. The default is None.
- Specify the Network interfaces with interface and netmask details.
- Specify the Keep alive packets in the field.
- Specify the Maximum packet size in the field.
- Specify the Listen on address in the field.
- Specify the Socket options details.
- Click the Save button.
The changes made to Unix networking options will be updated
9. Configuring Windows Networking
You can configure Windows networking options.
- To do so, click the Windows Networking icon in the Global Configuration section.
The Windows Networking Options page will be displayed. - Set the name of the workgroup in the Workgroup field. This setting should be appropriate to your environment. It should match your Windows workgroup or domain environment.
Select the appropriate security option for your particular environment from the Security drop down list. The available options include Default, Share Level, User Level, Password Server, Domain and Active Directory.
Note Configuring other settings in the Windows Networking Options dialog is optional. - Click the Save button.
Now your environment is ready for CIFS sharing.
10. Configuring Authentication
You can configure authentication options.
- To do so, click the Authentication icon in the Global Configuration section.
The Password Options page will be displayed. - The Use encrypted passwords field determines if Samba uses its own separate password file or the standard Unix user database. Because all recent versions of Windows use a password encryption format that is incompatible with the Unix format, this field should generally be set to Yes.
- To allow logins by users who have no password set, select Yes for the Allow null passwords field.
- The Password program field sets the program that Samba will use to change a user's Unix password if synchronization is enabled. If Default is selected /bin/passwd will be used.
- To change a user's Unix password when his SMB password is changed over the network, set the Change Unix password as well field to Yes.
- Similarly specify password in the Change Password Chat field.
- To define fake SMB accounts, select Listed below in the Username mapping field. Enter a valid Unix username, and an SMB login name of your choice.
- Click the Save button.
11. Configuring Windows to Unix Printing
You can configure Windows to Unix Printing options.
- To do so, click the Windows to Unix Printing icon in the Global Configuration section.
The Printing Options page will be displayed. - Select the type of print system in use on your box from the Unix print style drop down list. The available options are :
- BSD -The traditional Unix print software, found on FreeBSD? , NetBSD? and older Linux distributions.
- SYSV - The print system used on Solaris, UnixWare? and a few other versions of Unix.
- HPUX -The print system shipped with HP/UX.
- AIX -The print software that comes with AIX, IBM's version of Unix.
- CUPS -The superior Common Unix Print System, which is included with many new Linux distributions.
- LPRNG - An improved version of the old BSD print system, used on all Linux systems that do not run CUPS.
- Normally, Samba will find all the printers on your system and make them visible to clients when the special printers share exists. To disable this, change the Show all printers? field to No.
- When the Printcap file field is set to Default, Samba will get the list of printers available on your system from the standard /etc/printcap file.
- Samba caches the output from whatever command is used to list waiting print jobs (such as lpq) in order to reduce the frequency with which it is run. By default this cache time is 10 seconds, but you can increase or decrease it using the Printer status cache time field.
- Click the Save button to activate your new printing settings.
12. Configuring Winbind Options
You can configure Winbind options.
- To do so, click the Winbind Options icon in the Global Configuration section.
The Winbind Options page will be displayed. - Enter the full domain name of your Windows domain; e.g., SOFTNAS.LOCAL, MYDOMAIN.COM, etc. in the Kerberos Realm on Domain Server text entry box.
- Enter the range as 10000-30000 in the Range of UIDs for Windows Users text entry box. Using this numeric range, the mapping of Windows user ID's to Linux UID's occurs dynamically.
- In a similar manner, enter the range as 10000-30000 in the Range of UIDs for Windows Groups text entry box for mapping of groups.
- Click the Save button.
13. Managing Samba Users
The Managing Samba Users section allows you to create, edit, delete and synchronize Samba users. It has the following options.
- Samba Users – It allows you to define Samba users.
- Convert Users – It allows you to synchronize the Unix and Samba user list.
- User Synchronization - It allows you to configure Webmin so that changes to the Unix user list will automatically applies to the Samba user list also.
- Samba Groups – It allows you to define Samba groups.
- Group Synchronization – It allows you to synchronize all Unix user groups and Samba user groups.
- Bind to Domain –It allows to bind Samba server to Windows domain typically managed by a different server.
14. Restarting Samba Servers
You can restart Samba servers. To do so, simply click the Restart Samba Servers button.
This will force the current configuration to be applied and also all the connections to the server will be disconnected.
15. Stopping Samba Servers
You can stop or shut down the working of Samba servers. To do so, simply click the Stop Samba Servers button.
This will force the samba servers running on your system to shut down and also all the connections to the server will be disconnected.
16. Restart Winbind Servers
You can restart Samba servers. To do so, simply click the Restart Winbind Servers button.
This will force the current configuration to be applied and also all the connections to the server will be disconnected.
17. Stop Winbind Servers
You can stop or shut down the working of Winbind servers. To do so, simply click the Stop Winbind Servers button.
This will force the samba servers running on your system to shut down and also all the connections to the server will be disconnected.