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!