Operating System - HP-UX
1827293 Members
2613 Online
109717 Solutions
New Discussion

Re: cifslogin as non-root user

 
Kay Liesenfeld
Frequent Advisor

cifslogin as non-root user

Hi,

I'm using cifsclient on an HP-UX 11.11 machine connecting to Windows-2000 Server.

Cifsmount, cifslogin etc. with root-user runs perfectly, but when I try to ciflogin with a non-root user I get the following error message:

ipcclient: error connecting to daemon: [13] Permission denied
ipcclient: CIFS Client is down.

Switching to root with su the same command succeeds.

It seems that any non-root user has no rights to access the cifs-daemon.

Any ideas?

Thanks
Kay.
5 REPLIES 5
Balaji N
Honored Contributor

Re: cifslogin as non-root user

hi
i remember we used to have the setuid bits on for cifsmount and cifsumount for every user to use this command.

not sure of any security risks because it was used on a test machine with not many users.

hth
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Darren Prior
Honored Contributor

Re: cifslogin as non-root user

Hi Kay,

Is the cifsclient started automatically (ie set in /etc/rc.config.d/cifsclient) before you run these commands?

regards,

Darren.
Calm down. It's only ones and zeros...
Kay Liesenfeld
Frequent Advisor

Re: cifslogin as non-root user

Darren,

no, I have started it manually with user root.

Kay.


Darren Prior
Honored Contributor

Re: cifslogin as non-root user

ok, as long as it's started before you use the other commands :)

Have a look at the following link to the CIFS client docs:

http://docs.hp.com/hpux/onlinedocs/B8724-90011/B8724-90011.html

Under the "installing and configuring" section there's section entitled "Using the CIFS/9000 Client" which documents that root must mount and unmount shares, before an individual user can then use cifslogin.

hope that helps,

regards,

Darren.
Calm down. It's only ones and zeros...
Kay Liesenfeld
Frequent Advisor

Re: cifslogin as non-root user

Hi all,

after contacting HP support I installed the newest version of cifsclient and now it's working fine.

Thank you all.

Kay.