cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS on HP-UX 11.31

 
SOLVED
Go to solution
Shibin_2
Honored Contributor

CIFS on HP-UX 11.31

Hi All,

I am bit puzzled, after configuring SAMBA on my HP-UX 11.31. My samba versions are

CIFS-CLIENT A.02.02.02 HP CIFS Client
CIFS-SERVER A.02.03.03 HP CIFS Server

I am not using winbind service.

I have configured and the services are up and running, but there is some problem to access the shares. From windows side, I can see UNIX server, but no shared folder showing.

All logs showing same kind of errors as follows:

2010/02/08 07:30:48, 0] auth/auth_domain.c:connect_to_domain_password_server(111)
connect_to_domain_password_server: unable to open the domain client session to machine VICDC01. Error was : NT_STATUS_CANT_ACCESS_DOMAIN_INFO.

[2010/02/08 07:30:48, 0] rpc_client/cli_pipe.c:get_schannel_session_key(2416)
get_schannel_session_key: could not fetch trust account password for domain

[2010/02/08 07:30:48, 0] auth/auth_domain.c:domain_client_validate(206)
domain_client_validate: Domain password server not available.

Tell me, what should I do, after done necessary changes in smb.conf and brought up the services?

Do I need to join this CIFS server to Windows Domain?

Do I need to establish the trust relation?

I am using security as domain.
Regards
Shibin
8 REPLIES 8
Taifur
Respected Contributor
johnsonpk
Honored Contributor

Re: CIFS on HP-UX 11.31

Hi shibin,

Do you have a pointer to the dc
by
password server =



You need an admin in the domain to enter the admin password to add your HP-UX box to the domain

smbpasswd -j \YOURDOMAIN -r -Uadministrator


or configure simple share like below configuration



[global]

workgroup = SAMBATEST

security = user
encrypt passwords = yes

socket options = TCP_NODELAY

local master = no

hosts allow =



[SAMBA_TEST]
comment = Share For SAMBA TEST
path = /home/samba/test
valid users = smbuser
public = no
writable = yes
printable = no


then
/opt/samba/bin/smbpasswd -a smbuser
and set password for smbuser

Note: user smbuser should be a valid user on the unix server

Start smbservices
/opt/samba/bin/startsmb



Access the share form windows
Shibin_2
Honored Contributor

Re: CIFS on HP-UX 11.31

Taifur,

I gone through these links very before.

Hi Johnson,

The password server is already set. I guess, I need to join it to the windows domain.

Btw, when I do \\ in windows, it is showing the server, but no shared folder visible. Is that possible, without joining to windows domain?

But, when I try to do \\\ it is giving error as "Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied."

I wonder, if the \\ can show, but how come it is not showing the shared folder, even though all settings are perfect.
Regards
Shibin
Steven E. Protter
Exalted Contributor
Solution

Re: CIFS on HP-UX 11.31

Shalom,

For simple access, smbpasswd -a username will work.

If you want your windows domain controller to handle access control, then:

security=domain
# set workgroup to domain name
net join

Are all needed.

Winbind is pretty helpful with integration as well.

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
johnsonpk
Honored Contributor

Re: CIFS on HP-UX 11.31

>>Btw, when I do \\ in windows, it is showing the server, but no shared folder visible. Is that possible, without joining to windows domain?

If you want that to be happen without joining to domain change the security to user and create a samba user and password for access as I mentioned in the previous post.

Johnson
Shibin_2
Honored Contributor

Re: CIFS on HP-UX 11.31

Thanks all. I am waiting to get administrative rights to my domain id. Once gets, will try to join. As I am using security = domain and must use that.

Regards
Shibin
David Vann_2
Advisor

Re: CIFS on HP-UX 11.31

I'm having a similar problem. Did you ever get this resolved?
Shibin_2
Honored Contributor

Re: CIFS on HP-UX 11.31

Using the domain id, which has administrative rights, can resolve this issue.

You need to join the node to domain first.
Regards
Shibin