[ale] LDAP Problems (newbie)

Nathan J. Underwood ale1 at cybertechcafe.net
Fri Aug 6 09:16:36 EDT 2004


--
registered linux user # 73046That probably would have been helpful, huh? 
  The file is below, but the domain name has been changed to protect the 
guilty:

dn: dc=domainname, dc=com
objectclass: dcObject
objectclass: organization
objectclass: top
o: Traton Homes
dc: domainname


dn: cn=root, dc=domainname, dc=com
objectclass: organizationalRole
cn: root

dn: ou=people, dc=domainname, dc=com
ou: people
objectclass: organizationalUnit
objectclass: domainRelatedObject
associatedDomain: domainname.com

dn: ou=contacts, ou=people,dc=domainname, dc=com
ou: contacts
ou: people
objectclass: organizationalUnit
objectclass: domainRelatedObject
associatedDomain: domainname.com

dn: ou=group,dc=domainname, dc=com
ou: group
objectclass: organizationalUnit
objectclass: domainRelatedObject



Nathan J. Underwood
Cyber Tech Cafe' <><
http://www.cybertechcafe.net


Vaidhyanathan Mayilrangam Gopalan wrote:
> Can you share your top.ldif file here? The error usually means what it
> says.. you are missing a dc in there..
> 
> Regards,
> Vaidhy
> 
> 
> On Thu, 2004-08-05 at 16:37, Nathan J. Underwood wrote:
> 
>>Ok, I'm fumbling my way through this LDAP / Samba v3 stuff for domain 
>>authentication, and I'm just not having a lot of luck.  I have my 
>>/etc/openldap/slapd.conf file setup the way that (I believe) I need it 
>>(per the Quick Start guide and 
>>http://www.linuxjournal.com/article.php?sid=6266), and I'm able to start 
>>and query the server.  The article at 
>>http://www.linuxjournal.com/article.php?sid=6266 is actually pretty much 
>>everything that I want to do, so I got excited when I found it, but it's 
>>not working quite like I'd hoped.  I've basically mirrored the 
>>slapd.conf file, and created a top.ldif file that's almost identical to 
>>the one listed (I've changed foo to my domain name).  When I try to use 
>>ldapadd to add it to the directory, I get the following error:
>>
>>ldap_add: Naming violation (64)
>>         additional info: value of naming attribute 'dc' is not present 
>>in entry
>>
>>I'm going to continue googling (isn't it funny how that's a verb now?), 
>>but if any of you have had / overcome the same problem, any pointers 
>>would be appreciated.
>>--
>>registered linux user # 73046
>>
>>______________________________________________________________________
>>_______________________________________________
>>Ale mailing list
>>Ale at ale.org
>>http://www.ale.org/mailman/listinfo/ale
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature




More information about the Ale mailing list