Networking Forums

Networking Forums > Computer Networking > Windows Networking > Sharing files with Linux

Reply
Thread Tools Display Modes

Sharing files with Linux

 
 
Ray
Guest
Posts: n/a

 
      05-16-2006, 09:57 PM
Hi there,

I wanna share files with Windows on Linux boxes by SMB.

I can log on Windows Server and list files on it, but whatever I
get/put/mkdir anything, I got an error, NT_STATUS_OBJECT_NAME_NOT_FOUND.
Defintely, I should have enough permission for it when using Windows
machines.

Any hints for me? Thanks.

Ray


 
Reply With Quote
 
 
 
 
S. Pidgorny
Guest
Posts: n/a

 
      05-16-2006, 11:28 PM
The problem is your Samba configuration. Reasons for the error can be many.
Make sure you have "writable = yes" and "read only = no" in the
configuration, that would be my prime suspect. On Windows, enable auditing
for failed object access to see if there was any. Probably there wasn't, and
the errors are purely client side.

--
Svyatoslav Pidgorny, MS MVP - Security, MCSE
-= F1 is the key =-



"Ray" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi there,
>
> I wanna share files with Windows on Linux boxes by SMB.
>
> I can log on Windows Server and list files on it, but whatever I
> get/put/mkdir anything, I got an error, NT_STATUS_OBJECT_NAME_NOT_FOUND.
> Defintely, I should have enough permission for it when using Windows
> machines.
>
> Any hints for me? Thanks.
>
> Ray
>



 
Reply With Quote
 
Florian Frommherz
Guest
Posts: n/a

 
      05-17-2006, 08:16 AM
Howdy Ray!

Ray schrieb:
> I can log on Windows Server and list files on it, but whatever I
> get/put/mkdir anything, I got an error, NT_STATUS_OBJECT_NAME_NOT_FOUND.
> Defintely, I should have enough permission for it when using Windows
> machines.


Have a look at the group policies and/or domain policies. Chances are
that your SMB singing configuration between server and client contradict
each other:

"CompConf\Windows Settings\Security Settings\Local Policies\Security
Options" and there:

"Microsoft Network Client: Digitally sign communications (always)"
"Microsoft Network Client: Digitally sign communications (if server agrees)"
"Microsoft Network Server: Digitally sign communications (always)"
"Microsoft Network Server: Digitally sign communications (if client
agrees)".

This article may be of interest:
http://support.microsoft.com/kb/839499/EN-US/

cheers,

Florian
--
Nachwuschsadmin aus dem Süddeutschen/Germany.
eMail: Vorname [bei] frickelsoft [Punkt] net.
 
Reply With Quote
 
Ray
Guest
Posts: n/a

 
      05-17-2006, 02:20 PM
Thanks, "writable=yes" and "read only=no"

Default settings of my DC is enable auditing for both success and fail, and
I didn't see any event in the viewer.

I'm confused.

Ray


"S. Pidgorny <MVP>" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> The problem is your Samba configuration. Reasons for the error can be
> many. Make sure you have "writable = yes" and "read only = no" in the
> configuration, that would be my prime suspect. On Windows, enable auditing
> for failed object access to see if there was any. Probably there wasn't,
> and the errors are purely client side.
>
> --
> Svyatoslav Pidgorny, MS MVP - Security, MCSE
> -= F1 is the key =-
>
>
>
> "Ray" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi there,
>>
>> I wanna share files with Windows on Linux boxes by SMB.
>>
>> I can log on Windows Server and list files on it, but whatever I
>> get/put/mkdir anything, I got an error, NT_STATUS_OBJECT_NAME_NOT_FOUND.
>> Defintely, I should have enough permission for it when using Windows
>> machines.
>>
>> Any hints for me? Thanks.
>>
>> Ray
>>

>
>



 
Reply With Quote
 
Ray
Guest
Posts: n/a

 
      05-17-2006, 02:25 PM
Hi Florian,

Thank you for your help, but those group policy is there,

On our DCs,
"Microsoft Network Client: Digitally sign communications (always)" -- Not
Defined
"Microsoft Network Client: Digitally sign communications (if server
agrees)" -- Enable
"Microsoft Network Server: Digitally sign communications (always)" -- Not
Defined
"Microsoft Network Server: Digitally sign communications (if client
agrees)" -- Enable

On our member Servers,

"Microsoft Network Client: Digitally sign communications (always)" -- Not
Defined
"Microsoft Network Client: Digitally sign communications (if server
agrees)" -- Not Defined
"Microsoft Network Server: Digitally sign communications (always)" -- Not
Defined
"Microsoft Network Server: Digitally sign communications (if client
agrees)" -- Not Defined

I cannot do anything on any of them. Even I wanna retrieve a file, it said
it's a directory, weird

smb: \Admin\> get AdobeWeb.log
NT_STATUS_FILE_IS_A_DIRECTORY opening remote file \Admin\AdobeWeb.log
smb: \Admin\> mkdir test
mkdir \Admin\test: NT_STATUS_OBJECT_NAME_NOT_FOUND

Ray


"Florian Frommherz" <(E-Mail Removed)> wrote in
message news:%(E-Mail Removed)...
> Howdy Ray!
>
> Ray schrieb:
>> I can log on Windows Server and list files on it, but whatever I
>> get/put/mkdir anything, I got an error, NT_STATUS_OBJECT_NAME_NOT_FOUND.
>> Defintely, I should have enough permission for it when using Windows
>> machines.

>
> Have a look at the group policies and/or domain policies. Chances are that
> your SMB singing configuration between server and client contradict each
> other:
>
> "CompConf\Windows Settings\Security Settings\Local Policies\Security
> Options" and there:
>
> "Microsoft Network Client: Digitally sign communications (always)"
> "Microsoft Network Client: Digitally sign communications (if server
> agrees)"
> "Microsoft Network Server: Digitally sign communications (always)"
> "Microsoft Network Server: Digitally sign communications (if client
> agrees)".
>
> This article may be of interest:
> http://support.microsoft.com/kb/839499/EN-US/
>
> cheers,
>
> Florian
> --
> Nachwuschsadmin aus dem Süddeutschen/Germany.
> eMail: Vorname [bei] frickelsoft [Punkt] net.



 
Reply With Quote
 
Ray
Guest
Posts: n/a

 
      05-17-2006, 03:40 PM
Ok, I tested on the other Windows Domain with the same Linux box, everything
is working.

So it looks like something wrong between the linux box with this domain.

Anyway, thanks.

Ray

"S. Pidgorny <MVP>" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> The problem is your Samba configuration. Reasons for the error can be
> many. Make sure you have "writable = yes" and "read only = no" in the
> configuration, that would be my prime suspect. On Windows, enable auditing
> for failed object access to see if there was any. Probably there wasn't,
> and the errors are purely client side.
>
> --
> Svyatoslav Pidgorny, MS MVP - Security, MCSE
> -= F1 is the key =-
>
>
>
> "Ray" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi there,
>>
>> I wanna share files with Windows on Linux boxes by SMB.
>>
>> I can log on Windows Server and list files on it, but whatever I
>> get/put/mkdir anything, I got an error, NT_STATUS_OBJECT_NAME_NOT_FOUND.
>> Defintely, I should have enough permission for it when using Windows
>> machines.
>>
>> Any hints for me? Thanks.
>>
>> Ray
>>

>
>



 
Reply With Quote
 
Ray
Guest
Posts: n/a

 
      05-17-2006, 04:10 PM
Thanks, guys.

At last I found what's wrong with my domain. I set up DFS on my domain and
all shared folders are mounted to DFS. I don't know why Samba doesn't work
with those folders, if I set up a new sharing without DFS, everything is
working.

Ray


"Ray" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi there,
>
> I wanna share files with Windows on Linux boxes by SMB.
>
> I can log on Windows Server and list files on it, but whatever I
> get/put/mkdir anything, I got an error, NT_STATUS_OBJECT_NAME_NOT_FOUND.
> Defintely, I should have enough permission for it when using Windows
> machines.
>
> Any hints for me? Thanks.
>
> Ray
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing files Smirnoff Wireless Networks 8 03-13-2008 07:20 AM
Sharing Files Atoman Wireless Networks 2 06-20-2007 02:28 PM
Sharing Files gderit Wireless Networks 2 06-11-2007 04:36 PM
Sharing Files JonnyS Wireless Networks 0 12-15-2005 07:10 PM
Newbie - sharing devices/files in Linux zalek Linux Networking 3 12-12-2004 08:16 PM



1 2 3 4 5 6 7 8 9 10 11