svn commit: samba r10399 - in
branches/SAMBA_3_0_RELEASE/source/client: .
jerry at samba.org
jerry at samba.org
Thu Sep 22 01:03:13 GMT 2005
Author: jerry
Date: 2005-09-22 01:03:12 +0000 (Thu, 22 Sep 2005)
New Revision: 10399
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10399
Log:
bring in gd's better debug messages
Modified:
branches/SAMBA_3_0_RELEASE/source/client/smbspool.c
Changeset:
Modified: branches/SAMBA_3_0_RELEASE/source/client/smbspool.c
===================================================================
--- branches/SAMBA_3_0_RELEASE/source/client/smbspool.c 2005-09-21 22:55:39 UTC (rev 10398)
+++ branches/SAMBA_3_0_RELEASE/source/client/smbspool.c 2005-09-22 01:03:12 UTC (rev 10399)
@@ -226,12 +226,12 @@
{
if (getenv("CLASS") == NULL)
{
- fprintf(stderr, "ERROR: Unable to connect to SAMBA host, will retry in 60 seconds...");
- sleep (60);
+ fprintf(stderr, "ERROR: Unable to connect to CIFS host, will retry in 60 seconds...");
+ sleep (60); /* should just waiting and retrying fix authentication ??? */
}
else
{
- fprintf(stderr, "ERROR: Unable to connect to SAMBA host, trying next printer...");
+ fprintf(stderr, "ERROR: Unable to connect to CIFS host, trying next printer...");
return (1);
}
}
@@ -335,8 +335,10 @@
if ( ticket_file == NULL )
{
+#ifdef DEVELOPER
/* no ticket cache found */
fprintf(stderr, "ERROR: No ticket cache found for userid=%d\n", uid);
+#endif
return NULL;
}
@@ -425,10 +427,10 @@
return NULL;
}
- if (!cli_send_tconX(cli, share, "?????",password, strlen(password)+1))
+ if (!cli_send_tconX(cli, share, "?????", password, strlen(password)+1))
{
+ fprintf(stderr, "ERROR: Tree connect failed (%s)\n", cli_errstr(cli));
cli_shutdown(cli);
- fprintf(stderr, "ERROR: Tree connect failed\n" );
return NULL;
}
More information about the samba-cvs
mailing list