search for: cnum

Displaying 20 results from an estimated 64 matches for "cnum".

Did you mean: cnm
2005 Apr 20
1
IPC$ entries not deleted from connections.tdb?
...ba/bin/smbstatus Samba version 3.0.11 PID Username Group Machine ------------------------------------------------------------------- Service pid machine Connected at ------------------------------------------------------- No locked files tdb> 1 pid =20662 cnum = -1 name =[] pid =20662 cnum = -1 name =[] uid = 0 addr =[0.0.0.0] gid = 0 machine=[smbd] start = Wed Dec 31 19:00:00 1969 tdb> n pid =13820 cnum = -1 name =[smbd lpq backend] pid =13820 cnum = -1 name =[] uid...
2017 Jun 23
2
Simple control structure issue
I am having a hard time with 'next'. I come from the "sloppy" school that learned BASIC with Goto. Conceptually next seems pretty straightforward. I just can't get it to work correctly in my code. Here's a stripped down version: WhichRunNow<-"Daily" Cnums=c(0,1,"2b3") Cpers=c("Daily","Daily","Weekly") for (j in (1:length(Cnums))) { If (!identical(Cpers[j],WhichRunNow)){ next } print(j) } So, this should print the number "3", which it does. It prints 3 because "...
2005 Jul 11
1
indexing into and modifying dendrograms
...ints(pts,pch = as.character(1:5)) ## build a hierarhical tree, store as a dendrogram aggTree <- hclust(dist(pts), method = "single") (dend1 <- JB.as.dendrogram.hclust(aggTree)) ## NOTE: only thing I added to official version of ## as.dendrogram.hclust: ## each node has an attribute cNum, which gives ## the merge step at which it was formed, ## i.e. gives the row of the merge object which ## describes the formation of that node ## one new line near end of nMerge loop: ## *************** ## *** 51,56 **** ## --- 51,60 ---- ## attr(z[[x[2]]], "midpoint"))/2 ##...
2000 May 10
0
patche for samba-2.0.7/source/smbd/conn.c
...return True; + } + inuse++; + if ( inuse >= cth.num_open ) { + return False; + } + } + } + return False; } /**************************************************************************** find a conn given a cnum ****************************************************************************/ connection_struct *conn_find(int cnum) { - int count=0; - connection_struct *conn; - - for (conn=Connections;conn;conn=conn->next,count++) { - if (conn->cnum == cnum) { - if (count > 10) { - DLIST_PROMOT...
2017 Jun 23
0
Simple control structure issue
...with 'next'. I come from the "sloppy" school that > learned BASIC with Goto. > > Conceptually next seems pretty straightforward. I just can't get it to > work correctly in my code. Here's a stripped down version: > > WhichRunNow<-"Daily" > Cnums=c(0,1,"2b3") > Cpers=c("Daily","Daily","Weekly") > > for (j in (1:length(Cnums))) { > If (!identical(Cpers[j],WhichRunNow)){ > next > } > print(j) > } > > So, this should print the number "3&...
1998 Oct 08
0
readbraw vs. readX
...= 0) = 0 1998/10/08 13:50:32 error packet at line 1391 cmd=45 (SMBopenX) eclass=1 ecode=32 error string = Permission denied 1998/10/08 13:50:33 Transaction 20 of length 55 switch message SMBreadbraw (pid 33994) Skipping become_user - already user chdir to /u/axs 1998/10/08 13:50:33 readbraw fnum=26 cnum=75 start=4825088 max=4096 min=0 nread=4096 transfer_file 0 (head=4100) called 1998/10/08 13:50:33 Transaction 21 of length 55 switch message SMBreadbraw (pid 33994) Skipping become_user - already user 1998/10/08 13:50:33 readbraw fnum=26 cnum=75 start=4829184 max=4096 min=0 nread=4096 transfer_fil...
1998 Mar 18
1
Troubles with NT domain logons ?
...ing username ipc$ ACCEPTED: guest account and guest ok found free connection number 12 Connect path is /tmp chdir to /tmp chdir to / 03/18/1998 23:08:40 figvam (194.226.33.75) connect to service IPC$ as user nobody (uid=65534,gid=65534) (pid 26784) 03/18/1998 23:08:40 tconX service=ipc$ user=nobody cnum=12 03/18/1998 23:08:40 Transaction 3 of length 82 switch message SMBopenX (pid 26784) chdir to /tmp Known pipe wkssvc opening. 03/18/1998 23:08:40 Transaction 4 of length 82 switch message SMBtrans (pid 26784) chdir to / chdir to /tmp trans <\PIPE\> data=0 params=2 setup=2 named pipe command...
1997 Jul 18
0
Samba 1.9.16pl11: dropping connections between Solaris 2.5.1 and WinNT4SP3
..._struct 0, dev = ffffffff, inode = ffffffff 07/15/97 16:43:18 cdutchyn opened file w2/Install/Fixes/ASP.DLL read=No write=Yes (numopen=1 fnum=1) chdir to / 07/15/97 16:43:18 Transaction 110 of length 52 switch message SMBwrite (pid 2206) chdir to /export/LogArch 07/15/97 16:43:18 write fnum=1 cnum=85 num=0 wrote=0 07/15/97 16:43:18 Transaction 111 of length 54 switch message SMBsetattrE (pid 2206) Skipping become_user - already user 07/15/97 16:43:18 reply_setattrE fnum=1 cnum=85 07/15/97 16:43:18 Transaction 112 of length 61440 <let's write a block> switch message SMBwrite (...
1998 Apr 16
2
Problem with visual C++ and samba
...50.pch (dev 2098183 inode 154502) set_share_mode: Created share entry for dvise-dev/win32.d/src/dmcad/libdnrb/vc50.pch with mode 0x11 pid=1726 04/16/1998 13:58:53 Transaction 218244 of length 52 switch message SMBwrite (pid 1726) Skipping become_user - already user 04/16/1998 13:58:53 write fnum=14 cnum=67 num=0 wrote=0 04/16/1998 13:58:53 Transaction 218245 of length 54 switch message SMBsetattrE (pid 1726) Skipping become_user - already user 04/16/1998 13:58:53 reply_setattrE fnum=14 cnum=67 actime=892732330 modtime=892732330 04/16/1998 13:58:53 Transaction 218246 of length 1184 switch message S...
2019 Apr 19
2
Forking AGI or GoSub
In PHP something like: $pid = pcntl_fork(); if ($pid != 0) { // we are the parent // do parent stuff exit; } // we are the child, detatch from terminal $sid = posix_setsid(); if ($sid < 0) { die; } // do child stuff On 04/19/2019 02:00 PM, Mark Wiater wrote: > On 4/19/2019 1:49 PM, Dovid Bender wrote: >> Mark, >> >> I am using PHP agi and when forking
2008 Feb 03
0
"once" not honored?
I''m trying this: firmware.should_receive(:execute).with("ATZ").once.ordered.and_return(AT_OK) firmware.should_receive(:execute).with("ATE0V1").once.ordered.and_return(AT_OK) firmware.should_receive(:execute).with("AT+CNUM").once.and_return(AT_OK) But rspec does not complain that "AT+CNUM" is never passed as argument. Bug? Or did I misinterpret the feature "once" ? NB: I''d love to be able to write firmware.should_receive("AT+CNUM") but that seems to fail on the way the me...
1998 Jul 08
0
Error connecting Win95 box to Linux.
...ACCEPTED: guest account and guest ok found free connection number 105 Connect path is /tmp chdir to /tmp chdir to /usr/local/samba/bin 1998/07/08 13:20:24 sigmund (207.86.170.188) connect to service IPC$ as user pcguest (uid=98,gid=98) (pid 9125) 1998/07/08 13:20:24 tconX service=ipc$ user=pcguest cnum=105 1998/07/08 13:20:24 Transaction 56 of length 99 switch message SMBtrans (pid 9125) chdir to /tmp trans <\PIPE\LANMAN> data=0 params=19 setup=0 named pipe command on <LANMAN> name Got API command 0 of form <WrLeh> <B13BWz> (tdscnt=0,tpscnt=19,mdrcnt=4096,mprcnt=8) Doing R...
2006 Dec 20
0
Re: Match a Numer - then continue with, dialplan
...putting here for clarity include => local; exten => _91XXXXXXX,1,Macro(trunkout,${EXTEN}) ;Medium Distance exten => _91XXXXXXXXXX,1,Macro(trunkout,${EXTEN}) ;Long Distance Then, I have: [macro-trunkout] exten => s,1,Set(cname=${DB(showname/${CALLERIDNUM})}); exten => s,n,Set(cnum=${DB(shownum/${CALLERIDNUM})}); exten => s,n,GotoIf($["foo${cnum}" = "foo"]?6); //if calling from ZAP channel that set caller ID already exten => s,n,Set(CALLERID(name)=${cname}|a); exten => s,n,Set(CALLERID(number)=${cnum}|a); exten => s,n,Dial(${TRUNK}/${ARG1:${...
1998 Jun 04
1
Slow writes continued
...ere is obviously something still not right. Writes are still about 1/2 the speed of reads. This only seems to affect Win95 clients (NT machines are fine). Doing a write of a 20mb file to the server generates the following message: chdir to /int-data/amx_resources 1998/06/04 14:58:49 write fnum=56 cnum=119 num=16 wrote=16 1998/06/04 14:58:49 Transaction 10834 of length 65539 switch message SMBwritebraw (pid 1646) chdir to / chdir to /int-data/amx_resources 1998/06/04 14:58:49 writebraw1 fnum=56 cnum=119 start=19922944 num=65475 wrote=6 5475 sync=0 1998/06/04 14:58:49 writebraw2 fnum=56 cnum=119 s...
2000 May 13
0
Trouble with large files and 1.9.18p10
...#39;s own network services, and these tests stop writing to their logs around the same time I see the failure, confirming that it's not just Samba that has died. The log output (level 3) looks like this: ... switch message SMBreadX (pid 26960) 2000/05/11 22:49:23 readX fnum=44 cnum=32 min=4159 max=4159 nread=4159 2000/05/11 22:49:23 Transaction 14676 of length 64 switch message SMBreadX (pid 26960) 2000/05/11 22:49:23 readX fnum=44 cnum=32 min=32768 max=32768 nread=32768 2000/05/11 22:49:23 Transaction 14677 of length 64 switch message SMBreadX (pid 2...
2006 Dec 20
3
Re: Match a Numer - then continue with, dialplan
...local; > > exten => _91XXXXXXX,1,Macro(trunkout,${EXTEN}) ;Medium Distance > exten => _91XXXXXXXXXX,1,Macro(trunkout,${EXTEN}) ;Long Distance > > Then, I have: > [macro-trunkout] > exten => s,1,Set(cname=${DB(showname/${CALLERIDNUM})}); > exten => s,n,Set(cnum=${DB(shownum/${CALLERIDNUM})}); > exten => s,n,GotoIf($["foo${cnum}" = "foo"]?6); //if > calling from ZAP > channel that set caller ID already > exten => s,n,Set(CALLERID(name)=${cname}|a); > exten => s,n,Set(CALLERID(number)=${cnum}|a); > exten =&...
1998 Jul 22
0
smbd's running wild in Solaris x86 malloc...
...5. Information that might be useful to someone: 1) Yes, that's right, malloc gets stuck. The actual trace is: #0 0x8005ea3f in t_splay () #1 0x8005e956 in t_delete () #2 0x8005e705 in realfree () #3 0x8005e2e2 in _malloc_unlocked () #4 0x8005e1b9 in malloc () #5 0x807773d in api_reply (cnum=12, vuid=0, outbuf=0x8122271 "", data=0x0, params=0x80fea08 "h", tdscnt=0, tpscnt=26, mdrcnt=24900, mprcnt=8) at ipc.c:3295 #6 0x80778b9 in named_pipe (cnum=12, vuid=0, outbuf=0x8122271 "", name=0x8047852 "LANMAN", setup=0x0, data=0x0, params=0...
1998 May 08
2
After almost every reboot, Samba printing is DOA under Solaris 2.6...
...pool/samba directory are as follows : drwxrwxrwx 2 root other 512 May 8 15:25 samba Any ideas are appreciated! -- Rick 05/04/1998 14:17:08 Transaction 7224 of length 4146 switch message SMBwrite (pid 12659) chdir to / chdir to /var/spool/samba 05/04/1998 14:17:08 write fnum=96 cnum=92 num=4094 wrote=4094 05/04/1998 14:17:08 Transaction 7225 of length 1496 switch message SMBwrite (pid 12659) 05/04/1998 14:17:08 write fnum=96 cnum=92 num=1444 wrote=1444 05/04/1998 14:17:08 Transaction 7226 of length 46 switch message SMBclose (pid 12659) del_share_modes Deleting share mode entr...
1999 Dec 28
2
Directory rename problem with smbclient
I am trying to use smbclient to migrate data from OS/2 LanServers to a filesystem on an AIX 4.3.1 machine. Everything works great except renaming directories on the OS/2 LanServer. I get the error ERRDOS - ERRbadfile (File not found.) renaming files when I do a "rename <existing_dir_name> <new_dir_name>" at the prompt, but <existing_dir_name> exists. I connected to a
1997 Dec 03
0
problems with "Save As" in BNA Income Tax Planner for Windows
...n from them myself, but I did find the few lines logged right before the error occurred to be interesting ("NEWFILE.IT" is the file I'm creating): - - - start log snippet - - - 12/03/97 16:29:46 Transaction 1201 of length 41 switch message SMBfindclose (pid 14533) reply_findclose, cnum = 87, dptr_num = 14 12/03/97 16:29:46 SMBfindclose cnum=87, dptr_num = 14 12/03/97 16:29:46 Transaction 1202 of length 100 switch message SMBtrans2 (pid 14533) call_trans2findfirst: dirtype = 0, maxentries = 6, close_after_first=0, close_if _end = 0 requires_resume_key = 0 level = 260, max_data_by...