Veyon configuration file with LDAP



  • Not being able to place a file, please find below the contents of a configuration file intended for a Windows park and querying the LDAP.

    Please enter the address of your server, create an account in OU "users" with permission to query it and set it a password

    The g_eleves group is not allowed to use the Veyon console and thanks to LDAP filters, only computers in the same room as the supervisor are loaded.

    {
    	"AccessControl": {
    		"AccessControlRules": {
    			"JsonStoreArray": [
    				{
    					"Action": 1,
    					"Description": "Autorise tous le monde SAUF les élèves à se connecter à ce poste avec Veyon",
    					"IgnoreConditions": false,
    					"InvertConditions": true,
    					"Name": "Accès interdit aux élèves",
    					"Parameters": [
    						{
    							"Argument": "g_eleves",
    							"Condition": 1,
    							"Enabled": true,
    							"Subject": 1
    						}
    					]
    				}
    			]
    		},
    		"AccessControlRulesProcessingEnabled": "true",
    		"AccessRestrictedToUserGroups": "false",
    		"AuthorizedUserGroups": [
    		],
    		"DataBackend": "{00000000-0000-0000-0000-000000000000}",
    		"DomainGroupsEnabled": "true",
    		"UserGroupsBackend": "{2917cdeb-ac13-4099-8715-20368254a367}"
    	},
    	"Authentication": {
    		"KeyAuthenticationEnabled": "true",
    		"LogonAuthenticationEnabled": "true",
    		"Method": 0,
    		"PermissionRequiredWithKeyAuthentication": "false",
    		"PermissionRequiredWithLogonAuthentication": "false",
    		"PrivateKeyBaseDir": "$GLOBALAPPDATA\\keys\\private",
    		"PublicKeyBaseDir": "$GLOBALAPPDATA\\keys\\public"
    	},
    	"BuiltinDirectory": {
    		"NetworkObjects": {
    			"JsonStoreArray": [
    			]
    		}
    	},
    	"Core": {
    		"PluginVersions": {
    			"JsonStoreObject": {
    				"{14bacaaa-ebe5-449c-b881-5b382f952571}": "1.1",
    				"{1b08265b-348f-4978-acaa-45d4f6b90bd9}": "1.0",
    				"{1baa01e0-02d6-4494-a766-788f5b225991}": "1.0",
    				"{1bdb0d1c-f8eb-4d21-a093-d555a10f3975}": "1.0",
    				"{2917cdeb-ac13-4099-8715-20368254a367}": "1.0",
    				"{2ad98ccb-e9a5-43ef-8c4c-876ac5efbcb1}": "1.0",
    				"{387a0c43-1355-4ff6-9e1f-d098e9ce5127}": "1.0",
    				"{39d7a07f-94db-4912-aa1a-c4df8aee3879}": "1.0",
    				"{4122e8ca-b617-4e36-b851-8e050ed2d82e}": "1.0",
    				"{4790bad8-4c56-40d5-8361-099a68f0c24b}": "1.0",
    				"{67dfc1c1-8f37-4539-a298-16e74e34fd8b}": "1.1",
    				"{6f0a491e-c1c6-4338-8244-f823b0bf8670}": "1.1",
    				"{85f6c631-e75a-4c78-8cb2-a7f3f502015a}": "1.0",
    				"{8ae6668b-9c12-4b29-9bfc-ff89f6604164}": "1.0",
    				"{a54ee018-42bf-4569-90c7-0d8470125ccf}": "1.0",
    				"{b47bcae0-24ff-4bf5-869c-484d64af5c4c}": "1.0",
    				"{ee322521-f4fb-482d-b082-82a79003afa7}": "1.0"
    			}
    		}
    	},
    	"Demo": {
    		"FramebufferUpdateInterval": 100,
    		"KeyFrameInterval": 10,
    		"MemoryLimit": 128
    	},
    	"DesktopServices": {
    		"PredefinedPrograms": {
    			"JsonStoreArray": [
    				{
    					"Name": "FireFox",
    					"Path": "%programfiles%\\Mozilla Firefox\\firefox.exe",
    					"Type": 1,
    					"Uid": "{a72a68e4-b2fe-42c8-8d1e-5114a1aae99b}"
    				},
    				{
    					"Name": "LibreOffice",
    					"Path": "%programfiles%\\LibreOffice 5\\program\\soffice.exe",
    					"Type": 1,
    					"Uid": "{2d5e5c24-76c9-4c42-9c66-ea3e623d387d}"
    				},
    				{
    					"Name": "Scratch",
    					"Path": "%programfiles(x86)%\\Scratch 2\\Scratch 2.exe",
    					"Type": 1,
    					"Uid": "{af56065c-bd19-44a2-86cd-1fc081f23548}"
    				}
    			]
    		},
    		"PredefinedWebsites": {
    			"JsonStoreArray": [
    				{
    					"Name": "FriseChronos",
    					"Path": "http://www.frisechronos.fr/",
    					"Type": 2,
    					"Uid": "{16249f81-efd8-450f-aced-2532fdc95a23}"
    				},
    				{
    					"Name": "Chronomètres",
    					"Path": "https://www.online-stopwatch.com/",
    					"Type": 2,
    					"Uid": "{c8dced73-fdcb-4c14-8062-38da82dd8bee}"
    				},
    				{
    					"Name": "Créer des cartes sur uMap",
    					"Path": "https://umap.openstreetmap.fr/fr/",
    					"Type": 2,
    					"Uid": "{645df897-4b84-4d9c-bda8-32a270e20132}"
    				},
    				{
    					"Name": "Narbonne en 3D",
    					"Path": "http://demo.f4map.com/#lat=43.1878513&lon=3.0064452&zoom=17",
    					"Type": 2,
    					"Uid": "{e67a1536-185e-4553-9c55-5ffee874975e}"
    				},
    				{
    					"Name": "Carte OpenData de Montpellier",
    					"Path": "http://demo.3liz.com/lizmap/index.php/view/map?repository=opendata&project=montpellier",
    					"Type": 2,
    					"Uid": "{ebaf8c77-85aa-4994-9796-989173ba474c}"
    				},
    				{
    					"Name": "Bassin versant du Languedoc",
    					"Path": "http://tools.geofabrik.de/osmi/?view=water&lon=2.80264&lat=43.36977&zoom=9&overlays=riverbank_areas,water_areas,coastline,waterways_drain,waterways_canal,waterways_stream,waterways_river,waterways_riverbank,waterways_other,waterrelations_drain,waterrelations_canal,waterrelations_stream,waterrelations_river,waterrelations_riverbank,waterrelations_other,waterways_in_tunnels,waterways_on_bridges,waterways_width,waterways_width_error,waterways_without_names",
    					"Type": 2,
    					"Uid": "{8ba89714-ae24-462c-af3b-d421e933b948}"
    				},
    				{
    					"Name": "Créer un plan de ville",
    					"Path": "https://maposmatic.osm-baustelle.de/",
    					"Type": 2,
    					"Uid": "{79ba5cd7-a99d-462d-815a-a9188fe31b67}"
    				},
    				{
    					"Name": "OpenStreetMap",
    					"Path": "http://www.openstreetmap.org/",
    					"Type": 2,
    					"Uid": "{c716a65f-3b38-46cc-9193-699de6020060}"
    				}
    			]
    		}
    	},
    	"Directories": {
    		"Screenshots": "$APPDATA\\Screenshots",
    		"Snapshots": "$APPDATA\\Snapshots",
    		"UserConfiguration": "$APPDATA\\Config"
    	},
    	"ExternalVncServer": {
    		"Password": "",
    		"ServerPort": 5900
    	},
    	"Features": {
    		"DisabledFeatures": [
    			"{4f7d98f0-395a-4fff-b968-e49b8d0f748c}",
    			"{ae45c3db-dc2e-4204-ae8b-374cdab8c62c}"
    		]
    	},
    	"LDAP": {
    		"BaseDN": "",
    		"BindDN": "veyon",
    		"BindPassword": "",
    		"ComputerContainersFilter": "(!(|(Name=Stations)(Name=Bâtiment*)))",
    		"ComputerGroupTree": "",
    		"ComputerGroupsFilter": "",
    		"ComputerHostNameAsFQDN": "false",
    		"ComputerHostNameAttribute": "CN",
    		"ComputerMacAddressAttribute": "wWWHomePage",
    		"ComputerRoomMembersByAttribute": "false",
    		"ComputerRoomMembersByContainer": "true",
    		"ComputerRoomNameAttribute": "OU",
    		"ComputerTree": "OU=stations",
    		"ComputersFilter": "",
    		"ConnectionSecurity": "0",
    		"GroupMemberAttribute": "CN",
    		"GroupTree": "OU=groupes",
    		"IdentifyGroupMembersByNameAttribute": "false",
    		"NamingContextAttribute": "",
    		"QueryNamingContext": "true",
    		"RecursiveSearchOperations": "true",
    		"ServerHost": "srv-pedag",
    		"ServerPort": 389,
    		"TLSVerifyMode": "0",
    		"UseBindCredentials": "true",
    		"UserGroupsFilter": "",
    		"UserLoginAttribute": "sAMAccountName",
    		"UserTree": "OU=profs",
    		"UsersFilter": ""
    	},
    	"LocalData": {
    		"NetworkObjects": {
    			"JsonStoreArray": [
    			]
    		}
    	},
    	"Logging": {
    		"LimittedLogFileSize": "false",
    		"LogFileDirectory": "$TEMP",
    		"LogFileRotationCount": 10,
    		"LogFileRotationEnabled": false,
    		"LogFileSizeLimit": 100,
    		"LogFileSizeLimitEnabled": false,
    		"LogLevel": 4,
    		"LogToStdErr": true,
    		"LogToSystem": false,
    		"LogToWindowsEventLog": "false"
    	},
    	"Master": {
    		"AccessControlForMasterEnabled": "true",
    		"AutoAdjustGridSize": "true",
    		"AutoSwitchToCurrentRoom": true,
    		"ComputerDoubleClickFeature": "{a18e545b-1321-4d4e-ac34-adc421c6e9c8}",
    		"ComputerFilterHidden": "true",
    		"ComputerMonitoringBackgroundColor": "#ffffff",
    		"ComputerMonitoringUpdateInterval": 1000,
    		"ConfirmDangerousActions": "true",
    		"EnforceSelectedModeForClients": "false",
    		"LocalComputerHidden": "true",
    		"ManualRoomAdditionAllowed": "false",
    		"OnlyCurrentRoomVisible": true,
    		"OpenComputerManagementAtStart": false
    	},
    	"Network": {
    		"ComputerControlServerPort": 11100,
    		"DemoServerPort": 11400,
    		"FeatureWorkerManagerPort": 11300,
    		"FirewallExceptionEnabled": "1",
    		"LocalConnectOnly": "false",
    		"PrimaryServicePort": 11100,
    		"VncServerPort": 11200
    	},
    	"NetworkObjectDirectory": {
    		"Plugin": "",
    		"UpdateInterval": 60
    	},
    	"Service": {
    		"Arguments": "",
    		"Autostart": true,
    		"HideTrayIcon": "true",
    		"SoftwareSASEnabled": "1"
    	},
    	"UI": {
    		"ApplicationName": "",
    		"EnableHighDPIScaling": false,
    		"Language": ""
    	},
    	"UltraVNC": {
    		"CaptureLayeredWindows": "true",
    		"Configured": "true",
    		"LowAccuracy": "true",
    		"PollFullScreen": "true"
    	}
    }

Log in to reply