Operating System - HP-UX
1833187 Members
3009 Online
110051 Solutions
New Discussion

CIFS Server: problem with 'wbinfo -u' and 'wbinfo -g' command

 

CIFS Server: problem with 'wbinfo -u' and 'wbinfo -g' command

Hello,
I have the following configuration
- HP-UX 11.11
- HP CIFS Server A.02.01.02
- /etc/opt/samba/smb.conf in attach

When I issue the "wbinfo -t" and "wbinfo -p" they work, while with "wbinfo -u" (to get the list of users) and "wbinfo -g" the following error has returned:
"error looking up domain users / groups"
"wbinfo -m" doesn't work, too and the error message is "Could not list trusted domains"
However, Samba works and users can access to the unix share.
Any idea?
Thanks in advance

Fabio
8 REPLIES 8
Alessandro Pilati
Esteemed Contributor

Re: CIFS Server: problem with 'wbinfo -u' and 'wbinfo -g' command

Can you post you nsswitch.conf file ?
if you don't try, you'll never know if you are able to
Steven E. Protter
Exalted Contributor

Re: CIFS Server: problem with 'wbinfo -u' and 'wbinfo -g' command

# Security mode. Use 'ads' for configuring with W2K domain and
# use Kerberos as authentication protocol.
security = ADS

What procedure did you use to Integrate with ADS?

I am wondering if that procedure is complete.

There may be helpful information in the Samba log defined in your smb.conf file.

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

Re: CIFS Server: problem with 'wbinfo -u' and 'wbinfo -g' command

Here is /etc/nsswitch.conf file you required.

hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
passwd: compat winbind
shadow: compat
group: compat winbind

services: db files
protocols: db files
rpc: db files
ethers: db files
netmasks: files
netgroup: files
bootparams: files

automount: files
aliases: files

Re: CIFS Server: problem with 'wbinfo -u' and 'wbinfo -g' command

The procedure to connect to ADS was:
- creation of /etc/krb5.conf file (here in attach)
- kinit (result ok)
- net ads join -U administrator%password (result ok)

No problem at all

Fabio
Geoff Wild
Honored Contributor

Re: CIFS Server: problem with 'wbinfo -u' and 'wbinfo -g' command

Check out the settings I used in my smb.conf file from this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949365

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.

Re: CIFS Server: problem with 'wbinfo -u' and 'wbinfo -g' command

I have tried with your settings but with no success. :(
Geoff Wild
Honored Contributor

Re: CIFS Server: problem with 'wbinfo -u' and 'wbinfo -g' command

Hmnnn...try stop/start samba:

stopsmb -w

startsmb -w

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.

Re: CIFS Server: problem with 'wbinfo -u' and 'wbinfo -g' command

I restarted samba processes many times, but it doesn't change anything.
Our active directory has many users and many domains.
Could it be a timeout problem?
Perhaps "wbinfo -u" command lists users and fails due to too much time require to complete the operation.