Hi Rowland,

sorry, there is still a misunderstanding. I was referring to an operation on Samba side as below. It is about adding the object class and attribute on an existing user. This fails while adding both in two steps is ok.


This is with version 4.9.5. Not sure if you know if that was fixed in current Samba release?


[2021/02/28 21:02:29.480794, 10, pid=1601, effective(0, 0), real(0, 0), class=ldb] ../lib/ldb-samba/ldb_wrap.c:79(ldb_wrap_debug)
  ldb: ldb_trace_request: MODIFY
  dn: cn=aaaa \2Caaaaa,DC=samba4,DC=test
  changetype: modify
  add: objectClass
  objectClass: ldapPublicKey
  -
  add: sshPublicKey
  sshPublicKey: 123
  -


   control: 1.3.6.1.4.1.7165.4.3.17  crit:0  data:no



[2021/02/28 21:02:29.486428, 10, pid=1601, effective(0, 0), real(0, 0), class=ldb] ../lib/ldb-samba/ldb_wrap.c:79(ldb_wrap_debug) ldb: ldb_asprintf/set_errstring: objectclass_attrs: attribute 'sshPublicKey' on entry 'CN=aaaa \,aaaaa,DC=samba4,DC=test' does not exist in the specified objectclasses! [2021/02/28 21:02:29.486469, 5, pid=1601, effective(0, 0), real(0, 0)] ../lib/audit_logging/audit_logging.c:95(audit_log_human_text) DSDB Change [Modify] at [Sun, 28 Feb 2021 21:02:29.486457 CET] status [Object class violation] remote host [ipv4:192.168.0.200:40490] SID [S-1-5-21-1235013057-2283391678-1230973483-500] DN [cn=aaaa \2Caaaaa,DC=samba4,DC=test] attributes [add: objectClass [ldapPublicKey] add: sshPublicKey [123]] {"timestamp": "2021-02-28T21:02:29.486528+0100", "type": "dsdbChange", "dsdbChange": {"version": {"major": 1, "minor": 0}, "statusCode": 65, "status": "Object class violation", "operation": "Modify", "remoteAddress": "ipv4:192.168.0.200:40490", "performedAsSystem": false, "userSid": "S-1-5-21-1235013057-2283391678-1230973483-500", "dn": "cn=aaaa \\2Caaaaa,DC=samba4,DC=test", "transactionId": "3be61e1c-9b54-4a5f-8ce5-497bffb57dd4", "sessionId": "7be27556-fd3d-46dd-8786-fc2629c019b6", "attributes": {"objectClass": {"actions": [{"action": "add", "values": [{"value": "ldapPublicKey"}]}]}, "sshPublicKey": {"actions": [{"action": "add", "values": [{"value": "123"}]}]}}}} [2021/02/28 21:02:29.486583, 10, pid=1601, effective(0, 0), real(0, 0), class=ldb] ../lib/ldb-samba/ldb_wrap.c:79(ldb_wrap_debug)
  ldb: ldb_trace_response: DONE
  error: 65
msg: objectclass_attrs: attribute 'sshPublicKey' on entry 'CN=aaaa \,aaaaa,DC=samba4,DC=test' does not exist in the specified objectclasses!


Best regards

Roland


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

Reply via email to