What are the challenges you face when working across database platforms? Take the survey
Options

DataMaskerCmdLine.exe

Hi
I'm using WindowsLogin, how do I specify the target database in the parfile?
It doesn't like LOGINSUB=XXXX[YYYY]||Servername[DatabaseName]
In the old days it was: -D XXXX[YYYY]=ServerName[DatabaseName] 
Also, I presume the -R and -X parameters are superfluous now?
I'm using DM 6.3.14 
Thanks
Adrian
PS. The documentation specifies DATASETDIR but it is in fact DATASETSDIR
PPS when I enable the Bulk Substitution it just hangs half-way through the masking, but works fine without the switch

Tagged:

Best Answers

  • Options
    PlantBasedSQLPlantBasedSQL Posts: 187 Gold 4
    Thanks @skattie22 not a problem - the Clone question was more out of curiosity as it makes the process much easier and means you don't need to generate your own PARFILE.

    Using the documentation link above I was able to connect with WINAUTH, I'll include my PARFILE below
  • Options
    PlantBasedSQLPlantBasedSQL Posts: 187 Gold 4
    Where in this case I changed the Masking set to SQL Auth, gave it the username placeholder-login, then switched back to Windows Auth. Then in the login sub you just provide the setup you have in the masking set, followed by the connection to the DB you want to mask this time, the key is the || LOGINMODE_IS_WINAUTH appended to the LoginSub.

Answers

Sign In or Register to comment.