[Samba] The problem on joining a computer running FreeBSD(v5.4) to a Windows 2003 Active Directory domain using samba3.

=?gb2312?B?TGl1LCBIb25nIFF1YW4gwfW67Miq?= liuhongquan at nwbsc.com
Sun Oct 9 03:32:54 GMT 2005


Hi,

I encountered a problem when I joined a FreeBSD machine to a windows =
2003 AD domain.

I passed following steps successfully:

1.#net ads join =A8CUAdministrator =20

2.#wbinfo =A8Cu

3.#wbinfo =A8Cg

But when I check:

#id Domain\\username   (I can find this username using command =
=A1=B0wbinfo =A8Cu=A1=B1)

 Id Domain\\username: no such user

=20

 I found:

 After restarting samba, there is a error message in file log.winbindd:

 =A1=B0[2005/10/09 11:17:44, 1] nsswitch/winbindd.c:main(864)

  winbindd version 3.0.12 started.

  Copyright The Samba Team 2000-2004

[2005/10/09 11:17:44, 0] =
nsswitch/winbindd_util.c:winbindd_param_init(555)

  winbindd: idmap uid range missing or invalid   --- I set =
=A1=B0idmap=A1=B1 in smb.conf: idmap uid =3D 10000 -20000 and=20

                                                                         =
idmap gid =3D 10000 - 20000

[2005/10/09 11:17:44, 0] =
nsswitch/winbindd_util.c:winbindd_param_init(556)

  winbindd: cannot continue, exiting.

[2005/10/09 11:17:44, 1] nsswitch/winbindd.c:main(897)

  Could not init idmap -- netlogon proxy only)

And also other messages:

=A1=B1 2005/10/09 11:20:00, 1] =
nsswitch/winbindd_ads.c:enum_dom_groups(282)

  No rid for Account Operators !?

[2005/10/09 11:20:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)

  No rid for Administrators !?

=A1=AD=A1=AD

[2005/10/09 11:20:00, 1] =
nsswitch/winbindd_group.c:winbindd_getgrent(704)

  could not look up gid for group All IT

[2005/10/09 11:20:00, 1] =
nsswitch/winbindd_group.c:winbindd_getgrent(704)

  could not look up gid for group Enterprise Admins

=A1=AD=A1=AD

[2005/10/09 11:24:45, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)

  user 'Domain\username' does not exist

=20

What is the problem?

Any feedback will be appreciated?

Thanks!

Best Regards,

Liu, Hong Quan

IT Department

New World Business Solution Corporation Limited
29F, Building A, Eagle Run Plaza,
No.26, Xiaoyun Road, Chaoyang District,
Beijing 100016=20

=D0=C2=CA=C0=BD=E7=C8=ED=BC=FE=D3=D0=CF=DE=B9=AB=CB=BE
=B1=B1=BE=A9=CA=D0=B3=AF=D1=F4=C7=F8=CF=F6=D4=C6=C2=B726=BA=C5
=C5=F4=C8=F3=B4=F3=CF=C3A=D7=F929=B2=E3
=D3=CA=B1=E0 100016=20

Tel(=B5=E7=BB=B0): 86-10-64686666 - 8808
Fax(=B4=AB=D5=E6): 86-10-84584158=20
Email(=B5=E7=D3=CA): info at nwbsc.com
Website(=CD=F8=D6=B7): www.nwbsc.com

=20



More information about the samba mailing list