substitute: Fix talloc_sub_basic for %G in the case of a local user.
authorMichael Adam <obnox@samba.org>
Thu, 21 Jan 2016 11:42:14 +0000 (12:42 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 22 Jan 2016 04:03:25 +0000 (05:03 +0100)
commitef269c9ddc865a450f4e594ec9133e1f304452a7
tree3c406b911c5792f2a836620ad3e6b6480cd88935
parent2f2b57a648624dee346dbc9481a36d38c5d21ec3
substitute: Fix talloc_sub_basic for %G in the case of a local user.

This fixes a regression introduced by the fix for bug 10286.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10286

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jan 22 05:03:25 CET 2016 on sn-devel-144
source3/lib/substitute.c