Fix gh-#2065 Replace 'SMC' in ECLWatch/ConfigMgr UI

Existing ECLWatch Permission area shows 'SMC' as feature name.
This fix changes it to better names. Most of the changes are
in environment.xml and other deployment scripts which create
the term into esp.xml. It is decided to rename the 'ESP
Services for SMC' to be 'ESP Services for management console'
and rename the 'Root access to SMC service' to be 'Base
access to ESP services'. This fix also changes the term
'espsmc' to 'eclwatch'.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Keep 'SmcAccess' and better display of permissions page

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
New ESP accounts should have expiring passwords

Currently, when ECLWatch is used to create an ESP account, it sets the
"DONT EXPIRE PASSWORD" bit in "userAccountControl" attribute.  This is
not correct, since account password expiration should be controlled by
the domain policy (except for system users). This code change removes
the setting of that feature.
It should be noted that when we do enable an LDAP password expiration,
a script or some other mechanism needs to be utilized to clear that bit
in all existing accounts or expiration will not occur.

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
Fix some global group issues and leaks

regressions introduced as part of roxie mem manager changes

1) Global group not correctly picking up 1st record from next node, if none
local
2) Rollover transfer handling not stopped/restarted correctly if in child
query (loop)
3) Minisort leak, serializing rows
4) Minisort local total row count wrong, meant invalid meta info
5) row mem leak in removeRows

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #2235 from jakesmith/leaks

Fix some global group issues and leaks

Reviewed-By: Renato Golin <rengolin@hpccsystems.com>
Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Fix selfjoin global child query stall

A selfjoin within a global child query (loop) was stalling on 2nd iteration
of loop

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Fix #2231 Wrong Dali audit logfile name constructed

Recent changes to logfile names broke the dali audit code which
extracts information from within those logfiles. Fix the code so
that it builds the logfile name using the expect .yyyy_mm_dd format

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
gh-2244 ecl package command line needs to process daliip parameter

Fixes gh-2244

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
Merge pull request #2248 from stuartort/pkg_copyfile_daliip

Pkg copyfile daliip

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2227 from RussWhitehead/ldapNeverExpires

New ESP accounts should have expiring passwords

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2240 from RussWhitehead/daauditLogs

Fix #2231 Wrong Dali audit logfile name constructed

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
gh-2247 ecl package copyFiles crashes if no user / password specified

Fixes gh-2247

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
Fix hashjoin regression caused by gh-2195

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #2260 from jakesmith/hashjoin-regression

Fix hashjoin regression caused by gh-2195

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Failed libxslt transforms causing core in libxml

libxml was not checking the return of xsltApplyStylesheetUser which
was causing a subsequent call to libxslt to core.

The xsltApplyStylesheetUser failure was caused by minor bugs in
dfu_fileview.xslt and dropzonefile.xslt. These were not issues when
using xalan.

Fixes gh-2261 and Fixes gh-2262

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Bug #2229 ECLJDBC driver inherits platform's cmake version variables and values.

Although the ECL JDBC driver is a stand-alone JAVA based application, without
any direct dependency on the platform, it will be versioned in parallel with the
platform. In order to achieve this, a simple java class is generated by the CMAKE
configuration process. This "version tracker" class contains final static values
based on the platform's cmake version variables. The entire project is free to use
those fields for version reporting purposes.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
Merge pull request #2267 from afishbeck/libxslt_core

Fix failed libxslt transforms causing core in libxml

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Fix compilation error in x86_64
Merge pull request #2270 from rengolin/int64

Fix compilation error in x86_64 / gcc 4.6.3 (int64_t)

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
#2229 Restructured path variables to avoid long relative path per code review

Due to the current mechanism for building seperate packages, having a relative
path to the HPCC-Platform source dir is unavoidable. However, I previous 7 dir
relative path was not necessary. HPCC-Platform source dir is set at ECLJDBC
SRC root in order to find version.cmake file.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>