Koozali.org: home of the SME Server

i-bays/file locking - Samba 2.0.7 vs 2.2.1a ?

Patrick Basile

Re: smb.conf changes? (Re: i-bays/file locking - Samba 2.0.7
« Reply #15 on: October 13, 2001, 02:19:05 AM »
Laurence Griffiths wrote:
>
> Ouch! How did you remove the ibay from the web manager? If
> you did it in the normal way in the server-manager, you will
> have deleted all directories and files related to that ibay.
> - That is why you can no longer access it.

I removed the i-bay in the 'normal' way in the web manager interface, so yeah...I guess I did delete all the content, but this is a test box so it's not a big deal.  What's weird is that when I browse in Network Neighborhood to the server, the 'efc' share (that I created with 91efcbay) shows up, but then I get the access issue when I click on it to 'view' the contents.  Even though there are no files there I shouldn't get that message, it should just show no files - so this appears to be a permissions issue.

> Recreate the ibay in the server-manager and copy your
> database files back on. Then, if nobody can suggest anything
> better, I suggest that you revert to making a one-line change
> to the custom template as I did.

I will do what you suggest, and recreate the i-bay in the web manager.  Could you be more specific (or refresh my memory) on your "one line change to the custom template"...I thought the custom template was what I did earlier?

Thanks for your help.

Patrick

Laurence Griffiths

Re: smb.conf changes? (Re: i-bays/file locking - Samba 2.0.7
« Reply #16 on: October 13, 2001, 03:04:27 AM »
Patrick,

It is just a couple of postings up at :-
http://forums.contribs.org/index.php?topic=11704.msg44012#msg44012

Cheers and good luck

Laurence Griffiths

Jaco Bongers

Re: smb.conf changes? (Re: i-bays/file locking - Samba 2.0.7
« Reply #17 on: October 14, 2001, 05:26:28 PM »
Patrick

You should see the shared name in network neighborhood since Samba has you efc share properly mapped.

The problem is that Samba attempts to connect to the directory /home/e-smith/files/ibays/efc/files which no longer exists.

The easiest solution would be:
1. Use your custom template 91efcbay
2. Manually create the directory /home/e-smith/files/ibays/efc/files and set the correct permissions on the directory.

Do not create the ibay using server-manager as you will then get 2 network shares to the same directory.

Let me know if you still have a problem

Jaco


Patrick Basile wrote:
>
> I removed the i-bay in the 'normal' way in the web manager
> interface, so yeah...I guess I did delete all the content,
> but this is a test box so it's not a big deal.  What's weird
> is that when I browse in Network Neighborhood to the server,
> the 'efc' share (that I created with 91efcbay) shows up, but
> then I get the access issue when I click on it to 'view' the
> contents.  Even though there are no files there I shouldn't
> get that message, it should just show no files - so this
> appears to be a permissions issue.

Patrick Basile

Re: smb.conf changes? (Re: i-bays/file locking - Samba 2.0.7
« Reply #18 on: October 15, 2001, 06:14:30 PM »
Hi Jaco,

Thanks for your help.

Jaco Bongers wrote:
> The easiest solution would be:
> 1. Use your custom template 91efcbay
> 2. Manually create the directory
> /home/e-smith/files/ibays/efc/files and set the correct
> permissions on the directory.

- Could you help with the 'set the correct permissions'?  Example commands to do this?  I can create the directory, but I'm a newbie - so setting the permissions when I don't have a GUI is foreign to me. (lol, sorry)

>
> Do not create the ibay using server-manager as you will then
> get 2 network shares to the same directory.

 - That's what I thought, thanks.

Regards,
Patrick