s3:waf: Install eventlogadm to /usr/sbin
authorAndreas Schneider <asn@samba.org>
Mon, 6 Aug 2018 15:32:17 +0000 (17:32 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 6 Aug 2018 23:49:34 +0000 (01:49 +0200)
The eventlogadm binary needs write access to the registry which, by
default, is only possible as root.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Aug  7 01:49:34 CEST 2018 on sn-devel-144

source3/utils/wscript_build

index 8b4d890d485bd173ddbeb0b920372435a0acc834..93e6abaac0d25258ad7262fefee61434522f8491 100644 (file)
@@ -86,7 +86,8 @@ bld.SAMBA3_BINARY('eventlogadm',
                  deps='''
                  talloc
                  smbconf
-                 LIBEVENTLOG''')
+                 LIBEVENTLOG''',
+                 install_path='${SBINDIR}')
 
 bld.SAMBA3_BINARY('sharesec',
                  source='sharesec.c ../lib/util_sd.c',