diff options
author | Jeremy Allison <jra@samba.org> | 2001-08-26 20:05:39 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-08-26 20:05:39 +0000 |
commit | 4f1893d62e88c91cfa9acd2206566748be3cc6c5 (patch) | |
tree | 2c455a4c3ba592ffa50f3c11d7f4bb9db1318c68 | |
parent | 2a01a407d2c91b09adf69704b34d4255c4a0ef28 (diff) | |
download | samba-4f1893d62e88c91cfa9acd2206566748be3cc6c5.tar.gz samba-4f1893d62e88c91cfa9acd2206566748be3cc6c5.tar.xz samba-4f1893d62e88c91cfa9acd2206566748be3cc6c5.zip |
Fix from HEAD when acting as a PDC for a NetApp filer.
Jeremy.
-rw-r--r-- | source/rpc_server/srv_pipe_hnd.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source/rpc_server/srv_pipe_hnd.c b/source/rpc_server/srv_pipe_hnd.c index f91df7c4ef4..c9fb06da4db 100644 --- a/source/rpc_server/srv_pipe_hnd.c +++ b/source/rpc_server/srv_pipe_hnd.c @@ -775,10 +775,15 @@ ssize_t read_from_pipe(pipes_struct *p, char *data, size_t n) * read request. */ + /* + * This condition should result in the connection being closed. + * Netapp filers seem to set it to 0xffff which results in domain + * authentications failing. Just ignore it so things work. + */ + if(n > MAX_PDU_FRAG_LEN) { - DEBUG(0,("read_from_pipe: loo large read (%u) requested on pipe %s. We can \ -only service %d sized reads.\n", (unsigned int)n, p->name, MAX_PDU_FRAG_LEN )); - return -1; + DEBUG(5,("read_from_pipe: too large read (%u) requested on \ +pipe %s. We can only service %d sized reads.\n", (unsigned int)n, p->name, MAX_PDU_FRAG_LEN )); } /* |