LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 09-14-2004, 12:21 PM   #1
rerun07
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
Trying to connect to windows share?


I am trying to connect my AIX 5.2 to a windows share \\192.168.0.1\corpback w/ a default username and password.

I have tried scouring the net w/ submnt and submount, but nothing avail. i have also tried looking at the redbooks, but they recommend FTP, but I want to use this for massive backups.

Any suggestions appreciated.
 
Old 09-14-2004, 01:09 PM   #2
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
samba ?

Are you using Samba on the AIX box ?
 
Old 09-14-2004, 01:11 PM   #3
rerun07
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
no samba on the aix server.. i have tried mknfsmnt and no avail.. is samba the solution i need?
 
Old 09-14-2004, 01:12 PM   #4
rerun07
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I have also tried

smit mknfsmnt
 
Old 09-15-2004, 06:13 AM   #5
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
@rerun : you need to have same things at both ends.
For some of my customers, I install samba on the AIX box. It's easy to install, easy to administrate, just like on Linux.
For my own usage, I use nfs on the Microsoft box. It's free, you can downloaded from Microsoft, it's named Microsoft services for Unix (SFU).
On the microsoft box, when you look at the "sharing" folder configuration, you see "nfs sharing" appearing. You click on "nfs share this folder" on the Windows box and that's all.
Then, on the AIX box I type the following :
mkdir /remote ; mount mypc:/data /remote
and that's all, on my AIX terminal I read from and write to /remote, which looks like an AIX directory but physically is a disk in my Windows 2000 machine.
 
Old 09-21-2004, 03:58 AM   #6
factx
LQ Newbie
 
Registered: Sep 2004
Distribution: AIX
Posts: 11

Rep: Reputation: 0
SAMBA on AIX

Hi,

Personnaly, i use samba on aix in order to share some data.

U can use swat, which is an utility to configure samba.

U can find so much informations with the redbook IBM :

http://www.redbooks.ibm.com/redbooks...4?OpenDocument

A +
 
Old 09-21-2004, 12:55 PM   #7
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
Talking

Ouch ! I printed it this paper! 200 pages ! Quite a big paper ! Don't do like me unless you have a fast printer.
 
Old 09-21-2004, 01:28 PM   #8
rerun07
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
LOL! thanks for the heads up.. i will be a good environmental citizen and just read it online..
 
Old 09-21-2004, 02:30 PM   #9
factx
LQ Newbie
 
Registered: Sep 2004
Distribution: AIX
Posts: 11

Rep: Reputation: 0
in this pdf, u can find something interesting which is how to use a remote printer share under windows and use it to print under aix by a scipt used to convert LF en CR/LF.

This may be cool if you work with a large windows environment.
 
Old 09-21-2004, 05:23 PM   #10
rerun07
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
So able to connect to windws share, now, how do i mount it?

So i was able to connec to a windows share using smbclient, but now i wnat to mount it to /oraback to write directly there where we have more space. Can this be done, because all the things i found on google pertaining to mount don't work for me for one reason or another.

any thoughts?
 
Old 09-22-2004, 02:15 PM   #11
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
First verify on the PC that the directory is shared in read-write mode, especially for the IP address of the AIX box.
 
Old 09-24-2004, 04:53 AM   #12
factx
LQ Newbie
 
Registered: Sep 2004
Distribution: AIX
Posts: 11

Rep: Reputation: 0
Maybe u can try with smbmount command with -o rw option.

man: http://www.samba.org/samba/docs/man/smbmount.8.html
 
Old 10-01-2004, 12:50 PM   #13
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
I just tried it on my Linux box :
smbmount //mypc/tmp /myremote
It asked my PC's share password, and mounted it. It should work the same way on your AIX box!
 
Old 10-01-2004, 01:45 PM   #14
rerun07
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
thanks.. aix doesn't support the smbmount.. you have to play w/ smitty and you can mount a share from there.. not the most straight forward method.

we also tried connecting to a linux share that was mounted to a windows share using smbmount, but that had soem problems w/ permissions..
 
Old 10-02-2004, 06:34 AM   #15
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
Everything you do playing with smitty can be done using command lines. Just have a loot at the end of /smit.script, you will see the script you can run in order to redo what you performed using smitty.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
How to connect to a Windows share? Ook Slackware 9 04-08-2005 12:24 PM
Authenticating through Windows active directory to connect to a Linux share ganninu Linux - General 1 04-07-2005 05:39 PM
connect to windows share without samba? zuessh Linux - Software 7 01-30-2004 02:37 PM
Connect to Windows Share plexi100 Linux - Newbie 6 11-12-2003 10:59 PM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration