This chapter discusses basic configuration and operation of AIX Fast Connect.
You can use the Web-based System Manager, SMIT, the net command, or a combination of these methods to configure and administer the AIX Fast Connect server for your site.
As indicated in Packaging and Installation Requirements, AIX Fast Connect preconfigures itself to provide basic access to AIX user home directories (as defined in /etc/passwd) using plain-text network passwords. When started, the AIX Fast Connect server responds to SMB/NetBIOS requests on all operational TCP/IP interfaces.
AIX Fast Connect is designed for ease of administration, but provides a set of customizable parameters to support various configurations. Several of these parameters are dynamically configurable and do not require the server to be stopped and restarted for the changes to become effective.
These parameters are found in the /etc/cifs/cifsConfig file and can be configured by using the net config command with the following syntax:
net config /parameter_name:parameter_value
The complete list of these configurable parameters is shown in Appendix B. Configurable Parameters for the net Command or by typing: net config help on the command line.
net config
This comand shows some of the most important parameters, including servername, domainname, and primary_wins_ipaddr.
net config /parm:servernamenet config /domainname:testdomain net config /autodisconnect:60 net config /comment:"String parameter containing Spaces"
AIX Fast Connect can configure and export file shares and print shares. File shares are exported AIX directories. Print shares are exported AIX print queues.Every time that the AIX Fast Connect server is started, a file share with the network name HOME is created by default. This special file share maps to $HOME, the AIX home directory (from the /etc/passwd file) of any PC-client user that connects to AIX Fast Connect. (Additionally, the file shares IBMLAN$ and ADMIN$ may be created by default, to support the Network Logon feature of AIX Fast Connect.) More file shares or print shares can be added by the system administrator using Web-based System Manager, SMIT, or the net command.
Each file share or print share represents an object that AIX Fast Connect is exporting to the Windows network, accessed by its netname. Below are some common tasks related to file shares and print shares:
net share
net share /add /type:f /netname:NETTEMP /path:/tmp /desc:"File share test"
net share /add /type:p /netname:PSCOLOR1 /printq:psColor1 /desc:"Print share test"
net share /delete /netname:NETTEMPChanging a file share or print Share (including the share description) causes that share definition to be deleted and then re-added with its new values. This change affects all PC clients that are connected to that share when it is redefined. These PC clients may experience Network error or Shared not found error messages until they remap the share manually or reboot the PC.
Hidden shares (not displayed by the Network Neighborhood or by NET VIEW) may be defined by adding a $ (dollar sign) at the end of the share name when creating the share.
If the AIX Fast Connect server has too much data to report, "NET VIEW \\servername" (on PC clients) can report an empty list.
Access to AIX Fast Connect shares is managed internally by AIX user-security mechanisms. For example, if an AIX user has write access to a particular AIX subdirectory that is being exported by AIX Fast Connect, any PC client connecting to AIX Fast Connect (as that AIX user) would then have write access to that same subdirectory. (There are cases when an external PC client accesses AIX Fast Connect with a client user name that is different from the server user name being used for access checking; for example, guest mode, share-level security, and user name mapping.)
User accounts can be configured on the server using Web-based System Manager, SMIT, or the net command. Each defined AIX Fast Connect user must also be a defined AIX user. AIX Fast Connect supports user-level authentication using several mechanisms described in the following section. Resource access is permitted based on the authenticated AIX user credentials.
AIX Fast Connect supports several different types of user-authentication for access to the AIX Fast Connect server. Which authentication method you choose depends on your existing network environment and your network policies. These authentication methods are discussed briefly in this section. For more information, see Advanced Configuration Features.
To enable Plain Text passwords for AIX Fast Connect, type the following:
net config /encrypt_passwords:0
To enforce encrypted passwords for AIX Fast Connect, type the following:
net config /encrypt_passwords:2
To enable AIX Fast Connect to authenticate to an external NT server (located at TCP/IP address IPaddress), type:
net config /passthrough_authentication_server:IPaddress
You can also designate a backup server for NT authentication with the following command:
net config /backup_passthrough_authentication_server:IPaddress2
For more details, see DCE/DFS Support.
For more details, see Guest Logon.
For more details, see Advanced Configuration Features.
For more details, see User-Name Mappings.
When the AIX Fast Connect server is configured for encrypted passwords, AIX Fast Connect attempts to authenticate all incoming SMB username/encrypted_password logins against the AIX Fast Connect /etc/cifs/cifsPasswd file, which is a database of AIX Fast Connect users (and their encrypted passwords). This file is initialized and maintained by the net user command.
net config /encrypt_passwords:2
net user
net user username password /add
or:
net user username -p /add
The -p flag prompts for a no-echo password.
net user username password /changeaixpwd:yes-or-
net user username -p /changaixpwd:yesnet user username /deletenet user /delete root
The user name root can then be added as a Fast Connect user with its own encrypted password.
You can use Web-based System Manager, SMIT, or the net command to manage AIX Fast Connect server operations. The following sections show basic server operations, using the AIX Fast Connect net command, and highlight the fast paths for SMIT at the end of the section.
Follow these steps to start or stop the AIX Fast Connect Server:
/etc/rc.cifs start
/etc/rc.cifs stop
net pause
net resume
AIX Fast Connect provides several mechanisms for displaying current server status, including general status, configuration information, statistical information, and user-session information.
net status
net config
net statistics
net session
You can use the Web-based System Manager PC Services container to administer AIX Fast Connect, or you can use the SMIT fast paths and net commands shown in the following table.
| Task | SMIT fast path | Command or file |
|---|---|---|
| Starting the Server | smit smbadminstart | net start |
| Stopping the Server | smit smbadminstop | net stop |
| Pausing the Server | net pause | |
| Resuming the Server | net resume | |
| Changing Parameters | smit smbcfghatt | net config |
| Changing Resources | smit smbcfgresi | net config |
| Adding Users | smit smbcfgusradd | net user |
| Changing Users | smit smbchgusrlis | net user |
| Changing a User Password | smit smbusrpwd | net user |
| Deleting a User | smit smbrmusrlis | net user |
| Configuring nbns | smit smbwcfgn | |
| Listing All Shares | smit smbsrvlisall | net share |
| Listing All File Shares | smit smbsrvfilist | net share |
| Adding a File Share | smit smbsrvfiladd | net share |
| Changing a File Share | smit smbsrvfilchg | net share |
| Deleting a File Share | smit smbsrvfilrm | net share |
| Adding Printer Share | smit smbsrvprtadd | net share |
| Changing Printer Share | smit smbsrvprchg | net share |
| Deleting Printer Share | smit smbsrvprtrm | net share |
| Showing Server Status | smit smbadminstatu | net status |
| Showing the Configuration | smit smbcfg | net config |
| Showing Statistics | smit smbadminstats | net statistics |
| Showing Share | smit smbsrvlisall | net share |
| Getting Help | (smit help-panels) | net help |
NetBIOS Name Service (NBNS) for AIX Fast Connect provides name-resolution services. It also supports some functions of Windows Internet Name Service (WINS), such as registration of multihomed name and Internet group name.
net config /nbns:1
net config /nbns:0
| Task | SMIT fast path | Command or File |
|---|---|---|
| List all names in the NetBIOS Name Table | net nblistnames | |
| Add a static NetBIOS Name | smit smbwcfgadd | net nbaddname /name:NBname /ipaddress:IPaddress [ /sub:XX ]
or net nbaddgroup or net nbaddmulti |
| Delete a NetBIOS name in Name Table | smit smbwcfgdel | net nbdelname /name:NBname [ /sub:XX ] |
| Delete by Name and Address | smit smbwcfdadd | net nbdeladdr /name:NBname /ipaddress:IPaddress |
| Back up the NBNS Name Table to a File | smit smbwcfgbak | net nbbackup [ /file:filename ] |
| Restore the NBNS Name Table from Backup | smit smbwcfgres | net nbrestore [ /file:filename ] |