Re: How do I include the NT domain in cifs_mount?
- From: pmalenfa@xxxxxxxxxxx
- Date: 22 Dec 2005 19:56:39 -0800
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
.
- References:
- How do I include the NT domain in cifs_mount?
- From: timnels
- Re: How do I include the NT domain in cifs_mount?
- From: Ian Northeast
- How do I include the NT domain in cifs_mount?
- Prev by Date: Re: Can WLM do this?
- Next by Date: Re: rename logical volume name for VIO Server
- Previous by thread: Re: How do I include the NT domain in cifs_mount?
- Next by thread: out of memory on AIX 4.3 using Visual age C++
- Index(es):
Relevant Pages
|