Re: How do I include the NT domain in cifs_mount?



The syntax is the following:

mount -v cifs -n ${WINSERVER}/${WINUSER}/${WINPASSWD} -o
wrkgrp=${WINDOMAIN},fmode=${FMODE},uid=${UID},gid=${GID} /WINSHARE
/UNIXMOUNT

All on one line. Setup or replace the variables before.

WINPASSWD is optionnal, if you don't put it, it will prompt you.

wrkgrp is the domain
fmode/uid/gid can be use to restrict acces on the share and the files,
it does not really set permissions and all the files will have the same
permissions

/WINSHARE is the actual windows share. You must add a "/" before the
name. A hidden share (ending with $) will work as well.

Here is an example from my AIX 5.3 box:

# mount -v cifs -n winxp01/"Pierre Malenfant" -o
wrkgrp=malavix,fmode=700 /Code /mnt
Password:
root@goldorak(/home/root) # df /mnt
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
netvista:/Code 78140096 22585136 72% 0 0% /mnt


Regards
Pierre Malenfant


Ian Northeast wrote:
> On Wed, 21 Dec 2005 05:11:06 -0800, timnels wrote:
>
> > AIX 5.3
> >
> > mount -v cifs -n server/username/password share mountdir
> >
> > Fails with:
> >
> > 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.
> >
> > I know I need to specify the NT domain, but I can't find the syntax.
>
> This has come up here a few times. I have never been able to make it work
> and if anyone else has they havn't enlightened us. It doesn't appear to be
> supported which is rather strange as it severely restricts the usefulness
> of the facility - I would assume that most Windows machines one would want
> to map a share from to AIX would be NT etc. servers authenticating via a
> domain. It works fine if the server is a stand alone/workgroup PC BTW.
>
> I havn't raised this with IBM as I have no real business need to do this,
> it would just be convenient, and we have more important issues open which
> I would prefer they concentrated on.
>
> Regards, Ian

.



Relevant Pages

  • Re: Aix vs Linux file transfers to windows
    ... Turn on the below options to have the server actually do ASCII ... Aix vs Linux file transfers to windows ... Using ftp a basic text file created with VI on Aix looks fine on my windows pc. ...
    (AIX-L)
  • Re: DBX on AIX 5.3 with Threads
    ... Wintel binary data sent to the server. ... The traps occur on the AIX server. ... Windows for over 15 years... ...
    (comp.unix.aix)
  • RE: Quick AIX question rooted in a z/OS concept
    ... NFS doesn't require a 3rd server. ... of the AIX boxes, and export the required directories, and then NFS ... The only way to "share" data between UNIX ...
    (bit.listserv.ibm-main)
  • aix and veritas netbackup disaster recovery
    ... I need to restore aix servers for disaster recovery at ... Sungard in a couple months using netbackup. ... master server is windows and the media server is solaris 8. ...
    (comp.unix.aix)
  • Re: Cygwin Connection from XP to AIX
    ... AIX server that is on another network behind a firewall. ... X11 logon screen but so far no luck. ... Connection closed by foreign host. ...
    (comp.unix.aix)