Displaying 3 results from an estimated 3 matches for "smb_dir".
2006 Jul 01
3
cifs mounts in smbfstab
Hello,
I have the following in /etc/samba/smbfstab;
//msserver/share /mnt/smb-share cifs
file_mode=0777,dir_mode=0777,credentials=/etc/cifsusers/admin,rw
However, when using 'mount /mnt/smb_dir' I get;
mount: can't find /mnt/smb_dir in /etc/fstab or /etc/mtab
Using 'mount -a' doesn't mount either.
If I use "smbmount /mnt/smb_dir" I get;
Could not resolve mount point
I get the same error if I use the IP address in place of the server name in
smbfstab.
An...
2006 Oct 17
0
[PATCH] misc compile fixes for tools on Solaris
...\n", (long)getpid());
if (write(fd, buf, len) < 0)
exit(1);
diff --git a/tools/ioemu/vl.c b/tools/ioemu/vl.c
--- a/tools/ioemu/vl.c
+++ b/tools/ioemu/vl.c
@@ -3028,7 +3028,7 @@ void net_slirp_smb(const char *exported_
}
/* XXX: better tmp dir construction */
- snprintf(smb_dir, sizeof(smb_dir), "/tmp/qemu-smb.%d", getpid());
+ snprintf(smb_dir, sizeof(smb_dir), "/tmp/qemu-smb.%ld", (long)getpid());
if (mkdir(smb_dir, 0700) < 0) {
fprintf(stderr, "qemu: could not create samba server dir ''%s''\n", smb_dir);...
2019 May 29
1
How to improve the performance with unix_convert ?
...ull_scan in the filename.c .the client will be failed to find some file .but the write speed will be improved .
static int get_real_filename_full_scan(connection_struct *conn,
const char *path, const char *name,
bool mangled,
TALLOC_CTX *mem_ctx, char **found_name)
{
struct smb_Dir *cur_dir;
const char *dname = NULL;
char *talloced = NULL;
char *unmangled_name = NULL;
long curpos;
struct smb_filename *smb_fname = NULL;
/* handle null paths */
if ((path == NULL) || (*path == 0)) {
path = ".";
}
/* If we have a case-sensitive filesystem, it doesn't do us any
*...