import React from 'react'; import { Globe, Power, Server, Shield, User, Layers, Lock, Wifi, RotateCcw } from 'lucide-react'; import { cn } from '@/lib/utils'; interface LdapManagerProps { ldapConfig: any; setLdapConfig: (config: any) => void; testingLdap: boolean; onTestLdap: () => void; onUpdateLdap: () => void; } export default function LdapManager({ ldapConfig, setLdapConfig, testingLdap, onTestLdap, onUpdateLdap }: LdapManagerProps) { return (
Ldap Authorization
{ldapConfig.ldap_enabled ? "External Directory Active" : "Internal Authentication Only"}
Use Tls
{ldapConfig.use_tls ? "Encrypted Channel" : "Standard Link"}