1844426 Members
3859 Online
110233 Solutions
New Discussion

CIFS Question !!

 
Ivan Azuara
Regular Advisor

CIFS Question !!

Hi,

I have the next scenario:

One HPUX box is exporting some file system through CIFS, and this shared resource is mounted on a windows box (everything works fine). The user with permissions (i'm using the security mode=server)can access and mount this shared resource succesfully. My PDC is a windows nt box on a workgroup environment.

But i need to grant access to an other user. This is a local user defined on the windows box ??. I need to complete this part because the windows local user make a ftp connection to the windows box and needs to access to the content of this shared resource (i want to configure this shared resource like his home directory or something similar).

How can i grant permissions to this user too ?.

Thank's in advance !!
"Enjoy the life .."
6 REPLIES 6
G V R Shankar
Valued Contributor

Re: CIFS Question !!

I believe samba is used to export a Unix share and mount it on windows box. CIFS is used to mount a windows share on Unix box.

To give individual privilages you need to edit /etc/opt/samba/samba.conf

Cheers,

Ravi.
G V R Shankar
Valued Contributor

Re: CIFS Question !!

after editing you need to stop and start

/sbin/init.d/samba

Ravi.
G V R Shankar
Valued Contributor

Re: CIFS Question !!

Example to define a share in /etc/opt/samba/smb.conf

[Vobstore]
comment = Vobstore Share
path=/net/acomd1/var/opt/clearcase/vobstore/cia2.vbs
writable = yes
valid users = sujata sujata1 sujata2
--------------------------------------------

User.map

This option allows you to specify a file containing a mapping of usernames from the clients to the server. This can be used for several purposes. The most common is to map usernames that users use on DOS or Windows machines to those that the UNIX box uses. The other is to map multiple users to a single username so that they can more easily share files.

For example to map from the name "admin" or "administrator" to the UNIX name "root" you would use:
root = admin administrator
Or to map anyone in the UNIX group "system" to the UNIX name "sys" you would use:
sys = @system
Ivan Azuara
Regular Advisor

Re: CIFS Question !!

Sorry, i wasn't very clear in my last post. Really i have the samba software for HPUX named CIFS:

B8724AA A.01.08 CIFS/9000 Client
B8725AA A.01.09.04 CIFS/9000 Server

In fact, my configuration has a similar shared definition that yours. But i need to gain access to a local user defined on the windows box.

Obviusly i mount the share on the windows box using the user and password defined in my smb.conf file, and the share is mounted. But the local user on the windows box can't access to this network directory through a ftp connection.

I want that the unix share be like an other local directory on the windows box.

Regards.
"Enjoy the life .."
G V R Shankar
Valued Contributor

Re: CIFS Question !!

If the user maps the Unix share, like mapping a network drive, he shud be able to do ftp.

Cheers,

Ravi.
Ivan Azuara
Regular Advisor

Re: CIFS Question !!

Good advice, let me chek it.

Regards.
"Enjoy the life .."