Hello,
I tried to find a way to having the setup of cups printing working for
windows client. I end up now with
"cupsaddsmb -v -a -U root" finishing by
"Printer Driver mesange successfully installed.
Running command: rpcclient localhost -N -U'root%xxxxxxxx' -c
'setdriver
mesange mesange'
cmd = setdriver mesange mesange
result was NT_STATUS_UNSUCCESSFUL"
My setup is
Redhat 8.0
Samba 2.2.6-2 (rpm) (recent download)
cups 1.1.15-10 (rpm)
1- Filesharing works ok but not the printer
2- Native linux cups printing works ok
3- For sercurity = domain, even with joined to domain, cupsaddsmb keeps
asking for root (smb) password. In fact, the error is rise with ?
rpcclient localhost -N -U root... ? while a smbclient -L localhost -U
root will work.
4-For sercurity= server, cupsaddsmb transfert the adobe drivers to
/etc/samba/drivers almost work. But end with
cmd = setdriver mesange mesange
result was NT_STATUS_UNSUCCESSFUL
The smb.conf is given above this letter
Any idea? Or there is there a work around to cupsaddsmb for cups
printing wiht samba
Is there a versions of ? cups ?- ? samba ?- ?redhat or debian ?
demonstrated to work.
Thanks for your help
Laurent
/etc/samba/smb.conf
[global]
workgroup = IMAGERIE
server string = Serveur Samba %v sur %L
hosts allow = 192.168.1. 127.
load printers = yes
printcap name = cups
printing = cups
log file = /var/log/samba/log.%m
max log size = 50
security = server
password server = TURBO
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 192.168.1.231/24
remote announce = 192.168.1.255
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = no
writable = no
printable = yes
printer admin = root
[print$]
comment = Printer Drivers
path = /etc/samba/drivers
browseable = yes
guest ok = no
read only = yes
--
Laurent Hubert
Administrateur syst?me
Centre d'Imagerie M?tabolique et Fonctionnelle
CRC, CHUS
Universit? de Sherbrooke
3001, 12e Avenue Nord
Sherbrooke, Qu?bec
Canada
J1H 5N4
t?l : 819 346 1110 poste 11836
T?l?copieur : 819 820 6490
Courriel : laurent.hubert@chus.qc.ca