I currently have a Windows mapped network drive on a PC which is connected to the network. Also on the network is a Solaris box running Solaris 8 which I can view (root file system) from the Windows PC.
The mapped network syntax is sharename\\server name. When I select this mapped drive on the Windows machine I am prompted for a username and password which then takes me to the root directory where I can access all Solaris file systems (from Windows). This share was setup by a previous employee, however the developers have requested that I setup another share as mentioned above. We do not have samba installed on this machine and Im told that this share was setup using Lanman.
Has anyone used Lanman for this purpose?
If yes I would appreciate any information on how you create the share, what files need to be modified or anything else that needs to be considered.
i guess you are using cifs. you need to understand how files are shared from the solaris machine - using cifs? what is the IP address and share name? then you need to learn how to map a drive in windows using this information.
Thanks for the feedback especially the URL for the doc on PC Netlink.
Moving away slightly from my original question of adding a new share, I now only need to add a new user to the existing share. Here is what I have so far.
# /opt/lanman/bin/net share
Share name Resource Remark
-------------------------------------------------------------------------------
IPC$ IPC Share
C$ C:\ Root Share
ADMIN$ C:\opt\lanman Admin Share
PRINT$ C:\opt\lanman\shares\asu\sys... Printer Driver Share
D$ C:\opt\lanman\shares SystemRoot Share
APPSERVE C:\
DEVEL C:\data\devel Development Area
MSCLIENT C:\opt\lanman\shares\msclient Microsoft Clients
NETLOGON C:\var\opt\lanman\repl\impor... Logon Scripts Directory
PRINTLOG C:\opt\lanman\shares\printlog LP printer messages
PROD C:\data\prod Prod Space
TOOLS C:\opt\lanman\shares\tools Solaris (TM) PC NetLink Server ...
USERS C:\export\lanman Users Directory
The command completed successfully.
# /opt/lanman/bin/net share APPSERVE
Share name APPSERVE
Path C:\
Remark
Maximum users No limit
Users ADMIN ADMIN ADMIN
ADMIN ADMIN ADMIN
The command completed successfully.
# /opt/lanman/bin/net user admin
User name admin
Full Name
Comment
User's comment
Country code 000 (System Default)
Account active Yes
Account expires Never
Account type Global
Password last set 08/06/08 11:30 AM
Password expires 24/10/35 11:30 AM
Password changeable 08/06/08 11:30 AM
Password required Yes
User may change password Yes
User must change password No
Workstations allowed All
Logon script
User profile
Home directory
Home Directory Drive
Last logon 03/08/10 02:18 PM
Logon hours allowed All
Local Group Memberships
Global Group memberships *Domain Users
Primary Group *Domain Users
The command completed successfully.
The existing share is APPSERVE C:\ which only has one user assigned ADMIN.
Anybody know the correct syntax that will allow me to add another user
to this existing share with the same permissions as admin. I have looked
at two commands (below) and there usage but this is still not clear to me:
/opt/lanman/bin/net perms and /opt/lanman/bin/net user