Koozali.org: home of the SME Server

SME to authenticate users on an openfiler box?

unite07

SME to authenticate users on an openfiler box?
« Reply #15 on: August 08, 2007, 01:37:36 AM »
Grasomega.

I have configured sme as the domain controller and openfiler to authenticate against it.

openfiler sees the users and groups but when i try and set up a share using the openfiler account administration screen it gives this error:
ldap_bind: Invalid credentials (49)

i have not set up ldap, only NTDOM is set up.  

Has anyone got this to work not using ldap?

aaron

Offline grasomega

  • 2
  • +0/-0
SME to authenticate users on an openfiler box?
« Reply #16 on: August 10, 2007, 12:14:41 AM »
Hi, everybody,

Ok, I guess I overlooked this:

Before joining the domain,

1. on Openfiler's interface go to Services -> Enable/Disable and set SMB/CIFS to enable.
2. On SMB settings, set the Wins Server to the SME server name. Leave anything else to default.
3. Go to the Join the domain using NTDOM. Reset the account on SME. Rejoin - it should work even with Openfiler's Interface.

It should be working...

grasomega

Offline darmasanthi

  • ***
  • 139
  • +0/-0
Re: SME to authenticate users on an openfiler box?
« Reply #17 on: January 28, 2008, 08:50:52 AM »
i am a newbe, what is mean :

Then you have to reset the computer account for Openfiler on SME:

Code:

smbpasswd -a -m Clientname$


Then rejoin the Openfiler to the SME Server Domain (on Openfiler):

Code:

net rpc join -S $smeserver -U admin



I do not understand .."Clientname$" and "$smeserver"

Regards,
darmasanthi

Offline darmasanthi

  • ***
  • 139
  • +0/-0
Re: SME to authenticate users on an openfiler box?
« Reply #18 on: January 28, 2008, 08:52:25 AM »
Yes, i can see the user on OpenFiler Group+User,

but we can not access the file sharing ...?

Regards,
darmasanthi

Offline darmasanthi

  • ***
  • 139
  • +0/-0
Re: SME to authenticate users on an openfiler box?
« Reply #19 on: January 30, 2008, 10:24:04 AM »
you sir, are a genius! i love you!

Hi,
could you help me for the complete HowTo,
cause, i can not find it

Regards
darmasanthi

Offline darmasanthi

  • ***
  • 139
  • +0/-0
Re: Install NIS contrib
« Reply #20 on: January 30, 2008, 10:25:20 AM »
You can install the NIS contrib and use it for your authentication - I have it working and it seems to be all ok.

Can you give me the complete HowTo..

regards,
darmasanthi

Offline darmasanthi

  • ***
  • 139
  • +0/-0
Re: SME to authenticate users on an openfiler box?
« Reply #21 on: January 30, 2008, 10:27:55 AM »
Hi everyone!

I have tested the Openfiler with SME server 7 and it worked like a charm.
I had no problem in getting the Openfiler to authenticate the users on SME Server.
First, you have to setup SME as a Domain Controller.
Join the Openfiler box to SME Domain using NTDOM, not ADS (see Openfiler docs: http://www.openfiler.com/docs/manual/#d0e1157 - 3.5.3. Windows Domain Controller Configuration).
Then you have to reset the computer account for Openfiler on SME:

Code: [Select]
smbpasswd -a -m Clientname$
Then rejoin the Openfiler to the SME Server Domain (on Openfiler):

Code: [Select]
net rpc join -S $smeserver -U admin
and enter the password.

I created then some file shares on Openfiler and I could setup ACLs based on SME users. They were respected and the users had access as set.

All the setup was made on a single server with VMware Server and virtual networking.

I hope this helps.

grasomega

P.S. Many thanks to the SME Server team for their absolutely great product!

EDIT: I forgot the joining the domain step  :oops:

cause i'm a newbe,
could you give us a complete how to...
if you don't mind, help me with example

Regards.
darmasanthi

Offline mazkot

  • **
  • 59
  • +0/-0
Re: Install NIS contrib
« Reply #22 on: February 05, 2008, 06:30:38 AM »
You can install the NIS contrib and use it for your authentication - I have it working and it seems to be all ok.

whats your configuration in openfiler?
I have the NIS working but I cannot open the folders.

thanks

Offline byte

  • *
  • 2,183
  • +2/-0
Re: SME to authenticate users on an openfiler box?
« Reply #23 on: February 06, 2008, 07:15:17 PM »
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline mazkot

  • **
  • 59
  • +0/-0
Re: SME to authenticate users on an openfiler box?
« Reply #24 on: February 08, 2008, 08:52:55 AM »
Since I search to openfiler and read that NIS is not to supported by the new openfiler... I like to ask if someone had configured openfiler with ldap and not using sme as PDC?

Thanks