From: Richard Lamboj on

Am Friday 19 March 2010 15:39:58 schrieb Richard Lamboj:
> Hello,
>
> when i send the SIGHUP signal to Samba, then Samba won't load the printers
> from CUPS. I need to shutdown Samba and start it again.
>
> Now when i'am running cupsaddsmb i got the following errors(this error
> occours in 3.5.x but not in 3.2.x):
>
> server-p:/# cupsaddsmb -H server-p -v edv01 edv02 edv03
> Kennwort für root erforderlich, um über SAMBA auf server-p zugreifen zu
> können:
> Befehl ausführen: smbclient //server-p/print$ -N -A /tmp/4ba38b6546c6f -c
> „mkdir W32X86;put /tmp/4ba38b6126eb3
> W32X86/edv01.ppd;put /usr/share/cups/drivers/ps5ui.dll
> W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp
> W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf
> W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll
> W32X86/pscript5.dll“
> Domain=[PRUEFUNG] OS=[Unix] Server=[Samba 3.5.1]
> NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
> putting file /tmp/4ba38b6126eb3 as \W32X86/edv01.ppd (2216,4 kb/s) (average
> 2216,4 kb/s)
> putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll
> (136486,7 kb/s) (average 12545,9 kb/s)
> putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp
> (510,9 kb/s) (average 3075,8 kb/s)
> putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf
> (41426,1 kb/s) (average 14224,2 kb/s)
> putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll
> (234488,6 kb/s) (average 19230,4 kb/s)
>
> Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b6546c6f -c
> „adddriver "Windows NT
> x86"
> "edv01:pscript5.dll:edv01.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,e
>dv01.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"“ Printer Driver edv01
> successfully installed.
>
> Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b6546c6f -c „setdriver
> edv01 edv01“
> cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> received from host server-p!
> Successfully set edv01 to driver edv01.
> cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> received from host server-p!
>
> Befehl ausführen: smbclient //server-p/print$ -N -A /tmp/4ba38b6611474 -c
> „mkdir W32X86;put /tmp/4ba38b6611328
> W32X86/edv02.ppd;put /usr/share/cups/drivers/ps5ui.dll
> W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp
> W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf
> W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll
> W32X86/pscript5.dll“
> Domain=[PRUEFUNG] OS=[Unix] Server=[Samba 3.5.1]
> NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
> putting file /tmp/4ba38b6611328 as \W32X86/edv02.ppd (272350000,0 kb/s)
> (average inf kb/s)
> putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll
> (136486,7 kb/s) (average 163096,7 kb/s)
> putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp
> (437,9 kb/s) (average 3291,6 kb/s)
> putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf
> (30460,4 kb/s) (average 13442,6 kb/s)
> putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll
> (234488,6 kb/s) (average 18196,5 kb/s)
>
> Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b6611474 -c
> „adddriver "Windows NT
> x86"
> "edv02:pscript5.dll:edv02.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,e
>dv02.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"“ Printer Driver edv02
> successfully installed.
>
> Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b6611474 -c „setdriver
> edv02 edv02“
> cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> received from host server-p!
> Successfully set edv02 to driver edv02.
> cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> received from host server-p!
>
> Befehl ausführen: smbclient //server-p/print$ -N -A /tmp/4ba38b66759ee -c
> „mkdir W32X86;put /tmp/4ba38b667589a
> W32X86/edv03.ppd;put /usr/share/cups/drivers/ps5ui.dll
> W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp
> W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf
> W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll
> W32X86/pscript5.dll“
> Domain=[PRUEFUNG] OS=[Unix] Server=[Samba 3.5.1]
> NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
> putting file /tmp/4ba38b667589a as \W32X86/edv03.ppd (272350000,0 kb/s)
> (average inf kb/s)
> putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll
> (136486,7 kb/s) (average 163096,7 kb/s)
> putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp
> (252,8 kb/s) (average 1914,5 kb/s)
> putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf
> (30460,4 kb/s) (average 9267,3 kb/s)
> putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll
> (234488,6 kb/s) (average 12628,9 kb/s)
>
> Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b66759ee -c
> „adddriver "Windows NT
> x86"
> "edv03:pscript5.dll:edv03.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,e
>dv03.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"“ Printer Driver edv03
> successfully installed.
>
> Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b66759ee -c „setdriver
> edv03 edv03“
> cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> received from host server-p!
> Successfully set edv03 to driver edv03.
> cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> received from host server-p!
>
> Kind Regard
>
> Richi

Good Morning,

i can not add any printer driver to a printer! Not over the Windows Dialog,
not with cupsaddsmb and doing this steps manual also does'nt work.

I found something about the "error" message:
http://www.mail-archive.com/samba(a)lists.samba.org/msg100802.html. The log
level is 1, so why i got this message?

With Samba 3.2.14 it works, with Samba 3.5.1

Richi
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Richard Lamboj on

Am Monday 22 March 2010 09:59:15 schrieb Richard Lamboj:
> Am Friday 19 March 2010 15:39:58 schrieb Richard Lamboj:
> > Hello,
> >
> > when i send the SIGHUP signal to Samba, then Samba won't load the
> > printers from CUPS. I need to shutdown Samba and start it again.
> >
> > Now when i'am running cupsaddsmb i got the following errors(this error
> > occours in 3.5.x but not in 3.2.x):
> >
> > server-p:/# cupsaddsmb -H server-p -v edv01 edv02 edv03
> > Kennwort für root erforderlich, um über SAMBA auf server-p zugreifen zu
> > können:
> > Befehl ausführen: smbclient //server-p/print$ -N -A /tmp/4ba38b6546c6f -c
> > „mkdir W32X86;put /tmp/4ba38b6126eb3
> > W32X86/edv01.ppd;put /usr/share/cups/drivers/ps5ui.dll
> > W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp
> > W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf
> > W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll
> > W32X86/pscript5.dll“
> > Domain=[PRUEFUNG] OS=[Unix] Server=[Samba 3.5.1]
> > NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
> > putting file /tmp/4ba38b6126eb3 as \W32X86/edv01.ppd (2216,4 kb/s)
> > (average 2216,4 kb/s)
> > putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll
> > (136486,7 kb/s) (average 12545,9 kb/s)
> > putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp
> > (510,9 kb/s) (average 3075,8 kb/s)
> > putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf
> > (41426,1 kb/s) (average 14224,2 kb/s)
> > putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll
> > (234488,6 kb/s) (average 19230,4 kb/s)
> >
> > Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b6546c6f -c
> > „adddriver "Windows NT
> > x86"
> > "edv01:pscript5.dll:edv01.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll
> >,e dv01.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"“ Printer Driver edv01
> > successfully installed.
> >
> > Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b6546c6f -c
> > „setdriver edv01 edv01“
> > cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> > received from host server-p!
> > Successfully set edv01 to driver edv01.
> > cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> > received from host server-p!
> >
> > Befehl ausführen: smbclient //server-p/print$ -N -A /tmp/4ba38b6611474 -c
> > „mkdir W32X86;put /tmp/4ba38b6611328
> > W32X86/edv02.ppd;put /usr/share/cups/drivers/ps5ui.dll
> > W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp
> > W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf
> > W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll
> > W32X86/pscript5.dll“
> > Domain=[PRUEFUNG] OS=[Unix] Server=[Samba 3.5.1]
> > NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
> > putting file /tmp/4ba38b6611328 as \W32X86/edv02.ppd (272350000,0 kb/s)
> > (average inf kb/s)
> > putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll
> > (136486,7 kb/s) (average 163096,7 kb/s)
> > putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp
> > (437,9 kb/s) (average 3291,6 kb/s)
> > putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf
> > (30460,4 kb/s) (average 13442,6 kb/s)
> > putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll
> > (234488,6 kb/s) (average 18196,5 kb/s)
> >
> > Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b6611474 -c
> > „adddriver "Windows NT
> > x86"
> > "edv02:pscript5.dll:edv02.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll
> >,e dv02.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"“ Printer Driver edv02
> > successfully installed.
> >
> > Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b6611474 -c
> > „setdriver edv02 edv02“
> > cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> > received from host server-p!
> > Successfully set edv02 to driver edv02.
> > cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> > received from host server-p!
> >
> > Befehl ausführen: smbclient //server-p/print$ -N -A /tmp/4ba38b66759ee -c
> > „mkdir W32X86;put /tmp/4ba38b667589a
> > W32X86/edv03.ppd;put /usr/share/cups/drivers/ps5ui.dll
> > W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp
> > W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf
> > W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll
> > W32X86/pscript5.dll“
> > Domain=[PRUEFUNG] OS=[Unix] Server=[Samba 3.5.1]
> > NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
> > putting file /tmp/4ba38b667589a as \W32X86/edv03.ppd (272350000,0 kb/s)
> > (average inf kb/s)
> > putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll
> > (136486,7 kb/s) (average 163096,7 kb/s)
> > putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp
> > (252,8 kb/s) (average 1914,5 kb/s)
> > putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf
> > (30460,4 kb/s) (average 9267,3 kb/s)
> > putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll
> > (234488,6 kb/s) (average 12628,9 kb/s)
> >
> > Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b66759ee -c
> > „adddriver "Windows NT
> > x86"
> > "edv03:pscript5.dll:edv03.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll
> >,e dv03.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"“ Printer Driver edv03
> > successfully installed.
> >
> > Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b66759ee -c
> > „setdriver edv03 edv03“
> > cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> > received from host server-p!
> > Successfully set edv03 to driver edv03.
> > cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
> > received from host server-p!
> >
> > Kind Regard
> >
> > Richi
>
> Good Morning,
>
> i can not add any printer driver to a printer! Not over the Windows Dialog,
> not with cupsaddsmb and doing this steps manual also does'nt work.
>
> I found something about the "error" message:
> http://www.mail-archive.com/samba(a)lists.samba.org/msg100802.html. The log
> level is 1, so why i got this message?
>
> With Samba 3.2.14 it works, with Samba 3.5.1
>
> Richi

Well i mean: it works with Samba 3.2.14 but _not_ with Samba 3.5.x.

rpcclient server-p -c "getprinter EDV03 2" | grep driver
Enter root's password:
drivername:[]

There is no drivername set, but the needed files are copied. The Configuration
Dialog for the Printer under Windows XP is grey and i can not select a
Printer Driver.

The "older" Printers which are added under 3.2.14 are working fine, but the
new one which i have added under 3.5.1 don't work. In the Window Caption of
the Printing Dialog there stands: "Access Denied, no connection possible".

Well under CUPS i can print without Problems! The CUPS/Samba is in
192.168.10.x and the printer in 192.168.9.x.

Has someone an idea why it wont work?

King Regards

Richi
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba