epan@pchome.com.tw
2003-Aug-26  17:19 UTC
[Samba] how to make winbind work with PDC in different subnet
Hi,
I got some problem to make winbind to work with PDC in other network.
Here are my enviroment :
  Linux server : 
    RedHat 7.2 
    Samba 2.2.8a
    IP is 172.16.1.9 , netmask is 255.255.255.0
    /usr/local/samba/lib/smb.conf :
    [global]
        workgroup = ARFLEX-TPE
        security = DOMAIN
        encrypt passwords = Yes
        password server = 192.168.100.3
        winbind uid = 10000-20000
        winbind gid = 10000-20000
        template shell = /bin/bash
        winbind separator = +
        winbind cache time = 10
  Windows 2000 DC :
    Windows 2000 Server with SP4
    IP is 192.168.100.3 , netmask is 255.255.255.0
    Domain is ARFLEX-TPE
I can join the Domain successfully and any PC can browse this Samba Server.
When I start winbind with debug option , 
it alwasy says it can not find Domain Controller.
load_dos_unicode_map: 850
load_unicode_map: loading unicode map for codepage 850.
load_unix_unicode_map: ISO8859-1 (init_done=0, override=0)
load_unicode_map: loading unicode map for codepage ISO8859-1.
added interface ip=172.16.1.9 bcast=172.16.1.255 nmask=255.255.255.0
Could not look up dc's for domain ARFLEX-TPE
Could not open a connection to ARFLEX-TPE for \PIPE\lsarpc
(NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)
Retrying startup domain sid fetch for ARFLEX-TPE
Could not look up dc's for domain ARFLEX-TPE
domain ARFLEX-TPE already tried and failed
Could not open a connection to ARFLEX-TPE for \PIPE\lsarpc
(NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)
Please give me your advice.
Thanks in advance.
Regards,
Eric
========================================================= §K¶O©Û«Ý§A®öº©·Rµ^®ü
 http://edm-prg.epaper.com.tw/click.php?ad_code=20023
=========================================================
PChome½u¤WÁʪ«¶g¦~¼y¡G©â¨T¨®¡BDV¤Ñ¤Ñ°e
 http://shopping.pchome.com.tw/
==========================================================