Make cm_connect_sam() try harder to connect autheticated.
commit9104d2bf79e92ccdca3e6406bda9f0facea89ddb
authorMichael Adam <obnox@samba.org>
Tue, 11 Dec 2007 15:34:39 +0000 (11 16:34 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 13 Dec 2007 09:15:20 +0000 (13 10:15 +0100)
tree69b5364a44e1545b6808da2adf48b0533df989bd
parent13e0e4bdf25d00bdf021851d4f5a9e906212c357
Make cm_connect_sam() try harder to connect autheticated.

Even if the session setup was anonymous, try and collect
trust creds with get_trust_creds() and use these before
falling back to schannel.

This is the first attempt to fix interdomain trusts.
(get password policy and stuff)

Michael
(This used to be commit e180bbd45452435e981192028a0ad90078c04236)
source3/winbindd/winbindd_cm.c