|
Hello All,
I configured samba-winbindd for squid proxy
authentication.
I was able to add the machine to windows 2000
server.but wbinfo -t returns error
Can anybody helps me to solve the problem after
seeing the setup and error message
Following is the setup i made
]# vi smb.conf
# Global
parameters
[global] workgroup = KOVAITEST netbios name = FIREWALL server string = Linux workstation security = DOMAIN encrypt passwords = Yes password server = kovai-x30kwi8z3 winbind uid = 10000-20000 winbind gid = 10000-20000 template shell = /bin/bash winbind separator = + winbind cache time = 10 winbind use default domain = Yes ]# ./smbpasswd -j KOVAITEST -r kovai-x30kwi8z3
-UAdministrator%win2000
Joined domain KOVAITEST. ]# ./wbinfo -t
Could not check secret IN LOG.winbindd
]# tail -f log.winbindd
[2003/01/23 15:10:41, 10]
nsswitch/winbindd_cm.c:cm_open_connection(334)
returning negative open_connection_cache entry for KOVAITEST, KOVAI-X30KWI8Z3 [2003/01/23 15:10:41, 3] nsswitch/winbindd_cm.c:get_connection_from_cache(435) Could not open a connection to KOVAITEST for \PIPE\lsarpc (NT_STATUS_LOGON_FAILURE) [2003/01/23 15:10:51, 1] nsswitch/winbindd_util.c:init_domain_list(143) Retrying startup domain sid fetch for KOVAITEST [2003/01/23 15:10:51, 10] nsswitch/winbindd_cm.c:cm_get_dc_name(108) get_dc_name_cache entry expired for KOVAITEST [2003/01/23 15:10:51, 10] nsswitch/winbindd_cm.c:cm_get_dc_name(130) Creating get_dc_name_cache entry for KOVAITEST [2003/01/23 15:10:51, 3] libsmb/namequery.c:resolve_lmhosts(768) resolve_lmhosts: Attempting lmhosts lookup for name kovai-x30kwi8z3<0x20> [2003/01/23 15:10:51, 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/01/23 15:10:51, 10] libsmb/nmblib.c:parse_nmb(471) parse_nmb: packet id = 10137 [2003/01/23 15:10:51, 5] libsmb/nmblib.c:read_packet(719) Received a packet of len 355 from (172.16.1.251) port 137 [2003/01/23 15:10:51, 4] libsmb/nmblib.c:debug_nmb_packet(107) nmb packet from 172.16.1.251(137) header: id=10137 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=KOVAITEST<1c> rr_type=33 rr_class=1 ttl=0 answers 0 char .KOVAI-X30KWI8Z3 hex 0C4B4F5641492D5833304B5749385A33 answers 10 char .D.KOVAI-X30KWI8 hex 0044004B4F5641492D5833304B574938 answers 20 char Z3 D.KOVAITEST hex 5A332044004B4F564149544553542020 answers 30 char ...KOVAITEST hex 2020202000C4004B4F56414954455354 answers 40 char ...KOVAITE hex 2020202020201CC4004B4F5641495445 answers 50 char ST .D.KOVAI hex 53542020202020201B44004B4F564149 answers 60 char -X30KWI8Z3.D.INe hex 2D5833304B5749385A33034400494E65 answers 70 char t~Services ...K hex 747E536572766963657320201CC4004B answers 80 char OVAITEST .. hex 4F564149544553542020202020201EC4 answers 90 char .IS~VAI-X30KWI8Z hex 0049537E5641492D5833304B5749385A answers a0 char 3D.KOVAITEST hex 3344004B4F5641495445535420202020 answers b0 char .D...__MSBROWS hex 20201D440001025F5F4D5342524F5753 answers c0 char E__....ADMINISTR hex 455F5F0201C40041444D494E49535452 answers d0 char ATOR .D...[8... hex 41544F52202003440000065B3899A800 answers e0 char ................ hex 00000000000000000000000000000000 answers f0 char ................ hex 00000000000000000000000000000000 answers 100 char ....... hex 00000000000000 [2003/01/23 15:10:51, 3] nsswitch/winbindd_cm.c:cm_get_dc_name(205) cm_get_dc_name: Returning DC KOVAI-X30KWI8Z3 (172.16.1.251) for domain KOVAITEST Thanks and Regards,
Sathi
|
