trust domain down cause winbind not work

Gerald (Jerry) Carter jerry at samba.org
Fri Oct 31 14:14:15 GMT 2003


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

Lin Li wrote:
| Gerald (Jerry) Carter wrote:
|
|> Lin Li wrote:
|> | Hi,
|> |
|> | I'm using samba3.0.0. It seems when a trust domain is down
|> | can not login with domain user on my own domain using winbind.
|> | Is this a bug or feature missing?
|> |
|> | On a windows client I can login my own domain.
|>
|> get a level 10 de3bug log of winbindd with timestampsand see
|> where it is hanging.  It should time out trying to contact
|> the trusted DC eventually.  You can also manually change
|> the failed connection cache TTL as well.
|
|
| It's doing ads_try_connect and it do time out. The first time I had this
| test it times out after about 20 minutes. Today I tested it again and it
| times out after about 3 minutes. I did a package syncronize with debian
| testing yesterday. I will do more testing.
|
| Do you know where is the time out set?

There's a couple of timeouts.   One if where we cache the
name DC's from failed connection attempts.  Entries in
that expire after 30 seconds.  Look in libsmb/conncache.c.

Other things you are seeing is a retry loop that tries up
to 3 times to connect.  You could set that to a lower value.

I'll try to look at this some more but it will take some
thought.  Would you file a bug for me at
https://bugzilla.samba.org/  Thanks.




cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard            ------------------------- http://www.hp.com
~ SAMBA Team                 ---------------------- http://www.samba.org
~ GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~                            --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/om43IR7qMdg1EfYRAmK/AJ93GqLUD9N5wilZSqc9HRqfeWiJfwCfTYTr
1DjX7DwfMwpbyHn+juZmvwg=
=hb+G
-----END PGP SIGNATURE-----




More information about the samba-technical mailing list