svn commit: samba r5176 - in branches/SAMBA_3_0/source/utils: .
idra at samba.org
idra at samba.org
Wed Feb 2 16:22:59 GMT 2005
Author: idra
Date: 2005-02-02 16:22:59 +0000 (Wed, 02 Feb 2005)
New Revision: 5176
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5176
Log:
Warn the user that print command is ignored when using cups libraries
Modified:
branches/SAMBA_3_0/source/utils/testparm.c
Changeset:
Modified: branches/SAMBA_3_0/source/utils/testparm.c
===================================================================
--- branches/SAMBA_3_0/source/utils/testparm.c 2005-02-02 16:14:57 UTC (rev 5175)
+++ branches/SAMBA_3_0/source/utils/testparm.c 2005-02-02 16:22:59 UTC (rev 5176)
@@ -320,6 +320,13 @@
Map system can only work if force create mode excludes octal 010 (S_IXGRP).\n",
lp_servicename(s) );
}
+#ifdef HAVE_CUPS
+ if (lp_printing(s) == PRINT_CUPS && *(lp_printcommand(s)) != '\0') {
+ fprintf(stderr,"Warning: Service %s defines a print command, but \
+print command parameter is ignored when using CUPS libraries.\n",
+ lp_servicename(s) );
+ }
+#endif
}
}
More information about the samba-cvs
mailing list