MSFN Forum: DOS application authentication problem on window server 2003 RC2 - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

DOS application authentication problem on window server 2003 RC2 Rate Topic: -----

#1 User is offline   hypex 

  • Group: Members
  • Posts: 3
  • Joined: 29-May 06

Posted 29 May 2006 - 06:11 PM

Hi there,
What happens is when a client machine (windows xp) goes to print out an invoice I get the following error.

The password is invalid for \\SERVER01\ACCOUNTS
Enter the user name for `SERVER01`:

Heres an example.

Posted Image

The user can print to the printer \\SERVER01\ACCOUNTS through windows no problems.

Now the thing is if i add the user to the Admin group in Active Directory it works fine and doesnt ask for a username and password in DOS.

My problem is I dont know what rights i have to assign to the users policy so that he is allowed to access \\SERVER01\ACCOUNTS to print.

Im also not sure if the error means the user cant access \\SERVER01 or \\SERVER01\\ACCOUNTS.

Are there any logs that can tell me whats happenning so I can troubleshoot?

Any Sugguestions or ideas would be great.

Thanks

Eric


#2 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,001
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 May 2006 - 10:05 PM

If you go to the %windir%\system32\spoo\printers folder, you should see your printer "shares" - what are the permissions for that user on the folder, and what happens if you add that user with "full" control?

#3 User is offline   hypex 

  • Group: Members
  • Posts: 3
  • Joined: 29-May 06

Posted 29 May 2006 - 10:39 PM

I get c:\windows\system32\spool\PRINTERS is not accessible. Access is denied.

#4 User is offline   Zartach 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 24-January 06

Posted 29 May 2006 - 10:47 PM

I dont know if this program can use usernames and passwords but that printer on the server is not accesible by anyone, you need to authenticate. You can if the program allows you specify the proper username and password for the printer. Or change the permissions on the server so that the object 'everyone' has print rights.

Hope it helps,

#5 User is offline   hypex 

  • Group: Members
  • Posts: 3
  • Joined: 29-May 06

Posted 30 May 2006 - 12:28 AM

Any ideas where in AD I can add the permissions so access to the spool/PRINTER folder is allowed?

#6 User is offline   XP_2600 

  • Member
  • PipPip
  • Group: Members
  • Posts: 197
  • Joined: 20-February 03

Posted 30 May 2006 - 12:41 AM

You have to give everyone print permission in the printer.

#7 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,001
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 May 2006 - 08:45 AM

You could also get a network trace from the machine and reproduce the issue to make sure it's an access denied (0x80004005 is the hex for it) - ethereal or netmon should show you if that is truly the case (and my guess would be yes).

#8 User is offline   XP_2600 

  • Member
  • PipPip
  • Group: Members
  • Posts: 197
  • Joined: 20-February 03

Posted 31 May 2006 - 01:22 AM

Or check the event viewer under system folder, you can also filter it to show print only as event source.

#9 User is offline   pecomees 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 31-May 06

Posted 31 May 2006 - 02:43 AM

It works from the Windows GUI and not from the Command shell within the same Windows session? Then try a persistent mapping on LPT1 to the print UNC path and configure the DOS app to use LTP1 as default printer.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy