Displaying 20 results from an estimated 37 matches for "do_connect".
Did you mean:
db_connect
2000 Jun 13
1
a bug in smbmount
...1 it tries
to connect to the server. If the server already got back,
the connection will be successfully restored.
But if the server still offline and smbmount fails to reconnect,
it exit with core dump. I think it shouldn't.
I think the bug is in send_fs_socket (smbmount.c) in
infinite loop. do_connection returns NULL pointer:
c=do_connection(service);
and program don't check it.
I offer the patch which i tested and it worked for me,
but i am not an expireenced programmer:
---------------------------------------------------------------
--- smbmount.c.ORIG Thu Nov 11 00:00:00 1999
++...
2001 Feb 08
1
ssh1 keyexchange problem ?
Hi,
Has anybody produced diffs for openssh-2.3.0p1 for the rsa keyexchange
problem that Core-SDI described ? ( I noticed that fix is already
in openbsd tree ).
-Jarno
--
Jarno Huuskonen - System Administrator | Jarno.Huuskonen at uku.fi
University of Kuopio - Computer Center | Work: +358 17 162822
PO BOX 1627, 70211 Kuopio, Finland | Mobile: +358 40 5388169
2019 May 31
2
smbclient -L returns NT_STATUS_REVISION_MISMATCH
...van's password:
Anonymous login successful
Sharename Type Comment
--------- ---- -------
smb1cli_req_writev_submit: called for dialect[SMB3_11]
server[192.168.122.200]
Error returning browse list: NT_STATUS_REVISION_MISMATCH
Reconnecting with SMB1 for workgroup listing.
do_connect: Connection to 192.168.122.200 failed (Error
NT_STATUS_RESOURCE_NAME_NOT_FOUND)
Failed to connect with SMB1 -- no workgroup available
Any idea is very welcome.
Best regards,
Yvan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/...
2019 May 31
1
smbclient -L returns NT_STATUS_REVISION_MISMATCH
...Type Comment
>> --------- ---- -------
>> smb1cli_req_writev_submit: called for dialect[SMB3_11]
>> server[192.168.122.200]
>> Error returning browse list: NT_STATUS_REVISION_MISMATCH
>> Reconnecting with SMB1 for workgroup listing.
>> do_connect: Connection to 192.168.122.200 failed (Error
>> NT_STATUS_RESOURCE_NAME_NOT_FOUND)
>> Failed to connect with SMB1 -- no workgroup available
>>
>>
>> Any idea is very welcome.
>>
>> Best regards,
>> Yvan
>>
>> --
>> To unsubscribe fro...
2011 Sep 19
2
cli_push returned NT_STATUS_IO_TIMEOUT
........] OS=[Unix] Server=[Samba 3.2.5]
Sending data 'a' done
Sleep done
Sending data 'b'
cli_push returned NT_STATUS_IO_TIMEOUT
putting file - as \directory\filename (100.1 kb/s) (average 100.1 kb/s)
The last lines of a smbclient -d10:
[2011/09/19 12:02:20, 0] libsmb/clidfs.c:227(do_connect)
Domain=[.....] OS=[Unix] Server=[Samba 3.2.5]
[2011/09/19 12:02:20, 4] libsmb/clidfs.c:233(do_connect)
session setup ok
[2011/09/19 12:02:20, 10] libsmb/clitrans.c:299(cli_trans_format)
num_setup=1, max_setup=0, param_total=44, this_param=44,
max_param=2, data_total=0, this_data=0, ma...
2003 Oct 26
0
Patches for samba 3.0.0 client/client.c
...ocumentation ????
2.) Remark the code that require list_servers must using port 139.
It seems that 445 can also used.. Also a user may be forced to make a
connection to port 139, however he may wants to use port 445 only.
3.) Add OS, Domain and server name display for -L option. (Just copy
from do_connect debug message). It is better to let user always know is
the os of the remote machine.
Keith Mok
=========================================
--- client.c.orig 2003-10-27 01:38:55.000000000 +0800
+++ client.c 2003-10-27 01:38:37.000000000 +0800
@@ -49,6 +49,8 @@
static int process_tok(fstrin...
2003 Nov 19
3
Still trying to backup 66 GB from LINUX to W2K ***
...gnal, getting new socket
[2003/11/18 12:21:11, 2] lib/util_sock.c:open_socket_out(874)
error connecting to 20.20.20.1:139 (No route to host)
[2003/11/18 12:21:11, 1] libsmb/cliconnect.c:cli_connect(782)
Error connecting to 20.20.20.1 (No route to host)
[2003/11/18 12:21:11, 0] client/smbmount.c:do_connection(150)
161: Connection to ntsrvsr3 failed
[2003/11/18 12:21:59, 2] client/smbmount.c:send_fs_socket(393)
mount.smbfs[161]: got signal, getting new socket
[2003/11/18 12:41:54, 2] client/smbmount.c:send_fs_socket(393)
mount.smbfs[161]: got signal, getting new socket
[2003/11/18 12:41:54, 2] l...
2000 Jul 31
0
[patch] smbmount fixes for samba-2.0.7, testers wanted!
...e fd on the mountpoint if the ioctl fails, else the umount will
also fail because the mountpoint is busy.
* Close the socket after the ioctl. Removes a socket and memory leak.
(Roderich Schupp, Debian bug #53149
http://cgi.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=53149)
* Handle do_connection failures in send_fs_socket, else smbmount will
coredump on a null 'c' pointer.
* Abort the mount if smbmnt fails.
* Swap order of lp_load() and parse_mount_smb() to allow commandline to
override some flags (like debug level). This is similar to
client/client.c
/Urban
----------...
2019 Sep 16
2
Issue after upgrade to samba-client-4.9.1-6.el7.x86_64 - Unable to initialize messaging context
...g to run a single file print command.
smbclient --debuglevel=1 --log-basename=/mnt/autofs/logs/print/ -U bbldtl\\adminuser //$3/$2 'obscured-password' --command "print $1" | tee -a /mnt/autofs/logs/print/print.log
It would output
[2019/07/04 04:27:36, 0] libsmb/clidfs.c:232(do_connect)
Domain=[BBLDTL] OS=[Windows Server 2012 R2 Standard 9600] Server=[Windows Server 2012 R2 Standard 6.3]
[2019/07/04 04:27:36, 1] client/client.c:1883(do_put)
putting file /mnt/autofs/output/bin/Default/j8989s2bdefault.ps as j8989s2bdefault.ps-11430 (546.7 kb/s) (average 546.7 kb/s)
Now after...
2007 Apr 06
1
Authentication problems using libsmbclient API and DFS shares
...he server/share of the DFS
link.? When the code follows the path of the link, all the original
authentication information is lost.? My username, password, and
workgroup are all changed to my Unix username and the workgroup that I've
defined in smb.conf.? I'm prompted for a password from the do_connect
function and authentication to the server/share fails.
One
difference between the two scenarios is that in the first case the
cli_cm_set_credentials function is being called in the second case it's
not.? I'm not sure, but should the authentication callback function
be used when resolving...
2000 May 31
3
smbmount problems when mounted share goes offline.
(using samba-2.0.7 on Debian Linux 2.2.15)
Hi,
I'm wondering how do I get around the problem when you smbmount a share on
a win32 machine and that machine reboots, the mount becomes a blackhole. If
you attempt an 'ls', 'df' or anything that would access that mount point the
program then goes into a state of void and cannot be killed, leaving the
proc open until reboot
2019 May 31
0
smbclient -L returns NT_STATUS_REVISION_MISMATCH
...gt; Sharename Type Comment
> --------- ---- -------
> smb1cli_req_writev_submit: called for dialect[SMB3_11]
> server[192.168.122.200]
> Error returning browse list: NT_STATUS_REVISION_MISMATCH
> Reconnecting with SMB1 for workgroup listing.
> do_connect: Connection to 192.168.122.200 failed (Error
> NT_STATUS_RESOURCE_NAME_NOT_FOUND)
> Failed to connect with SMB1 -- no workgroup available
>
>
> Any idea is very welcome.
>
> Best regards,
> Yvan
>
> --
> To unsubscribe from this list go to the following URL and read...
Cannot access Windows 10 printer - but can access all other parts of teh server (disks, folders etc)
2020 Sep 20
0
Cannot access Windows 10 printer - but can access all other parts of teh server (disks, folders etc)
...Canon Printer Canon MX870 series Printer
IPC$ IPC Remote IPC
jessica Disk
print$ Disk Printer Drivers
roger Disk
Users Disk
Reconnecting with SMB1 for workgroup listing.
do_connect: Connection to 192.168.0.2 failed (Error
NT_STATUS_RESOURCE_NAME_NOT_FOUND)
Failed to connect with SMB1 -- no workgroup available
and
roger at UPSTAIRS:~/_dev1/source/languageONE$ smbtree
Unable to initialize messaging context
WORKGROUP
\\UPSTAIRS Samba 4.9.5-Debian...
2023 Oct 16
0
[Announce] Samba 4.19.2 Available for Download
...is the latest stable release of the Samba 4.19 release 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
???? previou...
2023 Oct 16
0
[Announce] Samba 4.19.2 Available for Download
...is the latest stable release of the Samba 4.19 release 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
???? previou...
2003 Nov 20
0
smbclient ls error: NT_STATUS_PATH_NOT_COVERED (user permissions are okay)
...checked from
another machine). Testparm yields no problems, and I can l
Here is an except of the error (NT_STATUS_PATH_NOT_COVERED) in context:
[bioinfo@array30 bioinfo]$ smbclient -d1 -A ~/.smbcred -I 129.85.1.211 "//rockefeller.edu/genearray"
[2003/11/20 05:45:41, 1] client/client.c:do_connect(2598)
Domain=[ROCKEFELLERNT] OS=[Windows Server 2003 3790] Server=[Windows Server 2003 3790]
smb: \> cd "Test Lab"
smb: \Test Lab\> pwd
Current directory is \\rockefeller.edu\genearray\Test Lab\
smb: \Test Lab\> ls
NT_STATUS_PATH_NOT_COVERED listing \Test Lab\*...
2003 Nov 21
0
Re: smbclient ls error: NT_STATUS_PATH_NOT_COVERED
...uick capture of the smbclient problem is below. This is a self
compiled version, and I removed the previously installed binary (so no
conflicts).
[bioinfo@array30 bioinfo]$ smbclient -d1 -A ~/.smbcred -I 129.85.1.211
"//rockefeller.edu/genearray"
[2003/11/20 05:45:41, 1] client/client.c:do_connect(2598)
Domain=[ROCKEFELLERNT] OS=[Windows Server 2003 3790] Server=[Windows
Server 2003 3790]
smb: \> cd "Test Lab"
smb: \Test Lab\> pwd
Current directory is \\rockefeller.edu\genearray\Test Lab\
smb: \Test Lab\> ls
NT_STATUS_PATH_NOT_COVERED listing \Test Lab\*...
2013 May 30
0
“Unable to connect to libvirt” (xen, xl toolstack, and virt-manager)
...18 05:44:47.618+0000: 1304: error : xenHypervisorDoV2Sys:1006 :
Unable to issue hypervisor ioctl 3166208: Permission denied
2013-05-18 05:44:47.619+0000: 1304: error : xenHypervisorDoV2Sys:1006 :
Unable to issue hypervisor ioctl 3166208: Permission denied
2013-05-18 05:44:47.635+0000: 1304: error : do_connect:103 : internal error
failed to connect to xend
2013-05-18 05:44:47.636+0000: 1304: error : xenDaemonOpen_tcp:700 : unable
to connect to 'localhost:8000': Connection refused
2013-05-18 05:45:13.647+0000: 1289: error : virNetSocketReadWire:1362 :
Cannot recv data: Connection reset by peer
2018 Dec 27
1
FreeBSD, Libmd5, samba 4.9.4 & "smbclient -L" (using password) -> core dump
...y=0x811a84080, ev=ev at entry=0x811a582e0, status=status at entry=0x7fffffffdbf4)
at ../lib/util/tevent_ntstatus.c:109
#22 0x0000000801d66efd in cli_session_setup_creds (cli=<optimized out>, creds=creds at entry=0x811a8b060) at ../source3/libsmb/cliconnect.c:1795
#23 0x0000000801d82728 in do_connect (ctx=ctx at entry=0x811a1d1e0, server=<optimized out>, server at entry=0x811a46250 "filur00", share=<optimized out>,
auth_info=auth_info at entry=0x811a3e200, force_encrypt=force_encrypt at entry=false, max_protocol=max_protocol at entry=13, port=0, name_type=32, pcli=0x7f...
2004 Jan 19
0
smbclient connect problem
...t NTLMSSP neg_flags=0x60890215
[2004/01/19 17:59:08, 3]
libsmb/ntlmssp.c:ntlmssp_client_challenge(518)
NTLMSSP: Set final flags:
[2004/01/19 17:59:08, 3]
libsmb/ntlmssp.c:debug_ntlmssp_flags(33)
Got NTLMSSP neg_flags=0x60080215
Anonymous login successful
[2004/01/19 17:59:10, 1]
client/client.c:do_connect(2598)
Domain=[MERRIT] OS=[Windows 5.0] Server=[Windows
2000 LAN Manager]
tree connect failed: NT_STATUS_ACCESS_DENIED
This is what I get without the -N OPTION:
smbclient //guelyb-2k-2/pool mypassword -U GUELYB -d3
[2004/01/19 18:14:23, 3]
param/loadparm.c:lp_load(3926)
lp_load: refreshing pa...