Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CIFS client doesn't work with domain users (works with local users)

Status
Not open for further replies.

MoreFeo

Technical User
Nov 29, 2002
547
ES
Hi,

I'm trying to setup some windows shares, and mount them from my hp-ux 11.31 boxes.

It works fine if I share the windows directories with a local user account, but it doesn't work when I try it with domain users.

What I'm doing is:
- share a windows directory
- mkdir a mount point
- mount -F cifs windows_srv:/share /mount/point
- cifslogin windows_srv UserAccount
At this point it asks for the password, and if I enter an incorrect one it it show a SRV: Bad password twice. If I enter the correct password it returns to prompt.

And now, if I've done this with a local user account from this windows_srv it works OK.
But when I try with a domain user it doesn't work.
bdf command shows me "I/O error" for /mount/point, and if I try to cd to it it tells me "bad directory".

I've tried with the -D domain, and also putting the windows domain in the cifsclient.cfg file, but it doesn't work neither.

I've looked into the windows eventvwr, and I've seen the user logs OK from the HP-UX box.
I've tried accesing the shares from other windows servers, and it works fine, user and password are accepted and I can access the shares.

Anyone knows if there is a way to make it work with windows domain users?

Thanks (and sorry if I make mistakes, English is not my native language).
 
After mounting and doing the cifslogin, if I issue the cifslist command this is what I get:
Code:
# cifslist
Mounted Object                      Mountpoint                          State
-------------------------------------------------------------------------------
\\WINDOWS_SRV\SHARE                 /mount/point                        M
===============================================================================
Server            Local User        Remote User       Domain            State
-------------------------------------------------------------------------------
windows_srv       root              domain_user       MYDOMAIN          L

But any attempt to access the share fails:
Code:
# bdf
Filesystem          kbytes    used   avail %used Mounted on
...
bdf: /mount/point: I/O error

# cd /mount/point
ksh: /mount/point: bad directory

# ls /mount/point
/mount/point not found

# ls -l /mount
/mount/point not found
total 0

Anyone knows what is happening?

Thanks.
 
I've tried one more thing. The share I'm trying to access is a cluster share.
We've got 2 windows storage servers in cluster, and I'm configuring the shares from the cluster console.
This way it's not working.

But if I setup a share on one of the nodes, on the local disk, and I try to access it with a domain account (the same I'm using before) it works OK.

So it seems it's a windows cluster configuration problem.

I'll try to see if I can solve this, and I'll put my results here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top