[Samba] winbind and 2.2.4 and redhat 7.2 Please Help Anyone.

Ted Hazlewood ted.hazlewood at teampcs.com
Thu May 9 11:03:03 GMT 2002


Hi
I need some help and am hoping you may be able to help me

I have tried to install the latest 2.2.4 of samba with winbind and I am not
geting anywere.
This is what I have done

I have installed Red Hat 7.2 cleanly on a system
I have used RPM to remove all versions of samba that is installed
Downloaded samba 2.2.4
extracted it 
then ran sh makerpms.sh
created the smb.conf file with the following entries

# Global parameters
[global]
	workgroup = PCS
	server string = Linux File Server
	security = DOMAIN
	encrypt passwords = Yes
	update encrypted = Yes
	password server = *
	wins server = 10.1.3.1
	winbind uid = 10000-20000
	winbind gid = 10000-20000
	template homedir = /localhome/%D/%U
	template shell = /bin/bash

Added the machine to the domian with no errors using
smbpasswd -j pcs -r pcs001n

I restart samba with winbind

I try to run wbinfo -u and I get this error
Error looking up domain users

When I run the winbindd with -d 10 this is what I get

[2002/05/09 09:30:14, 1] nsswitch/winbindd.c:main(755)
  winbindd version 2.2.4 started.
  Copyright The Samba Team 2000-2001
[2002/05/09 09:30:14, 3] param/loadparm.c:init_globals(1252)
  Initialising global parameters
[2002/05/09 09:30:14, 3] param/params.c:pm_process(577)
  params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
[2002/05/09 09:30:14, 3] param/loadparm.c:do_section(3006)
  Processing section "[global]"
  doing parameter workgroup = PCS
  doing parameter server string = Linux File Server
  doing parameter security = DOMAIN
  doing parameter encrypt passwords = Yes
  doing parameter update encrypted = Yes
  doing parameter password server = *
  doing parameter wins server = 10.1.3.1
[2002/05/09 09:30:14, 4] lib/wins_srv.c:wins_srv_load_list(139)
  wins_srv_load_list(): Building WINS server list:
  10.1.3.1,
  1 WINS server listed.
  doing parameter winbind uid = 10000-20000
  doing parameter winbind gid = 10000-20000
  doing parameter template homedir = /localhome/%D/%U
  doing parameter template shell = /bin/bash
[2002/05/09 09:30:14, 2] param/loadparm.c:do_section(3024)
  Processing section "[printers]"
  doing parameter comment = All Printers
  doing parameter path = /var/spool/samba
  doing parameter printable = Yes
  doing parameter browseable = No
[2002/05/09 09:30:14, 2] param/loadparm.c:do_section(3024)
  Processing section "[root]"
  doing parameter path = /
  doing parameter read only = No
[2002/05/09 09:30:14, 4] param/loadparm.c:lp_load(3454)
  pm_process() returned Yes
[2002/05/09 09:30:14, 7] param/loadparm.c:lp_servicenumber(3563)
  lp_servicenumber: couldn't find homes
[2002/05/09 09:30:14, 3] param/loadparm.c:lp_add_ipc(1995)
  adding IPC service IPC$
[2002/05/09 09:30:14, 3] param/loadparm.c:lp_add_ipc(1995)
  adding IPC service ADMIN$
[2002/05/09 09:30:14, 10] param/loadparm.c:set_server_role(3400)
  set_server_role: ROLE_DOMAIN_MEMBER
[2002/05/09 09:30:14, 2] lib/interface.c:add_interface(81)
  added interface ip=10.1.30.53 bcast=10.1.255.255 nmask=255.255.0.0
[2002/05/09 09:30:14, 8] lib/util.c:fcntl_lock(1302)
  fcntl_lock 4 13 0 1 1
[2002/05/09 09:30:14, 8] lib/util.c:fcntl_lock(1340)
  fcntl_lock: Lock call successful
[2002/05/09 09:30:14, 6] lib/charset.c:codepage_initialise(336)
  codepage_initialise: client code page = 850
[2002/05/09 09:30:14, 5] lib/charset.c:load_client_codepage(194)
  load_client_codepage: loading codepage 850.
  Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
  Adding chars 0xa0 0xb5 (l->u = True) (u->l = True)
  Adding chars 0x83 0xb6 (l->u = True) (u->l = True)
  Adding chars 0xc6 0xc7 (l->u = True) (u->l = True)
  Adding chars 0x84 0x8e (l->u = True) (u->l = True)
  Adding chars 0x86 0x8f (l->u = True) (u->l = True)
  Adding chars 0x91 0x92 (l->u = True) (u->l = True)
  Adding chars 0x87 0x80 (l->u = True) (u->l = True)
  Adding chars 0x8a 0xd4 (l->u = True) (u->l = True)
  Adding chars 0x82 0x90 (l->u = True) (u->l = True)
  Adding chars 0x88 0xd2 (l->u = True) (u->l = True)
  Adding chars 0x89 0xd3 (l->u = True) (u->l = True)
  Adding chars 0x8d 0xde (l->u = True) (u->l = True)
  Adding chars 0xa1 0xd6 (l->u = True) (u->l = True)
  Adding chars 0x8c 0xd7 (l->u = True) (u->l = True)
  Adding chars 0x8b 0xd8 (l->u = True) (u->l = True)
  Adding chars 0xd0 0xd1 (l->u = True) (u->l = True)
  Adding chars 0xa4 0xa5 (l->u = True) (u->l = True)
  Adding chars 0x95 0xe3 (l->u = True) (u->l = True)
  Adding chars 0xa2 0xe0 (l->u = True) (u->l = True)
  Adding chars 0x93 0xe2 (l->u = True) (u->l = True)
  Adding chars 0xe4 0xe5 (l->u = True) (u->l = True)
  Adding chars 0x94 0x99 (l->u = True) (u->l = True)
  Adding chars 0x9b 0x9d (l->u = True) (u->l = True)
  Adding chars 0x97 0xeb (l->u = True) (u->l = True)
  Adding chars 0xa3 0xe9 (l->u = True) (u->l = True)
  Adding chars 0x96 0xea (l->u = True) (u->l = True)
  Adding chars 0x81 0x9a (l->u = True) (u->l = True)
  Adding chars 0xec 0xed (l->u = True) (u->l = True)
  Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
  Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
[2002/05/09 09:30:14, 10] lib/util_unistr.c:load_dos_unicode_map(731)
  load_dos_unicode_map: 850
[2002/05/09 09:30:14, 5] lib/util_unistr.c:load_unicode_map(592)
  load_unicode_map: loading unicode map for codepage 850.
[2002/05/09 09:30:14, 10] lib/util_unistr.c:load_unix_unicode_map(747)
  load_unix_unicode_map: ISO8859-1 (init_done=0, override=0)
[2002/05/09 09:30:14, 5] lib/util_unistr.c:load_unicode_map(592)
  load_unicode_map: loading unicode map for codepage ISO8859-1.
[2002/05/09 09:30:14, 2] lib/interface.c:add_interface(81)
  added interface ip=10.1.30.53 bcast=10.1.255.255 nmask=255.255.0.0
[2002/05/09 09:30:14, 5] tdb/tdbutil.c:tdb_log(492)
  tdb(unknown): tdb_brlock failed (fd=5) at offset 4 rw_type=1 lck_type=13
[2002/05/09 09:30:14, 5] tdb/tdbutil.c:tdb_log(492)
  tdb(unknown): tdb_brlock failed (fd=6) at offset 4 rw_type=1 lck_type=13
[2002/05/09 09:30:14, 10] nsswitch/winbindd_cm.c:cm_get_dc_name(130)
  Creating get_dc_name_cache entry for PCS
[2002/05/09 09:30:14, 3] libsmb/namequery.c:resolve_lmhosts(752)
  resolve_lmhosts: Attempting lmhosts lookup for name PCS<0x1b>
[2002/05/09 09:30:14, 4] libsmb/namequery.c:getlmhostsent(518)
  getlmhostsent: lmhost entry: 127.0.0.1 localhost 
[2002/05/09 09:30:14, 3] libsmb/namequery.c:resolve_wins(694)
  resolve_wins: Attempting wins lookup for name PCS<0x1b>
[2002/05/09 09:30:14, 8] lib/wins_srv.c:wins_srv_count(248)
  wins_srv_count: WINS status: 1 servers.
    10.1.3.1 <10.1.3.1>: alive
[2002/05/09 09:30:14, 3] libsmb/namequery.c:resolve_wins(712)
  resolve_wins: WINS server == <10.1.3.1>
[2002/05/09 09:30:14, 3] lib/util_sock.c:open_socket_in(811)
  bind succeeded on port 0
[2002/05/09 09:30:14, 5] libsmb/nmblib.c:send_udp(741)
  Sending a packet of len 50 to (10.1.3.1) on port 137
[2002/05/09 09:30:14, 10] lib/util_sock.c:read_udp_socket(190)
  read_udp_socket: lastip 10.1.3.1 lastport 137 read: 62
[2002/05/09 09:30:14, 10] libsmb/nmblib.c:parse_nmb(471)
  parse_nmb: packet id = 12863
[2002/05/09 09:30:14, 5] libsmb/nmblib.c:read_packet(719)
  Received a packet of len 62 from (10.1.3.1) port 137
[2002/05/09 09:30:14, 4] libsmb/nmblib.c:debug_nmb_packet(107)
  nmb packet from 10.1.3.1(137) header: id=12863 opcode=Query(0)
response=Yes
      header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
      header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
      answers: nmb_name=PCS<1b> rr_type=32 rr_class=1 ttl=0
      answers   0 char `.....   hex 60000A010301
[2002/05/09 09:30:14, 2] libsmb/namequery.c:name_query(420)
  Got a positive name query response from 10.1.3.1 ( 10.1.3.1 )
[2002/05/09 09:30:14, 10] libsmb/namequery.c:internal_resolve_name(930)
  internal_resolve_name: returning 1 addresses: 10.1.3.1 
[2002/05/09 09:30:14, 3] lib/util_sock.c:open_socket_in(811)
  bind succeeded on port 0
[2002/05/09 09:30:14, 5] libsmb/nmblib.c:send_udp(741)
  Sending a packet of len 50 to (10.1.3.1) on port 137
[2002/05/09 09:30:16, 5] libsmb/nmblib.c:send_udp(741)
  Sending a packet of len 50 to (10.1.3.1) on port 137

The section below I think is the problem and this part repeats in the log
file.

[2002/05/09 09:30:18, 3]
nsswitch/winbindd_cm.c:get_connection_from_cache(435)
  Could not open a connection to PCS for \PIPE\lsarpc
(NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)
[2002/05/09 09:30:28, 1] nsswitch/winbindd_util.c:init_domain_list(143)
  Retrying startup domain sid fetch for PCS
[2002/05/09 09:30:28, 10] nsswitch/winbindd_cm.c:cm_get_dc_name(123)
  returning negative get_dc_name_cache entry for PCS


I have tried three diferent clean installs of Redhat 7.2 using xfs or not
using acl or not, manually adding --with-winbind or the one above where I
didn't.
I'm at a lost.  I think it's a bug because I can duplicate this multiple
times.

Any help you can provide I would appreciate it.




Ted Hazlewood 
Senior Systems Administrator 
Public Communications Services
(310) 954-3024 Phone
(310) 954-2139 Fax
ted.hazlewood at teampcs.com
<www.teampcs.com>





More information about the samba mailing list