}
if (auth_info) {
-#if 1
- /* With the fix for bug #7146 S3 servers
- now cope with this. JRA. */
+#if 0
+ /* the s3 rpc server doesn't handle auth padding in
+ bind requests. Use zero auth padding to keep us
+ working with old servers */
uint32_t offset = ndr->offset;
ndr_err = ndr_push_align(ndr, 16);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
}
auth_info->auth_pad_length = ndr->offset - offset;
#else
- /* Older s3 rpc servers doesn't handle auth padding in
- bind requests. Use zero auth padding to keep us
- working with old servers */
auth_info->auth_pad_length = 0;
#endif
ndr_err = ndr_push_dcerpc_auth(ndr, NDR_SCALARS|NDR_BUFFERS, auth_info);