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 --------------------------------------------------------------------------
On Tuesday 29 March 2005 13:13, Ricardo Maciel wrote:> 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 ?]Make sure you do not have nscd running - i had similar problems with it. You should be able to do this with `service nscd stop; chkconfig nscd off` Hope that helps H -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20050329/ba8437cb/attachment.bin
Michael, Here are my nsswitch.conf and smb.conf (I input the syslog=3): # # /etc/nsswitch.conf # # 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 #---------------------------------------- #--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 syslog = 3 #----------------------------------------> what does wbinfo -p return?# # wbinfo -p Ping to winbindd succeeded on fd 4 #> What OS is your domain controller?Red Hat Enterprise Linux AS - 2.4.21-4.EL> Have you joined the box the domain?Sorry. I didn't understand!> Have you turned up logging (syslog = 3) in your smb.conf?Yes (see above). Still Thanking. Ricardo. On Tue, 29 Mar 2005 10:48:05 -0500, MJBarber@hearst.com <MJBarber@hearst.com> wrote:> > Have you already made the changes to nsswitch.conf? > > passwd: files winbind > shadow: files winbind > group: files winbind > > what does wbinfo -p return? > > What OS is your domain controller? > > Have you joined the box the domain? > > Have you turned up logging (syslog = 3) in your smb.conf? > > Just some thoughts ... good luck. > > Michael J Barber > Computer Services Administrator > WPTZ/WNNE > Heart-Argyle Television > p 518-561-5555 x563 > m 518-572-6639 > f 518-561-5940 > > > > > Ricardo Maciel <rpmaciel@gmail.com> > Sent by: samba-bounces+mjbarber=hearst.com@lists.samba.org > > 03/29/2005 10:50 AM > Please respond to Ricardo Maciel > To: samba@lists.samba.org > cc: > Subject: Re: [Samba] Problem with wbinfo > > > Hamish, > > Thanks, but the nscd service was already stopped. Must be another > solution. Any other idea? > > Ricardo. > > > On Tue, 29 Mar 2005 13:27:16 +0100, Hamish <lists@subvs.co.uk> wrote: > > On Tuesday 29 March 2005 13:13, Ricardo Maciel wrote: > > > 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 ] > > > > Make sure you do not have nscd running - i had similar problems with it. > You > > should be able to do this with `service nscd stop; chkconfig nscd off` > > Hope that helps > > H > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/listinfo/samba > > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > >