Sponsored Content
Operating Systems AIX Need help with Windows Share please Post 302302284 by kah00na on Monday 30th of March 2009 02:27:14 PM
Old 03-30-2009
FYI, Windows shares can be mounted too on AIX by installing the fileset "bos.cifs.fs" and then using a command like this:

mount -v cifs -n rmt_hostname/rmt_user/rmte_password /rmt_share /local_dir

"rmt" = remote
"/rmt_share" = name of the remote share
"/local_dir" = local AIX directory

(You have to manually create the "/local_dir" first)
If you want it to remount after a reboot, you can add an entry to your /etc/filesystems using this command:

mkcifsmnt -f '/local_dir' -d '/rmt_share' -h 'rmt_hostname' -c 'rmt_user' -p 'rmt_password' -m 'cifs' -A -B -u 274 -g 220 -x 750

Look at this URL to see what all these options mean.

Your entry will look similar to this:
/windows:
dev = /rmt_share
vfs = cifs
nodename = rmt_host/rmt_user
mount = true
type = cifs
options = uid=274,gid=220,fmode=750
account = false
Lastly, vi /etc/filesystems and change the nodename line to include the share password (yes, not very secure but it works):
nodename = rmt_host/rmt_user/rmt_password
Then save. It should now auto mount after you reboot.
 

10 More Discussions You Might Find Interesting

1. IP Networking

how to share with windows

i m using Linux Mint on my computer and i m the server of shared Internet connection with windows machines. Internet sharing is working well with all the machines but file sharing is not working well. I can access the shared folders of other system with windows machine the windows machines cannot... (1 Reply)
Discussion started by: giri.nitp
1 Replies

2. Solaris

Share windows and solaris

I want a share windows DVD rom to solaris OS. Is it posible? then give me answers (3 Replies)
Discussion started by: saga499
3 Replies

3. UNIX for Advanced & Expert Users

windows printers share

Hello, My network environment is: The server is Linux, all the clients are win2000 professional, the PC names are(ws00201, ws00202,ws00203,ws00204,ws00205,ws00206,ws00207,ws00208,ws00209), I have 3 printers connected through USB to ws00201, ws00204,ws00207, I want ws00201,ws00202,ws00203... (1 Reply)
Discussion started by: truelyli
1 Replies

4. Solaris

mount windows share folder

all,,i need help,,i try to mount a windows 2000 share folder to my system,,i already userd smb mount,mount -F and bunch of stuff and none is working,,can anyone give me a script to this?? PS : when i use mount -F i got this message : nfs mount: insufficient privileges ,,, is it must be root ? (6 Replies)
Discussion started by: Cellscript
6 Replies

5. Solaris

Need to Share between Solaris 10 and Windows

Hello everyone, was looking to get some help. I am very new to Unix and need to join a Sun Ultra 24 workstation running SOLARIS 10 to a small Windows network for file sharing. The Windows Network is a closed network using a Dell server running Windows 2003 Server. The clients on the network... (1 Reply)
Discussion started by: Sluggo
1 Replies

6. UNIX for Advanced & Expert Users

Problems between a HP UX 11.31 Samba share and Windows 7...

Hi I have an issue with a client. He was able to use his mounted Samba share for a long time. However, a couple of days ago, he wasn't able to access all of his files all of a sudden. He still see's the share and majority of the files, but not some that he needs. I checked with Secure CRT on... (1 Reply)
Discussion started by: zixzix01
1 Replies

7. AIX

AIX to access Windows share

Are there any special requirements/tools needed for a AIX server to see (copy data) a Windows share? Only need 1-way copy (Windows-to-AIX). (8 Replies)
Discussion started by: kirkb
8 Replies

8. UNIX for Dummies Questions & Answers

Windows Share

Hi guys I have some Windows Shares and I need to mount those shares on my Suse 10 SP3 I would like to know how to mount those? do I need to enable Samba? or is it just a simple mount command? thanks a lot (2 Replies)
Discussion started by: karlochacon
2 Replies

9. UNIX for Advanced & Expert Users

Ftp from UNIX to windows share

Unix Expects, I am trying to connect to Unix server to windows share point using ftp or fstp. I want to get excel file from windows share to unix server. But i am not able to do it. Can you please help me on this. :confused: Cheers (6 Replies)
Discussion started by: AraR87
6 Replies

10. UNIX for Beginners Questions & Answers

Samba Share access from windows

Hello, I want to connect to two samba shares both on the same Linux box but each with a different username from a windows server 2008. I created 2 gpos to connect and I can connect to the shares individually via net use command, but once I entered credentials for one of the shares, it seems I... (1 Reply)
Discussion started by: zaineyma
1 Replies
GETCIFSACL(1)						  CIFS Access Control List Tools					     GETCIFSACL(1)

NAME
getcifsacl - Userspace helper to display an ACL in a security descriptor for Common Internet File System (CIFS) SYNOPSIS
getcifsacl [-v|-r] {file system object} DESCRIPTION
This tool is part of the cifs-utils suite. getcifsacl is a userspace helper program for the Linux CIFS client file system. It is intended to display a security descriptor including ACL for a file system object. It is best utilized when an option of cifsacl is specified when mounting a cifs share in conjunction with winbind facility of Samba suite. Fields of an ACE such as SID, type, flags, and mask are displayed separated by /. Numeric values of type, flags, and mask are displayed in hexadecimal format. OPTIONS
-v Print version number and exit. -r Display a security descriptor in raw mode. Values such as type and flags are displayed in hexadecimal format, a SID is not mapped to a name. NOTES
Kernel support for getcifsacl/setcifsacl utilities was initially introduced in the 2.6.37 kernel. SEE ALSO
mount.cifs(8), winbindd(8), setcifsacl(1) AUTHOR
Shirish Pargaonkar wrote the getcifsacl program. The Linux CIFS Mailing list is the preferred place to ask questions regarding these programs. cifs-utils 08/19/2011 GETCIFSACL(1)
All times are GMT -4. The time now is 09:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy