smb

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 32-bit. All the workgroup information is the same, all login with the same username/password...

Revoke shared folders in windows

Over the last few months/years, I have shared a folder or two with numerous people on my domain. How do I easily revoke those shares to keep access to my system nice and tidy? ...

Link to samba shares in html

First off if you're unaware, samba or smb == Windows file sharing, \\computer\share etc. I have a bunch of different files on a bunch of different computers. It's mostly media and there is quite a bit of it. I'm looking into various ways of consolidating this into something more manageable. Currently there are a few options I'm looking...

NMBLookup OS X returning inconsistant results

Hi all, We're trying to get SMB volume listings in our OS X application, and have been using NMBLookup, as suggested by Apple, to get listings. However, more often than not, we're not able to get a full listing of available SMB volumes using the tool. We've got a good benchmark in that we can see the full listing the Apple Finder gets, ...

How do you force a CIFS connection to unmount

I have a CIFS share mounted on a Linux machine. The CIFS server is down, or the internet connection is down, and anything that touches the CIFS mount now takes several minutes to timeout, and is unkillable while you wait. I can't even run ls in my home directory because there is a symlink pointing inside the CIFS mount and ls tries to...

mount a windows smb share on OS X as so it can be accessed by 'www' user

trying to mount an smb share on OS X so that the 'www' user can read files from there. the SMB share is accessible via an Active Directory account. I can mount the share through the Finder (cmd-k ...) my basic approach is # 1) create mountpoint sudo mkdir /Volumes/www_mdisk # 2) permissions for mountpoint sudo chown www:www /Volumes...

FileNotFoundException thrown when the file does exists.

Hello. I'm facing this strange problem. I'm trying to read a file that is located in another machine as a shared resource: \\remote-machine\dir\MyFileHere.txt When I run a standalone application ( a 16 lines java file ) everything is just fine. But when I attempt to read the same file with using the same class and the same method fr...

Server side symbolic link resolution possible?

Title is hopefully pretty self explanatory but I've written up an example anyway: I have a folder C:\SharedFolder\ReallyBigFolderThatWontFitAnyMore I need to move folder to other server but can't touch the clients, so I move the folder to another server and create create a symbolic link. C:\SharedFolder\> mklink /d ReallyBigFolderT...

how to disconnect a windows remote directory?

I'm coding a program to monitor a remote directory, and I use the windows API: WNetAddConnection. I use it to map remote directory to Z: by use a specified user/password. After I put this program to the working environment, someone use explorer location "\192.168.X.X\somedir" to login the same directory I monitored, and it makes my pro...

i can do http://pc_name and smb://pc_name... to test my local site or use shared resources. anything similar that is so handy?

when testing out our machine for apache or SVN, i found that we can actually use http://pc_name when our computer is named "pc_name" and other PC on the same network can access that PC by that URL at port 80. and a mac can connect to my PC shared resources by Finder -> Connect to Server -> smb://pc_name these are great. are there ...

Win32: API calls to list available network shares on a server?

Assume I have access to a SMB server at IP 1.2.3.4, how can I determine the list of available shares? Windows Explorer can do it when I enter a UNC path \\1.2.3.4\ - but command prompt "dir \\1.2.3.4\" fails! I've tried the usual FindFirstFile/FindNext calls - which I use successfully to read the files and directories on each share, bu...

NtlmSsp vs kerberos

can anyone elaborate the different? i'm currently using ntlmssp.authenticaten ( jcifs) but seems not able to do getPassword(). it's always return null ...

Is there a unique id for files?

I have the question http://stackoverflow.com/questions/990759/how-do-you-track-files-in-smb-with-an-application open and I was woundering whether maybe there are unique id's for files so that I can track when a file/folder is moved. Is there something like this? It can be very debian specific ...

Is there any free network drive/share benchmark tool for Windows?

I want to know if there is any free tool to test the performance of a smb/CIFS network share. All free speed test I saw were for local drives only. ...

How does srv.sys decide on raw vs core mode depending on the underlying filesystem?

Hello, We are developing a file system for Windows using IFS Kit. We started to investigate a performance problem which caused our file system I/O to be much slower when shared over the network. After looking at it with FileMon and TCPView from Sysinternals we found out that if a NTFS/FAT was shared, the SMB client and server were trans...

Use PowerShell to enumerate Linux SMB shares

I can list my own computer's shares no problem with: gwmi Win32_Share But when I try gwmi Win32_Share -computer myserver Where myserver is an HP MediaVault mv2120 running BusyBox. I get back the response: Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) Is there any way to get this done? ...

What type of network traffic does not use Winsock in Windows?

I am developing some low-level stuff (LSP) and found out, that SMB traffic does not go through LSP, because SMB does not use Winsock. There is a paragraph in MSDN about it, but this is in part of MSDN dedicated to Windows CE. So, is there any comprehend list of whole traffic that does not go through Winsock? MSDN is bit messy about that....

After upgrading Fedora, why can I no longer change permissions of a file mounted via SMB

I had been running Fedora 9 for the last year --- I have a Windows box (actually a VM) that mounts a folder on the Fedora box using my own name/password. I do this so that I can run my version control program (Vault) on Windows. It has worked flawlessly for the last 6 months. Yesterday, I upgraded Fedora from version 9 to version 11. Si...

File.Copy and after-copy error checking

I would like to ask if anyone knows about reliability of File.Copy in a UNC path file copy. I have a file locally and the target is an smb share (SAMBA etc). Take for granted that the impersonation has took place successfully and I can execute commands with full credentials. Is there any way to check whether the file is properly copied? ...

ImportError: No module named smb

PySamba is a Python library that provides a full wrapper for the Samba CLI library provided with samba-3.0.24. It includes a Python module that hides the complexity of the lower layer (SMB), providing high-level commands like Mkdir or DiskAvail. PySamba allows the developer to interface to any samba-capable device much like Python's ftpl...