svn commit: samba r9750 - in branches/tmp/RPCREWRITE/source/client:
.
jra at samba.org
jra at samba.org
Mon Aug 29 16:26:19 GMT 2005
Author: jra
Date: 2005-08-29 16:26:18 +0000 (Mon, 29 Aug 2005)
New Revision: 9750
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9750
Log:
Final commit to keep in sync with head.
Jeremy
Modified:
branches/tmp/RPCREWRITE/source/client/smbspool.c
Changeset:
Modified: branches/tmp/RPCREWRITE/source/client/smbspool.c
===================================================================
--- branches/tmp/RPCREWRITE/source/client/smbspool.c 2005-08-29 16:23:58 UTC (rev 9749)
+++ branches/tmp/RPCREWRITE/source/client/smbspool.c 2005-08-29 16:26:18 UTC (rev 9750)
@@ -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);
}
}
@@ -425,10 +425,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