On 27/02/2021 19:13, Roland Gruber wrote:
Hi Joshua,

this looks like a bug in Samba 4. It works when adding the public key extension without any key. Afterwards, you can set a key.

Adding the object class and the key attribute in one LDAP mod add operation throws the error. I suggest to contact the Samba 4 mailinglist about this issue.


Best regards

Roland



I will save you the trouble 😁

When extending the Samba4 schema, you must add the attributes in one ldif followed by the objectclasses in another, this isn't a bug, it is just the way it is.

The funny thing is that there is a built in AD attribute 'altSecurityIdentities' you can use for the same thing.

The even funnier thing is that you don't actually need a ssh key, just use Kerberos.

Rowland




_______________________________________________
Lam-public mailing list
Lam-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to