Koozali.org: home of the SME Server

Integrating two SME servers

mackayr

Integrating two SME servers
« on: November 11, 2005, 08:32:08 PM »
I have a low budget and a spare machine kicking around.  Instead of upgrading my hard drive, it's actually cheaper for me to install SME on the spare machine and have it attached to the network.  I've set up ebays, but the obvious problem is that the users/groups are not integrated with my primary SME server (domain server).  I've thought of two possible approaches, but really don't know how to do either.  I'd love being pointed in the right direction.  The two approaches I've envisioned are:

1) Set up the ibay on the primary server and set up a symbolic link to an ibay folder on the other machine.
2) Integrate the usernames/passwords and groups on the new machine with those on the primary server.

Thanks in advance for any guidance!

Offline dmajwool

  • *****
  • 180
  • +0/-0
Integrating two SME servers
« Reply #1 on: November 12, 2005, 08:40:32 PM »
Option 3 could be to take the HDD from the spare machine and install it in your main server...
HTH, David

mackayr

Integrating two SME servers
« Reply #2 on: November 12, 2005, 08:50:08 PM »
I thought that if you do that, SME will pick them up as a RAID, thereby only really using the hard drives as one drive.

In my case, both drives are approximately the same size, so in order to achieve any benefit, I'll have to use them in tandem - not either/or.

Since you've suggested an option 3, does that mean that the first two are not possible, or merely difficult.

Thanks for any further guidance.

Rob

Offline raem

  • *
  • 3,972
  • +4/-0
Integrating two SME servers
« Reply #3 on: November 13, 2005, 12:21:34 AM »
mackayr

> I thought that if you do that, SME will pick them > up as a RAID, thereby only really using the hard
> drives as one drive.

There is a howto that details the way of adding a second drive (not RAOID1), search.

You would install sme with one drive and then add the second drive later.
...

mackayr

Integrating two SME servers
« Reply #4 on: November 13, 2005, 12:39:36 AM »
Sounds great with regard to my hard drive storage issue.

However, since setting up the second server, I've found it useful to solve another problem I was having See my other post.
(http://forums.contribs.org/index.php?topic=29519.msg123268#msg123268)

When I set up two USB printers on my server, both were rendered unusable (couldn't open properties or print).  I've installed cups on my 6.5 since the default print system (lp I think) didn't work very well (ie. printing was very slow, wouldn't print more than one copy of a job, and jobs stayed in the print queue after successful printing).  I was [apparently] able to set up both printers since both were recognized by SME (ie. USB ports 1 and 2 were named the printer names in the drop down list in cups), but I couldn't print from either, once I installed the second one.

Any help/guidance on that matter would be greatly appreciated.  In the meantime, I have my second server also functioning as a print server for my second printer (and ibays).

tandum

Integrating two SME servers
« Reply #5 on: November 14, 2005, 02:50:56 PM »
just mount the ibays from the 2nd machine on the first.

man smbmount

mackayr

Integrating two SME servers
« Reply #6 on: November 14, 2005, 10:08:25 PM »
Thanks for the response.  I'm somewhat familiar with smbmount, but haven't tried it with SME.

How should I mount them in order to, ideally" use the permissions set up on my primary server.  Should I set up a user on the remote machine with read/write access and mount them using those credentials?  If I do that, will primary server credentials be used to protect access through the link?  I just tried that and received

12397: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

Any further suggestions?

mackayr

Integrating two SME servers
« Reply #7 on: November 14, 2005, 10:41:22 PM »
Sorry.  I found another post that corrected my error.  I was not including the "-o" before "username=" and "password=".

However, my permissions question still remains.  How should I approach permissions issues.  Will primary server permissions for the link override the username/password credentials I use to set up the link?

Thanks,

Rob

mackayr

Integrating two SME servers
« Reply #8 on: November 14, 2005, 10:52:35 PM »
UPDATE:

I've set up the link as follows:
smbmount //otherserver/share /home/e-smith/files/ibays/files -o username=admin,password=XXXXX

In my primary server, I've set up the ibay to grant write access to groupa and read access to everyone.

However, when I connect to the share in Windows using my credentials (I belong to groupa), I don't have write access.

Any further suggestions?

Thanks,

Rob