[Samba] samba3 and CUPS: lpoptions does not work
Hi, I have set up a CUPS queue in the samba server with specific lpoptions (actually, it's a queue to print 2-up on an HP LaserJet4300 printer. I used lpoptions -d NX2-118 -o number-up=2). Everything works as expected when I print from the Unix side. However, when I print to the corresponding samba queue, the options specified through lpoptions are ignored (i.e. the prints come out as 1-up instead of 2-up). I am using samba-3.0.1-pre1 on a RedHat9 system, with CUPS 1.1.17. Did anyone out there manage to get lpoptions working on a Samba printer queue? Any other suggestion to setup a 2-up printer queue with samba? Thanks a lot in advance! Gonçal goncal (dot) badenes -at- upc (dot) es -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] samba3 and CUPS: lpoptions does not work
I'm sorry I forgot to mention that, but I am actually using using cups-samba-1.1.19 as you suggest. The cups-postscript drivers are downloading automatically to the clients. Everything works perfectly, except for the fact that I don't get 2-up printing to work :-( I suspect that when the job comes from the samba side, the options applied to the queue with lpoptions are not actually enforced. The other obvious possibility is that I have not configured the queue properly (what did I do wrong?). Basically, the way I did this is: - Set up a plain CUPS queue and export it to samba with cupsaddsmb (everything works as expected) - Repeat the same steps as above for a second queue, pointing to the same printer. I then ran lpoptions -d NX2-118_2up -o number-up=2 and after that I ran cupsaddsmb. The new que (NX2-118_2up) works alright (i.e. 2-up printing) from Linux, but prints 1-up from samba :-( By the way, is there any way to access CUPS printer instances (e.g. NX2-118/2up) from samba? Any suggestions? Thanks a lot in advance! Gonçal The jobs would need to arrive at the Samba server in postscript, preferably from the 'cups driver'. (CUPS publishes a postscript driver for windows that is designed to work with with a cups print chain). Andrew Bartlett -Original Message- From: Andrew Bartlett abartlet-at-samba.org |samba2| [mailto:[EMAIL PROTECTED] Sent: 31 October 2003 13:36 To: Gonçal Cc: [EMAIL PROTECTED] Subject: Re: [Samba] samba3 and CUPS: lpoptions does not work On Fri, 2003-10-31 at 22:52, Gonçal wrote: Hi, I have set up a CUPS queue in the samba server with specific lpoptions (actually, it's a queue to print 2-up on an HP LaserJet4300 printer. I used lpoptions -d NX2-118 -o number-up=2). Everything works as expected when I print from the Unix side. However, when I print to the corresponding samba queue, the options specified through lpoptions are ignored (i.e. the prints come out as 1-up instead of 2-up). I am using samba-3.0.1-pre1 on a RedHat9 system, with CUPS 1.1.17. Did anyone out there manage to get lpoptions working on a Samba printer queue? Any other suggestion to setup a 2-up printer queue with samba? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba3, CUPS and lpoptions
Hi, I have set up a CUPS queue in the samba server with specific lpoptions (actually, it's a queue to print 2-up on an HP LaserJet4300 printer. I used lpoptions -d NX2-118 -o number-up=2). Everything works as expected when I print from the Unix side. However, when I print to the corresponding samba queue, the options specified through lpoptions are ignored (i.e. the prints come out as 1-up instead of 2-up). I am using samba-3.0.1-pre1 on a RedHat9 system, with CUPS 1.1.17. Did anyone out there manage to get lpoptions working on a Samba printer queue? Any other suggestion to setup a 2-up printer queue with samba? Thanks a lot in advance! Gonçal -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3.0b3: Cannot add machine to LDAP database
I am unable to add a machine to samba-3.0.beta3 running as a PDC. If I try to add the account manually I get the following errors: [EMAIL PROTECTED] root]# pdbedit -a -m icfo-pc018 failed to add user dn= uid=icfo-pc018$,ou=Systems,dc=icfo,dc=es with: Object class violation object class 'sambaSamAccount' requires attribute 'sambaSID' failed to modify/add user with uid = icfo-pc018$ (dn = uid=icfo-pc018$,ou=Systems,dc=icfo,dc=es) Unable to add machine! (does it already exist?) [EMAIL PROTECTED] root]# smbpasswd -a -m icfo-pc018 Failed initialise SAM_ACCOUNT for user icfo-pc018$. Failed to modify password entry for user icfo-pc018$ And if I try to add the account automatically from the windows box, I get a The user name could not be found error. Here is an excerpt from the samba.cnf configuration file: [global] security = user passdb backend = ldapsam:ldap://localhost,guest ldap admin dn = cn=Admin,dc=icfo,dc=es ldap ssl = start tls ldap delete dn = no ldap user suffix = ou=People ldap machine suffix = ou=Systems,dc=icfo,dc=es ldap trust ids = yes ldap suffix = dc=icfo,dc=es ldap passwd sync = yes local master = yes os level = 65 domain master = yes preferred master = yes domain logons = yes wins support = yes I have not put an add machine script in the configuration file because, according to the smb.conf man file This option is only required when using sam back-ends tied to the Unix uid method of RID calculation such as smbpasswd. Unfortunately, I have been reading the HOWTO-collection, the man pages and searching with Google, but I don't know how to proceed from here :-( What am I doing wrong? Can anyone help? Thanks in advance! Goncal goncal (dot) badenes (at) upc.es -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba