[Samba] Slowdown due to change in DC lookup from 3.0.1 to 3.0.2a

Gerald (Jerry) Carter jerry at samba.org
Tue Jul 20 17:41:59 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Derek Holden wrote:

| I am experiencing slowdown due to changes introduced
| after 3.0.1 to the  various DC lookup routines. I have
| it narrowed down but don't know where  to go from here.
| First the relevant pieces of the conf:
|
| [global]
|    workgroup = COMPANY.COM
|    security = server
|    log level = "4 auth:6"
|    password server = SERVER1 SERVER2
|    wins server = 10.0.0.29
|    os level = 0
|    domain / preferred / local master = no
|    dns proxy = no
...

| It appears before ads_dc_name () was being
| alled before because the  condition strchr_m(domain, '.')
| was passing  due to the domain being  'COMPANY.COM' in
| the conf.

This is why the check was considered to be bogus.
having a '.' in a netbios name always ends in tears.
Set workgroup to be the short version of the AD
realm name.  Then the name should resolve via WINS.

| Now it fails because it it is checking either ADS
| security mode or  realm. However, realm is set to NULL
| from the enumerate_domain_trusts call.
|
| So that's where I am at. I don't have the priviledges at
| the company to  add this server to the domain, which is
| why security mode is server. I'd  appreciate any help
| or pointers. Thanks a lot,




cheers, jerry
- ----------------------------------------------------------------------
Hewlett-Packard            ------------------------- http://www.hp.com
SAMBA Team                 ---------------------- http://www.samba.org
GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
"...a hundred billion castaways looking for a home." ----------- Sting
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFA/VlnIR7qMdg1EfYRAq37AKDjUmYB6z37pUbWpKXPK+v46jEqbACgtkFv
XnURNQjeDQjILgeU3ljf9co=
=BmhS
-----END PGP SIGNATURE-----


More information about the samba mailing list