I'm trying to add schema extensions to my Samba (4.1.5) server, as per> https://wiki.samba.org/index.php/Samba4/Schema_extenstionsHowever, importing the example file (after replacing the DOMAIN_TOP_DN) fails:> $ ldbmodify -H sam.ldb /tmp/automount.ldif --option="dsdb:schema update allowed"=true > Unable to find attribute automountMapName in the schema > ERR: (Invalid attribute syntax) "objectclass_attrs: attribute 'mustContain' on entry 'CN=automountMap,CN=Schema,CN=Configuration,DC=ad,DC=tao,DC=at' contains at least one invalid value!" on DN CN=automountMap,CN=Schema,CN=Configuration,DC=ad,DC=tao,DC=at at block before line 53 > Modify failed after processing 3 recordsautomountMapName is the first record in the file and should have been processed. Is there something wrong with the LDIF example, or where else could the error be? -- Mit freundlichen Gr??en, / Best Regards, Sven Schwedas Systemadministrator TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167 http://software.tao.at -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 665 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20140314/71140564/attachment.pgp>
On Fri, 2014-03-14 at 11:53 +0100, Sven Schwedas wrote:> I'm trying to add schema extensions to my Samba (4.1.5) server, as per > > https://wiki.samba.org/index.php/Samba4/Schema_extenstionsThat doesn't work. Try: http://linuxcostablanca.blogspot.com.es/2013/09/samba4-autofs-with-rfc2307bis-schema.html If all you want is autofs, then you don't need to extend the schema: http://linuxcostablanca.blogspot.com.es/2013/09/samba4-autofs.html HTH Steve
On 14/03/14 10:53, Sven Schwedas wrote:> I'm trying to add schema extensions to my Samba (4.1.5) server, as per >> https://wiki.samba.org/index.php/Samba4/Schema_extenstions > However, importing the example file (after replacing the DOMAIN_TOP_DN) > fails: > >> $ ldbmodify -H sam.ldb /tmp/automount.ldif --option="dsdb:schema update allowed"=true >> Unable to find attribute automountMapName in the schema >> ERR: (Invalid attribute syntax) "objectclass_attrs: attribute 'mustContain' on entry 'CN=automountMap,CN=Schema,CN=Configuration,DC=ad,DC=tao,DC=at' contains at least one invalid value!" on DN CN=automountMap,CN=Schema,CN=Configuration,DC=ad,DC=tao,DC=at at block before line 53 >> Modify failed after processing 3 records > automountMapName is the first record in the file and should have been > processed. > > Is there something wrong with the LDIF example, or where else could the > error be? >Yes there is something wrong with the ldif, it should be two, move the last two parts (the objectClasses) to a new ldif. Now add the attributes ldif, then the objectclass ldif, this should work. Rowland