Hi,
We have a couple of MacOS X users who would like to have a separate storage server to keep
all their video files. So I have installed Openfiler and now looking to setup an
authentication scheme. Our users just want couple of shared folders so if I can avoid a
separate authentication server that is best. But since I could not find any resource to do
that I have setup an ldap server. The problem is that Openfiler is not getting any groups
from it. I am using Openfiler 2 Beta and have updated using yum.
The ldap dump I am using is given below, My auth Configs are:
Base DN: ou=People,dc=example,dc=com
Bind DN: cn=admin,dc=example,dc=com
Bind password: password
Root bind DN: cn=admin,dc=example,dc=com
Root bind password: password
The group is defined as:
dn: cn=gis,ou=Group,dc=example,dc=com
objectClass: posixGroup
objectClass: top
cn: gis
userPassword:: e2NyeXB0fXg=
gidNumber: 1002
But this group is not visible from openfiler interface. Users are visible though. I am
attaching full ldif amd slapd.conf below. Do I need to do any thing more? Also is this the
best route for serving files to MacOS X clients ?
regards,
raj
dn: dc=example,dc=com
objectClass: top
objectClass: dcObject
objectClass: organization
o: example.com
dc: example
dn: cn=admin,dc=example,dc=com
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword:: e2NyeXB0fWtFWVJEMGV2aG9LQ3c=
dn: uid=user,ou=People,dc=example,dc=com
objectClass: top
objectClass: account
objectClass: posixAccount
uid: user
cn: user
homeDirectory: /home/raj
userPassword:: cGFzc3dvcmQ=
uidNumber: 1003
gidNumber: 1002
dn: uid=taco,ou=People,dc=example,dc=com
uid: taco
cn: Taco
objectClass: posixAccount
objectClass: top
objectClass: account
userPassword:: cGFzc3dvcmQ=
loginShell: /bin/bash
gecos: Taco
homeDirectory: /home/taco
uidNumber: 1005
gidNumber: 1002
dn: ou=Group,dc=example,dc=com
ou: Group
objectClass: top
objectClass: organizationalUnit
dn: cn=gis,ou=Group,dc=example,dc=com
objectClass: posixGroup
objectClass: top
cn: gis
userPassword:: e2NyeXB0fXg=
gidNumber: 1002
slapd.conf
==========
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
schemacheck on
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd.args
loglevel 0
modulepath /usr/lib/ldap
moduleload back_bdb
backend bdb
checkpoint 512 30
database bdb
suffix "dc=example,dc=com"
directory "/var/lib/ldap"
index objectClass eq
lastmod on
access to attrs=userPassword
by dn="cn=admin,dc=example,dc=com" write
by anonymous auth
by self write
by * none
access to dn.base="" by * read
access to *
by dn="cn=admin,dc=example,dc=com" write
by * read
_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users