Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

result was WERR_NO_SUCH_SHARE

Status
Not open for further replies.

themiki

Programmer
Joined
Jul 3, 2003
Messages
4
Location
EE
Hi
I wanna install driver on fedora core 3 for a printer using command rpcclient, but
running command
rpcclient -Uroot%xxxx -c 'adddriver "Windows NT x86" \ "printer4:UNIDRV.DLL:HPLJ1200.GPD:UNIDRVUI.DLL:NULL:RAW:UNIRES.DLL,hpcfont.dll,hpcstr.dll,hpcljx.hlp,hpcmacro.gpd,hpcfont.gpd,TTFSUB.GPD,STDNAMES.GPD' 172.16.0.10

gives me error:
result was WERR_NO_SUCH_SHARE

I believe that sucha printer and share exist cos running command
'rpcclient -Uroot%657402test -c 'enumprinters' 172.16.0.10'
gives me following output:

flags:[0x800000]
name:[\\172.16.0.10\printer4]
description:[\\172.16.0.10\printer4,,Printer Driver Download Area]
comment:[Printer Driver Download Area]

I have tried run adddriver command with \\172.16.0.10\printer4 too, but no luck.

can somebody help me?
 
hi

I got the same error and I the problem was in /etc/samba/smb.conf

There was a problem with "[print$]" share:

[print$]
comment = Printer Driver Download Area
path = /etc/samba/drivers
browseable = yes
guest ok = yes
read only = yes
write list = @ntadmin, root

The path in smb.conf was /etc/samba/drivers but the directory was /etc/samba/driver without "s"

Check if the path in smb.conf is correct and excuse me for my bad english ;-)

You can test the correct configuration of [print$] share launching this command in your consolle:

> smbclient //HOSTNAME/print\$ -Uroot%__root_password__

if you get a prompt like this:

smb: \

[print$] share is correct

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top