Fixed an annoying bug in the LDAP code. Attributes not present in the
authorMatthew Chapman <matty@samba.org>
Wed, 22 Sep 1999 04:32:19 +0000 (04:32 +0000)
committerMatthew Chapman <matty@samba.org>
Wed, 22 Sep 1999 04:32:19 +0000 (04:32 +0000)
commit1e3490dda918c9fe580c90cef6767c777c87c438
tree644af2ebd7b25ff11545b1fe6b45258a2304eb0e
parentf1c2fdb2704e04b05fe3247c53162006a25e75fb
Fixed an annoying bug in the LDAP code. Attributes not present in the
LDAP database were being initialised using unix_to_nt_time on -1, rather
than -1 as an NTTIME (which is very different).

Problems solved (hopefully):
* "Access Denied" when accessing an NT share in a Samba controlled domain.
* "Your password has expired" sometimes when logging in.
(This used to be commit 740d8388cb6dfebb26681a45fd1b293383d08a6d)
source3/passdb/sampassldap.c