[Samba] Samba3 by example problems

Guus Leeuw jr. Guus-Leeuw at gmx.de
Mon Jan 17 17:55:27 GMT 2005


> -----Original Message-----
> From: samba-bounces+guus-leeuw=gmx.de at lists.samba.org [mailto:samba-
> bounces+guus-leeuw=gmx.de at lists.samba.org] On Behalf Of Angela Williams
> Sent: lundi 17 janvier 2005 17:34
> To: samba at lists.samba.org
> Subject: [Samba] Samba3 by example problems

[snipped]

> 
> Be that as it may i then pressed on to checking the ldap database for per
> section 5 after ldap was stopped and started.
> root#  slapcat | grep -i idmap gave no output so idmap does not exist in
> the
> database.
> Then followed the instructions to create and ldif with the required ou for
> idmap but when I tried to run
>  ldapadd -x -D "cn=Manager,dc=rossmould,dc=biz" -w not24get
> < /etc/openldap/idmap.LDIF
> (All one line!)
> I got back
> ldap_add: Constraint violation
>         additional info: structuralObjectClass: no user modification
> allowed
 
This is correct behaviour of (Open)LDAP ;)
The samba-docs is wrong here, though.
>From the website:
dn: ou=Idmap,dc=abmas,dc=biz
objectClass: organizationalUnit
ou: idmap
structuralObjectClass: organizationalUnit

Remove the last line (structural...Unit) and rerun the ldapadd.
That should be it.


John,

Could you pls update accordingly? ;) TIA

Guus

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005
 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005



More information about the samba mailing list