s3:passdb Export function to calculate the proper primary group sid
commit0a7ff146171abd2dee4aac44e4f2c6c812f1027e
authorSimo Sorce <ssorce@redhat.com>
Sat, 29 May 2010 14:51:40 +0000 (29 10:51 -0400)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 7 Jun 2010 12:53:08 +0000 (7 22:53 +1000)
tree09e1c1bc5cd5fd55ff1b00ae0a5a3e90453193b2
parentaaf45cd48ecf8e9f640a6f487b66785d47b8154a
s3:passdb Export function to calculate the proper primary group sid

Don't keep it buried in passdb, this function need to be available
for use in places where we do not want to construct an artificial
samu struct just to play tricks.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source3/include/proto.h
source3/passdb/lookup_sid.c
source3/passdb/pdb_get_set.c