Hello, I am getting 4 lines on Solaris into smb.conf.5: $ grep mrehak usr/share/man/man5/smb.conf.5 \fI\fIdns update command\fR\fR\fI = \fR\fI/builds/mrehak/samba/components/samba/build/amd64/source4/scripting/bin/samba_dnsupdate\fR\fI \fR \fI\fIgpo update command\fR\fR\fI = \fR\fI/builds/mrehak/samba/components/samba/build/amd64/source4/scripting/bin/samba\-gpupdate\fR\fI \fR \fI\fIsamba kcc command\fR\fR\fI = \fR\fI/builds/mrehak/samba/components/samba/build/amd64/source4/scripting/bin/samba_kcc\fR\fI \fR \fI\fIspn update command\fR\fR\fI = \fR\fI/builds/mrehak/samba/components/samba/build/amd64/source4/scripting/bin/samba_spnupdate\fR\fI \fR The grep was run in prototype directory where samba is instructed to perform 'make install'. This is the line I see in the build log: Note: Writing smb.conf.5 ... make[1]: Leaving directory '/builds/mrehak/samba/components/samba/build/amd64' /usr/bin/touch /builds/mrehak/samba/components/samba/build/amd64/.built (cd /builds/mrehak/samba/components/samba/build/amd64 ; /usr/bin/env LD_OPTIONS="-M /usr/lib/ld/map.noexdata -M /usr/lib/ld/map.pagealign -Bdirect -zignore -zstrip-class=comment" LD_EXEC_OPTIONS="-ztype=pie -zsx=aslr=enable -zsx=nxstack=e nable -zsx=nxheap=enable -zctf=compress,ignore-non-c " LD_PIE_OPTIONS="-zsx=aslr=enable -zsx=nxstack=enable -zsx=nxhea p=enable -zctf=compress,ignore-non-c " LD_SHARED_OPTIONS="-ztext -zctf=compress,ignore-non-c " http_proxy= https_pro xy= ftp_proxy= /usr/gnu/bin/make \ DESTDIR=/builds/mrehak/samba/components/samba/build/prototype/i386 install) make[1]: Entering directory '/builds/mrehak/samba/components/samba/build/amd64' PYTHONHASHSEED=1 WAF_MAKE=1 ./buildtools/bin/waf install Waf: Entering directory `/builds/mrehak/samba/components/samba/build/amd64/bin/default' ... + install /builds/mrehak/samba/components/samba/build/prototype/i386/usr/share/man/man5/smb.conf.5 (from bin/default/docs-xml/manpages/smb.conf.5) I have found some effort around this in Debian few years ago: https://bugzilla.samba.org/show_bug.cgi?id=13198 I have commented out the SCRIPTSBINDIR in dynconfig/wscript and it works well now, but I think this is not a fix. Also I see the get_override() mechanism through which the build environment is getting there. So I assume the man page is either not get updated during install phase or there is something else wrong in the logic. What am I doing wrong? What do you need from me to help you debug the issue and find the root cause, please? Thank you, m.