Hello, I have desperately tried to make samba able to share the printer with a Win98SE client. First I tried cupsaddsmb, but that failed. Then I walked step by step through the installation manually as explained in the documentation, and everything stopped on this point: rpcclient -Uroot%xxxx -c 'adddriver "Windows NT x86"\ "PagePro8L:Iconlib.dll:PagePro8L.ppd:Adobeps4.drv:Adobeps4.hlp:NULL:RAW:NULL"'\ -d3 coruscant added interface ip=192.168.1.20 bcast=192.168.1.255 nmask=255.255.255.0 Connecting to host=coruscant Connecting to 192.168.1.20 at port 445 Doing spnego session setup (blob length=58) got OID=1 3 6 1 4 1 311 2 2 10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x608a0215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60080215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60080215 lsa_io_sec_qos: length c does not match size 8 result was WERR_INVALID_PARAM This is my smb.conf: [global] workgroup = GENTOO_HOME server string = coruscant encrypt passwords = True security = user smb passwd file = /etc/samba/private/smbpasswd log file = /var/log/samba/log.%m interfaces = eth1 hosts deny = ALL hosts allow = 192.168.1.2 192.168.1.20 127.0.0.1 debug level = 2 load printers = yes browseable = yes printing = cups printcap name = cups interfaces = eth1 [print$] comment = Printer Drivers # this path holds the driver structure path = /etc/samba/drivers guest ok = no browseable = yes read only = yes write list = root [PagePro8L] comment = Minolta PagePro8L Network Printer printable = yes path = /var/spool/samba public = yes guest ok = yes printer admin = printeruser,root,ute [printers] comment = All Printer path = /var/spool/samba browseable = no public = yes writable = no printable = yes printer admin = root guest ok = yes Although I do not know in which succession the driver files should be added in the colon separated list, probably can help. The samba-version is 3.0.14a on a Gentoo-Box. Do somebody have an idea? Thanks in advance, Stefan.
Hello, I have desperately tried to make samba able to share the printer with a Win98SE client. First I tried cupsaddsmb, but that failed. Then I walked step by step through the installation manually as explained in the documentation, and everything stopped on this point: rpcclient -Uroot%xxxx -c 'adddriver "Windows NT x86"\ "PagePro8L:Iconlib.dll:PagePro8L.ppd:Adobeps4.drv:Adobeps4.hlp:NULL:RAW:NULL"'\ -d3 coruscant added interface ip=192.168.1.20 bcast=192.168.1.255 nmask=255.255.255.0 Connecting to host=coruscant Connecting to 192.168.1.20 at port 445 Doing spnego session setup (blob length=58) got OID=1 3 6 1 4 1 311 2 2 10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x608a0215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60080215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60080215 lsa_io_sec_qos: length c does not match size 8 result was WERR_INVALID_PARAM This is my smb.conf: [global] workgroup = GENTOO_HOME server string = coruscant encrypt passwords = True security = user smb passwd file = /etc/samba/private/smbpasswd log file = /var/log/samba/log.%m interfaces = eth1 hosts deny = ALL hosts allow = 192.168.1.2 192.168.1.20 127.0.0.1 debug level = 2 load printers = yes browseable = yes printing = cups printcap name = cups interfaces = eth1 [print$] comment = Printer Drivers # this path holds the driver structure path = /etc/samba/drivers guest ok = no browseable = yes read only = yes write list = root [PagePro8L] comment = Minolta PagePro8L Network Printer printable = yes path = /var/spool/samba public = yes guest ok = yes printer admin = printeruser,root,ute [printers] comment = All Printer path = /var/spool/samba browseable = no public = yes writable = no printable = yes printer admin = root guest ok = yes Although I do not know in which succession the driver files should be added in the colon separated list, probably can help. The samba-version is 3.0.14a on a Gentoo-Box. Do somebody have an idea? Thanks in advance, Stefan.
Stefan Petersen schrieb:> Hello, > > I have desperately tried to make samba able to share the printer with a > Win98SE client. First I tried cupsaddsmb, but that failed.(...)> Do somebody have an idea?using cupsaddsmb is the easiest. perhaps if you could describe why it failed (what command do you use, what postscript drivers you have etc.), we could help you. -- Tomek
Hello Tomek, the problem with the uppercase could be a thing. But I think this is not really the point. cupsaddsmb enacapsulates the installation process normally done with a couple of rpcclient calls. To have more control over the installation process the samba documentation tells you how to go through this process manually. I was able to install the driver-files in the /etc/samba/drivers directory with the rpcclient and a 'put' command. Now that the files reside in the /etc/samba/drivers/W32X86 directory, I tried to make the 'adddriver' command as described in the samba doc. This command fails, and it will fail with cupsaddsmb as long as the problem seen with the manual installation isn't fixed. In my first post you see an error msg, that tells that something is wrong with the count of parameters of the rpc-call. Is this the real problem, or is it something that the program means, 'I don't know the exact problem, so I give this messages'? Stefan.
Do you mean the quotes in my cupsaddsmb-command, or those in the rpcclient call? At the moment I'm not in front off my Linux box, so I'm not able to test. Can you probably give a suggestion of the right quotation, so I can test it in the evening? Stefan