Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm creating a SMB share on a windows machine using the net share command. I write

net share MyCompany_server___0.0.1-SNAPSHOT___server=E:\JavaWorkspace\Product\src\generated\server

Then, this share is visible by other Windows machine in network shares of my machine, but not be accessed. Is there an option I forgot to set ?

EDITED due to comment

  • Accessing the share using an OpenSUSE machine brings the "The folder contents could not be displayed." message.
  • Accessing the share using the Windows machine sharing that folder succeeds without any issue
  • Accessing the share using another Windows machine displays

MyCompany_server_0.0.1-SNAPSHOT_server is not accessible. Access refused

share|improve this question
    
What's the error that you're getting? –  squillman Mar 10 '10 at 14:34
    
If you set the share name to something shorter e.g. "test", does it work then? –  blank3 Mar 25 '10 at 13:29

1 Answer 1

up vote 0 down vote accepted

I'm assuming you're in a "workgroup" environment, but you don't mention the "server" computer's OS.

It sounds to me like you've got a permission problem on the underlying NTFS. Without knowing the "server's" version of Windows it's fairly difficult to tell you much more than that.

If the "server" is a Windows Server version and you do a "NET USE * \server\sharename /user:Administrator" from a client computer and specify the "server's" Administrator password when prompted (assuming that you're using an "Administrator" account on the "server") you may have luck.

If the "server" is a Windows client version, though, you've probably got option turned on to treat all remote connection attempts as "Guest" and the underlying NTFS permissions will prevent any access to the contents of the share.

More information will help us tell you what's going on.

BTW: That's a heck of a share name you've got there.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.