Novell Home

Script for Populating Passphrase Answers

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 29 Oct 2004
 

Recently one of our Forum readers had a question about passphrase answers:

"I am looking to populate a significant number of passphrase answers with a default answer. Unfortunately, the slaptool documentation only shows the command syntax, and not the syntax of the XML file. I am looking to push only the passphrase answers. Can anyone help me out with this?"

And one of Forum experts responds:


Here is a complete XML file example to do what you are asking. It may be included in the future in the slaptool documentation:

<?xml version="1.0"?>
  <securelogin>
    <passphrasequestions>
      <question>Please enter a passphrase for SLAP testing.</question>
    </passphrasequestions>
    <passphrase>
      <activequestion>Please enter a passphrase for SLAP testing.
      </activequestion>
      <answer>passphrase</answer>
    </passphrase>
    <logins>
      <login>
        <name>fnord</name>
        <symbol>
          <name>username</name>
          <value>bob</value>
        </symbol>
        <symbol>
          <name>Password</name>
          <value>test</value>
        </symbol>
      </login>
      <login>
        <name>notepad.exe</name>
        <symbol>
          <name>username</name>
          <value>asdf</value>
        </symbol>
        <symbol>
          <name>Password</name>
          <value>test</value>
        </symbol>
      </login>
      <login>
        <name>testlogin</name>
        <symbol>
          <name>username</name>
          <value>Novell</value>
        </symbol>
        <symbol>
          <name>Password</name>
          <value>test</value>
        </symbol>
      </login>
    </logins>
  </securelogin>


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell