search for: cli_errstr

Displaying 13 results from an estimated 13 matches for "cli_errstr".

2000 Jul 31
0
[patch] smbmount fixes for samba-2.0.7, testers wanted!
...ion failed\n"); + DEBUG(0,("protocol negotiation failed\n")); cli_shutdown(c); return NULL; } @@ -184,7 +178,7 @@ password, strlen(password), password, strlen(password), workgroup)) { - fprintf(stderr, "session setup failed: %s\n", cli_errstr(c)); + DEBUG(0,("session setup failed: %s\n", cli_errstr(c))); return NULL; } @@ -192,7 +186,7 @@ if (!cli_send_tconX(c, share, "?????", password, strlen(password)+1)) { - fprintf(stderr,"tree connect failed: %s\n", cli_errstr(c)); + DEBUG(0,(&quo...
2000 Jan 05
1
Signal 11 in attempt_netbios_session_request
...llowing output: > (gdb) bt > #0 0x28170ae8 in kill () from /usr/lib/libc.so.3 > #1 0x281a4f1c in abort () from /usr/lib/libc.so.3 > #2 0x80c4a66 in smb_panic () > #3 0x80b8aee in fault_report () > #4 0x80b8b2b in sig_fault () > #5 0xbfbfdfcc in ?? () > #6 0x807c5a5 in cli_errstr () > #7 0x8081aeb in attempt_netbios_session_request () > #8 0x80514f2 in server_cryptkey () > #9 0x805ae50 in reply_nt1 () > #10 0x805b332 in reply_negprot () > #11 0x807390f in switch_message () > #12 0x8073987 in construct_reply () > #13 0x8073afc in process_smb () > #...
1999 Apr 08
0
Keep-timestamp-in-`get'-patch for smbclient in samba-2.0.3
...time etc. */ +#if 0 + if (!cli_qfileinfo(cli, fnum, + &attr, &size, &c_time, &a_time, &m_time, &w_time, + NULL) && + !cli_getattrE(cli, fnum, + &attr, &size, &c_time, &a_time, &m_time)) { + DEBUG(0,("getattrib: %s\n",cli_errstr(cli))); + return; + } +#else /* Use samba-2.0.3 original code here. see below. */ if (!cli_qfileinfo(cli, fnum, &attr, &size, NULL, NULL, NULL, NULL, NULL) && !cli_getattrE(cli, fnum, @@ -513,6 +550,7 @@ DEBUG(0,("getattrib: %s\n",cli_errstr(cli)));...
2000 Feb 08
0
[2.0.7pre1] found 'server = domain' directive ...
.../libnsl.so.1...done. Reading symbols from /usr/lib/libdl.so.1...done. Reading symbols from /usr/lib/libpam.so.1...done. Reading symbols from /usr/lib/libc.so.1...done. Reading symbols from /usr/lib/libmp.so.2...done. #0 0x31014 in cli_error () (gdb) where #0 0x31014 in cli_error () #1 0x2bc68 in cli_errstr () #2 0x3f5fc in modify_trust_password () #3 0x3fb88 in change_trust_account_password () #4 0x241ec in join_domain () #5 0x2463c in process_root () #6 0x24d74 in main () Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org
2000 Apr 20
0
Solaris upgrade (Samba panic)
...(&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 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...
2002 Feb 27
1
Possible big/small endian problem Samba 2.2.2 and 2.2.3a
...onnect_to_domain_password_server routine, it seems as we fail on the very last 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...
2011 Oct 20
3
[Announce] Samba 3.6.1 Available for Download
...; * BUG 8256: Add man vfs_aio_fork. * BUG 8363: Fix build of vfs_prealloc on SLES8. o Volodymyr Khomenko <Volodymyr_Khomenko at dell.com> * BUG 8515: Disallow "." in can_set_delete_on_close(). o Volker Lendecke <vl at samba.org> * BUG 7864: Fix usage of cli_errstr(). * BUG 8334: smb2: smbd logs "Invalid SMB packet: first request: 0x0008" and crashes. * BUG 8338: Add a fallback for missing open&x support in MAC OS/X Lion. * BUG 8360: OS/2 sends an unexpected write&x/read&x chain. * BUG 8385: Fix smbclient access to NT4 sh...
2011 Oct 20
3
[Announce] Samba 3.6.1 Available for Download
...; * BUG 8256: Add man vfs_aio_fork. * BUG 8363: Fix build of vfs_prealloc on SLES8. o Volodymyr Khomenko <Volodymyr_Khomenko at dell.com> * BUG 8515: Disallow "." in can_set_delete_on_close(). o Volker Lendecke <vl at samba.org> * BUG 7864: Fix usage of cli_errstr(). * BUG 8334: smb2: smbd logs "Invalid SMB packet: first request: 0x0008" and crashes. * BUG 8338: Add a fallback for missing open&x support in MAC OS/X Lion. * BUG 8360: OS/2 sends an unexpected write&x/read&x chain. * BUG 8385: Fix smbclient access to NT4 sh...
2000 Jan 20
2
samba 2.0.6 on Irix 6.5.6m core dump problem (internal error)
...0, 0x0, 0x1, 0x2, 0x7fff24f0, 0x0) ["/xlv44/6.5.6m/work/irix/lib/libc/libc_n32_M3/signal/sigtramp.s":71, 0xfaccd20] 7 cli_error(cli = 0x10108b70, eclass = (nil), num = 0x1012f030, nt_rpc_error = 0x100735f0) ["/usr3/samba-2.0.6/source/libsmb/clientgen.c":2691, 0x1006d374] 8 cli_errstr(cli = 0x1012f030) ["/usr3/samba-2.0.6/source/libsmb/clientgen.c":214, 0x1006625c] 9 attempt_netbios_session_request(cli = 0x30, srchost = 0xfbdc418 = "\377\377\377\377", desthost = 0x1012f030 = "", pdest_ip = 0x1002051c) ["/usr3/samba-2.0.6/source/libsmb/client...
2003 Dec 01
0
No subject
...+ off_t hashbytes = HASHBYTES; + + GetTimeOfDay(&tp_start); + + if (lowercase) { + strlower(lname); + } + + fnum = cli_open(cli, rname, O_RDONLY, DENY_NONE); + + if (fnum == -1) { + DEBUG(0,("%s opening remote file %s\n",cli_errstr(cli),rname)); + return; + } + + if(!strcmp(lname,"-")) { + handle = fileno(stdout); + } else { + struct stat stbuf; + int ret; + + ret = stat(lname, &stbuf); + if (ret < 0) { + DEBUG...
2004 Oct 21
0
compile errors samba 3.0.7 vfs
...vscan-message.po(.text+0x4c2): undefined reference to `cli_message_start' global/vscan-message.po(.text+0x4cf): undefined reference to `DEBUGLEVEL_CLASS' global/vscan-message.po(.text+0x4f4): undefined reference to `dbghdr' global/vscan-message.po(.text+0x511): undefined reference to `cli_errstr' global/vscan-message.po(.text+0x531): undefined reference to `cli_message_text' global/vscan-message.po(.text+0x53e): undefined reference to `DEBUGLEVEL_CLASS' global/vscan-message.po(.text+0x563): undefined reference to `dbghdr' global/vscan-message.po(.text+0x580): undefined re...
2010 Oct 20
0
No subject
.../* get file attributes */ if (!cli_getattrE(cli_share_src, fnum_src, &attr, NULL, &f_ctime, &f_atime, &f_mtime)) { DEBUG(0,("failed to get file-attrs: %s\n", cli_errstr(cli_share_src))); nt_status =3D cli_nt_error(cli_share_src); goto out; } } If there is error then go out without any continue. This is ok, I want get error on oher failures. But this is first one.... after some smbd debug fou...
2003 Dec 01
0
No subject
...= io_bufsize; + uint16 attr; + size_t size; + off_t nread = 0; + off_t hashbytes = HASHBYTES; + + GetTimeOfDay(&tp_start); + + if (lowercase) { + strlower(lname); + } + + fnum = cli_open(cli, rname, O_RDONLY, DENY_NONE); + + if (fnum == -1) { + DEBUG(0,("%s opening remote file %s\n",cli_errstr(cli),rname)); + return; + } + + if(!strcmp(lname,"-")) { + handle = fileno(stdout); + } else { + struct stat stbuf; + int ret; + + ret = stat(lname, &stbuf); + if (ret < 0) { + DEBUG(2, ("local: %s: %s\n", lname, strerror(errno))); + return; + } +...