net: Let get*sid return error from passdb init
commitbe8180e030ec922ae75b747c2bf4c5551740c404
authorChristof Schmitt <christof.schmitt@us.ibm.com>
Tue, 24 Apr 2012 21:33:46 +0000 (24 14:33 -0700)
committerVolker Lendecke <vl@samba.org>
Mon, 30 Apr 2012 11:07:20 +0000 (30 13:07 +0200)
tree3c431d783efc09b1256094a544ca28384f5448fc
parent6e583c72cc0c235a997c700342e8dc14cb65ec29
net: Let get*sid return error from passdb init

When initialize_password_db returns an error this means that the SID
stored in the backend cannot be read. Return this error directly
instead of creating a random SID through get_global_sam_sid.

Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Mon Apr 30 13:07:20 CEST 2012 on sn-devel-104
source3/utils/net.c