GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CIFS 9000 printing to a W2K domain
Operating System - HP-UX
1855425
Members
15156
Online
104110
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 06:56 PM
09-08-2005 06:56 PM
CIFS 9000 printing to a W2K domain
Hi
I am trying to print from my HP-UX samba server to a color printer (PS, PCL enabled), where the printer queue is on a Windows 2003 (PDC) server.
We have created a user account specifically for this job.
From the hp-ux command line, I can successfully print with the command:
# /opt/samba/bin/smbspool smb://W2KDOMAIN\\dumbuser:password@printserver/lasercolor 101 Username MyFile 1 a /path/filename
(all of these parameters are to be given to the smbspool command, even if useless)
And this works until I try to set up the printer in the samba configuration file, to let the win clients print from the HP-UX queue. The added section:
[lasercolor]
printable = Yes
comment = Gestetner 7116
path = /tmp
valid users = @users
printable = Yes
print command = /opt/samba/bin/smbspool smb://W2KDOMAIN\\dumbuser:password@printserver/lasercolor 101 Username MyFile 1 a /tmp/%s; r
m /tmp/%s
does not work at all.
I know to cleaner solution would be to let the win clients print directly from the W2K queue, but some of them don't log on directly on the windows domain controller.
Has anyone an idea ?
Even a print script would be fine, I haven't found it on the samba 3 book from A. Tridgell.
Thank you
Enrico
I am trying to print from my HP-UX samba server to a color printer (PS, PCL enabled), where the printer queue is on a Windows 2003 (PDC) server.
We have created a user account specifically for this job.
From the hp-ux command line, I can successfully print with the command:
# /opt/samba/bin/smbspool smb://W2KDOMAIN\\dumbuser:password@printserver/lasercolor 101 Username MyFile 1 a /path/filename
(all of these parameters are to be given to the smbspool command, even if useless)
And this works until I try to set up the printer in the samba configuration file, to let the win clients print from the HP-UX queue. The added section:
[lasercolor]
printable = Yes
comment = Gestetner 7116
path = /tmp
valid users = @users
printable = Yes
print command = /opt/samba/bin/smbspool smb://W2KDOMAIN\\dumbuser:password@printserver/lasercolor 101 Username MyFile 1 a /tmp/%s; r
m /tmp/%s
does not work at all.
I know to cleaner solution would be to let the win clients print directly from the W2K queue, but some of them don't log on directly on the windows domain controller.
Has anyone an idea ?
Even a print script would be fine, I haven't found it on the samba 3 book from A. Tridgell.
Thank you
Enrico
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 07:06 PM
09-08-2005 07:06 PM
Re: CIFS 9000 printing to a W2K domain
Hi Enrico,
I think it's the "valid users =" section.
If you're locally, you don't have to deal with the security features of samba.
You haven't told if users are authorized via samba. The printshare just says, that only authorized users in the group users are allowed to print...
You should examine the samba-log to see as which unix-users the users from the clients are connected to samba.
Micky
I think it's the "valid users =" section.
If you're locally, you don't have to deal with the security features of samba.
You haven't told if users are authorized via samba. The printshare just says, that only authorized users in the group users are allowed to print...
You should examine the samba-log to see as which unix-users the users from the clients are connected to samba.
Micky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 09:15 PM
09-08-2005 09:15 PM
Re: CIFS 9000 printing to a W2K domain
The group is used just to let only the users of our department print from this printer.
It is working as a share, since I can set up the printer from the win client.
The problem is during the printout: and from the samba or sys logs I don't see anything about the file copy to the server.
Thank you for any further advice
Enrico
It is working as a share, since I can set up the printer from the win client.
The problem is during the printout: and from the samba or sys logs I don't see anything about the file copy to the server.
Thank you for any further advice
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 09:23 PM
09-08-2005 09:23 PM
Re: CIFS 9000 printing to a W2K domain
try to put your "smbspool smb://...." into a script and execute the script from samba.
maybe you have problems with the slashes and backslashes...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP