Operating System - HP-UX
1820077 Members
3268 Online
109608 Solutions
New Discussion юеВ

CIFS mount using Domain Acct and unmounting an instance of CIFS

 
Gene Laoyan
Super Advisor

CIFS mount using Domain Acct and unmounting an instance of CIFS

I am trying to mount to a windows share using CIFS. I can mount to a share using local system credentials with the following command...
cifsmount /// / -U Administrator -P password

But I want to mount to a "DFS Root" and use Active Directory Domain credentials.

I tried the following...
cifsmount //mydomain.net/stuff /winshare -U mydomain.net\username -P password
I get the following...
"LOC: Connection lost"

How can I do this?
A step by step method would be best to help me understand it.


Also, If I have two shares mounted via cifs, say /mountA and /mountB, how do I unmount only one of them, say mountB?

Thanks
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: CIFS mount using Domain Acct and unmounting an instance of CIFS

Shalom,

smb.conf needs to say security = ads

Then it should work, though DFS is a bit of a pain to work with.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gene Laoyan
Super Advisor

Re: CIFS mount using Domain Acct and unmounting an instance of CIFS

That setting is currently as you state.

What else can I check?