Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
import type { Entry } from 'ldapts'
import type { ConnectionOptions } from 'node:tls'
import { LDAP_COMMON_ATTR, LDAP_LOGIN_ATTR } from './auth-ldap.constants.js'
export type LdapUserEntry = Entry &
Record<LDAP_LOGIN_ATTR | Exclude<(typeof LDAP_COMMON_ATTR)[keyof typeof LDAP_COMMON_ATTR], typeof LDAP_COMMON_ATTR.MEMBER_OF>, string> & {
[LDAP_COMMON_ATTR.MEMBER_OF]?: string[]
}
export interface LdapUserCandidate {
rawEntry: Entry
userDn: string
}
export type LdapCa = ConnectionOptions['ca']