Configuring and Managing MPE/iX Internet Services
> Chapter 7 Samba/iX ServicesStarting and Stopping Samba/iX |
||||||||||||||||||||||||||||||
|
Starting Samba/iXBefore you start to run Samba/iX server or client components, you should have set up the TCP/IP networking on your HP 3000 system as well as your PC. On the HP 3000 system side, you should have a proper IP address and subnet mask configured in NMMGR as well as NETCONTROL START successfully executed. You must choose to start SMBD and NMBD either as listener jobs or under control of INETD. Disable Resource SharingIf your system has NBDAEMON.PUB.HPLANMGR running, then SMBD and NMBD will not be able to use ports 137 and 139 as NBDAEMON already binds to them. The workaround solution is to stop the PDSERVER process. The NBMON and NBDAEMON processes will not start because of this workaround. This can be done by modifying the file PDSSERV.NET.SYS by changing the line 7 from 1 to 0. This will setup PDSSERVE for non-reserved servers. The following shows the steps of making non-reserved servers:
Verify Link ConfigurationThe default assumes that LAN link configuration in NMMGR is SYSLINK. You need to run the following command to get the IP address and subnet mask of your HP 3000 system; you will need this information for future Samba/iX configuration file updates with the "interfaces" parameter.
NETWORK NAME: LAN1 NETWORK IP ADDRESS: $0F0DC750 15.13.188.80 NETWORK SUBNET MASK: $0FF000000 255.0.0.0 Add PM CapabilityTo access share security modes, both samba and mgr.samba user accounts should have PM capabilities.
Starting SMBD and NMBD Listener Jobs
Starting Samba/iX Under the INETD ControlIf you choose to run SMBD and NMBD processes under control of INETD, you should have new entries in SERVICES.NET.SYS and INETDCNF.NET.SYS and then you have to create symbolic links to make SERVICES.NET.SYS link to /etc/services and INETDCNF.NET.SYS symbolic links to /etc/inetd.conf respectively. Perform the following steps:
Stopping Samba/iXIt is important to shutdown Samba/iX before bringing the system down. You can use the following commands to stop Samba/iX:
Initial Test With smbclient UtilityThe smbclient utility provides access to SMB servers with an FTP-like user interface. You can run smbclient utility on POSIX/Shell environment. Logon to your MPE system as mgr.samba: : sh.hpbin.sys shell/iX> cd bin shell/iX> smbclient -L <sambaserver>This command should display a list of available shares (services) that matches your configuration file. If NMBD is running, a list of workgroups and related computers that NMBD could find on your network/subnet will be displayed, see Figure 7-9 "smbclient for MPE/iX (1)". Figure 7-9 smbclient for MPE/iX (1) shell/iX> smbclient \\\\<sambaserver>\\sambadoc -N -c helpThis command should connect to the sambdoc share on your HP 3000 using -N to suppress password prompt and effectively become guest user and display the contents of on-line help screen of smbclient, see Figure 7-10 "smbclient for MPE/iX (2)". Figure 7-10 smbclient for MPE/iX (2)
Initial Test From a PC Client at DOS PromptYou can open a DOS command window and issue the command line using the following commands for initial test from a PC client: C:\> net view\\servernameThis command, will display a list of available shares for the server, see Figure 7-11 "Display Available Shares From a PC Client". Figure 7-11 Display Available Shares From a PC Client If you want to display a list of available shares on the Samba/iX server named "HP 3000; enter the following command at the DOS prompt: Example: C:\> net view \\hp3000 C:\>net use x:\\servername\servicenameThis command will connect to a network drive X by entering the sharename \\servername\servicename. If you want to connect to drive letter "X" from your PC to the "Sambdoc" service on Samba/iX server named "HP 3000", type the following command at the DOC prompt: Example: C:\> net use x: \\hp3000\sambdoc
|