svn commit: samba r1789 - in branches/SAMBA_3_0/source: libads
python
jerry at samba.org
jerry at samba.org
Thu Aug 12 20:27:09 GMT 2004
Author: jerry
Date: 2004-08-12 20:27:09 +0000 (Thu, 12 Aug 2004)
New Revision: 1789
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source&rev=1789&nolog=1
Log:
compiler warnings from SuSE
Modified:
branches/SAMBA_3_0/source/libads/kerberos_verify.c
branches/SAMBA_3_0/source/python/py_spoolss_drivers.c
Changeset:
Modified: branches/SAMBA_3_0/source/libads/kerberos_verify.c
===================================================================
--- branches/SAMBA_3_0/source/libads/kerberos_verify.c 2004-08-12 20:15:42 UTC (rev 1788)
+++ branches/SAMBA_3_0/source/libads/kerberos_verify.c 2004-08-12 20:27:09 UTC (rev 1789)
@@ -26,6 +26,10 @@
#ifdef HAVE_KRB5
+#if !defined(HAVE_KRB5_PRINC_COMPONENT)
+const krb5_data *krb5_princ_component(krb5_context, krb5_principal, int );
+#endif
+
/**********************************************************************************
Try to verify a ticket using the system keytab... the system keytab has kvno -1 entries, so
it's more like what microsoft does... see comment in utils/net_ads.c in the
Modified: branches/SAMBA_3_0/source/python/py_spoolss_drivers.c
===================================================================
--- branches/SAMBA_3_0/source/python/py_spoolss_drivers.c 2004-08-12 20:15:42 UTC (rev 1788)
+++ branches/SAMBA_3_0/source/python/py_spoolss_drivers.c 2004-08-12 20:27:09 UTC (rev 1789)
@@ -190,12 +190,12 @@
werror = cli_spoolss_getprinterdriver(
hnd->cli, hnd->mem_ctx, 0, &needed, &hnd->pol, level,
- version, arch, &ctr);
+ arch, version, &ctr);
if (W_ERROR_V(werror) == ERRinsufficientbuffer)
werror = cli_spoolss_getprinterdriver(
hnd->cli, hnd->mem_ctx, needed, NULL, &hnd->pol,
- level, version, arch, &ctr);
+ level, arch, version, &ctr);
if (!W_ERROR_IS_OK(werror)) {
PyErr_SetObject(spoolss_werror, py_werror_tuple(werror));
More information about the samba-cvs
mailing list