I am using a master-smb.conf with one other include for the shares file. Every time that I do a testparm -s master-smb.conf and then check the resulting file I see these config directives, which I haven't defined: printing = cups print command lpq command = %p lprm command But this is after I have defined "printing = cups", any ideas why? Or is this standard behaviour? Contents of the master-smb.conf for this BDC follow: [global] netbios aliases = GUESTS2 workgroup = GUESTSHIRE passdb backend = ldapsam:ldap://127.0.0.1 username map = /etc/samba/smbusers log level = 1 syslog = 0 log file = /var/log/samba/log.%m max log size = 50 smb ports = 139 445 name resolve order = wins bcast hosts show add printer wizard = No logon script = logon.bat logon path = \\fpmelb\profiles\%U logon drive = Z: logon home = \\fpmelb\%U domain logons = Yes domain master = No wins server = 192.168.31.5 ldap admin dn cn=Manager,ou=Users,ou=OxObjects,dc=guestsfurniturehire,dc=com,dc=au ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap machine suffix = ou=Users ldap suffix = ou=OxObjects,dc=guestsfurniturehire,dc=com,dc=au ldap user suffix = ou=Users idmap backend = ldap://fpmelb.guestsfurniturehire.com.au idmap uid = 10000-20000 idmap gid = 10000-20000 printer admin = root ea support = Yes map acl inherit = Yes printing = cups printcap name = CUPS Regards Geoff Scott ----------------------------------
Gerald (Jerry) Carter
2005-Jul-04 13:24 UTC
[Samba] Annoying lpq commands appear after testparm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Geoff Scott wrote:> I am using a master-smb.conf with one other include for the shares file. > Every time that I do a testparm -s master-smb.conf and then check the > resulting file I see these config directives, which I haven't defined: > > printing = cups > print command > lpq command = %p > lprm command > > But this is after I have defined "printing = cups", any ideas > why? Or is this standard behaviour?This is actually required since the background lpq daemon was introduced. Someone needed to have a sharename != cups printer name. Just ignore it. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCyThEIR7qMdg1EfYRAvK1AJ9Xb0XsxEGyldsk/SXgg5cRjXNaOQCeJ7pV juAO34J606jI3pOlygY64wY=6j5/ -----END PGP SIGNATURE-----
Apparently Analagous Threads
- XP SP2 - winlogon.exe crashes
- Troubles setting up winbind for nt4 style samba domain
- Does or doesn't vampiring users add them into multipl e groups at the same time?
- AD member server setup with winbind idmap_rid - users prompted fo r password
- samba4 openldap