Re: [Samba] cupsaddsmb claims to work but fails

2003-07-31 Thread Damien Bonvillain
> >> >>The "enumdrivers 3" command is buggy in most 
> >> >>versions of Samba 2.2.x. Just avoid level 3. Use 
> >> >>plain "enumdrivers" and "enumdrivers 2"
> >> 
> >> >Same result.
> >> 
> >> Lookup bug #82 in sambas bug tracker.
> >
> >Sorry, I don't find a bug #82 on http://bugs.samba.org. 
> >I see  incoming/21867 which is close but not the same. I'll try to 
> >get the 3.0 branch...
> 
> You haven't looked in the right place.
This was the page mentionned here: http://de.samba.org/samba/bugreports.html 
Which is still the official bug repository for the 2 series to my knowledge.


> Try this:
> 
>https://bugzilla.samba.org/show_bug.cgi?id=82
Thanks for the link. I'll try to apply the patches.

Damien
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] cupsaddsmb claims to work but fails

2003-07-31 Thread Dragan Krnic
>> >>The "enumdrivers 3" command is buggy in most 
>> >>versions of Samba 2.2.x. Just avoid level 3. Use 
>> >>plain "enumdrivers" and "enumdrivers 2"
>> 
>> >Same result.
>> 
>> Lookup bug #82 in sambas bug tracker.
>
>Sorry, I don't find a bug #82 on http://bugs.samba.org. 
>I see  incoming/21867 which is close but not the same. I'll try to 
>get the 3.0 branch...

You haven't looked in the right place. Try this:

   https://bugzilla.samba.org/show_bug.cgi?id=82
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] cupsaddsmb claims to work but fails

2003-07-30 Thread Dragan Krnic
>>> attempts. I managed to make cupsaddsmb run without 
>>> producing an error, but it fails.
>>
>>*Where* does it fail? *What* is not working for you?
>>The drivers seem to be not added properly. The files 
>>are in the right directories, but enumdrivers 
>>returns nothing. Furthermore under windows (W2K 
>>SP4), the files are visible on the properties tab for
>>print$, but when I try to add the printer, it says 
>>that no driver is adequate on the server.

>>The "enumdrivers 3" command is buggy in most 
>>versions of Samba 2.2.x. Just avoid level 3. Use 
>>plain "enumdrivers" and "enumdrivers 2"

>Same result.

Lookup bug #82 in sambas bug tracker. The necessary
changes were incorporated in the 3.0 branch but not
yet in 2.2.x. But it should be easy to patch a couple
of lines of source and recompile samba.



Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] cupsaddsmb claims to work but fails

2003-07-29 Thread Damien Bonvillain
> Damien Bonvillain kame at cinemasie.com wrote on Samba-digest
>
> > Tue Jul 29 00:58:38 GMT 2003
> >
> > Case strange... I've past probably 30 hours by now on this, crawling the web, and
doing
> > attempts. I managed to make cupsaddsmb run without producing an error, but it 
> > fails.
>
> *Where* does it fail? *What* is not working for you?
The drivers seem to be not added properly. The files are in the right directories, but
enumdrivers returns nothing.
Furthermore under windows (W2K SP4), the files are visible on the properties tab for
print$, but when I try to add the printer, it says that no driver is adequate on the
server.

> > Ask
> > me for anything,
>
> I am asking you for a detailed description of any error.
> Your mail only includes successfull commands and their
> output
That is what is strange :-)

> The "enumdrivers 3" command is buggy in most versions of
> Samba 2.2.x. Just avoid level 3. Use plain "enumdrivers"
> and "enumdrivers 2"
Same result.

Attached a level 7 smbd log corresponding to the whole cupsaddsmb.

Damien
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] cupsaddsmb claims to work but fails

2003-07-29 Thread Kurt Pfeifle
Damien Bonvillain kame at cinemasie.com wrote on Samba-digest

Tue Jul 29 00:58:38 GMT 2003

Case strange... I've past probably 30 hours by now on this, crawling the web, and doing
attempts. I managed to make cupsaddsmb run without producing an error, but it fails.
*Where* does it fail? *What* is not working for you?

Ask
me for anything,
I am asking you for a detailed description of any error.
Your mail only includes successfull commands and their
output
The "enumdrivers 3" command is buggy in most versions of
Samba 2.2.x. Just avoid level 3. Use plain "enumdrivers"
and "enumdrivers 2"
full trace, versions and so on, but please, if someone has an idea, share
it.

Linux Debian Woody unstable
Cups  1.1.19final-1
Samba  2.2.3a-14

smb.conf
Cheers,
Kurt
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] cupsaddsmb claims to work but fails

2003-07-28 Thread Damien Bonvillain
Case strange... I've past probably 30 hours by now on this, crawling the web, and doing
attempts. I managed to make cupsaddsmb run without producing an error, but it fails. 
Ask
me for anything, full trace, versions and so on, but please, if someone has an idea, 
share
it.


Linux Debian Woody unstable
Cups  1.1.19final-1
Samba  2.2.3a-14


smb.conf

[global]
workgroup = NAVI
server string = %h server (Samba %v)
security = USER
encrypt passwords = true
obey pam restrictions = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:*
%n\n .
log level = 3
syslog = 3
max log size = 1000
printcap name = cups
preferred master = True
dns proxy = No
panic action = /usr/share/samba/panic-action %d
guest account = smbuser
hosts allow = 192.168.
printing = cups
load printers = yes
guest ok = yes
disable spoolss = no

[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root
guest ok = yes
printable = yes
browseable = no
public = yes
writable = no

[print$]
comment = Printer Drivers
path = /etc/samba/drivers
browseable = yes
guest ok = no
read only = yes
write list = root


cupsaddsmb output

cupsaddsmb -a -v
Password for root required to access localhost via SAMBA:
Running command: smbclient //localhost/print\$ -N -U'root%' -c 'mkdir 
W32X86;put
/var/spool/cups/tmp/3f25a6fe1ed41 W32X86/MomijiPrintingSystem.ppd;put
/usr/share/cups/drivers/cupsdrvr.dll W32X86/cupsdrvr.dll;put
/usr/share/cups/drivers/cupsui.dll W32X86/cupsui.dll;put 
/usr/share/cups/drivers/cups.hlp
W32X86/cups.hlp'
added interface ip=192.168.0.6 bcast=192.168.0.255 nmask=255.255.255.0
Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.3a-14 for Debian]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /var/spool/cups/tmp/3f25a6fe1ed41 as \W32X86/MomijiPrintingSystem.ppd 
(3115.0
kb/s) (average 3115.0 kb/s)
putting file /usr/share/cups/drivers/cupsdrvr.dll as \W32X86/cupsdrvr.dll (7154.1 kb/s)
(average 6184.7 kb/s)
putting file /usr/share/cups/drivers/cupsui.dll as \W32X86/cupsui.dll (8107.2 kb/s)
(average 6842.4 kb/s)
putting file /usr/share/cups/drivers/cups.hlp as \W32X86/cups.hlp (161.6 kb/s) (average
3295.8 kb/s)

Running command: rpcclient localhost -N -U'root%' -c 'adddriver "Windows NT 
x86"
"MomijiPrintingSystem:cupsdrvr.dll:MomijiPrintingSystem.ppd:cupsui.dll:cups.hlp:NULL:RAW:N
ULL"'
INFO: Debug class all level = 3   (pid 26006 from pid 26006)
session setup ok
Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.3a-14 for Debian]
cmd = adddriver "Windows NT x86"
"MomijiPrintingSystem:cupsdrvr.dll:MomijiPrintingSystem.ppd:cupsui.dll:cups.hlp:NULL:RAW:N
ULL"
adddriver "Windows NT x86"
"MomijiPrintingSystem:cupsdrvr.dll:MomijiPrintingSystem.ppd:cupsui.dll:cups.hlp:NULL:RAW:N
ULL"
Printer Driver MomijiPrintingSystem successfully installed.

Running command: smbclient //localhost/print\$ -N -U'root%' -c 'mkdir WIN40;put
/var/spool/cups/tmp/3f25a6fe1ed41 WIN40/MomijiPrintingSystem.PPD;put
/usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put
/usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put
/usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put
/usr/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put
/usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put
/usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;'
added interface ip=192.168.0.6 bcast=192.168.0.255 nmask=255.255.255.0
Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.3a-14 for Debian]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40
putting file /var/spool/cups/tmp/3f25a6fe1ed41 as \WIN40/MomijiPrintingSystem.PPD 
(4153.3
kb/s) (average 4153.3 kb/s)
putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM (8265.9 kb/s)
(average 7785.2 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV (9602.5 kb/s)
(average 8933.0 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP (8994.8 kb/s)
(average 8939.4 kb/s)
putting file /usr/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD (102.8 kb/s)
(average 5806.2 kb/s)
putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (4436.9 kb/s)
(average 5714.2 kb/s)
putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (2074.1 kb/s) 
(average
5476.8 kb/s)

Running command: rpcclient localhost -N -U'root%' -c 'adddriver "Windows 4.0"
"MomijiPrintingSystem:ADOBEPS4.DRV:MomijiPrintingSystem.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA
W:ADOBEPS4.DRV,MomijiPrintingSystem.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,IC
ONLIB.D