[Samba] Win7 x64 postscript printer -> samba print Apple Laserwriter not available

2012-12-12 Thread Gary Stainburn
Hi folks.

I've got a system where my WinXP (they still work well) workstations have a 
virtual printer installed on them. 

This virtual printer uses Apple Colour Laserwriter Postscript drivers to 
generate PS files which are then printed to a linux server where Samba passes 
the file to one of my scripts which then parses the file, extracts data, 
coverts the PS to PDF and then inserts the details into a database.

My problem is that on the new Win7 x86 PC's the Apple drivers are not 
available.  Can anyone point me to compatible drivers, or what I can do 
instead.
-- 
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Fedora 14, Samba and connection problems - passwords

2011-08-22 Thread Gary Stainburn
I have just replaced an old FC9 server with a new FC14 server as the old one 
died.  Before it died I was having trouble authenticating connections to it.

Now I have the new server running I'm still suffering the same problem.  
Setting up a user and setting the password gives no errors, but then 
connections fail complaining about the password. It is very much a virgin 
vanilla setup. All I have done is config the network and Samba. I even 
disabled selinux in case that was the problem.

I've tried connecting from Win-XP clients which are the computers that need 
access. I've also tried connecting from my linux laptop and the server 
itself.

Can someone please have a quick look and see what I've missed / done wrong.

Googling has come up with loads of hits, but nothing I can follow to get a 
fix.

Gary

[root@zeppo samba]# smbclient //zeppo/gary -U gary
Enter gary's password: 
Domain=[MOTORPARK] OS=[Unix] Server=[Samba 3.5.11-79.fc14]
Server not using user level security and no password supplied.
tree connect failed: NT_STATUS_WRONG_PASSWORD
[root@zeppo samba]# 

[root@dcomp5 ~]# smbclient //zeppo/gary
Enter root's password: 
Domain=[MOTORPARK] OS=[Unix] Server=[Samba 3.5.11-79.fc14]
Server not using user level security and no password supplied.
tree connect failed: NT_STATUS_WRONG_PASSWORD
[root@dcomp5 ~]# 

Setting the password:

[root@zeppo samba]# smbpasswd -D 10 gary
Netbios name list:-
my_netbios_names[0]="ZEPPO"
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend ldapsam_compat
Successfully added passdb backend 'ldapsam_compat'
Attempting to register passdb backend NDS_ldapsam
Successfully added passdb backend 'NDS_ldapsam'
Attempting to register passdb backend NDS_ldapsam_compat
Successfully added passdb backend 'NDS_ldapsam_compat'
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to register passdb backend wbc_sam
Successfully added passdb backend 'wbc_sam'
Attempting to find a passdb backend to match tdbsam (tdbsam)
Found pdb backend tdbsam
pdb backend tdbsam has a valid init
New SMB password:
Retype new SMB password:

  
tdbsam_open: successfully opened /var/lib/samba/private/passdb.tdb  

  
pdb_set_username: setting username gary, was

  
pdb_set_domain: setting domain ZEPPO, was   

  
pdb_set_nt_username: setting nt username , was  
        
  
pdb_set_full_name: setting full name Gary Stainburn, was

  
Home server: zeppo  

  
Substituting charset 'UTF-8' for LOCALE 

  
Substituting charset 'UTF-8' for LOCALE 

  
Substituting charset 'UTF-8' for LOCALE 

  
Substituting charset 'UTF-8' for LOCALE 

  
Substituting charset 'UTF-8' for LOCALE 

  
Substituting charset 'UTF-8' for LOCALE 

  
Substituting charset 'UTF-8' for LOCALE 

[Samba] WINS server not appearing in Nethood

2003-03-11 Thread Gary Stainburn
Hi folks,

I've had a setup working for quite some time and everything's fine except that 
the server that hosts the WINS never appears in the network neighbourhood, 
and when trying to connect to that server there is a small delay.

As few people need to browse to it, the problem's had a low priority as the 
WINS side of it is working fine, and the rest of the nethood is also working 
fine.

However, when I tried to use smbclient to connect to itself today I saw an 
error message which may relate to the problem, and therefore possibly point 
to a fix.

Below is the session I am talking about, followed by the basics from my 
smb.conf. 10.2.1.2 is a Linux box at a remote site, running as browse master 
for the Doncaster workgroup.

[EMAIL PROTECTED] cgi-bin]# smbclient //larry/pdf
added interface ip=10.1.1.101 bcast=10.1.255.255 nmask=255.255.0.0
wins_srv_died(): Could not mark WINS server 127.0.0.1 down.
Address not found in server list.
Password:
Domain=[LEEDS] OS=[Unix] Server=[Samba 2.2.1a]
smb: \> 
[EMAIL PROTECTED] cgi-bin]#

/etc/samba/smb.conf.
[global]
   workgroup = LEEDS
   server string = Networker (Larry) - was linux
   printcap name = /etc/printcap
   load printers = yes
   printing = lprng
   guest account = pcguest
   log file = /var/log/samba/log
   max log size = 0
   security = share
remote browse sync = 10.2.1.255
remote announce = 10.2.255.255/DONCASTER
remote announce = 10.1.255.255/LEEDS
local master = yes
os level = 44
domain master = yes
preferred master = yes
  name resolve order = wins lmhosts host bcast
   wins support = yes
   wide links = yes
   dns proxy = no

[pdf]
   comment = PDF Generator
   path = /var/spool/samba
   browseable = yes
   public = yes
   guest ok = yes
   printable = yes
   print command = /usr/bin/smbtopdf '/var/spool/samba/' '%f' '%J' '%m'

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 

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