s3:auth small optimization in create_token_from_sid
commit6c2d6ada42779b1c7015ddf3cf0dc420c4558be1
authorChristian Ambach <ambi@samba.org>
Tue, 29 Jan 2013 16:19:17 +0000 (29 17:19 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 5 Feb 2013 18:14:25 +0000 (5 19:14 +0100)
tree02ac9c0e4e182b40d5413d79005c991e26110e95
parentdeea99ac36a431befae3af39b7e160ce2d7ba5dc
s3:auth small optimization in create_token_from_sid

save some calls to lp_idmap_default_range(), calling it
once is enough

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Tue Feb  5 19:14:25 CET 2013 on sn-devel-104
source3/auth/token_util.c