jesper.groth.loehr@almbrand.dk
2002-Sep-16 08:47 UTC
[Samba] Samba & Windows 2000 printer support on AIX
Hello We have a problem with Samba on AIX and clients running on Windows 2000. We have implemented printer support as described in the document 'Printing Support in Samba 2.2.x'. Environment: AIX 4.3.3 & AIX 4.2.1 with Samba 2.2.4, 2.2.5, 2.2.6 pre 2, Windows 2000 SP 3. Problem: Printer properties is not available to end users (eg. available RAM etc.). When configuring the printer properties as Samba printer admin the printer properties works ok. When I connect to the printers as an end user the printer properties is set to default values. Download of the printer driver from the server works fine. The same configuration works without problems on Mandrake Linux 8.2. The following is printed in the Samba log at loglevel 2 when connecting as an end user (it is not printed on Mandrake Linux): [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. Copy of smb.conf: [global] workgroup = TEST server string = SMB Server on %h security = SERVER encrypt passwords = Yes min passwd length = 6 password server = PDC log level = 2 log file = /var/samba/log.%m max log size = 1000 load printers = No character set = ISO8859-1 preferred master = False local master = No domain master = False wins server = 10.72.3.192 name resolve order = host wins create mask = 0660 directory mask = 02770 print command = qprt -c -r -dp -j0 -P%p %s printer admin = administrator [homes] comment = Hjemmekatalog read only = No create mask = 0600 directory mask = 0700 browseable = No [print$] comment = Printerdrivere path = /pcdir/printers guest ok = Yes read only = Yes create mask = 0644 directory mask = 02755 force directory mode = 02000 write list = administrator [edbg02] comment = Printer path = /tmp guest ok = yes printable = yes [edbg04] comment = Printer path = /tmp guest ok = yes printable = yes Best regards Jesper Loehr & Gert Hartvig, Alm. Brand, Denmark Mail: abrjgl@almbrand.dk, abrgha@almbrand.dk