Need help with Windows Share please


 
Thread Tools Search this Thread
Operating Systems AIX Need help with Windows Share please
# 1  
Old 03-26-2009
Need help with Windows Share please

I have a windows 2003 server with services for unix installed I have create a folder c:\nfsshare and set it as an nfs share named nfsshare. now I am trying to mount it from my aix system using

mount <server ip>:/nfsshare /mnt

the filesystem mounts , but I cannot change into /mnt, I get a permission denied error

sh: /nfsmount1: 0403-036 The specified directory is not valid.
# NFS access failed for server winserver: error 7 (RPC: 1832-010 Authentication
error) when anonymous acces is turned off

whan anonymous is turned on I get
# cd /mnt
ksh: /mnt: Permission denied.
#

I cant seem to figure out what I am missing to mount the share in a rw mode.

If anyone can point me in the right direction it would be appreciated.
# 2  
Old 03-26-2009
Obvious thought is in file explorer to right mouse click on the C:\nfsshare folder and look at the security settings, a user on the Unix machine will not be an authenticated user on the Windows server so the default setting of allow access to "authenticated users" will not let you in, I am thinking?
# 3  
Old 03-26-2009
I thought of that as well, but got stuck wondering how I would add a user from a unix machine to the security group on a windows server. Smilie
# 4  
Old 03-26-2009
I figured it out.

Had to do a username mapping in the SFU configuration. Once I did this I was able to get into the directory and edit it.

Sweet!
# 5  
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
Login or Register to Ask a Question