passdb: spare superfluous call to lookup_rids() in lookup_sids()
authorMichael Adam <obnox@samba.org>
Thu, 20 Feb 2014 15:57:21 +0000 (16:57 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 25 Feb 2014 10:17:18 +0000 (11:17 +0100)
commite35b1d8dc43e63d8932e8e0e3cd274e9de6963e3
tree37f1716751f7b63ca6a6e4b0ab2f3b6a50fb3f5f
parent0cb15c169f134026e0dae40994640f76e64f99d9
passdb: spare superfluous call to lookup_rids() in lookup_sids()

If we have no name indexes for a domain, all names were domain
names and have been resolved earlier, including the domain name.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10463

Change-Id: I5a7a387fa89d2b2bdd465c13b3dca0e18ca0482c
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Feb 25 11:17:18 CET 2014 on sn-devel-104
source3/passdb/lookup_sid.c