[Samba] net ads info can't find the ldap server.

=?big5?B?TGF0cmVsbCBXYW5nIKT9xG269Q==?= Latrell.Wang at zyxel.com.tw
Mon Jan 22 10:04:29 GMT 2007


Hi all:

=20

After I upgraded to samba 3.0.23d, I can=A1=A6t use net ads info to =
retrieve DC information.

=20

In my previous version (3.0.21c), I can use net ads info and get the =
information:

LDAP server: 172.23.26.204

LDAP server name: nas-2003

Realm: NAS.LOCAL

Bind Path: dc=3DNAS,dc=3DLOCAL

LDAP port: 389

Server time: Mon, 22 Jan 2007 09:51:02 GMT

KDC server: 172.23.26.204

Server time offset: -60

=20

After upgrade to 3.0.23d:

Didn't find the ldap server!

=20

The detailed information is as follows:

It seem there=A1=A6s some problem with protocol negotiation. My openldap =
version is 2.1.22. I also tried 2.3.32, but also fail.=20

Could someone help me out?

=20

Thanks,

Latrell.

=20

=20

[2007/01/22 18:00:24, 3] param/loadparm.c:lp_load(4945)

  lp_load: refreshing parameters

[2007/01/22 18:00:24, 3] param/loadparm.c:init_globals(1410)

  Initialising global parameters

[2007/01/22 18:00:24, 3] param/params.c:pm_process(572)

  params.c:pm_process() - Processing configuration file =
"/etc/samba/smb.conf"

[2007/01/22 18:00:24, 3] param/loadparm.c:do_section(3687)

  Processing section "[global]"

[2007/01/22 18:00:24, 3] lib/module.c:do_smb_load_module(49)

  Error loading module '/usr/lib/charset/ANSI_X3.4-1968.so': =
/usr/lib/charset/ANSI_X3.4-1968.so: cannot open shared object file: No =
such file or directory

[2007/01/22 18:00:24, 2] lib/interface.c:add_interface(81)

  added interface ip=3D172.23.26.152 bcast=3D172.23.26.255 =
nmask=3D255.255.255.0

[2007/01/22 18:00:24, 3] libsmb/namequery.c:get_dc_list(1426)

  get_dc_list: preferred server list: "172.23.26.204, NAS.LOCAL *"

[2007/01/22 18:00:24, 1] libads/cldap.c:recv_cldap_netlogon(240)

  Failed to parse cldap reply

[2007/01/22 18:00:24, 3] libads/ldap.c:ads_try_connect(136)

  ads_try_connect: CLDAP request 172.23.26.204 failed.

Didn't find the ldap server!

[2007/01/22 18:00:24, 2] utils/net.c:main(988)

  return code =3D -1

=20

[smb.conf]

[global]

        dos charset =3D UTF8

        display charset =3D UTF8

        unix charset =3D UTF8

        server string =3D %h

        netbios name =3D NSAF933

        write ok =3D yes

        guest account =3D smbguest

        map to guest =3D bad user

        encrypt passwords =3D yes

        map archive =3D no

        client use spnego =3D no

        auth methods =3D guest sam_ignoredomain winbind:ntdomain

        host msdfs =3D yes

        winbind use default domain =3D yes

=20

        workgroup =3D NAS

        security =3D ads

        password server =3D NAS.LOCAL *

        idmap uid =3D 100000-500000

        idmap gid =3D 100000-500000

        winbind cache time =3D 15

        template homedir =3D /tmp/users/home/%D/%U

        template shell =3D /bin/bash

=20



More information about the samba mailing list