[Samba] samba slave with winbind fails to communicate with the PDC

Joel Franco Guzmán joel.frg at gmail.com
Mon Sep 21 13:35:04 MDT 2009

Hi all,

After the net rpc join successfuly established to the Samba PDC (net
rpc testjoin ok), the following commands fail:

# wbinfo -u
Error looking up domain users
# wbinfo -g
Error looking up domain groups
#wbinfo -t
checking the trust secret via RPC calls failed
Could not check secret
# net rpc testjoin
Join to 'RSP' is OK

It appears that, still under valid relationship with the PDC Samba
server, the winbind does not get the list from the PDC.

I have zeroed this server /var/lib/samba and started samba and winbind
again, rejoined the domain successfuly,
but i can't get wbinfo work.

My /etc/nsswitch.conf:

passwd:         compat winbind
group:          compat winbind
shadow:         compat

#hosts:          files dns wins
hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

and my /etc/samba/smb.conf:

   workgroup = RSP
   server string = Ultra server
   wins server =
   dns proxy = yes
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   encrypt passwords = true
   passdb backend = tdbsam
   load printers = no
   socket options = TCP_NODELAY
   security = domain
   password server = MYPDCSERVER
   idmap uid = 10000-30000
   idmap gid = 10000-30000

The samba version in the PDC Server is exactly the samba that of this server.

Please, what should i do?

More information about the samba mailing list