s3-passdb: Allow pdb_sid_to_id to work on any SID
authorAndrew Bartlett <abartlet@samba.org>
Tue, 21 Aug 2012 04:56:45 +0000 (14:56 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 21 Aug 2012 05:25:49 +0000 (15:25 +1000)
commit02e25b2a43ae02205a3412f862a1482d24b70aa4
tree74032c74bcd05d0b3e21a23475d85f9d81231948
parentd963aaf73be22b0a027b3636c6c51292412b5931
s3-passdb: Allow pdb_sid_to_id to work on any SID

This is needed so that pdb_samba4 can map any SID during a provision.

At runtime, winbindd will be asked first, but this shortcut direct to the
ldb file makes it possible to set the permissions on the sysvol share at
provision time.

Andrew Bartlett
source3/passdb/lookup_sid.c
source3/passdb/pdb_interface.c
source3/passdb/pdb_ldap.c