[Samba] Problem with wbinfo

Ricardo Maciel rpmaciel at gmail.com
Tue Mar 29 12:13:21 GMT 2005


Hello,

I'm using a Samba client to access a Samba Server. The "smbclient
tool" is ok, both at the client as at the server. I'm having trouble
with the "wbinfo" command (winbind service) at the client, as you can
see below.

Can anybody help me?

Thanks!!!

=Problem==============================

Samba Server: samba-3.0.10-1.fc2
Samba Client: Version 3.0.0-14.3E
--------------------------------------------------------------------------
# service winbind start
Iniciando serviços Winbind:                                [  OK  ]
#
#
# wbinfo -t
checking the trust secret via RPC calls failed
error code was NT_STATUS_INTERNAL_ERROR (0xc00000e5)
Could not check secret
#
#
# wbinfo -u
Error looking up domain users
#
#
# wbinfo -g
Error looking up domain groups
#
#
# service winbind stop

Desligando os serviços Winbind:                            [  OK  ]
#
#
# winbindd -i -d 4
winbindd version 3.0.0-14.3E started.
Copyright The Samba Team 2000-2003
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = REG
doing parameter netbios name = Estacao1386000
handle_netbios_name: set global_myname to: ESTACAO1386000
doing parameter security = domain
doing parameter password server = *
doing parameter winbind uid = 1000-20000
doing parameter winbind gid = 1000-20000
doing parameter winbind enum users = yes
doing parameter winbind enum groups = yes
doing parameter winbind separator = +
doing parameter winbind cache time = 10
doing parameter template homedir = /home/winnt/%D/%U
doing parameter winbind use default domain = yes
doing parameter template shell = /bin/bash
pm_process() returned Yes
adding IPC service
adding IPC service
added interface ip=10.80.100.98 bcast=10.80.100.255 nmask=255.255.255.0
added interface ip=10.80.100.98 bcast=10.80.100.255 nmask=255.255.255.0
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
get_dc_list: returning 1 ip addresses in an unordered list
get_dc_list: 10.80.100.62:0
nmb packet from 10.80.100.62(137) header: id=2081 opcode=Query(0) response=Yes
    header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=REG<1c> rr_type=33 rr_class=1 ttl=0
    answers   0 char .PDC               hex 09504443202020202020202020202020
    answers  10 char .d.PDC             hex 00640050444320202020202020202020
    answers  20 char   .d.PDC           hex 20200364005044432020202020202020
    answers  30 char      d...__MSBRO   hex 2020202020640001025F5F4D5342524F
    answers  40 char WSE__....REG       hex 5753455F5F0201E40052454720202020
    answers  50 char         ...REG     hex 202020202020202000E4005245472020
    answers  60 char           .d.REG   hex 202020202020202020201B6400524547
    answers  70 char             ...R   hex 2020202020202020202020201CE40052
    answers  80 char EG            .d   hex 45472020202020202020202020201D64
    answers  90 char .REG               hex 00524547202020202020202020202020
    answers  a0 char ................   hex 1EE40000000000000000000000000000
    answers  b0 char ................   hex 00000000000000000000000000000000
    answers  c0 char ................   hex 00000000000000000000000000000000
    answers  d0 char .   hex 00
rpc_dc_name: Returning DC PDC (10.80.100.62) for domain REG
IPC$ connections done anonymously
Connecting to host=PDC
Connecting to 10.80.100.62 at port 445
Serverzone is 10800
add_trusted_domain: REG is a mixed (or NT4) mode domain
Added domain REG
Could not fetch sid for our domain REG
scanning trusted domain list
rpc: trusted_domains
get_dc_list: returning 1 ip addresses in an unordered list
get_dc_list: 10.80.100.62:0
nmb packet from 10.80.100.62(137) header: id=30956 opcode=Query(0) response=Yes
    header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=REG<1c> rr_type=33 rr_class=1 ttl=0
    answers   0 char .PDC               hex 09504443202020202020202020202020
    answers  10 char .d.PDC             hex 00640050444320202020202020202020
    answers  20 char   .d.PDC           hex 20200364005044432020202020202020
    answers  30 char      d...__MSBRO   hex 2020202020640001025F5F4D5342524F
    answers  40 char WSE__....REG       hex 5753455F5F0201E40052454720202020
    answers  50 char         ...REG     hex 202020202020202000E4005245472020
    answers  60 char           .d.REG   hex 202020202020202020201B6400524547
    answers  70 char             ...R   hex 2020202020202020202020201CE40052
    answers  80 char EG            .d   hex 45472020202020202020202020201D64
    answers  90 char .REG               hex 00524547202020202020202020202020
    answers  a0 char ................   hex 1EE40000000000000000000000000000
    answers  b0 char ................   hex 00000000000000000000000000000000
    answers  c0 char ................   hex 00000000000000000000000000000000
    answers  d0 char .   hex 00
rpc_dc_name: Returning DC PDC (10.80.100.62) for domain REG
IPC$ connections done anonymously
Connecting to host=PDC
Connecting to 10.80.100.62 at port 445
#
--------------------------------------------------------------------------
# smb.conf----------------------------------------------------------
#
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/09/17 16:03:56
# Global parameters
[global]
workgroup = REG
netbios name = Estacao1386000
security = domain
password server = *
winbind uid = 1000-20000
winbind gid = 1000-20000
winbind enum users = yes
winbind enum groups = yes
winbind separator = +
winbind cache time = 10
template homedir = /home/winnt/%D/%U
winbind use default domain = yes
template shell = /bin/bash
--------------------------------------------------------------------------
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
#	nisplus or nis+		Use NIS+ (NIS version 3)
#	nis or yp		Use NIS (NIS version 2), also called YP
#	dns			Use DNS (Domain Name Service)
#	files			Use the local files
#	db			Use the local database (.db) files
#	compat			Use NIS on compat mode
#	hesiod			Use Hesiod for user lookups
#	[NOTFOUND=return]	Stop searching if not found so far
#

# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:     db files nisplus nis

passwd:     files winbind
shadow:     files winbind
group:      files winbind

#hosts:     db files nisplus nis dns


# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files
--------------------------------------------------------------------------


More information about the samba mailing list