Displaying 10 results from an estimated 10 matches for "smbc_opendir".
2002 Nov 29
0
libsmbclient problem
...network. The first is everything-master
and wins server, the second is nothing like that. The program works fine
if I run it on the first server (using the /etc/smb.conf) but it doesn't
work on the second samba server (using its /etc/smb.conf).
errors:
1) list all workgroups
$ ./list smb://
smbc_opendir: Invalid argument
# means: A NULL file/URL was passed, or the URL would not parse, or was
of incorrect form or smbc_init not called.
# lists the available workgroups when called on first server
2) list servers in workgroup RATNET
$ ./list smb://RATNET/
smbc_opendir: No such device
# means: the...
2017 May 29
1
samba-4.5.x Doesn't work against Anonymous login to windows
Hi List,
I have samba-4.1.x and samba-4.5.x.
Windows 7 has an user with no password (anonymous login allowed).
I am trying to connect to windows 7 from smbc calls.
call smbc_opendir() with username and empty password.
When smbc_opendir() is called from samba-4.5.x "SPNEGO(ntlmssp) login
failed: NT_STATUS_WRONG_CREDENTIAL_HANDLE" is returned.
But the same call from samba-4.1.x is no problem.
If any password is given along with user smbc_opendir() succeeds in
samba-4....
2007 Apr 06
1
Authentication problems using libsmbclient API and DFS shares
...7
.
.
.
?
sag.pdf??????????????????????
A?? 869300? Thu Mar 29 12:40:14 2007
???????????????
65389 blocks of size 65536. 36659 blocks available
smb: \Link2\>
showconnect
//Fileserv-2/FileShare2
smb: \Link2\>
However, problems ensue when I try to connect using the
smbc_open and smbc_opendir functions.? Tracing execution under gdb I
see that my authentication callback function is being called every time I
use the smbc_opendir function (that's good).? I can authenticate
without any problems to the DFS root, but the problem occurs when Samba
tries to traverse the DFS tree.? In this c...
2007 Sep 19
0
Authentication problems using libsmbclient to traverse DFS links
...f A 2069818 Thu Mar 29 12:39:04
2007
.
.
.
sag.pdf A
869300 Thu Mar 29 12:40:14 2007
65389 blocks of size 65536. 36659 blocks available
smb:
\Link2\>
showconnect
//Fileserv-2/FileShare2
smb:
\Link2\>
However, problems ensue when I try to connect using the smbc_open and
smbc_opendir functions.
Tracing execution under gdb I see that my authentication callback
function is being called every time I use the smbc_opendir
function (that's good). I can authenticate without any problems to
the DFS root,but the problem occurs when Samba tries to
traverse the DFS tree. In this case...
2002 Nov 28
0
problem with smbc_init in libsmbclient
Hi,
I have attached a very simple c program, that first does a smbc_init and
then a smbc_opendir. The problem: smbc_init return an error (No such file
or directory) and then i get a segmentation fault. I don't know what
possibly could be the problem. Maybe some of you guys have an idea. I
think i have libsmbclient from samba 2.2.7(compiled on my own system) and
the rest of the samba stuff...
2004 Apr 19
0
libsmbclient vs. C++
Is it possible to use libsmbclient with C++?
I make a sample program. When I try to make it, I got the following errors:
In function `main':
undefined reference to `smbc_init
undefined reference to `smbc_opendir
When I change the extension to .c, the build was successfully.
I use Mandrake cooker with gcc-3.3.2.
2007 Aug 21
3
Segment violation during the list of directory with smbc_readdir
...struct smbc_dirent *smbdi;
char *smb_url = "smb://SERVER/Archive/NOT EMPTY";
if(smbc_init(get_auth, 0) < 0)
{
fprintf(stderr, "error initializing libsmbclient: %s\n",
strerror(errno));
return -1;
}
if((smbdh = smbc_opendir(smb_url)) < 1)
{
fprintf(stderr,"Unable to open directory: %s", strerror(errno));
return -1;
}
while((smbdi = smbc_readdir(smbdh)) != NULL)
{
fprintf(stderr, "%s\n", smbdi->name);
}
printf("DONE\n");
return 0...
2018 Apr 17
1
[Announce] Samba 4.7.7 Available for Download
...67: dsdb: Fix CID 1034966 Uninitialized scalar variable.
o Stefan Metzmacher <metze at samba.org>
* BUG 13206: s3:libsmb: Allow -U"\\administrator" to work.
* BUG 13328: Windows 10 cannot logon on Samba NT4 domain.
o David Mulder <dmulder at suse.com>
* BUG 13050: smbc_opendir should not return EEXIST with invalid login
credentials.
o Anton Nefedov
* BUG 13338: s3:smbd: map nterror on smb2_flush errorpath.
o Dan Robertson <drobertson at tripwire.com>
* BUG 13310: libsmb: Use smb2 tcon if conn_protocol >= SMB2_02.
o Garming Sam <garming at cat...
2018 Apr 17
1
[Announce] Samba 4.7.7 Available for Download
...67: dsdb: Fix CID 1034966 Uninitialized scalar variable.
o Stefan Metzmacher <metze at samba.org>
* BUG 13206: s3:libsmb: Allow -U"\\administrator" to work.
* BUG 13328: Windows 10 cannot logon on Samba NT4 domain.
o David Mulder <dmulder at suse.com>
* BUG 13050: smbc_opendir should not return EEXIST with invalid login
credentials.
o Anton Nefedov
* BUG 13338: s3:smbd: map nterror on smb2_flush errorpath.
o Dan Robertson <drobertson at tripwire.com>
* BUG 13310: libsmb: Use smb2 tcon if conn_protocol >= SMB2_02.
o Garming Sam <garming at cat...
2018 Nov 01
4
Kodi crashes when trying to browse network
...e at entry=0x7fe7884799ed "\001\002__MSBROWSE__\002",
name_type=name_type at entry=1,
mem_ctx=0x55b087176150, return_iplist=return_iplist at entry=0x7ffeb252ba50,
return_count=return_count at entry=0x7ffeb252ba48) at
../source3/libsmb/namequery.c:1916
#9 0x00007fe788464b2a in SMBC_opendir_ctx (context=0x55b08715a250,
fname=0x7ffeb252bf40 "smb://")
at ../source3/libsmb/libsmb_dir.c:603
#10 0x00007fe788461935 in smbc_opendir (durl=0x7ffeb252bf40 "smb://")
at ../source3/libsmb/libsmb_compat.c:253
#11 0x000055b0832d4f62 in XFILE::CSMBDirectory::OpenDir(CUR...