Displaying 20 results from an estimated 272 matches for "len2".
Did you mean:
len
2002 Feb 19
1
rsync bug in clean_flist() while removing duplicted names
...2.3.2/lib/compat.c Mon Nov 8 14:15:04 1999
--- rsync-2.3.2-patched/lib/compat.c Mon Feb 18 18:26:18 2002
***************
*** 131,139 ****
be one more than the maximum resulting string length */
size_t strlcat(char *d, const char *s, size_t bufsize)
{
! size_t len1 = strlen(d);
! size_t len2 = strlen(s);
! size_t ret = len1 + len2;
if (len1+len2 >= bufsize) {
len2 = bufsize - (len1+1);
--- 131,149 ----
be one more than the maximum resulting string length */
size_t strlcat(char *d, const char *s, size_t bufsize)
{
! size_t len1;
! size_t len2;
! size_t ret;
!...
2017 Apr 26
2
[BUG] OpenSSL function has been deprecated
...ave it a shot anyway) but below is the patch.
--- a/src/lib-ssl-iostream/iostream-openssl-params.c
+++ b/src/lib-ssl-iostream/iostream-openssl-params.c
@@ -13,13 +13,21 @@ generate_dh_parameters(int bitsize, buffer_t *output, const char **error_r)
{
DH *dh;
unsigned char *p;
- int len, len2;
+ int len, len2, success;
+#if OPENSSL_VERSION_NUMBER >= 0x00908000L
+ success = DH_generate_parameters_ex(dh, bitsize, DH_GENERATOR, NULL);
+#else
dh = DH_generate_parameters(bitsize, DH_GENERATOR, NULL, NULL);
if (dh == NULL) {
+ success = 0;
+ }
+#endif
+
+ if (success == 0) {
*err...
2002 Jul 13
0
[PATCH]: scp program improved
...X_PREFIXLEN] = "0 B";
+ double elapsed;
+ static int ind_value = 0;
+ float ratio;
+ int hours, mins, secs, remaining;
+ char buf[512], eta[20], buf_gauge[MAX_GAUGELEN] = "", filename[512];
+ char pre_cursize[MAX_PREFIXLEN], pre_totalsize[MAX_PREFIXLEN];
+ int len, len2, len3, ttywidth = getttywidth();
+
+ snprintf(filename, 512, "%s", curfile);
+ if (flag == -1) {
+ (void) gettimeofday(&start, (struct timezone *) 0);
+ lastupdate = start;
+ lastsize = 0;
+ }
+ if (foregroundproc() == 0)
+ return;
+
+ (void) gettimeofday(...
2018 Mar 27
2
Unable to access AD with ADExplorer
...pen of secrets.ldb
[2018/03/26 16:32:38.896147, 3] ../auth/ntlmssp/ntlmssp_util.c:69(debug_ntlmssp_flags)
Got NTLMSSP neg_flags=0xe2088297
[2018/03/26 16:32:38.897060, 3] ../auth/ntlmssp/ntlmssp_server.c:452(ntlmssp_server_preauth)
Got user=[administrator] domain=[] workstation=[TEST] len1=24 len2=266
[2018/03/26 16:32:38.897302, 3] ../source4/auth/ntlm/auth.c:271(auth_check_password_send)
auth_check_password_send: Checking password for unmapped user []\[administrator]@[TEST]
auth_check_password_send: mapped user is: [SAMDOM]\[administrator]@[TEST]
[2018/03/26 16:32:38.901252, 3] ../au...
2001 Jul 05
1
Streaming buffers/ov_read question
...i converted to the vorbis format
(Gorillaz - Cling Eastwood)
pcmData is defined like this: char pcmData[4096];
the ogg file and the directsound buffer (lpdsBuffer and vorbisFile) have
already been set up properly.
// code start
void PlaybackThread(void *param)
{
UCHAR *ptr1, *ptr2;
DWORD len1, len2;
long retVal;
int bytes_to_read = 4096;
int writeCursor = 0;
int bufferReadCursor = 0;
bool begPlay = true;
int len1_copy, len2_copy;
HWND hDlg = (HWND)param;
while (!eof)
{
if (bufferReadCursor > 4096)
{
// fill more data into the buffer;
bytes_to_read = 4096;
while (byte...
2010 Aug 10
3
sapply/lapply instead of loop
...a <- paste("DX", aa, sep = "")
record <- matrix("?", nrow = ssize, ncol = ssize[2])
colnames(record) <- aa
mm <- 0
#for (j in 1:1) {
for (j in 1:ssize[1]) {
mm <- j
a <- as.character(as.matrix(as.data.frame(temp[j,])))
len2 <- sum(a != "?")
mi <- 0
for (k in 1:len2) {
aa <- a[k]
a0 <- 5 - nchar(aa)
if (a0 > 0) {
for (st in 1:a0) {
aa <- paste(aa, " ", sep = "")
}...
2018 Mar 27
0
Unable to access AD with ADExplorer
...; [2018/03/26 16:32:38.896147, 3] ../auth/ntlmssp/ntlmssp_util.c:69(debug_ntlmssp_flags)
> Got NTLMSSP neg_flags=0xe2088297
> [2018/03/26 16:32:38.897060, 3] ../auth/ntlmssp/ntlmssp_server.c:452(ntlmssp_server_preauth)
> Got user=[administrator] domain=[] workstation=[TEST] len1=24 len2=266
> [2018/03/26 16:32:38.897302, 3] ../source4/auth/ntlm/auth.c:271(auth_check_password_send)
> auth_check_password_send: Checking password for unmapped user []\[administrator]@[TEST]
> auth_check_password_send: mapped user is: [SAMDOM]\[administrator]@[TEST]
> [2018/03/26 16:3...
2008 May 29
0
Again, teach me speex AEC please!
..._peterhi_Speex_encode(JNIEnv* env, jclass c, jint p, jbyteArray buf1, jbyteArray buf2)
{
jbyte* bytes1 = (*env)->GetByteArrayElements(env, buf1, JNI_FALSE);
jbyte* bytes2 = (*env)->GetByteArrayElements(env, buf2, JNI_FALSE);
int len1 = (*env)->GetArrayLength(env, buf1);
int len2 = (*env)->GetArrayLength(env, buf2);
jint ret = 0;
Codec* pCodec = (Codec* )p;
if (pCodec->type != TYPE_ENCODE)
{
return ret;
}
// How to use AEC to cancel?
speex_preprocess_run(pCodec->pPre, (spx_int16_t* )bytes1);
speex_bits_reset(&pCo...
2018 Mar 27
2
Unable to access AD with ADExplorer
...6:32:38.896147, 3] ../auth/ntlmssp/ntlmssp_util.c:69(debug_ntlmssp_flags)
> Got NTLMSSP neg_flags=0xe2088297
> [2018/03/26 16:32:38.897060, 3] ../auth/ntlmssp/ntlmssp_server.c:452(ntlmssp_server_preauth)
> Got user=[administrator] domain=[] workstation=[TEST] len1=24 len2=266
> [2018/03/26 16:32:38.897302, 3] ../source4/auth/ntlm/auth.c:271(auth_check_password_send)
> auth_check_password_send: Checking password for unmapped user []\[administrator]@[TEST]
> auth_check_password_send: mapped user is: [SAMDOM]\[administrator]@[TEST]
&...
2020 Feb 23
0
Mac OS and interpretation of @ in a username. Ex user@mds.xyz doesn't work on Mac OS but does on Win 10
...| doing parameter valid users = bob at mds.xyz
doing parameter valid users = root | doing parameter valid users = root
Got user=[joe] domain=[mds.xyz] workstation=[MACBOOKPRO-0138] len1=24 len2=222 | Got user=[joe] domain=[joe-PC] workstation=[JOE-PC] len1=24 len2=284
doing parameter security = user | doing parameter security = user
doing parameter valid users = %S, %D%w%S...
2010 Jun 09
2
cbind with vectors of different lengths?
Hello R help
I have a dataframe, with 71 samples (rows) and 30 variables. I got linear models for some of the variables,? and I want to join fitted and residuals of these models to the data frame. Sometimes, these vectors have the same length of the dependant variable, but in a few cases, NA values can be found on my data, and therefore, both fitted and residuals have a few rows less than the
2007 Aug 21
3
Samba 18GB file Transfer
...esssetup.c:reply_sesssetup_and_X_spnego(691)
NativeOS=[Windows Server 2003 R2 3790 Service Pack 1] NativeLanMan=[]
PrimaryDomain=[Windows Server 2003 R2 5.2]
[2007/08/20 13:13:20, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(672)
Got user=[root] domain=[ARCH-SERVER] workstation=[ARCH-SERVER] len1=24
len2=24
[2007/08/20 13:19:26, 3] smbd/oplock.c:init_oplocks(862)
open_oplock_ipc: initializing messages.
[2007/08/20 13:19:26, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(260)
Linux kernel oplocks enabled
[2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
Transaction 0 of length 137
[2...
2015 Oct 13
6
[PATCH 0/4] rpm: Choose providers better (RHBZ#1266918).
Fix for
https://bugzilla.redhat.com/show_bug.cgi?id=1266918
2006 Sep 16
2
Win2000/XP on Samba 3, Etch
...ng password
the server log reads:
[2006/09/15 13:34:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[]
[2006/09/15 13:34:14, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(672)
Got user=[abf] domain=[COMPUTERRAUM] workstation=[MARS] len1=24 len2=24
Why is the PrimaryDomain empty?
testparm smb.conf says: ROLE_DOMAIN_PDC
Who can help?
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=0000000...
2006 Sep 06
2
Problem with "Security=ADS" and domain users afer upgrading to 3.0.23c
...logged in with the right account in the domain.
I have studied level 3 log file, and see that the authentication is
performed differently now when the domain PC is used. For the PC that
is not in the domain I have this in the log:
Got user=[nazaand] domain=[PC35355] workstation=[PC35355] len1=24 len2=24
check_ntlm_password: mapped user is: [OAAD]\[nazaand]@[PC35355]
check_ntlm_password: winbind authentication for user [nazaand] succeeded
For the domain PC nothing like that is present. Instead I get this:
Ticket name is [PC35355$@OA.PNRAD.NET]
Username OAAD\PC35355$ is invalid on this system...
2015 Oct 13
0
[PATCH 4/4] rpm: Choose providers better (RHBZ#1266918).
...ames ->
+ if !settings.debug >= 2 then
+ printf "supermin: rpm: multiple providers: requirement %s: providers: %s\n"
+ req (String.concat " " names);
+ let cmp name1 name2 =
+ let len1 = String.length name1 and len2 = String.length name2 in
+ if len1 <> len2 then compare len1 len2
+ else compare name1 name2 in
+ let names = List.sort cmp names in
+ let best_name = List.hd names in
+ if !settings.debug >= 2 then
+ printf "supermin:...
2005 Jan 22
0
chan_capi patch: app_capiFax modifications
...PI*) Receive Faxes.";
static char *app = "capiAnswerFax2";
static char *synopsis = "Answer Fax with CAPI (Allow Station ID Setting)";
STANDARD_LOCAL_USER;
LOCAL_USER_DECL;
void SetupB3Config(B3_PROTO_FAXG3 *B3conf, int FAX_Format, char* stationID) {
int len1;
int len2;
char *headLine = "CAPI FAXServer";
B3conf->resolution = FAX_HIGH_RESOLUTION;
B3conf->format = (unsigned short)FAX_Format;
len1 = strlen(stationID);
B3conf->Infos[0] = (unsigned char)len1;
strcpy((char *)&B3conf->Infos[1], stationID);
len2 = s...
2015 Mar 25
2
[LLVMdev] [PATCH] Test failures
...tizer_common/tests/sanitizer_libc_test.cc b/lib/sanitizer_common/tests/sanitizer_libc_test.cc
index 689c6ed..a304458 100644
--- a/lib/sanitizer_common/tests/sanitizer_libc_test.cc
+++ b/lib/sanitizer_common/tests/sanitizer_libc_test.cc
@@ -85,7 +85,7 @@ TEST(SanitizerCommon, FileOps) {
EXPECT_EQ(len2, internal_write(fd, str2, len2));
internal_close(fd);
- openrv = OpenFile(tmpfile, WrOnly);
+ openrv = OpenFile(tmpfile, RdWr);
EXPECT_FALSE(internal_iserror(openrv));
fd = openrv;
uptr fsize = internal_filesize(fd);
@@ -134,7 +134,7 @@ TEST(SanitizerCommon, InternalMmapWithOffset) {...
2020 Feb 22
2
Mac OS and interpretation of @ in a username. Ex user@mds.xyz doesn't work on Mac OS but does on Win 10
On Fri, 2020-02-21 at 20:48 -0500, TomK wrote:
>
>
> >
> > "Sadly this really appears to be is a client issue. You see there the
> > string Samba gets, so by the time Samba tries the process it the @ is
> > already interpreted and the string split.
> >
> > Sorry!
> >
> > Andrew Bartlett"
> >
> > Yeah, wondering if
2011 Jan 18
1
LDAP & PDC: Can join domain, but cannot login afterwards.
...OK.
*
*
*Domain Join (log files in after_domain_join folder)*
1. Note how the sending machine correctly sent the user and domains in this
case.
[2011/01/18 10:24:35.521835, 3] libsmb/ntlmssp.c:747(ntlmssp_server_auth)
Got user=[root] domain=[THEBITGURU.LAN] workstation=[VIRTUALXP-32744]
len1=24 len2=24
2. Also, note that the user authentication and mapping seemed to work OK in
this case.
[2011/01/18 10:24:35.521954, 3] auth/auth.c:219(check_ntlm_password)
check_ntlm_password: mapped user is:
[THEBITGURU.LAN]\[root]@[VIRTUALXP-32744]
.
.
.
[2011/01/18 10:24:35.523891, 2] passdb/pdb_ldap.c...