Networking Forums

Networking Forums > Computer Networking > Linux Networking > AttributeType not found: "gidNumber" errormessage - Openldap + samba + Suse 9.2

Reply
Thread Tools Display Modes

AttributeType not found: "gidNumber" errormessage - Openldap + samba + Suse 9.2

 
 
Andreas Bauer
Guest
Posts: n/a

 
      06-03-2005, 10:38 AM

Hello!
I'm installing an Openldapserver with samba. All new versions.
The smb.conf is right, I can post it too, when it must be.

So, I'm geting errormessage, when I start sldap on commandoline:
amd:/usr/lib/openldap # /usr/lib/openldap/slapd
errormessage:
/etc/openldap/schema/samba.schema: line 432: AttributeType not found:
"gidNumber"

I think, I must create a new group with a gid. But is the groupname
sambaGroupMapping?

my samba.schema-line 432MUST...):
##
## Group mapping info
##
objectclass ( 1.3.6.1.4.1.7165.2.2.4 NAME 'sambaGroupMapping' SUP top
AUXILIARY
DESC 'Samba Group Mapping'
MUST ( gidNumber $ sambaSID $ sambaGroupType )
MAY ( displayName $ description $ sambaSIDList ))

##
## Trust password for trust relationships (any kind)


my slapd.conf:
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/yast.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/samba.schema
include /etc/openldap/schema/rfc2307bis.schema
include /etc/openldap/schema/yast.schema

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org

pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args

# Load dynamic backend modules:
# modulepath /usr/lib/openldap/modules
# moduleload back_ldap.la
# moduleload back_meta.la
# moduleload back_monitor.la
# moduleload back_perl.la
# Sample security restrictions
# Require integrity protection (prevent hijacking)
# Define global ACLs to disable default read access.
#access to dn.base=""
# by * read

#access to dn.base="cn=Subschema"
# by * read

#access to attr=userPassword,lmPassword,ntPassword,userPKCS12
# by self write
# by * auth

#access to attr=shadowLastChange
# by self write
# by * read

#access to *
# by * read

################################################## #####################
# BDB database definitions
################################################## #####################

database ldbm
suffix "dc=samba,dc=junits"
rootdn "cn=admin,dc=samba,dc=junits"
rootpw secret
directory /var/lib/ldap
cachesize 40000
dbcache 60000000
index cn,sn,uid,displayName pres,sub,eq
index uidNumber,gidNumber eq
index sambaSID eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq
index objectClass pres,eq
index rid,primaryGroupID eq
index default sub

access to dn="."dc=samba,dc=junits"
by self write
by * read


Best regards and many thanks
Andreas



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fwd: SPEWS DOLTS "SneakyP", "Kevin!:?)", "WindsorFox" SPAM braodbandnewsgroup] !:?) Broadband 0 11-30-2005 01:04 AM
Re: SPEWS SLIMES "WindsorFox", "Kevin-!:?)", "Spin Dryer" get the cold shoulder at broadband ng! SneakyP Broadband 0 11-29-2005 10:46 PM
Attention Plus.net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM broadband newsgroup !:?) Broadband 0 11-28-2005 04:28 AM
Attention Plus.Net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM braodband newsgroup !:?) Broadband 0 11-28-2005 03:03 AM
Samba 3.0.x vs Wind2K3 = "no network found" Lawrence D¹Oliveiro Linux Networking 5 07-28-2005 07:34 PM



1 2 3 4 5 6 7 8 9 10 11