----- Original Message -----
From: WRK Technical Support
Sent: Friday, November 28, 2003 2:19 PM
Subject: problems with slapadd Hi. I am trying to migrate from ldap v2 to
v3. The new strictures of schema checking and DN rules are kind of a rude
awakening, but I'm trying to deal. Long story short, I have my old db in
ldif form, trying to add it with slapadd, and here's what happens:
slapadd startup: initiated.
backend_startup: starting "dc=wrkcs,dc=net" => ldbm_cache_open( "/usr/local/var/openldap-data/id2entry.gdbm", 18, 600 ) <= ldbm_cache_open (opened 0) => str2entry >>> dnPrettyNormal: <dc=wrkcs, dc=net> <<< dnPrettyNormal: <dc=wrkcs,dc=net>, <dc=wrkcs,dc=net> <= str2entry(dc=wrkcs,dc=net) -> 0x81101a8 (dry) added: "dc=wrkcs,dc=net" => str2entry >>> dnPrettyNormal: <cn=Manager, dc=wrkcs, dc=net> <<< dnPrettyNormal: <cn=Manager,dc=wrkcs,dc=net>, <cn=manager,dc=wrkcs,dc=net> <= str2entry(cn=Manager,dc=wrkcs,dc=net) -> 0x81101a8 (dry) added: "cn=Manager,dc=wrkcs,dc=net" => str2entry >>> dnPrettyNormal: <uid=cpauch, dc=wrkcs, dc=net> <<< dnPrettyNormal: <uid=cpauch,dc=wrkcs,dc=net>, <uid=cpauch,dc=wrkcs,dc=net> >>> dnPretty: <Charlie Pauch> str2entry: invalid value for syntax 1.3.6.1.4.1.1466.115.121.1.12 slapadd: could not parse entry (line=29) slapadd shutdown: initiated ldbm backend syncing ldbm flushing db (/usr/local/var/openldap-data/id2entry.gdbm) ldbm closing db (/usr/local/var/openldap-data/id2entry.gdbm) ldbm backend done syncing ====> cache_release_all slapadd shutdown: freeing system resources. here is the ldif:
dn: dc=wrkcs, dc=net
dc: wrkcs o: WRKCSnet objectclass: organization objectclass: dcObject dn: cn=Manager, dc=wrkcs, dc=net
cn: Manager sn: Manager objectclass: person dn: uid=cpauch, dc=wrkcs, dc=net
objectclass: person objectclass: inetLocalMailRecipient objectclass: posixAccount uid: cpauch gidnumber: 100 homedirectory: /home/cpauch loginshell: /bin/bash uidnumber: 501 mailroutingaddress: cpauch@wrkcs.net spambounce: yes dialupaccess: true owner: Charlie Pauch sn: Pauch userpassword: xxxxxxx cn: Charlie Pauch maillocaladdress: charlie.pauch@wrkcs.net as you can see, it add's the first two, then wont'
add the user. I've been going nuts over this for days. What is
wrong with my entry? Where am I going wrong? Any help would be
appreciated
Charlie Pauch
WRK System Administrator
|