search for: cli_connect

Displaying 20 results from an estimated 36 matches for "cli_connect".

2006 Jun 19
1
getpeername failed
...ddr(1150) [2006/06/16 08:36:31, 0] lib/util_sock.c:get_peer_addr(1150) [2006/06/16 08:36:31, 0] lib/util_sock.c:get_peer_addr(1150) [2006/06/16 08:36:31, 0] lib/util_sock.c:get_peer_addr(1150) [2006/06/16 08:40:53, 1] lib/util_sock.c:open_socket_out(774) [2006/06/16 08:40:53, 1] libsmb/cliconnect.c:cli_connect(1330) [2006/06/16 08:45:55, 1] lib/util_sock.c:open_socket_out(774) [2006/06/16 08:45:55, 1] libsmb/cliconnect.c:cli_connect(1330) ....... [2006/06/16 08:59:01, 0] lib/util_sock.c:get_peer_addr(1150) [2006/06/16 08:59:01, 0] lib/util_sock.c:get_peer_addr(1150) [2006/06/16 08:59:01, 0] lib/util_sock...
2001 Nov 16
1
samba-2.2-CVS compile problem
hi! i am d/l latest cvs (2.2 branch) at 2001-11-16, but got problem compiling. Linking bin/smbd rpc_client/cli_connect.o: In function `cli_con_get': rpc_client/cli_connect.o(.text+0x58): undefined reference to `copy_user_creds' rpc_client/cli_connect.o(.text+0x108): undefined reference to `create_ntc_from_cli_state' rpc_client/cli_connect.o(.text+0x115): undefined reference to `copy_nt_creds' rpc_cl...
2005 Sep 27
2
Samba/Firewall issues?
Greetings, I am running into *possible* Samba/Firewall issues. Our Samba v3.0.11 server is also running iptables. In our log.nmbd file we have noticed the following: [2005/09/27 15:43:41, 1] libsmb/cliconnect.c:cli_connect(1313) Error connecting to 130.xx.xx.xx (Connection refused) [2005/09/27 15:50:21, 0] libsmb/nmblib.c:send_udp(790) Packet send failed to 130.xx.xx.xx(138) ERRNO=Operation not permitted [2005/09/27 14:07:57, 1] libsmb/cliconnect.c:cli_connect(1313) Error connecting to 130.xx.xx.xx (No route...
2006 Jun 15
1
authentication problems
Hello, I have set up a samba server 3.1.2. I want to run it as a PDC. Final target is to use it with LDAP and Kerberos. At the moment I use tdbsam as backend. I have authentication problems. Everything is running, I have set the root password, I have created some user account on SAMBA and UNIX. I am lost. I followed the docs (Examples) except for the firewalling and BDC setup (I don't need
2005 Sep 05
9
Samba Printing Extremely Slow from Windows XP
...ons? Thanks a ton in advance... Log from samba: [2005/09/05 00:37:12, 1] lib/util_sock.c:open_socket_out(774) timeout connecting to 192.168.0.3:445 [2005/09/05 00:37:29, 1] lib/util_sock.c:open_socket_out(774) timeout connecting to 192.168.0.3:139 [2005/09/05 00:37:29, 1] libsmb/cliconnect.c:cli_connect(1330) Error connecting to 192.168.0.3 (Operation already in progress) [2005/09/05 00:37:29, 0] rpc_server/srv_spoolss_nt.c:spoolss_connect_to_client(2 606) spoolss_connect_to_client: unable to connect to SMB server on machine MYMACHINENAME. Error was : SUCCESS - 0. [2005/09/05 00:37:47, 1] lib...
2000 Jul 17
0
[PATCH] `smbclient -M' ignores `-p port'
...s bug. > > Peter > > --- samba-2.0.x/source/client/client.c~ Mon Jul 3 01:15:21 2000 > +++ samba-2.0.x/source/client/client.c Sun Jul 16 15:33:34 2000 > @@ -2164,7 +2164,8 @@ > ip = ipzero; > if (have_ip) ip = dest_ip; > > - if (!(cli=cli_initialise(NULL)) || !cli_connect(cli, desthost, &ip)) { > + if (!(cli=cli_initialise(NULL)) || !cli_set_port(cli, port) || > + !cli_connect(cli, desthost, &ip)) { > DEBUG(0,("Connection to %s failed\n", desthost)); > return 1; > }
2003 Oct 26
0
Patches for samba 3.0.0 client/client.c
...) @@ -2533,7 +2535,9 @@ if (have_ip) ip = dest_ip; /* have to open a new connection */ - if (!(c=cli_initialise(NULL)) || (cli_set_port(c, port) != port) || + + if (!(c=cli_initialise(NULL)) || !(c->timeout = connect_timeout) || + (cli_set_port(c, port) != port) || !cli_connect(c, server_n, &ip)) { d_printf("Connection to %s failed\n", server_n); return NULL; @@ -2650,22 +2654,33 @@ if (!cli) return 1; + if (*cli->server_domain) { + printf("Domain=[%s] OS=[%s] Server=[%s]\n", + cli->server_dom...
2007 Mar 20
1
samba errors when using windows xp home edition
...nts to use in both networks. He does not log on to the domain like other employees but only accesses the shares. He complains that office hangs when he is working on an excel sheet that's on the server. I also noticed some errors in te logson both servers, for example: libsmb/cliconnect.c:cli_connect(1330) ?Error connecting to 192.168.2.236 (Operation already in progress) : 1 Time(s) Or ?lib/util_sock.c:write_data(557) ?write_data: write failure in writing to client 192.168.2.236. Error Broken pipe : 1 Time(s) Can this have something to do with XP home or not logging onto the domain? I T...
2003 Jul 29
1
Using print$ / timeouts to port 445...
...ing'. While that happens, my samba.log shows : 2003/07/29 16:44:40, 2] lib/access.c:check_access(327) Allowed connection from (myipaddress) [2003/07/29 16:45:02, 1] lib/util_sock.c:open_socket_out(860) timeout connecting to (myipaddress):445 [2003/07/29 16:45:22, 1] libsmb/cliconnect.c:cli_connect(782) Error connecting to (myipaddress) (Operation already in progress) [2003/07/29 16:45:22, 0] rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(91) connect_to_client: unable to connect to SMB server on machine MACHINE-NAME. Error was : SUCCESS - 0. [2003/07/29 16:45:22, 2] lib/access....
2003 Nov 19
3
Still trying to backup 66 GB from LINUX to W2K ***
...t - Connection refused [2003/11/18 12:21:01, 2] client/smbmount.c:send_fs_socket(393) mount.smbfs[161]: got signal, 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] clie...
2007 Sep 05
0
(no subject)
...n I have: [2006/03/29 08:34:16, 2] lib/util_sock.c:open_socket_out(789) error connecting to 192.168.1.2:445 (No route to host) [2006/03/29 08:34:19, 2] lib/util_sock.c:open_socket_out(789) error connecting to 192.168.1.2:139 (No route to host) [2006/03/29 08:34:19, 1] libsmb/cliconnect.c:cli_connect(1326) Error connecting to 192.168.1.2 (No route to host) [2006/03/29 08:34:22, 2] lib/util_sock.c:open_socket_out(789) error connecting to 192.168.1.2:445 (No route to host) [2006/03/29 08:34:25, 2] lib/util_sock.c:open_socket_out(789) error connecting to 192.168.1.2:139 (No route to hos...
2000 Jul 16
1
"smbclient -p <port>" appears to be broken in Samba 2.x
I posted this problem as a question to this list a while ago and got no reply. I submitted it as a bug, but found that "samba-bugs@samba.org", no longer accepts bug reports, even though the web page says to send them to that address. Wondering if the option had been intentionally discontinuted without updating the man page, I made a quick check of the source and found that the "-p
2008 Nov 21
2
Why does the server want to connect to a client
...ages (repeating several times) in the client log: [2008/11/21 08:17:28, 1] lib/util_sock.c:open_socket_out(888) timeout connecting to 10.1.0.253:445 [2008/11/21 08:17:37, 1] lib/util_sock.c:open_socket_out(888) timeout connecting to 10.1.0.253:139 [2008/11/21 08:17:37, 1] libsmb/cliconnect.c:cli_connect(1505) Error connecting to 10.1.0.253 (Operation already in progress) [2008/11/21 08:17:37, 1] libsmb/cliconnect.c:cli_start_connection(1568) cli_start_connection: failed to connect to IT-09<20> (10.1.0.253). Error NT_STATUS_ACCESS_DENIED Why does the server tries to open a connection...
2004 Mar 30
1
Windows printing problems to Samba3.2
...have problems connecting, getting the "Unable to Connect" message in the printer folder. Here is the log.smbd messages: [2004/03/30 15:42:35, 2] lib/util_sock.c:open_socket_out(746) error connecting to 192.168.115.56:139 (Invalid argument) [2004/03/30 15:42:35, 1] libsmb/cliconnect.c:cli_connect(1261) Error connecting to 192.168.115.56 (Invalid argument) [2004/03/30 15:42:35, 0] rpc_server/srv_spoolss_nt.c:spoolss_connect_to_client(2588) spoolss_connect_to_client: unable to connect to SMB server on machine LINUS2. Error was : SUCCESS This occurs for a few different clients, all runnin...
2008 Apr 30
1
samba in NATed network
...nd_smb(769) Error writing 4 bytes to client. -1. (Connection reset by peer) Searching on google It seems that this is caused by smb ports=445 139 and can be fixed by setting it to smb ports=445. I already made this change. Second on samba/log.nmbd [2008/04/30 14:25:31, 1] libsmb/cliconnect.c:cli_connect(1369) Error connecting to 4.5.6.7 (Operation already in progress) [2008/04/30 14:40:40, 1] lib/util_sock.c:open_socket_out(896) timeout connecting to 4.5.6.7:139 Here it looks like samba is trying to initiate a connection using the NAT/firewall public IP, which is never going to work since th...
2005 Feb 06
0
odd swat issues, odd printer issue, odd crashes..
....0.201 ) [2005/02/06 01:05:30, 2] lib/util_sock.c:open_socket_out(772) error connecting to 192.168.0.200:445 (Connection refused) [2005/02/06 01:05:30, 2] lib/util_sock.c:open_socket_out(772) error connecting to 192.168.0.200:139 (Connection refused) [2005/02/06 01:05:30, 1] libsmb/cliconnect.c:cli_connect(1297) Error connecting to 192.168.0.200 (Connection refused) [2005/02/06 01:05:30, 2] lib/util_sock.c:open_socket_out(772) error connecting to 192.168.0.200:445 (Connection refused) [2005/02/06 01:05:30, 2] lib/util_sock.c:open_socket_out(772) error connecting to 192.168.0.200:139 (Connection...
2002 Sep 07
2
UNICAST cross-subnet browsing, Port 445 vs. 139, and Win2k
...--------------------------------------------------------------- Now my questions: 1) I figure this to be some kind of misconfigured W2K server at the other end, correct ? Why does the connection to port 449 succeed, yet fail to serve up all the desired info ?? 2) The code in libsmb/cliconnect.c, cli_connect ALWAYS tries port 449 first, then falls back to port 139 if the open fails. In my case the open DOESN'T fail so I never fall back to port 139, which in my case would solve my browsing issues. It does NOT appear that there is any way to override this behavior. Would it be beneficial (or detrimen...
2004 Jun 09
2
use password server= when security=ADS or not???
Dear list, I?m using samba 3.0.4 on a RHL9 server as domain member in a W2k3 ADS (native) environment. The shares on the Samba server are used by XP clients and these clients get the shares via scripting while they logon on the ADS. In the ADS domain there are several ADS servers (on remote locations, connected via routers) that have the same global catalog. This means that an XP client that
2005 Oct 20
0
Unable to join domain
..._socket_out(774) timeout connecting to X.X.Y.117:445 [2005/10/19 11:33:03, 3] lib/util_sock.c:open_socket_out(752) Connecting to X.X.Y.117 at port 139 [2005/10/19 11:33:11, 1] lib/util_sock.c:open_socket_out(774) timeout connecting to X.X.Y.117:139 [2005/10/19 11:33:11, 1] libsmb/cliconnect.c:cli_connect(1306) Error connecting to X.X.Y.117 (Operation already in progress) [2005/10/19 11:33:11, 1] libsmb/cliconnect.c:cli_start_connection(1386) cli_full_connection: failed to connect to EAGLE.DOMAIN<20> (X.X.Y.117) [2005/10/19 11:33:11, 1] utils/net.c:connect_to_ipc_anonymous(207) Cannot co...
2000 Apr 20
0
Solaris upgrade (Samba panic)
...39;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, &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...