[Samba] Winbind Join AD 2003 failled, why ?

calvano69 at laposte.net calvano69 at laposte.net
Mon Sep 10 19:32:28 GMT 2007


Hi

thanks for your answer, i have add my server into /etc/hosts and /etc/samba/lmhost but no change:


[2007/09/10 22:34:09, 3] libsmb/namequery.c:get_dc_list(1426)
  get_dc_list: preferred server list: ", *"
[2007/09/10 22:34:09, 1] libads/dns.c:ads_dns_lookup_srv(260)
  ads_dns_lookup_srv: Failed to resolve _ldap._tcp.dc._msdcs.INTRANET.SOCIETY.FR (Succès)
[2007/09/10 22:34:09, 4] libsmb/namequery.c:get_dc_list(1454)
  get_dc_list: no servers found
[2007/09/10 22:34:09, 3] libsmb/namequery.c:get_dc_list(1426)
  get_dc_list: preferred server list: ", *"
[2007/09/10 22:34:09, 4] libsmb/namequery.c:get_dc_list(1529)
  get_dc_list: returning 1 ip addresses in an unordered list
[2007/09/10 22:34:09, 4] libsmb/namequery.c:get_dc_list(1530)
  get_dc_list: 192.168.16.53:0
[2007/09/10 22:34:09, 1] libads/cldap.c:recv_cldap_netlogon(215)
  no reply received to cldap netlogon
[2007/09/10 22:34:09, 3] libads/ldap.c:ads_try_connect(136)
  ads_try_connect: CLDAP request 192.168.16.53 failed.
[2007/09/10 22:34:09, 0] utils/net_ads.c:ads_startup(289)
  ads_connect: Connexion refusée
[2007/09/10 22:34:09, 2] utils/net.c:main(988)










> Message du 10/09/07 20:28
> De : "Peter Gehirnforce" <Gehirnmann at gmx.de>
> A : calvano69 at laposte.net
> Copie à : 
> Objet : Re: [Samba] Winbind Join AD 2003 failled, why ?
>
> this looks like beeing a missing /etc/hosts entry. take a look if your machine name and ip adress are mapped somewhere (LinuxSrv to X.X.X.X).
> 
> this happens because your broadcast is not beeing answered.
> 
> Et voila, tout sera bien.
> 
> gm.
> 
> -------- Original-Nachricht --------
> > Datum: Mon, 10 Sep 2007 20:10:22 +0200 (CEST)
> > Von: calvano69 at laposte.net
> > An: samba at lists.samba.org
> > Betreff: [Samba] Winbind Join AD 2003 failled, why ?
> 
> > 
> > 
> > Hi
> > 
> > i want add my linux server to my Active Directory running on Windows 2003
> > Server.
> > 
> > My krb:
> > 
> > [libdefaults]
> >         default_realm = INTRANET.SOCIETY.FR
> > 
> > [realms]
> >         INTRANET.SOCIETY.FR = {
> >                 kdc = 192.168.16.1
> >                 kdc = 19.168.16.7
> >                 kpasswd_server = 192.168.16.1
> >                 default_domain = SOCIETY        }
> > 
> > [domain_realms]
> >         .cv216.intranet.society.fr = INTRANET.SOCIETY.FR
> >         .cv217.intranet.society.fr = INTRANET.SOCIETY.FR
> >         .intranet.society.fr = INTRANET.SOCIETY.FR
> > 
> > [logging]
> >     kdc = FILE:/var/log/kerberos/krb5kdc.log
> >     admin_server = FILE:/var/log/kerberos/kadmin.log
> >     default = FILE:/var/log/kerberos/krb5lib.log
> > 
> > 
> > when i test with a:
> > kinit test at INTRANET.SOCIETY.FR it's correct, that's work.
> > 
> > my smb.conf:
> > [global]
> >    workgroup = SOCIETY
> >    netbios name = LinxSrv
> >    server string = LinuxSrv Proxy Server
> > 
> >    log file = /var/log/samba/log.%m
> >    max log size = 500
> >    log level = 10
> > 
> >    map to guest = bad user
> > 
> >    security = ads
> >    realm = INTRANET.SOCIETY.FR
> >    password server = *
> >    encrypt passwords = yes
> >    idmap uid = 10000-20000
> >    idmap gid = 10000-20000
> >    winbind separator = /
> >    winbind use default domain = yes
> >    winbind enum users = yes
> >    winbind enum groups = yes
> > 
> >    encrypt passwords = yes
> >    smb passwd file = /etc/samba/smbpasswd
> >    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> > 
> >    interfaces = 192.168.16.58/23
> > 
> > 
> > when i start join:
> > net ads join -U administrateur 
> > 
> > i have this error
> > 
> > [root at gw etc]# net ads join -U administrateur --debuglevel=4
> > [2007/09/10 21:09:30, 3] param/loadparm.c:lp_load(4945)
> >   lp_load: refreshing parameters
> > [2007/09/10 21:09:30, 3] param/loadparm.c:init_globals(1410)
> >   Initialising global parameters
> > [2007/09/10 21:09:30, 3] param/params.c:pm_process(572)
> >   params.c:pm_process() - Processing configuration file
> > "/etc/samba/smb.conf"
> > [2007/09/10 21:09:30, 3] param/loadparm.c:do_section(3687)
> >   Processing section "[global]"
> >   doing parameter workgroup = SOCIETY  doing parameter netbios name =
> > Ophelys
> > [2007/09/10 21:09:30, 4] param/loadparm.c:handle_netbios_name(3045)
> >   handle_netbios_name: set global_myname to: LINUXSRV
> >   doing parameter server string = LinuxSrv Proxy Server
> >   doing parameter log file = /var/log/samba/log.%m
> >   doing parameter max log size = 500
> >   doing parameter log level = 10
> >   doing parameter map to guest = bad user
> >   doing parameter security = ads
> >   doing parameter realm = INTRANET.SOCIETY.FR
> >   doing parameter password server = *
> >   doing parameter encrypt passwords = yes
> >   doing parameter idmap uid = 10000-20000
> >   doing parameter idmap gid = 10000-20000
> >   doing parameter winbind separator = /
> >   doing parameter winbind use default domain = yes
> >   doing parameter winbind enum users = yes
> >   doing parameter winbind enum groups = yes
> >   doing parameter encrypt passwords = yes
> >   doing parameter smb passwd file = /etc/samba/smbpasswd
> >   doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192
> > SO_SNDBUF=8192
> >   doing parameter interfaces = 192.168.16.58/23
> > [2007/09/10 21:09:30, 4] param/loadparm.c:lp_load(4976)
> >   pm_process() returned Yes
> > [2007/09/10 21:09:30, 2] lib/interface.c:add_interface(81)
> >   added interface ip=192.168.16.58 bcast=192.168.17.255
> > nmask=255.255.254.0
> > administrateur's password:
> > [2007/09/10 21:09:32, 3] libsmb/namequery.c:get_dc_list(1426)
> >   get_dc_list: preferred server list: ", *"
> > [2007/09/10 21:09:32, 1] libads/dns.c:ads_dns_lookup_srv(260)
> >   ads_dns_lookup_srv: Failed to resolve
> > _ldap._tcp.dc._msdcs.INTRANET.SOCIETY.FR (Succès)
> > [2007/09/10 21:09:32, 4] libsmb/namequery.c:get_dc_list(1454)
> >   get_dc_list: no servers found
> > [2007/09/10 21:09:32, 3] libsmb/namequery.c:get_dc_list(1426)
> >   get_dc_list: preferred server list: ", *"
> > [2007/09/10 21:09:32, 4] libsmb/namequery.c:get_dc_list(1529)
> >   get_dc_list: returning 1 ip addresses in an unordered list
> > [2007/09/10 21:09:32, 4] libsmb/namequery.c:get_dc_list(1530)
> >   get_dc_list: 10.37.16.53:0
> > [2007/09/10 21:09:32, 1] libads/cldap.c:recv_cldap_netlogon(215)
> >   no reply received to cldap netlogon
> > [2007/09/10 21:09:32, 3] libads/ldap.c:ads_try_connect(136)
> >   ads_try_connect: CLDAP request 192.168.16.53 failed.
> > [2007/09/10 21:09:32, 0] utils/net_ads.c:ads_startup(289)
> >   ads_connect: Connexion refusée
> > [2007/09/10 21:09:32, 2] utils/net.c:main(988)
> >   return code = -1
> > [root at gw etc]#
> > 
> > 
> > 
> > Anyone know this problems ? i run on Mandriva with Samba-winbind 3.0.23d
> > 
> > Thanks for your help
> > Olivier
> > 
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/listinfo/samba
> 
> -- 
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> 
> 





More information about the samba mailing list