LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2005, 05:23 AM   #1
kurrupt
Member
 
Registered: Jul 2004
Distribution: Debian, Ubuntu, FreeBSD, RHEL
Posts: 202

Rep: Reputation: 31
samba + problem installing windows drivers


Hello guys, iam basically creating a print server and i followed this link http://www.gentoo.org/doc/en/quick-samba-howto.xml

i basically did all of that and so far so good.. i got all my file sharing working and even printing from a linux box to the linux print server works!
but now the problem is with windows, problem is getting samba to convert the drivers.

I downloaded the cups-samba-5.0rc2.tar.gz file and performed all the steps needed.. and when i go to run the command "cupsaddsmb -H hax0r -U root -h hax0r -v lexmark"

i get this

Quote:
Password for root required to access hax0r via SAMBA:
Running command: smbclient //hax0r/print\$ -N -U'root%1337slutz69' -c 'mkdir W32X86;put /var/spool/cups/tmp/432b9e29521c6 W32X86/lexmark.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=[HAX0R] OS=[Unix] Server=[Samba 3.0.14a]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

Password for root required to access hax0r via SAMBA:
i have been trying to google this error but iam getting no luck.. and this is my smb.conf

Quote:
[global]
workgroup = WORKGROUP
netbios name = hax0r
guest account = local_user
server string = Samba Server %v
printcap name = cups
load printers = yes
printing = cups
printer admin = @adm
map to guest = bad user
security = user

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

[lexmark]
comment = Lexmark Network Printer
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = root

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

[public]
comment = Public Files
browseable = yes
public = yes
create mode = 0766
guest ok = yes
path = /home/samba/public
anyone see where i went wrong ?

plz i need help lol thx guys!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 04:07 PM
Windows Printer Drivers on Samba dlublink Linux - Networking 3 10-19-2005 10:30 AM
Installing Samba PDC for Windows XP Network from Scratch!!! Arvida Linux - Networking 8 05-18-2004 02:48 PM
Automatically download print drivers with Samba to Windows clients shelby Linux - Software 2 07-11-2003 05:13 PM
After installing new NVIDIA drivers, X-Windows won't start glock19 Linux - General 4 12-19-2001 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration