Operating System - HP-UX
1833480 Members
2752 Online
110052 Solutions
New Discussion

net view CIFS server using name doesn't work as domain user

 
SOLVED
Go to solution
Gerhard Gross
Occasional Contributor

net view CIFS server using name doesn't work as domain user

I have installed CIFS server A.02.02 and want to use it simply with "security = share", but it doesn't work as desired.

"net view \\" works when I use the ip address for , or when I am logged in as a local user (no matter whether I use the ip address or the name).

When I am logged in as a domain user (on Windows 2000 or XP in native 2003 domain), I get "System error 1240 has occurred. The account is not authorized to log in from this station." or "System error 5 has occurred. Access is denied.", depending on the computer, sometimes both errors on the same computer.

Similar behavior with "net use".

I have spent a lot of time searching for the reason, but nothing found. What is wrong?

Thanks

Gerhard.
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: net view CIFS server using name doesn't work as domain user

Shalom

use security=domain

/sbin/init.d/samba stop
/sbin/init.d/samba start

CIFS client must be installed.

/opt/samba/bin/net join

you will need a user id and admin password from the domain.

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
Gerhard Gross
Occasional Contributor

Re: net view CIFS server using name doesn't work as domain user

SEP,

I managed the access to Samba according to your hint.

I experienced that "net view \\" results in "System error 5 has occurred. Access is denied", when the user doesn't have an account on the CIFS server. I use "map to guest = Bad User" to map those users to the guest account, and it works.

Thanks for your help!

Gerhard