SMB + Windows sharing


 
Thread Tools Search this Thread
Operating Systems Solaris SMB + Windows sharing
# 1  
Old 01-04-2012
SMB + Windows sharing

Hi guys

I need to create one directory on my Solaris 11 box and then share that directory on my LAN. I have only one disk of 500 GB which is more than enough for my needs.

I read SMB guide for Solaris and there is no guide how to achive share only on one directory, it has only tutorials for hole disks Smilie

After all is possible to share only one directory using smb ?

Thanks Smilie
# 2  
Old 01-04-2012
smb conf

this is my smb.conf *note the path variable*
Code:
[global]
workgroup = yourworkgroup
server string = yourserver
netbios name = yourserver
log file = /var/samba/log/log.%m
max log size = 50
local master = no
dns proxy = no
#name resolve order = host

[share]
comment = unix share sol10u8
path = /mnt/share20/vol_share_mirror    
writable = yes
browseable = yes
public = yes

You should create a smbuser with 777 access right to the directory /mnt/share20/vol_share_mirror
  • Useradd -d /export/home/smbuser -m smbuser
  • chmod 777 /mnt/share20/vol_share_mirror


Finally "svcadm enable samba"

Last edited by Scott; 01-04-2012 at 11:13 AM.. Reason: Added code tags
This User Gave Thanks to spiridakos For This Post:
# 3  
Old 01-04-2012
I know for Samba, but where is difference between CIFS and samba ?
# 4  
Old 01-04-2012
CIFS is just another name for samba and is used as a filetype descriptor to mount windows share, as example below
  • mount -F cifs //windows_share /yourdirecory -->for redhat editions
  • mount -F smbfs //windows_share /yourdirecory -->latest opensolaris editions


..and samba is the server

Last edited by Scott; 01-04-2012 at 11:15 AM.. Reason: Added code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sharing to Windows

hiiii, recently we installed samba in solaris 11 machine. and create filesystem and mounted it. we want to mount the same file system in another windows machine through samba. How share that file system to windows and how to mount in windows . (2 Replies)
Discussion started by: Brahmam CH
2 Replies

2. AIX

CIFS/SMB mount NetApp (Windows) fileshare

Hi guys, I'm trying to mount a windows share (hosted on a NetApp filer with clustered Ontap 8.3) and I have no luck doing it. This worked before when we used an old NetApp with Ontap 7.3. Seems there is an issue with ASCII/non-unicode support. I'm wondering if anybody here has mounted... (7 Replies)
Discussion started by: mikedavis
7 Replies

3. IP Networking

block windows file sharing traffic between networks

I have a LAN for users 192.0.3.0 I have a WAN for servers 192.0.0.0 I have a iptables capable router with a static route from 192.0.3.0 to 192.0.0.0 my problem is SMB file sharing traffic is leaking on to our 192.0.0.0 and causing congestion. I only have one printer IP address that needs... (13 Replies)
Discussion started by: herot
13 Replies

4. UNIX for Dummies Questions & Answers

Errors when connecting to SMB shares from Windows

Hi all I have a server running Oracle Linux. When i try \\linux-server\share I get prompted for username & password or I get a permission denied error. I see these errors in the messages file on the Linux server: smbd: auth/auth_util.c:create_builtin_administrators(792) Feb 15 10:39:13... (0 Replies)
Discussion started by: wbdevilliers
0 Replies

5. HP-UX

mount windows file sharing on hp-ux

Hi all, Can anyone teach me how to mount windows file sharing on hp-ux thanks (2 Replies)
Discussion started by: pantas manik
2 Replies

6. Solaris

Sharing Windows Folder on Solaris

Hi All, I am wanting so share a windows folder on our Solaris computer. I am wanting to be able to save files to this folder directly on Windows. This will keep me from saving a file locally and FTPing to the windows HD. Currently, I am trying to get "services for Unix Administration" to... (1 Reply)
Discussion started by: patm95
1 Replies

7. Solaris

Windows/Solaris data sharing

Hi all, I have a request from Developer team in my compagny, they would like to be able to share data between unix and windows world. 1. We would like to be able to see Unix data from Windows : ?Samba ? 2 We would like to be able to see windows data from Solaris (Mount point) : ?NFS server... (4 Replies)
Discussion started by: unclefab
4 Replies

8. 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

9. Windows & DOS: Issues & Discussions

Windows Server 2003 file sharing with UNIX

We have a Windows Server 2003 box and I'd like to share a drive with a Sun Solaris box so that the Sun Solaris box can copy files to/from the Windows Server 2003. I believe that Windows Services for UNIX 3.5 will allow me to do this, can anyone comfirm this ? Also, any links on how to... (1 Reply)
Discussion started by: markgrimes
1 Replies

10. UNIX for Dummies Questions & Answers

Sharing printer with windows via cups and samba

I want to use my linux box as a print server for my hp printer. I downloaded the linux driver for the printer and installed it. I also configured CUPS and printed a test page with it. Samba is allowing my windows machine to see and install the printer, but when i try to print to it, nothing... (1 Reply)
Discussion started by: Spetnik
1 Replies
Login or Register to Ask a Question