AIX cifs: mount Windows Server 2008 share ?

Hello,

I've been using AIX cifs to mount windows XP shares with no problems till now.
Now it's Windows Server 2008 R2 - no go:

mount -v cifs -n host1/user1/pass1 /share1 /mountpt1
There was an error connecting the share or the server.
Make sure the lsdev command shows that device nsmb0 is in
the Available state.  Also make sure that the share name,
user name and password are accurate.

Response is so instant that it's clearly not a network issue (while network admin was configuring access I saw significant timeouts while network access was closed).
Windows XP share works on the same machine.
Tried these AIX levels:
AIX 6100-02-04
AIX 6100-06-03
So I consider AIX level is not an issue either?

Where is the catch?
Any ideas?

thanks
Vilius

Hello

I hope this helps you

Try this one

mount -o rw -v cifs -n 1.1.1.1/user/password -o uid=201,fmode=750 /share/mountpoint

Greetings

Hi,

Thanks for the try but no.

Possible to dig any cifs logs ?

V

Did you check the state of your "nsmb0"?

hostname:/:$ lsdev | grep nsmb0
nsmb0        Available       N/A
hostname:/:$

If you are now authenticating with a domain account, you have to give the "-o wrkgrp=DOMAIN" option.

mount -v cifs -n host1/user1/pass1 -o wrkgrp=DOMAIN /share1 /mountpt1

Hi,

nsmb0 is OK.
I always try to authenticate local account fist - but anyway domain account doesn't work either - exactly same output.

V

I encountered this issue once, but that has been fixed with a newer maintenance level, and your are almost on the latest, so this should not be the problem

mkcifsmnt -f /$localpath -d /$sharepath -h $serverhost -c $user -p $passwort -m CIFS -a -t -rw -u $UID -g $GID -w $DOMAIN

this creates an entry to /etc/filesystems too, and user credentials will be stored in
/etc/cifs_fs/cifscred

this worked for me, even with windows server 2008

Hi,

Now I'm lost completely.
As I mentioned before my servers mount XP shares - this is not true:
I have few AIX 6100-02-04 - they mount my XP machine share with no problem.
Have one AIX 6100-06-03 - and it doesn't mount the same XP share mentioned above!!! returns this immediately:

There was an error connecting the share or the server.
Make sure the lsdev command shows that device nsmb0 is in
the Available state.  Also make sure that the share name,
user name and password are accurate.

All these AIX boxes doesn't mount any shares from Windows7 or Server 2008 and return the same error.

I don't understand what is going on. :mad: :mad: :mad:
to funksen - thanks man that doesn't help either.

Vilius

---------- Post updated at 12:23 PM ---------- Previous update was at 10:06 AM ----------

Hi,

Well this is funny - I lowered AIX 6100-06-03 cifs fileset levels to AIX 6100-02-04 fileset levels - and now it mounts XP share !!!
So I'm taking new strategy here:

Could anybody who managed to mount Windows Server 2008/Windows7 share on AIX 6.1 post your cifs levels and AIX 6.1 TL and SP levels ?

thanks
Vilius

1 Like