[cups.general] Problems with Cups and Samba

Helge Blischke h.blischke at srz.de
Wed Nov 16 09:27:48 PST 2005


Mark Reis wrote:
> 
> Hi Michael,
> 
> I really was a pain in the behind when I was testing adding the printers
> on my cups+samba server for XP SP2 hosts.
> 
> Here's a stab at your problem: What printer drivers are you trying to
> use is your user allowed to install a printer? Are you using the older
> kernel mode NT 4.0 drivers? It's been a while, but Windows XP and 2003
> really don't like using them and perhaps that is where you are running
> into permission problems.
> 
> [...]
> >
> >
> >------------------------------------------------------------------------
> >
> >[global]
> >  workgroup = TEST
> >  server string = %h
> >  interfaces = 194.80.190.1/255.255.255.128 194.80.190.20/255.255.255.0
> >  log file = /var/log/samba/%m.log
> >  load printers = yes
> >  printing = cups
> >  printcap name = cups
> >  domain master = yes
> >  domain logons = yes
> >  local master = yes
> >  preferred master = yes
> >  name resolve order = wins lmhosts host bcast
> >  wins support = yes
> >  os level = 65
> >  encrypt passwords = yes
> >  passdb backend = smbpasswd
> >  security = user
> >  logon script = netlogon.bat
> >  logon path = \\%N\profile\%a\%u
> >  logon drive = q:
> >#  socket options = TCP_NODELAY IPTOS_LOWDELAY
> >
> >[profile]
> >  comment = User Profiles
> >  path = /home/samba_ted/profile
> >  browseable = no
> >  guest ok = yes
> >  writeable = yes
> >
> >[printers]
> >  comment = All Printers
> >  path = /home/samba_ted/var/spool/public
> >  browseable = no
> >  public = yes
> >  guest ok = yes
> >  writable = no
> >  printable = yes
> >
> >[print$]
> >  comment = Printer Drivers
> >  path = /home/samba_ted/drivers
> >  browseable = yes
> >  guest ok = yes
> >  read only = yes
> >  write list = root
> >
> >[homes]
> >  comment = Home Directories
> >  browseable = yes
> >  guest ok = no
> >  writable = yes
> >
> >[netlogon]
> >  comment = Network Logon Service
> >  path = /home/samba_ted/%a/netlogon
> >  guest ok = yes
> >  writeable = no
> >  share modes = no
> >
> >

I don't think using the old NT4 driver causes this issue, as we use them as well (with both
security=user of security=server at the samba side) on XP SP2 machines.

Helge


-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list