Bug 352011 - usernames > 8 chars in "setting allowed users" by lpadmin: problem!
Summary: usernames > 8 chars in "setting allowed users" by lpadmin: problem!
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 7
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-25 10:29 UTC by Joachim Backes
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-10-26 12:03:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joachim Backes 2007-10-25 10:29:51 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1./usr/sbin/lpadmin -p <printer> -u allow:administrator
2.
3.
  
Actual results:
Other users of printer(s) have problems so that the applications using printers
(staroffice/openoffice/firefox...) get no more a printer list, so no more print
is possible.

A command "lpq -P printer" complains  with: "lpq: Unknown destination ..."


Expected results:
The apps get a printer list

Additional info:Modifying "administrator" to "administ" is a workaround.

Comment 1 Tim Waugh 2007-10-26 11:28:42 UTC
When setting the list of allowed users to 'administrator', only the user
'administrator' can perform operations on that printer (such as viewing its job
list, printing a job, cancelling a job etc).

It does not show up in the job list for users other than 'administrator' by design.

If your user is named 'administ' then that's what you need to put in the allowed
users list. (FWIW, 'administrator' works as designed here with a local user
'administrator'.)

Comment 2 Joachim Backes 2007-10-26 11:39:14 UTC
If the list of allowed users consists only of the one entry "administrator", i
understand that nobody else can use the printer, but: 

Seems you misunderstood me: the same happens if the list of allowed users is
__ending__ with administrator, for example:

 /usr/sbin/lpadmin -p <printer> -u allow:user1,user2,...,administrator

Then none of the users user1, user2,... can print to the printer.





Comment 3 Tim Waugh 2007-10-26 12:03:03 UTC
Works here.

cups-1.2.12-5.fc7


Note You need to log in before you can comment on or make changes to this bug.