cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Member
New Member

Trouble with template pools and authentication

Jump to solution

My company has ten Xerox multifunction devices (MFDs).  We need to configure scanning for all employees on each MFD.  The scans will go to different directories for each employee - one directory per employee - on a central server.  My plan is to use the Template Pool feature, create one template per employee, save the job log, then copy the job log to the template pool server share.  Lastly, configure all the MFDs to look at that template pool server share.

 

The mechanics of doing this are working, except for one thing:  when using a template pool template, the MFD requires username and password authentication.  If I use a local template, it does not ask for authentication, it simply scans the document, which is what we need.

 

Why is the template pool template not using the stored password from the repository?

 

Note:  we have two repositories and the new one for this process is not the default.

 

Thanks in advance.

 

0 Kudos
13 Replies
Highlighted
Valued Advisor
Valued Advisor

Re: Trouble with template pools and authentication

Jump to solution

hi,

 

yes thats normal behaviour, but when you create the xst files the first time within a scan, then edit the the .xst file manually

 

then you can include the username and password lines

 

but be carefull, there is no encryption there!! , so setup your ntfs rights, so that noone is able to look or view the xst files :)

0 Kudos
Highlighted
New Member
New Member

Re: Trouble with template pools and authentication

Jump to solution

Ah, thanks!  Now, what do the username and password lines look like?

 

Thanks in advance!

 

0 Kudos
Highlighted
Valued Advisor
Valued Advisor

Re: Trouble with template pools and authentication

Jump to solution

not in the office right now, but i can look tomorrow, have documented it somewhere :)

 

 

0 Kudos
Highlighted
Valued Advisor
Valued Advisor

Re: Trouble with template pools and authentication

Jump to solution

just googled

 

try this for username

 

* string UserNetworkFilingLoginName = "d\\scanuser";

 

setup under the filling options , where the storage is filled in 

0 Kudos
Highlighted
Valued Advisor
Valued Advisor

Re: Trouble with template pools and authentication

Jump to solution

ah , found it

 

here is an example : 

 

[service xrx_svc_file]
 file_1{
    * boolean ServiceEnabled = TRUE;
      ref_invocation OutputDocument = XRX_DOCUMENT:doc_1;
      string RepositoryName = "11.22.33.44";
      string DocumentPath = "/verne";
      string UserNetworkFilingLoginName = "scan";
      string UserNetworkFilingLoginID = "secret-pc-password-here";
      string RepositoryVolume = "";
      string NDSNameContext = "";
      string NDSTree = "";
      enum_namespace FilingNameSpace = UNIX;
      enum_filingprotocol FilingProtocol = FTP;
      enum_filingpolicy DocumentFilingPolicy = NEW_AUTO_GENERATE;

0 Kudos
Highlighted
New Member
New Member

Re: Trouble with template pools and authentication

Jump to solution

How the heck did you find that!????? I've been looking for 30 minutes!

 

0 Kudos
Highlighted
Valued Advisor
Valued Advisor

Re: Trouble with template pools and authentication

Jump to solution

google for the correct keywords :-)

 

actually came on this topic: 

 http://forum.support.xerox.com/t5/General-Information/Modify-xst-file/td-p/141617

0 Kudos
Highlighted
New Member
New Member

Re: Trouble with template pools and authentication

Jump to solution

I spoke too soon.  No go.  After modifying the template, then logging in to the MFD and updating its templates, I attempted to scan a document.  It asked for authentication.  The key portion of the template looks like this (username and password fields scribbled to protect the guilty):

 

[service xrx_svc_file]

file_1{

* enum_filingpolicy DocumentFilingPolicy = NEW_AUTO_GENERATE;

* string RepositoryAlias = "Doc.IT";

* string DocumentPath = "My_Path";

string UserNetworkFilingLoginName = "OCR_account";

string UserNetworkFilingLoginID = "OCR_account_password";

enum_filingprotocol FilingProtocol = SMB;

string RepositoryName = "OCR-server:445";

string RepositoryVolume = "UserFolders";

string NDSTree = "";

string NDSNameContext = "";

boolean ServerValidationReq = FALSE;

enum_loginsource LoginSource = SYSTEM;

boolean DocumentDirectoryXSM = TRUE;

ref_invocation OutputDocument = xrx_document:doc_1;

}(XRX_STATUS_COMPLETED)

end

 

 

0 Kudos
Highlighted
Valued Advisor
Valued Advisor

Re: Trouble with template pools and authentication

Jump to solution

some more info

 

Essentially if the path of the user template does not match the path in the default template it will prompt you for a user name and password. So essential every user template is going to have this problem, otherwise everyone would scan to the default and you would not need user templates.

You have to edit each .xst file to add have a username and password string.

string UserNetworkFilingLoginName = "your login name";
string UserNetworkFilingLoginID = "your password";

Open the .xst files (one at a time) in wordpad or notepad and add the above lines with the information in quotes filled in. As my example shows.

[service xrx_svc_file]
file_1{
* boolean ServiceEnabled = TRUE;
ref_invocation OutputDocument = XRX_DOCUMENT:doc_1;
string RepositoryName = "127.0.0.1";
string DocumentPath = "/cw_scan/data/system/public";
string RepositoryVolume = "";
string NDSNameContext = "";
string NDSTree = "";
enum_namespace FilingNameSpace = UNIX;
enum_filingprotocol FilingProtocol = FTP;
enum_filingpolicy DocumentFilingPolicy = NEW_AUTO_GENERATE;
}
End

Change it to this putting in the username and password.

[service xrx_svc_file]
file_1{
* boolean ServiceEnabled = TRUE;
ref_invocation OutputDocument = XRX_DOCUMENT:doc_1;
string RepositoryName = "127.0.0.1";
string DocumentPath = "/cw_scan/data/system/public";
string UserNetworkFilingLoginName = "your login name";
string UserNetworkFilingLoginID = "your password";
string RepositoryVolume = "";
string NDSNameContext = "";
string NDSTree = "";
enum_namespace FilingNameSpace = UNIX;
enum_filingprotocol FilingProtocol = FTP;
enum_filingpolicy DocumentFilingPolicy = NEW_AUTO_GENERATE;
}
end