search for: cli_stat

Displaying 14 results from an estimated 14 matches for "cli_stat".

Did you mean: cli_state
2005 May 30
2
smbclient hangs
Hello, I'm having problems with using smbclient on a win2k share. The server runs samba 3.0.14a on Solaris 9. I want to tar the whole directory of a share. Into a file on the server What I found out so far is, that it works until a maximum file count of 35. It is not size dependant but if the file count in that share exceeds more than 35 the smbclient hangs for ever and with the time is
2004 Aug 06
0
winbindd PANIC: smb_xmalloc: malloc fail
...TO collection =============================================================== PANIC: internal error Are there any know issues with the gcc 2.9 compiler? Or perhaps I'm missing a flag? I tracked it down to this segment of code in libsmb/cliconnect.c static void cli_set_session_key (struct cli_state *cli, const DATA_BLOB session_key) { cli->user_session_key = data_blob(session_key.data, session_key.length); } I can verify the value of session_key.length is 16 prior to the call to cli_set_session_key, but in data_blob the value becomes 2534319874. If I add a DEBUG statement, th...
2003 Jul 18
0
patch: smbclient lost some files
...Yasuoka Masahiko (yasuoka@second-software.com) Second Software Inc. http://www.second-software.com/ -------------- next part -------------- --- clilist.c-orig 2003-03-15 06:34:48.000000000 +0900 +++ clilist.c 2003-07-18 12:01:16.000000000 +0900 @@ -184,7 +184,12 @@ int cli_list_new(struct cli_state *cli,c SSVAL(param,2,max_matches); /* max count */ SSVAL(param,4,info_level); SIVAL(param,6,0); /* ff_resume_key */ +#ifdef DONT_USE_SEARCH_CONTINUE + SSVAL(param,10,4+2); /* resume required + close on end */ +#else SSVAL(param,10,8+4+2); /* continue + resume required + close on...
1997 Nov 30
2
nmbd crashing as domain controller
Hi, We've been over this before many times, I think... it's about nmbd crashing in 1.9.17 (all patchlevels, AFAIK). Various suggestions have been suggested (cron jobs to kill off / restart nmbd every hour) but no fixes to nmbd itself (I think). Do the Samba team know of a fix (or could they do one; if they know what the problem is)? A new [fast] machine added to our network recently
2000 Apr 20
0
Solaris upgrade (Samba panic)
...raded SAMBA 2.04 to 2.06 and server versions 2.6 to 2.7 Solaris. | After reloading SAMBA I get an internal error in my logs and users an not | connect even though it shows up in the network. Below is the error in the | log ... That's a failure in --- BOOL attempt_netbios_session_request(struct cli_state *cli, char *srchost, char *desthost, struct in_addr *pdest_ip) { --- The line number points to the DEBUG statement in: ---- if (!nmb_name_equal(&called, &smbservername) || !cli_initialise(cli) || !cli_connect(cli, desthost, pdest_ip) || !cli_session_request(cli,...
2007 Dec 01
0
[3.2.0pre1] net ads join fails with NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT
...1 +++ source/utils/net_rpc_join.c 1 Dec 2007 20:38:16 -0000 @@ -44,28 +44,14 @@ struct in_addr *ip) { enum security_types sec; - unsigned int conn_flags = NET_FLAGS_PDC; uint32 neg_flags = NETLOGON_NEG_AUTH2_FLAGS|NETLOGON_NEG_SCHANNEL; struct cli_state *cli = NULL; struct rpc_pipe_client *pipe_hnd = NULL; struct rpc_pipe_client *netlogon_pipe = NULL; NTSTATUS ntret = NT_STATUS_UNSUCCESSFUL; - sec = (enum security_types)lp_security(); - - if (sec == SEC_ADS) { - /* Connect to IPC$ using machine...
2006 Aug 13
1
Building 23b
...ctorture.c: At top level: torture/rpctorture.c:167: warning: 'struct client_info' declared inside parameter list torture/rpctorture.c: In function 'main': torture/rpctorture.c:233: error: storage size of 'cli_info' isn't known torture/rpctorture.c:291: error: 'struct cli_state' has no member named 'pipes' torture/rpctorture.c:377: error: 'scope' undeclared (first use in this function) torture/rpctorture.c:377: error: (Each undeclared identifier is reported only once torture/rpctorture.c:377: error: for each function it appears in.) torture/rpctorture...
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
...U rpccli_lsa_lookup_sids U rpccli_lsa_open_policy So I need to call rpccli_lsa_open_policy you need struct rpc_pipe_client *lsa_pipe (ex: https://gitlab.com/samba-team/devel/samba/-/blob/master/source3/lib/netapi/localgroup.c ) This structure is transformed from struct cli_state *cli, into struct rpc_pipe_client *rpccli; you may call cli_rpc_pipe_open_noauth_transport to do that ( https://gitlab.com/samba-team/devel/samba/-/blob/master/examples/winexe/winexe.c#L458 ) cli_rpc_pipe_open_noauth_transport is not exported. maybe i should use cli_rpc_pipe_open_noauth which is...
2002 Dec 20
1
smbclient and large file support
...break; case 'c': dopr_outch (buffer, &currlen, maxlen, va_arg (args, int)); --- samba-2.2.7a/source/libsmb/clireadwrite.c Tue Apr 30 06:27:03 2002 +++ samba-2.2.7a-fixed/source/libsmb/clireadwrite.c Thu Dec 19 15:48:47 2002 @@ -30,10 +30,15 @@ static BOOL cli_issue_read(struct cli_state *cli, int fnum, off_t offset, size_t size, int i) { + BOOL bigoffset = False; + memset(cli->outbuf,'\0',smb_size); memset(cli->inbuf,'\0',smb_size); - set_message(cli->outbuf,10,0,True); + if ((SMB_BIG_UINT)offset >> 32) + bigoffset = True; + + set_m...
2000 Jan 26
2
[2.0.6] doesn't run under Solaris 7/sparc, Internal Error
Is the following a known problem: =============================================================== [2000/01/26 09:41:03, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 22273 (2.0.6) Please read the file BUGS.txt in the distribution [2000/01/26 09:41:03, 0] lib/fault.c:fault_report(43) =============================================================== This is using the same
2020 Oct 13
0
Lookup sid with libsmbclient (invoked from c# on mono)
...t; U rpccli_lsa_open_policy > > So I need to call rpccli_lsa_open_policy you need struct > rpc_pipe_client *lsa_pipe > (ex: > https://gitlab.com/samba-team/devel/samba/-/blob/master/source3/lib/netapi/localgroup.c > ) > This structure is transformed from struct cli_state *cli, into struct > rpc_pipe_client *rpccli; you may call cli_rpc_pipe_open_noauth_transport > to do that ( > https://gitlab.com/samba-team/devel/samba/-/blob/master/examples/winexe/winexe.c#L458 > ) > cli_rpc_pipe_open_noauth_transport is not exported. It is exported but you'...
2017 Jun 08
4
smbcacls got error NT_STATUS_NETWORK_NAME_DELETED
On Thu, Jun 08, 2017 at 06:43:34PM +0200, Ralph Böhme via samba wrote: > Hi Andy, > > On Thu, Jun 08, 2017 at 09:23:50AM -0700, Andy Qian via samba wrote: > > The smbcacls cmd worked before till recently. Due to the recent Windows > > patch which disables SMB v1, we have to add the following line into the > > [global] section in smb.conf file on Linux machine so that
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
Vincent Le Toux via samba <samba at lists.samba.org> writes: > Indeed, rpcclient is the program I looked for the first time. > > I cannot invoke it in a command line because I have at least 1000 SID to > resolve > (I discover them one by one so I'll have to run rpcclient at least 1000 > times) You can pass multiples SID at a time to these commands. But you would have
2003 Dec 01
0
No subject
...amba HEAD, known probs with machine acct checking) wbinfo -t outputs "secret is bad" then an NT_STATUS_INTERNAL_ERROR Here's where i've tracked the problem in the code: in winbindd_misc.c: The following function: enum winbindd_result winbindd_check_machine_acct( struct winbindd_cli_state *state) { //lines left out to save space if (!_get_trust_account_password(lp_workgroup(), trust_passwd, NULL)) { result = NT_STATUS_INTERNAL_ERROR; goto done; } _get_trust_account_password fails because of this line in that function: if (!(pass = secrets_fetch(trust_keystr(dos_domain), &a...