Questions tagged [smb]

Server Message Block, network-protocol for sharing files and printers implemented by Windows, Samba and others

896 questions
10
votes
2 answers

Does Windows 7 actually support the SMB core protocol?

I have started the development of a SMB server for an old Z80 based machine. This machine runs a very simple, MS-DOS like operating system (no multitask, no concept of users, FAT filesystem only, no unicode, 8.3 filenames only) and has limited…
Konamiman
  • 49,681
  • 17
  • 108
  • 138
10
votes
5 answers

Always permission 777 on mount shared cifs

I have a little problem when I mount a SMB shared folder from a Synology NAS. I want to mount a shared folder with permissions: git:root 700 But the mounted folder always have permission set to 777 ( even after a chmod 700 without error) In my…
David
  • 1,177
  • 3
  • 11
  • 26
10
votes
2 answers

How do I configure a Vista Ultimate (64bit) account so it can access a SMB share on OSX?

I have Windows File sharing enabled on an OS X 10.4 computer. It's accessible via \rudy\myshare for all the Windows users on the network, except for one guy running Vista Ultimate 64-bit edition. All the other users are running Vista or XP, all…
Joe Mahoney
  • 903
  • 6
  • 14
10
votes
6 answers

Does iOS support file operations via SMB?

Does iOS (or iPhone OS) support file operations via SMB network shares? If so, are there any documents about how to do this?
Dieter
  • 191
  • 1
  • 1
  • 6
10
votes
5 answers

Escape special characters in mount command

I am trying to mount a windows shared folder on Mac OSX Mavericks. A simplistic user name and password worked fine mount -t smbfs //user2:password2@server1.mydomain.com/myproject ~/localmap On trying out the more valid user name and password I am…
Karthick
  • 275
  • 1
  • 4
  • 14
10
votes
1 answer

Unable to connect to windows shares

I'm using the pysmb library to query shares/directory structures on SMB/CIFS network shares. def ListShares(Server, Username=None, Password=None, Domain=None): Ip = socket.gethostbyname(Server) conn = SMBConnection(Username, …
Basic
  • 26,321
  • 24
  • 115
  • 201
9
votes
2 answers

JCIFS SmbException

I am trying to access a shared folder in my company network via JCIFS. But when i try to list the files under the shared folder, it throws an SmbException as below, jcifs.smb.SmbException: 0xC000009A at…
Kathir
  • 6,136
  • 8
  • 36
  • 67
9
votes
2 answers

how to connect to samba server running in docker

I am running Docker Version 17.09.0-ce-mac35 on mac. I want to have a samba server running as part of a docker container and then connect to the running samba server from my mac. I'm using https://github.com/dperson/samba for this. I run the samba…
Anthony
  • 33,838
  • 42
  • 169
  • 278
9
votes
1 answer

Exit codes of smbclient

i've a problem with the commandline command "smbclient" of samba on arm. I wrote a script to download files from a Windows Share. Here the smb-part of this script. smbclient //CNAME/SNAME -I0.0.0.0 -N -c "case_sensitive; cd folder; prompt; mget…
Korbi
  • 714
  • 1
  • 9
  • 18
8
votes
1 answer

Understanding smb and DCERPC for remote command execution capabilities

I'm trying to understand all the methods available to execute remote commands on Windows through the impacket scripts: https://www.coresecurity.com/corelabs-research/open-source-tools/impacket https://github.com/CoreSecurity/impacket I understand…
user134167
  • 195
  • 3
  • 9
8
votes
1 answer

Connect to SMB Server over command line

What is the equivalent to "Connect To Server" on the mac for the command line? I would like to automate the process rather than summon the dialog every time I need to connect to a server.
Helmut Granda
  • 4,565
  • 7
  • 35
  • 51
8
votes
3 answers

Ignore synced folder files/directories with NFS as sync system for Vagrant

Is there any way to make NFS to ignore specified files and/or directories from the synced folder? I have done it with rsync (rsync__exclude), but don't find any reference for NFS. I'm also looking for a solution for SMB. Any ideas?
Manolo
  • 24,020
  • 20
  • 85
  • 130
8
votes
4 answers

SMB Client Commands Through Shell Script

I have a shell script, which I am using to access the SMB Client: #!/bin/bash cd /home/username smbclient //link/to/server$ password -W domain -U username recurse prompt mput baclupfiles exit Right now, the script runs, accesses the server, and…
Dustin Cook
  • 1,215
  • 5
  • 26
  • 44
8
votes
2 answers

Mapping and Remapping Network Drives with Different Users on Win7

I am currently trying to develop an automated client-side test of a server that contains a network share. However, I need to verify its security by connecting with more than one user, although I only need to connect one user at a time. Currently, I…
user3846506
  • 196
  • 1
  • 1
  • 11
8
votes
7 answers

How do I keep NUL bytes from appearing throughout my GIT repository and commit messages?

I have a relatively clean install of Mac OS X Mavericks 10.9 running git version 1.8.5.1; my files are on a mounted SMB share, and I am no longer able to work properly with my GIT repositories because NULL bytes (\0's) keep appearing in all of my…
GrubLord
  • 191
  • 1
  • 6
1
2
3
59 60