Problem in listing print drivers in WinXP

2003-03-19 Thread Sanjay . Wangoo
Hi,

I am resending this mail. Hope this time you find time out of your busy
schedule.

Thanks
-Sanjay

* previous mail


Hi,

I am facing strange problem with Windows-XP
and samba 2.2.7a. Every thing was working just fine
with Win2000, but with WinXP I am not able to see the
list of drivers that I already installed with Win2000.
So if I look at printer property of any printer on samba server
(from My Network Places) they show only driver associated with
that particular printer but not the complete list of drivers.
I have the printer name entry in the printcap file.

Also I am not able to upload new driver on the printer share
on samba server, as New Driver option in the advance tab
of spooler property is disabled, unless I modify show add printer wizard
= No
to show add printer wizard = yes. Actually I do not want to
create printers from windows add printer wizard. I create them
manually or though my scripts and allow only upload driver feature
from windows client (WinXP/2k,9x/Me).

I posted this to [EMAIL PROTECTED] earlier in order to find the answer
without disturbing Samba team, but I received no response, so now bothering
you.

Thanks for your help.
-Sanjay

Following is the result from testparm.

Load smb config files from
/usr/local/config/current/smb.conf
Processing section [print$]
Processing section [share]
Processing section [printers]
Processing section [DQ]
Loaded services file OK.
Press enter to see a dump of your service definitions
# Global parameters
[global]
  coding system =
  client code page = 850
  code page directory =
/usr/local/resources/codepages
  workgroup = myworkgroup
  netbios name = printserver
  netbios aliases =
  netbios scope =
  server string = Print Server
  interfaces = eth0 127.0.0.1
  bind interfaces only = Yes
  security = USER
  encrypt passwords = Yes
  update encrypted = No
  allow trusted domains = Yes
  hosts equiv =
  min passwd length = 5
  map to guest = Never
  null passwords = No
  obey pam restrictions = No
  password server =
  smb passwd file = /usr/local/private/smbpasswd
  root directory =
  pam password change = No
  passwd program = /usr/bin/passwd
  passwd chat = *new*password* %n\n *new*password*
%n\n
*changed*
  passwd chat debug = No
  username map = /etc/samba/smbusers
  password level = 0
  username level = 0
  unix password sync = No
  restrict anonymous = No
  lanman auth = Yes
  use rhosts = No
  admin log = No
  log level = 3
  syslog = 1
  syslog only = No
  log file = /var/samba/[EMAIL PROTECTED]
  max log size = 5000
  timestamp logs = Yes
  debug hires timestamp = No
  debug pid = No
  debug uid = No
  protocol = NT1
  large readwrite = Yes
  max protocol = NT1
  min protocol = CORE
  read bmpx = No
  read raw = Yes
  write raw = Yes
  nt smb support = Yes
  nt pipe support = Yes
  nt status support = Yes
  announce version = 4.9
  announce as = NT
  max mux = 50
  max xmit = 16644
  name resolve order = lmhosts host wins bcast
  max ttl = 259200
  max wins ttl = 518400
  min wins ttl = 21600
  time server = No
  unix extensions = No
  change notify timeout = 60
  deadtime = 0
  getwd cache = Yes
  keepalive = 300
  lpq cache time = 10
  max smbd processes = 0
  max disk size = 0
  max open files = 1
  name cache timeout = 660
  read size = 16384
  socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
  stat cache size = 50
  use mmap = Yes
  total print jobs = 0

Problem in listing print drivers in WinXP

2003-03-17 Thread Sanjay . Wangoo

Hi,

I am facing strange problem with Windows-XP
and samba 2.2.7a. Every thing was working just fine
with Win2000, but with WinXP I am not able to see the
list of drivers that I already installed with Win2000.
So if I look at printer property of any printer on samba server
(from My Network Places) they show only driver associated with
that particular printer but not the complete list of drivers.
I have the printer name entry in the printcap file.

Also I am not able to upload new driver on the printer share
on samba server, as New Driver option in the advance tab
of spooler property is disabled, unless I modify show add printer wizard
= No
to show add printer wizard = yes. Actually I do not want to
create printers from windows add printer wizard. I create them
manually or though my scripts and allow only upload driver feature
from windows client (WinXP/2k,9x/Me).

I posted this to [EMAIL PROTECTED] earlier in order to find the answer
without disturbing Samba team, but I received no response, so now bothering
you.

Thanks for your help.
-Sanjay

Following is the result from testparm.

Load smb config files from
/usr/local/config/current/smb.conf
Processing section [print$]
Processing section [share]
Processing section [printers]
Processing section [DQ]
Loaded services file OK.
Press enter to see a dump of your service definitions
# Global parameters
[global]
  coding system =
  client code page = 850
  code page directory =
/usr/local/resources/codepages
  workgroup = myworkgroup
  netbios name = printserver
  netbios aliases =
  netbios scope =
  server string = Print Server
  interfaces = eth0 127.0.0.1
  bind interfaces only = Yes
  security = USER
  encrypt passwords = Yes
  update encrypted = No
  allow trusted domains = Yes
  hosts equiv =
  min passwd length = 5
  map to guest = Never
  null passwords = No
  obey pam restrictions = No
  password server =
  smb passwd file = /usr/local/private/smbpasswd
  root directory =
  pam password change = No
  passwd program = /usr/bin/passwd
  passwd chat = *new*password* %n\n *new*password*
%n\n
*changed*
  passwd chat debug = No
  username map = /etc/samba/smbusers
  password level = 0
  username level = 0
  unix password sync = No
  restrict anonymous = No
  lanman auth = Yes
  use rhosts = No
  admin log = No
  log level = 3
  syslog = 1
  syslog only = No
  log file = /var/samba/[EMAIL PROTECTED]
  max log size = 5000
  timestamp logs = Yes
  debug hires timestamp = No
  debug pid = No
  debug uid = No
  protocol = NT1
  large readwrite = Yes
  max protocol = NT1
  min protocol = CORE
  read bmpx = No
  read raw = Yes
  write raw = Yes
  nt smb support = Yes
  nt pipe support = Yes
  nt status support = Yes
  announce version = 4.9
  announce as = NT
  max mux = 50
  max xmit = 16644
  name resolve order = lmhosts host wins bcast
  max ttl = 259200
  max wins ttl = 518400
  min wins ttl = 21600
  time server = No
  unix extensions = No
  change notify timeout = 60
  deadtime = 0
  getwd cache = Yes
  keepalive = 300
  lpq cache time = 10
  max smbd processes = 0
  max disk size = 0
  max open files = 1
  name cache timeout = 660
  read size = 16384
  socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
  stat cache size = 50
  use mmap = Yes
  total print jobs = 0
  load printers = Yes
  printcap name = %$(PRINTCAP)
  disable spoolss = No
  enumports