Bug 9248 - Cannot create printer names longer than 15 characters
Summary: Cannot create printer names longer than 15 characters
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: printing (show other bugs)
Version: 4.0.0rc1
Hardware: All All
: P5 major (vote)
Target Milestone: ---
Assignee: printing-maintainers
QA Contact: Samba QA Contact
Depends on:
Reported: 2012-10-06 00:28 UTC by greg long
Modified: 2012-10-08 12:55 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description greg long 2012-10-06 00:28:35 UTC
creating printers using command
This works
lpadmin -p A2B4C6D8E012345 -E -v ipp://

This runs but i never see the printer or an error
lpadmin -p A2B4C6D8E012345 -E -v ipp://

when i check printers via command
rpcclient agentdc -U admin -c 'enumprinters'

It does not show the added printer also on windows boxes it never shows up. Any printer with less than 16 characters is fine

Version 4.1.0pre1-GIT-1bf209d
Comment 1 greg long 2012-10-07 14:56:10 UTC
I just compiled using the newest Version 4.1.0pre1-GIT-9fc42da and I do not see the problem.

I believe our original build had samba 3 rpms installed and these have interfered with our build
Comment 2 Andreas Schneider 2012-10-08 12:03:47 UTC
If you create a printer in cups you need to wait for smbd to reload the cups printers list. This normally done every 12.5 minutes.

You can force a reload with:

smbcontrol smbd reload-printers
Comment 3 greg long 2012-10-08 12:55:33 UTC
reloading samba didnt help in my case, but like i said some samba 3 installs were done previously and I am sure they had something to do with my issues. Load a clean build and no problems .. thanks