Add is not yet supported for the ldap backend
(boundDN string, req ldap.AddRequest, conn net.Conn)
| 355 | |
| 356 | // Add is not yet supported for the ldap backend |
| 357 | func (h ldapHandler) Add(boundDN string, req ldap.AddRequest, conn net.Conn) (result ldap.LDAPResultCode, err error) { |
| 358 | _, span := h.tracer.Start(context.Background(), "handler.ldapHandler.Add") |
| 359 | defer span.End() |
| 360 | |
| 361 | start := time.Now() |
| 362 | defer func() { |
| 363 | h.monitor.SetResponseTimeMetric( |
| 364 | map[string]string{"operation": "add", "status": fmt.Sprintf("%v", result)}, |
| 365 | time.Since(start).Seconds(), |
| 366 | ) |
| 367 | }() |
| 368 | return ldap.LDAPResultInsufficientAccessRights, nil |
| 369 | } |
| 370 | |
| 371 | // Modify is not yet supported for the ldap backend |
| 372 | func (h ldapHandler) Modify(boundDN string, req ldap.ModifyRequest, conn net.Conn) (result ldap.LDAPResultCode, err error) { |
no test coverage detected