[Samba] wbinfo --sequence DISCONNECTED

KaiserM at Gendorf.de KaiserM at Gendorf.de
Tue Feb 18 11:45:07 GMT 2003


Hello list,

i want to auth. squid against a win2000 AD group to get internetaccess using winbind.
First i had installed samba.2.2.5
I configured smb.conf:
[global]
   workgroup = CAMPUS
   server string = Samba Server
   hosts allow = 149.250. 212.68. 192.168. 127.
   security = domain
   password server = ATHENA
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   remote browse sync = 212.68.102.255 212.68.255.255 149.250.255.255
   domain controller = 212.68.119.1
   wins server = 212.68.102.9
   dns proxy = no
   winbind uid = 10000-20000
   winbind gid = 10000-20000
   winbind use default domain = yes 
everything worked fine

I started nmdb and winbindd

I joined the domain with:
	smbpasswd -j campus -r 212.68.119.1 -U username
wbinfo -t gives me 
	secret is good
wbinfo --sequence gives me 
	GEN-MASTER : 17698		(winnt trusted domain)
	CAMPUS : DISCONNECTED	(win2000 AD)
wbinfo -g gives me only the groups from the trusted domain

What im doing wrong? 
Could this be a auth. Problem to getting the browsinginformation (anonymously)

Where can i turn something?

Thanks a lot

----------------cat log.winbindd---------------
[2003/02/18 11:07:27, 6] nsswitch/winbindd.c:new_connection(336)
  accepted socket 14
[2003/02/18 11:07:27, 3] nsswitch/winbindd_misc.c:winbindd_show_sequence(144)
  [10654]: show sequence
[2003/02/18 11:07:27, 3] libsmb/namequery.c:resolve_lmhosts(768)
  resolve_lmhosts: Attempting lmhosts lookup for name GEN-MASTER<0x1b>
[2003/02/18 11:07:27, 4] libsmb/namequery.c:startlmhosts(474)
  startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error was No such file or directory
[2003/02/18 11:07:27, 3] libsmb/namequery.c:resolve_wins(709)
  resolve_wins: Attempting wins lookup for name GEN-MASTER<0x1b>
[2003/02/18 11:07:27, 3] libsmb/namequery.c:resolve_wins(727)
  resolve_wins: WINS server == <212.68.102.9>
.
.
[2003/02/18 11:07:27, 3] nsswitch/winbindd_cm.c:cm_get_dc_name(163)
  cm_get_dc_name: Returning DC ALLIANCE (149.250.2.97) for domain GEN-MASTER
[2003/02/18 11:07:27, 3] nsswitch/winbindd_cm.c:cm_get_ipc_userpass(194)
  IPC$ connections done anonymously
[2003/02/18 11:07:27, 5] nsswitch/winbindd_cm.c:cm_open_connection(315)
  connecting to ALLIANCE from alkippe with username []\[]
[2003/02/18 11:07:27, 3] libsmb/cliconnect.c:cli_full_connection(974)
      002c status: NT_STATUS_OK
.
.
.--------------------------and now the AD-------------------------
.
[2003/02/18 11:07:27, 3] libsmb/namequery.c:resolve_lmhosts(768)
  resolve_lmhosts: Attempting lmhosts lookup for name ATHENA<0x20>
[2003/02/18 11:07:27, 4] libsmb/namequery.c:startlmhosts(474)
  startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error was No such file or directory
[2003/02/18 11:07:27, 3] libsmb/namequery.c:resolve_hosts(808)
  resolve_hosts: Attempting host lookup for name ATHENA<0x20>
[2003/02/18 11:07:27, 3] libsmb/namequery.c:resolve_wins(709)
  resolve_wins: Attempting wins lookup for name ATHENA<0x20>
[2003/02/18 11:07:27, 3] libsmb/namequery.c:resolve_wins(727)
  resolve_wins: WINS server == <212.68.102.9>
[2003/02/18 11:07:27, 3] lib/util_sock.c:open_socket_in(813)
  bind succeeded on port 0
[2003/02/18 11:07:27, 5] libsmb/nmblib.c:send_udp(741)
  Sending a packet of len 50 to (212.68.102.9) on port 137
[2003/02/18 11:07:27, 5] libsmb/nmblib.c:read_packet(719)
  Received a packet of len 62 from (212.68.102.9) port 137
[2003/02/18 11:07:27, 4] libsmb/nmblib.c:debug_nmb_packet(107)
  nmb packet from 212.68.102.9(137) header: id=18463 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=ATHENA<20> rr_type=32 rr_class=1 ttl=0
      answers   0 char `..Dw.   hex 6000D4447701
[2003/02/18 11:07:27, 2] libsmb/namequery.c:name_query(421)
  Got a positive name query response from 212.68.102.9 ( 212.68.119.1 )
[2003/02/18 11:07:27, 3] lib/util_sock.c:open_socket_in(813)
  bind succeeded on port 0
[2003/02/18 11:07:27, 5] libsmb/nmblib.c:send_udp(741)
  Sending a packet of len 50 to (212.68.119.1) on port 137
[2003/02/18 11:07:27, 5] libsmb/nmblib.c:read_packet(719)
  Received a packet of len 319 from (212.68.119.1) port 137
[2003/02/18 11:07:27, 4] libsmb/nmblib.c:debug_nmb_packet(107)
  nmb packet from 212.68.119.1(137) header: id=5807 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=CAMPUS<1c> rr_type=33 rr_class=1 ttl=0
      answers   0 char .ATHENA            hex 0B415448454E41202020202020202020
      answers  10 char .D.ATHENA          hex 004400415448454E4120202020202020
      answers  20 char    D.CAMPUS        hex 202020440043414D5055532020202020
      answers  30 char     ...CAMPUS      hex 2020202000C40043414D505553202020
      answers  40 char       ...CAMPUS    hex 2020202020201CC40043414D50555320
      answers  50 char         .D.CAMPU   hex 20202020202020201B440043414D5055
      answers  60 char S         ...ATH   hex 532020202020202020201EC400415448
      answers  70 char ENA         .D.C   hex 454E4120202020202020202003440043
      answers  80 char AMPUS         .D   hex 414D5055532020202020202020201D44
      answers  90 char ...__MSBROWSE__.   hex 0001025F5F4D5342524F5753455F5F02
      answers  a0 char ...ATHENA          hex 01C400415448454E4120202020202020
      answers  b0 char   jD.ATHENA        hex 20206A4400415448454E412020202020
      answers  c0 char     .D.....,....   hex 202020208744000002A5EC2CC0000000
      answers  d0 char ................   hex 00000000000000000000000000000000
      answers  e0 char ................   hex 00000000000000000000000000000000
      answers  f0 char .....   hex 0000000000
[2003/02/18 11:07:27, 3] nsswitch/winbindd_cm.c:cm_get_dc_name(163)
  cm_get_dc_name: Returning DC ATHENA (212.68.119.1) for domain CAMPUS
[2003/02/18 11:07:27, 3] nsswitch/winbindd_cm.c:cm_get_ipc_userpass(194)
  IPC$ connections done anonymously
[2003/02/18 11:07:27, 5] nsswitch/winbindd_cm.c:cm_open_connection(315)
  connecting to ATHENA from alkippe with username []\[]
[2003/02/18 11:07:27, 3] libsmb/cliconnect.c:cli_full_connection(974)
  Connecting to host=ATHENA share=IPC$
[2003/02/18 11:07:27, 3] lib/util_sock.c:open_socket_out(845)
  Connecting to 212.68.119.1 at port 445
[2003/02/18 11:07:28, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 0
[2003/02/18 11:07:28, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 0
[2003/02/18 11:07:28, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2003/02/18 11:07:28, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2003/02/18 11:07:28, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2003/02/18 11:07:28, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2003/02/18 11:07:28, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 16384
[2003/02/18 11:07:28, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 16384
[2003/02/18 11:07:28, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDLOWAT = 1
[2003/02/18 11:07:28, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVLOWAT = 1
[2003/02/18 11:07:28, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDTIMEO = 0
[2003/02/18 11:07:28, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVTIMEO = 0
[2003/02/18 11:07:28, 5] rpc_parse/parse_prs.c:prs_ntstatus(617)
      002c status: NT_STATUS_ACCESS_DENIED
[2003/02/18 11:07:28, 5] nsswitch/winbindd.c:client_read(417)
  read failed on sock 14, pid 10654: EOF

	Michael Kaiser
	Business Unit IT-Services 
	Network Solutions
	InfraServ Gendorf		
	E-Mail: mailto:KaiserM at gendorf.de




More information about the samba mailing list