Author Topic: SME Server how-to  (Read 15508 times)

Offline RoboGeek

  • Gising na!!
  • Tier 3 Member
  • Guru
  • ****
  • Posts: 8418
SME Server how-to
« on: January 30, 2009, 11:05:01 PM »
Well, since this server is popping up everywhere, and many windows techs are lost when trying to work on them, here\'s some of the basics. You\'ll find it much easier than Windows servers, and much more secure.

First  - how to  Log In
You can use either the IP address or the server name - I prefer the IP just in case for some reason NetBios is screwed up. Enter the following into your browser of choice into a workstation on the network.

http://IP-address/server-manager or https://IP-address/server-manager

If it gives you a certificate error just ignore it and accept. You can set up an actual certificate server, etc but you wont need it unless you really want a secure server

If its stock the user is admin and the password is whatever you set it at during installation, or what the business provides you. Cracking a lost password is another story (see single user sign on - google is your friend!)

You are now at the admin panel.

First lets assume you want to use this server as a domain controller
Under configuration, you\'ll see workgroup. Click that and set it for a workgroup and domain controller.  Much easier than promoting or demoting a PDS in windows!!

Users is the top option. Its self explanatory. But it adds in default info into the profile  you don\'t want to change every time. So lets change that so it adds in the info you want.

Changing default account info

Under  configuration you\'ll see Change LDAP directory settings with the default information in the fields. Just change that to what ou want, and click save.

Now you may not want to use the strong passwords for the user accounts. It defaults to 8 chars, a capital letter, number and symbol so its a bit of a PITA. Here\'s how to change it.


Changing password strength

This time you need to be at the server itself. Log in as root

for passwords your options are strong, normal and none. This means strong rules, normal rules and no rules

At the prompt type config setprop passwordstrength Users normal
Note the capital U

for the ibays:
config setprop passwordstrength Ibays normal
Again note the capital I

Replace normal with what strength you prefer


So now you have a user. We can assign some rights to them now. So click on groups and we\'ll set them up


Setting user privileges

By default your users will only have limited rights on the workstation. If you want them to have additional power, you need to add them to a group with those rights.

So lets make a new group with Local Admin power

Click on Groups, Add Group, and pick a name for your new group.
Now the next part sound simple, but its where you give users their rights. The Description field is where these are assigned

If you want your users to be local admins, in that field enter Domain Admin
For a little less power enter Power Users
If you don\'t want them adding software or hardware use Domain Users - that is the default


Now you have a user and a group. It will map their home drive automatically, but suppose we want to control other logon  stuff like time and data, map other drives and folders, etc.
For this we will need to add some software to the server.
So now we are back at the server logged in as root. Lets get to the home dir and install some software



Editing the netlogon script


You should be at a prompt. Type cd /home

if you use the dir or ls command you should see esmith and httpd. So now we need to download some software

type the following at the prompt:
wget http://mirror.contribs.org/smeserver/contribs/jbennett/sme7/loginscript/RPM/smeserver-loginscript-0.2-8.noarch.rpm

this should download the file to your home dir - use dir or ls to verify its there. Then we are going to install it. Type this:

yum localinstall smeserver-loginscript*.rpm


If it all worked right, once you log out of the admin page and log back in you should see a new field under collaboration called login script manager


Now to map a drive, simply type in
net use h: \\\\servername\\foldername


Ok..  last of all, since its easier to let users control their own passwords once you set the rules, you can give them all a defauls PW - like password! (how original robo  :roll:  )

Here\'s how they can change it to what they want


Allowing users to change their own passwords

this is way too easy!!

have them go to

http://IP-address_or_servername/user-password





This should at least get you to where your comfortable managing users, drives and folders. SME is so simple that with a few basic tips you\'ll be able to run circles around any windows server with it. You can plug in nagios, vm\'s, you name it - and make it more powerful than any windows box.

Not to mention its got a built in web and mail server! Its SBS that actually works!!!  :lol:



If you haven\'t checked out this alternative to windows, your really missing out on a powerful, free alternative.
Just don\'t teach the users how to run it or you\'ll never make any money!  This thing wont crash


Best of all in a supposedly slowing economy, this server will give you a competitive advantage over your foes. You can offer a server thats hundreds cheaper, and put more features on it than anyone who offers the alternative.
Artificial Intelligence is no match for Natural Stupidity

Offline Rick Savoia

  • Administrator
  • Macgyvertech
  • *****
  • Posts: 3033
    • The Force field
Re:SME Server how-to
« Reply #1 on: January 31, 2009, 05:03:20 AM »
Thanks Chris, this is a great tutorial. I had installed SME Server on a PC to try it out about a year and a half ago but I didn\'t have anything like this to use and I had some trouble with it so I abandoned it and opted to stick with Windows Server instead. Now thatI am using Ubuntu Studio on on of my PCs I would like to learn more about using Linux as a server. Your post has given me incentive to give SME Server another go.

Offline RoboGeek

  • Gising na!!
  • Tier 3 Member
  • Guru
  • ****
  • Posts: 8418
Re:SME Server how-to
« Reply #2 on: February 03, 2009, 11:48:33 PM »
I\'ve already sold 5 this year, and they are catching on like crazy with all the rural fire depts.

I\'ve only got one regular customer still on windows - that dreaded  SBS thats always got some kind of error on it.

Now if I can just get some more on workstations!! lol
Artificial Intelligence is no match for Natural Stupidity

Offline Roy J. Tellason

  • Tier 3 Member
  • Hero Member
  • ****
  • Posts: 506
Re:SME Server how-to
« Reply #3 on: April 26, 2009, 08:41:22 PM »
Downloading as I type this...   :-)

I\'ve been seeing stuff go by lately involving win-servers (and ain\'t that a contradiction in terms?) lately,  and have been looking for a good response to it.

How are you selling these?  Install?  Setup?  Maintenance?  Something else?

Offline jjwinter

  • Tier 3 Member
  • Sr. Member
  • ****
  • Posts: 443
Re: SME Server how-to
« Reply #4 on: July 22, 2010, 02:29:11 PM »
I have some clients who are too small to want to buy a M$ server, but really do need a something better than NAS. Downloading now. Thanks for the excellent tutorial Robogeek. I am also interested in how you sell this.

Offline Todd Hughes

  • Beer is like porn: You can buy it but it's more fun to make your own.
  • Global Moderator
  • Guru
  • *****
  • Posts: 9943
Re: SME Server how-to
« Reply #5 on: July 22, 2010, 02:43:51 PM »
JJ, take a look at eBox too. It does turnkey SAMBA right out of the box and simply clicking a check box enables Windows PDC mode. I run this as my back office server and have a few clients running it that I also support.
Quote from: Parrish
Damn you Microsoft! Damn you to hell!!

Microsoft you SUCK!

F.U. Microsoft!!!!#@@#$@#$@#@#!@#%^&%$^

Offline jjwinter

  • Tier 3 Member
  • Sr. Member
  • ****
  • Posts: 443
Re: SME Server how-to
« Reply #6 on: July 23, 2010, 01:33:10 PM »
The environment I have in mind is a church. They have seven XP Pro, and one Windows 7 Home computers (they bought before I became involved). They are using a crappy Buffalo NAS that keeps dropping off the network as a file server. They want to set permissions on folders. They don't need it for email, though they might like some content filtering.

I've installed SME 7.5 on an old Dell, VM'd XP on my laptop, and joined it to the domain. I made an "i-bay" and stuck some data in it. So far, everything has been very simple.


Offline jjwinter

  • Tier 3 Member
  • Sr. Member
  • ****
  • Posts: 443
Re: SME Server how-to
« Reply #7 on: July 23, 2010, 08:41:06 PM »
Met with them today, its a go. Looks like I've sold my first Linux server.

Offline jjwinter

  • Tier 3 Member
  • Sr. Member
  • ****
  • Posts: 443
Re: SME Server how-to
« Reply #8 on: July 24, 2010, 09:46:55 AM »
I have a stupid question. I've looked through all the HOWTO's for SME, can't find the answer. Maybe my question is too stupid.

Can SME perform spam-filtering duties, even if it is NOT being used as a mail-server?




Offline Todd Hughes

  • Beer is like porn: You can buy it but it's more fun to make your own.
  • Global Moderator
  • Guru
  • *****
  • Posts: 9943
Re: SME Server how-to
« Reply #9 on: July 24, 2010, 05:39:28 PM »
not sure if it can be used as an email gateway or not (never played with SME server), good question for Robo.....
Quote from: Parrish
Damn you Microsoft! Damn you to hell!!

Microsoft you SUCK!

F.U. Microsoft!!!!#@@#$@#$@#@#!@#%^&%$^

bfarmer

  • Guest
Re: SME Server how-to
« Reply #10 on: July 25, 2010, 02:15:28 AM »
It has been a long time since I played with SME, but I am 90% sure you need to run the email server to use the spam filtering.

Offline jjwinter

  • Tier 3 Member
  • Sr. Member
  • ****
  • Posts: 443
Re: SME Server how-to
« Reply #11 on: July 25, 2010, 10:40:38 AM »
I posted same questions on Contribs.org, they recommend I add FetchMail to it. Seems like it could work, I will test.

Offline jjwinter

  • Tier 3 Member
  • Sr. Member
  • ****
  • Posts: 443
Re: SME Server how-to
« Reply #12 on: August 12, 2010, 06:44:49 PM »
It was a bust. Not gonna use SME to filter mail. I set it up as a file server and its been working great. Easy setup, easier than M$ for sure.

Offline Todd Hughes

  • Beer is like porn: You can buy it but it's more fun to make your own.
  • Global Moderator
  • Guru
  • *****
  • Posts: 9943
Re: SME Server how-to
« Reply #13 on: August 12, 2010, 07:01:05 PM »
Cool. I just sold an Ebox to a bank, configured as a PDC and file server. Roaming profiles, automatically maps the network drives when a machine is joined to the domain, etc. They love it!
Quote from: Parrish
Damn you Microsoft! Damn you to hell!!

Microsoft you SUCK!

F.U. Microsoft!!!!#@@#$@#$@#@#!@#%^&%$^

Offline jjwinter

  • Tier 3 Member
  • Sr. Member
  • ****
  • Posts: 443
Re: SME Server how-to
« Reply #14 on: August 12, 2010, 09:03:45 PM »
Ebox looked good too. I'd already invested a lot of time reading about SME, so I went with it. It also does PDC emulation and can do a netlogon script with an add-on package Robo described in his very useful guide. Its great having an actual, viable choice to offer customers now. Its also nice marking up from 0$ instead of $800 plus licenses.