Sponsored Content
Operating Systems Solaris Viewing Solaris File System From Windows Client Using Lanman Post 302442395 by jamba1 on Wednesday 4th of August 2010 05:44:36 AM
Old 08-04-2010
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.

Code:
 
# /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

Any suggestions

Thanks
 

9 More Discussions You Might Find Interesting

1. Linux

Please help me, about the file sharing with windows system

Did anybody can teach me how to set the premission in the samba server? How to i set the premission in one folder but two access right. With one folder but the user access rights is diffirent. One user can full access the folder, and another one user only read only. thx for helping... (1 Reply)
Discussion started by: cloudlor
1 Replies

2. Solaris

How to Install Solaris 10 on top of Windows system

Hi Guru's, Since Iam learning Solaris 10 and want to instal it on to my computer in which 'Windows' is already installed. Also many other applications including Oracle, Java etc,. were also installed associated with Windows. Now how can I install Solaris 10 on my system with out affecting my... (4 Replies)
Discussion started by: Lokesha
4 Replies

3. Linux

UNMOUNT a windows file system

Hi, I try to unmount : smbumount /mnt/directory But I receive : Could not umount /mnt/directory: Device or resource busy Any idea ? Many thanks. (4 Replies)
Discussion started by: big123456
4 Replies

4. Linux

viewing ftp client logs

Hi All Is there any linux log file that captures invalid ftp login attempts in client side? I'm trying to come up with a script that will send an email to owners stating the number of invalid password login attempt when logging in to the ftp server. its like, 1. i'm in client side...then... (2 Replies)
Discussion started by: 3rr0r_3rr0r
2 Replies

5. Solaris

viewing the the contents of Tape on Solaris 10

Hi all, i would like to view the contents of Tape on Solaris 10 i issued the following command tar -tvf /dev/rmt/0m i'm getting the following error bash-3.00# tar -tvf /dev/rmt/1m tar: tape read error by the way the reference to the command is on sun's wiki any alternatives Thanks in... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

6. UNIX for Advanced & Expert Users

A file system visible for solaris and windows?

Hi, I have a 1TB external iomega hard disk, and I want to plug it to a solaris 8 machine. The problem is that solaris doesn't recognize the NTFS file system partition. I was thinking of formatting it to FAT32, but I would like to know if anyone knows a better file system, considering: - I... (6 Replies)
Discussion started by: Dann-E
6 Replies

7. HP-UX

how to mount a file system from a solaris server into an hp-ux system

Hi all I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge. The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data. Any help will be appreciated FR (2 Replies)
Discussion started by: fretagi
2 Replies

8. UNIX for Dummies Questions & Answers

Ext2 file system from windows

Hi all, I have some problem with the ext2 file system format. In particolar, I have a unix based system full backup, which is a .iso file. In order to create a bootable usb, i have to format the USB with ext2 FS, and then I have to mount that image on it. The problem is that, I need to it... (3 Replies)
Discussion started by: Mr. Piros
3 Replies

9. Solaris

Solaris 10 NFS client cannot mount a share from a Windows server

I have a Solaris 10 server, I'm trying to mount a share from a Windows nfs server. If I add this entry (tst-walnut:/test_sap_nfs - /majid nfs - yes rw,soft) to my /etc/vfstab, then I can mount, but when I create a file by root:root, the file owner changes to... (1 Reply)
Discussion started by: Hiroshi
1 Replies
MONO-SERVER2-ADMIN(8)					User Contributed Perl Documentation				     MONO-SERVER2-ADMIN(8)

NAME
mono-server2-admin - mono-server2 hosts file creator, hosts file is part of the debianized mod_mono package SYNOPSIS
mono-server2-admin.conf [action] [args] OPTIONS Actions: add Use 'add' if you want to create an application and want mono-server2 scripts to manage it del If you want to remove an application Args: --path The path where you have your aspx files, MUST EXISTS!, required only with add action --app The name of your application --libs If you have dlls outside your path, you must use this! --port Needed if you are running multiple virtual hosts in different ports in Apache --vhost If you want to add asp.net support to a virtualhost you must use this. Example: foobar.com DESCRIPTION
mono-server2-admin.conf is a perl tool to adminstrate your ASP.NET webapps that will be executed with mod_mono. When you try to add an application, admin.conf will verify that your path exists, if it is, it will add a directory inside /etc/xsp/conf.d with the name of your app, and also as a file with the filename format: 10_appname. This file will have the information (path, app). So, when mono-xsp-update.conf is executed it will read those dirs and create a debian.webapp in /etc/xsp that the xsp daemon will read, also with a mono-server2-hosts.conf that will have your directory settings with apache directives. Apache will read mono-server2-hosts.conf! AUTHOR
Pablo Fischer <pablo@pablo.com.mx> perl v5.14.2 2012-01-18 MONO-SERVER2-ADMIN(8)
All times are GMT -4. The time now is 04:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy