Displaying 19 results from an estimated 19 matches for "cli_shutdown".
2000 Jul 31
0
[patch] smbmount fixes for samba-2.0.7, testers wanted!
...n);
+ DEBUG(0,("Connection to %s failed\n", server_n));
return NULL;
}
if (!cli_session_request(c, &calling, &called)) {
- fprintf(stderr, "session request to %s failed\n", called.name);
+ DEBUG(0,("session request to %s failed\n", called.name));
cli_shutdown(c);
if (strcmp(called.name, "*SMBSERVER")) {
make_nmb_name(&called , "*SMBSERVER", 0x20);
@@ -168,7 +162,7 @@
DEBUG(4,(" session request ok\n"));
if (!cli_negprot(c)) {
- fprintf(stderr, "protocol negotiation failed\n");
+ DEBUG(0,("pr...
1999 Mar 24
0
Problems using smbclient
...122 at port 139
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
receive_smb: length < 0!
client_receive_smb failed
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
session request to BUFF failed
cli_shutdown
resolve_name: Attempting lmhosts lookup for name buff
getlmhostsent: lmhost entry: 129.197.229.122 buff
resolve_name: Attempting host lookup for name buff
Connecting to 129.197.229.122 at port 139
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
receive_smb: length < 0!
clien...
2003 Nov 03
2
Errors in log file with Samba3
.../smbd(smb_panic+0xfc) [0x8180868]
#1 /usr/local/samba3/sbin/smbd [0x817213b]
#2 /lib/tls/libc.so.6 [0x420275c8]
#3 /usr/local/samba3/sbin/smbd(cli_nt_session_close+0x5f)
[0x80c23b3]
#4 /usr/local/samba3/sbin/smbd(cli_close_connection+0x10)
[0x80c2400]
#5 /usr/local/samba3/sbin/smbd(cli_shutdown+0x17) [0x80c24fb]
#6 /usr/local/samba3/sbin/smbd [0x80b8e3b]
#7 /usr/local/samba3/sbin/smbd(smbd_process+0x1f5) [0x80b90f9]
#8 /usr/local/samba3/sbin/smbd(main+0x414) [0x81d4634]
#9 /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x42015574]
#10 /usr/local/samba3/sbin/smbd(chroot+0x31) [...
2020 Oct 18
1
Lookup sid with libsmbclient (invoked from c# on mono)
...eleaseHandle()
{
_talloc_free(this.handle);
return true;
}
}
internal class SambaConnectionHandle : SafeHandleZeroOrMinusOneIsInvalid
{
[DllImport("libsmbclient.so.0", CharSet = CharSet.Ansi)]
internal static extern void cli_shutdown(IntPtr cli);
public SambaConnectionHandle()
: base(true)
{
}
public SambaConnectionHandle(IntPtr handle)
: base(true)
{
SetHandle(handle);
}
protected override bool ReleaseHandle()
{
c...
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
Typical example:
Here is some search & export for libsmbclient:
adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep
cli_rpc_pipe_open_noauth_transport
<nothing>
adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep
cli_rpc_pipe_open
U cli_rpc_pipe_open_noauth
adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0
2023 Oct 16
0
[Announce] Samba 4.19.2 Available for Download
...ase series.
Changes since 4.19.1
--------------------
o? Jeremy Allison <jra at samba.org>
?? * BUG 15423: Use-after-free in aio_del_req_from_fsp during smbd shutdown
???? after failed IPC FSCTL_PIPE_TRANSCEIVE.
?? * BUG 15426: clidfs.c do_connect() missing a "return" after a
cli_shutdown()
???? call.
o? Ralph Boehme <slow at samba.org>
?? * BUG 15463: macOS mdfind returns only 50 results.
o? Volker Lendecke <vl at samba.org>
?? * BUG 15481: GETREALFILENAME_CACHE can modify incoming new filename with
???? previous cache entry value.
o? Stefan Metzmacher <metze...
2023 Oct 16
0
[Announce] Samba 4.19.2 Available for Download
...ase series.
Changes since 4.19.1
--------------------
o? Jeremy Allison <jra at samba.org>
?? * BUG 15423: Use-after-free in aio_del_req_from_fsp during smbd shutdown
???? after failed IPC FSCTL_PIPE_TRANSCEIVE.
?? * BUG 15426: clidfs.c do_connect() missing a "return" after a
cli_shutdown()
???? call.
o? Ralph Boehme <slow at samba.org>
?? * BUG 15463: macOS mdfind returns only 50 results.
o? Volker Lendecke <vl at samba.org>
?? * BUG 15481: GETREALFILENAME_CACHE can modify incoming new filename with
???? previous cache entry value.
o? Stefan Metzmacher <metze...
2000 Apr 20
0
Solaris upgrade (Samba panic)
...ame) ||
!cli_initialise(cli) ||
!cli_connect(cli, desthost, pdest_ip) ||
!cli_session_request(cli, &calling, &called)) {
DEBUG(0,("attempt_netbios_session_request: %s rejected the
session.
Error was : %s.\n", desthost, cli_errstr(cli)));
cli_shutdown(cli);
return False;
---
I'd get a new copy of Samba 2.0.6 for Solaris 7, optionally
a binary copy, and give it a try and see if the problem
immediuately disappears.
If not, we'll need to run with high log levels, and know what the
client was doing at the time.
--dave
--
David...
2002 Feb 27
1
Possible big/small endian problem Samba 2.2.2 and 2.2.3a
...call:
if (!NT_STATUS_IS_OK(cli_nt_setup_creds(pcli, trust_passwd))) {
DEBUG(0,("connect_to_domain_password_server: unable to setup the PDC
credentials to machine \
%s. Error was : %s.\n", remote_machine, cli_errstr(pcli)));
cli_nt_session_close(pcli);
cli_ulogoff(pcli);
cli_shutdown(pcli);
return(False);
}
I have about exhausted all possible things to try. Also, this works 100% on
a Intel based PC with Samba 2.2.3a.
We compared the smb.conf files between the mainframe Linux and the PC Linux
and the only thing I currently
suspect is a big/small endian problem (mainframe...
2004 Jun 03
0
ERROR: cli_session_request() failed...
...a connection is
being made properly, but the session isn't being made correctly
(whatever that is).
> if (!cli_session_request(c, &calling, &called)) <----------- this
line failing
> {
> fputs("ERROR: cli_session_request() failed...\n", stderr);
> cli_shutdown(c);
> return (NULL);
> }
On closer inspection, this function is failing on this line:
> if (CVAL(cli->inbuf,0) != 0x82) { <----- error occuring here
> /* This is the wrong place to put the error... JRA. */
> cli->rap_error = CVAL(cli->inbuf,4);
>...
2003 Oct 26
0
Patches for samba 3.0.0 client/client.c
...browse_host(True);
+ /*
if (port != 139) {
-
- /* Workgroups simply don't make sense over anything
- else but port 139... */
+ + ==== Seems not true ???? ====
+ Workgroups simply don't make sense over anything
+ else but port 139...
cli_shutdown(cli);
port = 139;
cli = do_connect(query_host, "IPC$");
}
-
+ if (cli == NULL) {
d_printf("NetBIOS over TCP disabled -- no workgroup available\n");
return 1;
}
+ */
list_servers(lp_workgroup());
@@ -2721,8 +2736,9 @@...
2000 Jan 05
1
Signal 11 in attempt_netbios_session_request
> I have just upgraded to Samba 2.0.6 and can no longer connect to Samba
> shares on my FreeBSD 3.4-RELEASE machine. When I attempt to connect, the
> smb.log contains the following information:
>
> [2000/01/04 17:54:42, 3] libsmb/namequery.c:resolve_lmhosts(566)
> resolve_lmhosts: Attempting lmhosts lookup for name
> NTWEB2.AIS.MSU.EDU<0x20>
> [2000/01/04
2020 Oct 13
0
Lookup sid with libsmbclient (invoked from c# on mono)
...4bc20, 0x5559134498a8, 0x5559146fd010, 0) = 0
20582 free(0x55591474ac00) = <void>
20582 free(0x555914733450) = <void>
20582 cli_shutdown(0x555914735d40, 0x555914733450, 0x5559146fd010, 5) = 0
20582 popt_free_cmdline_auth_info(32, 0x555914735ce0, 0x5559146fd010, 3) = 0
20582 netlogon_creds_cli_close_global_db(7, 0, 0x7f3e4dc35a40, 7) = 0
20582 _talloc_free...
2002 Sep 26
0
Samba-3.0alpha20 released
...we've failed a lock with a lock denied message before
automatically pushing it onto the blocking queue
- Added experimental sendfile code
- Initialize user_rid value in WINBIND_USERINFO structure returned by
the rpc version of query_user()
- added gencache implementation
- Merge the cli_shutdown change from 2_2
- Fixes for DeletePrinterDriverEx()
- Fixed alignment error in spoolss code
- Changed Major/Minor version info reported to Server Manager to 4.9
- Applied new display mode FLAGS for SWAT
- Update to add DEVELOPER option to more parameters
- Added --with-ads option, defaults to...
2006 Nov 10
0
libsmb/cliconnect.o build/build/krb5/lib/libcom_err.so.3
...o rpc_client/cli_lsarpc.o rpc_client/cli_samr.o
rpc_client/cli_netlogon.o rpc_client/cli_srvsvc.o rpc_client/cli_wkssvc.o
rpc_client/cli_dfs.o rpc_client/cli_reg.o rpc_client/cli_pipe.o
rpc_client/cli_spoolss.o rpc_client/cli_spoolss_notify.o
rpc_client/cli_ds.o rpc_client/cli_echo.o rpc_client/cli_shutdown.o
rpc_client/cli_svcctl.o libads/ldap.o libads/ldap_printer.o libads/sasl.o
libads/krb5_setpw.o libads/ldap_user.o libads/ads_struct.o
libads/kerberos_keytab.o libads/disp_sec.o libads/ads_utils.o
libads/ldap_utils.o libads/authdata.o libads/cldap.o libads/kerberos.o
libads/ads_status.o libads/...
2001 Dec 12
1
MacOS X Server samba diffs
...r, global_myworkgroup,
challenge, (uchar *)password, (uchar
*)password, pwd);
-#endif
/*
* Try with PAM (may not be compiled in - returns True if not. JRA).
* FIXME ! Should this be called if we're using winbindd ? What about
@@ -1656,216 +1652,3 @@
cli_shutdown(&cli);
return True;
}
-
-#ifdef DIRECTORY_SERVICE_X
-BOOL pass_check_directoryservice(char *user, char *challenge, char
*password)
-{
- tDirStatus status = eDSNoErr;
- tDirReference dirRef = NULL;
- tDirNodeReference userNodeRef = NULL;
- BOOL result = False;
-
- stat...
2004 Oct 21
0
compile errors samba 3.0.7 vfs
...39;
global/vscan-message.po(.text+0x32c): undefined reference to
`DEBUGLEVEL_CLASS'
global/vscan-message.po(.text+0x34a): undefined reference to `dbghdr'
global/vscan-message.po(.text+0x360): undefined reference to `dbgtext'
global/vscan-message.po(.text+0x372): undefined reference to `cli_shutdown'
global/vscan-message.po(.text+0x3ed): undefined reference to
`safe_strcpy_fn'
global/vscan-message.po(.text+0x43d): undefined reference to `cli_shutdown'
global/vscan-message.po: In function `send_message':
global/vscan-message.po(.text+0x477): undefined reference to
`push_ascii_...
2004 Jun 02
0
Re: samba Digest, Vol 18, Issue 3
...li_srvsvc.c
Compiling rpc_client/cli_wkssvc.c
Compiling rpc_client/cli_dfs.c
Compiling rpc_client/cli_reg.c
Compiling rpc_client/cli_pipe.c
Compiling rpc_client/cli_spoolss.c
Compiling rpc_client/cli_spoolss_notify.c
Compiling rpc_client/cli_ds.c
Compiling rpc_client/cli_echo.c
Compiling rpc_client/cli_shutdown.c
Compiling libads/ldap.c
Compiling libads/ldap_printer.c
Compiling libads/sasl.c
Compiling libads/krb5_setpw.c
Compiling libads/ldap_user.c
Compiling libads/ads_struct.c
Compiling libads/disp_sec.c
Compiling libads/ads_utils.c
Compiling libads/ldap_utils.c
Compiling libads/ads_ldap.c
Compiling lib...
2004 Jun 02
0
SAMBA 3.0.4 on AIX 5.2 configure usability question?
...li_srvsvc.c
Compiling rpc_client/cli_wkssvc.c
Compiling rpc_client/cli_dfs.c
Compiling rpc_client/cli_reg.c
Compiling rpc_client/cli_pipe.c
Compiling rpc_client/cli_spoolss.c
Compiling rpc_client/cli_spoolss_notify.c
Compiling rpc_client/cli_ds.c
Compiling rpc_client/cli_echo.c
Compiling rpc_client/cli_shutdown.c
Compiling libads/ldap.c
Compiling libads/ldap_printer.c
Compiling libads/sasl.c
Compiling libads/krb5_setpw.c
Compiling libads/ldap_user.c
Compiling libads/ads_struct.c
Compiling libads/disp_sec.c
Compiling libads/ads_utils.c
Compiling libads/ldap_utils.c
Compiling libads/ads_ldap.c
Compiling lib...