It makes sense robb, but I checked the samba logs and there is absolutely nothing that looks anywhere printer related.
The logs refer to filesharing, there are entries for the computernames, but for same strange reason the logs have all stopped at the 27 of May.
I remember having made a change to the hostname. Perhaps it borked more than I could guess.
@SamK:
That's indeed what happens, restarting the server or the CUPS service sets everything back to default.
Before editing some .mas file, how can I just share the printer on the network without having to digg deep into the server?
Samba hasn't got any option to setup or share the printer.
This is the cups access log:
192.168.1.25 - - [02/Jun/2011:09:19:58 -0500] "POST /printers/KM1820 HTTP/1.1" 200 75 windows-ext client-error-bad-request
192.168.1.25 - - [02/Jun/2011:09:20:42 -0500] "POST /printers/KM1820 HTTP/1.1" 200 88085 Print-Job client-error-not-authorized
192.168.1.25 - - [02/Jun/2011:10:30:49 -0500] "POST /printers/KM1820 HTTP/1.1" 200 75 windows-ext client-error-bad-request
Client error not authorized, but the user has been created on the system and the password is correct. BTW, I do not use Zentyal as a domain controller.
Any tips are welcome.
Wait a minute...I just found out that browsing the server there is a folder called "Printers". That's empty, but the option exists to add a printer. When selecting this option, the preselected port appears as "Samba Printer Port". Should I use that option? At the moment the printer is shared by URL,
http://ip.of.zentyal.server/631/printers/KM1820I could not find this info in the docs.
Update: Did not work. Installing the printer with the samba printer port installs the driver but at the end "access denied" pops up and the printer is not installed.
To be precise, this is one user that can print fine directly to cups.
[2011/06/02 20:46:20, 0] rpc_server/srv_spoolss_nt.c:7529(spoolss_addprinterex_level_2)
spoolss_addprinterex_level_2: add printer for printer called and nosmb.conf parameter "addprinter command" is defined. Thisparameter must exist for this call to succeed
Another question: In the cups admin interface under "share printers connected to this system" only the cups protocol is selected. I remember that Zentyal uses LDAP to authenticate.
Could that be the reason it doesn't work?
Cheers.