From 695e7dccc5dbad9ab881487a87e76d410dd19160 Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Sun, 28 Sep 2025 17:19:40 +0200 Subject: [PATCH] Added object attribute specifications --- docs/20250928 Object attribute specs.md | 50 ++++++++++++++++++++++++ src/wwwroot/user_default.jpeg | Bin 0 -> 1209 bytes 2 files changed, 50 insertions(+) create mode 100644 docs/20250928 Object attribute specs.md create mode 100644 src/wwwroot/user_default.jpeg diff --git a/docs/20250928 Object attribute specs.md b/docs/20250928 Object attribute specs.md new file mode 100644 index 0000000..1dab42c --- /dev/null +++ b/docs/20250928 Object attribute specs.md @@ -0,0 +1,50 @@ +# Object attribute spec + +## users +- ObjectClass: + - extensibleObject + - person + - top +- cn = Name +- sn = Surname +- title = title (e.g. "Dr.", "Herr", "Frau", etc.) +- uid = user identifier (e.g. sn + cn or sn[1:3] + cn[1:3]) +- jpegPhoto = jpeg photo of the user +- userPassword = user password (hashed using one of these: PBKDF2, BCrypt/SCrypt, Argon2) +- description = json string containing data as JSON. E.g.: + - `{"BirthDate": "01.01.2001", "Address": {"City": "Gelsenkirchen", "Street": "Vattmannstraße", "StreetNr": "11" }, "Workplace": "btg-317-23"}` + +## locations +- ObjectClass: + - extensibleObject + - locality + - top +- cn = location identifier (e.g. location name + room name + seat) +- l = location name (e.g. "btg") +- street = Street name and number (e.g. "Overwegstraße 30") +- description = json string containing data as JSON. E.g.: + - `{"RoomNumber": "317", "Seat": "23"}` + +## groups +- ObjectClass: + - extensibleObject + - posixGroup + - top +- cn = group identifier (e.g. "admin") +- gidNumber = group id number (e.g. 1) +- displayName = display name (e.g. "Administrator") +- description = json string containing data as JSON. E.g.: + - `{"Permissions": ["CanInventorize", "CanManageUsers", "CanManageLocations", "CanManageAssets", "CanManageGroups"]}` + +## assets +- ObjectClass: + - device + - extensibleObject + - top +- cn = inventory id of the device (e.g. "2000001") +- name = Make & model of the device (e.g.: "AMD Radeon RX9070 XT OC Black Triple Fan 16 GB GDDR6", "Voodoo 3 3500TV") +- serialNumber = serial number of the product as specified by the manufacturer +- owner = current owner of the product as an attribute list (e.g.: "uid=testuser") +- l = location cn (e.g. "btg-317-23") +- description = json string containing data as JSON. E.g.: + - `{"Type": "PC Component", "Purchase":{"PurchaseDate": "2024-01-01", "PurchaseValue": "877.33", "PurchasedAt": "SpechtleKG", "purchasedBy": "musterfrauandrea"}}` diff --git a/src/wwwroot/user_default.jpeg b/src/wwwroot/user_default.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..0141c99b8976767ef302acbd59b7e4f771e850aa GIT binary patch literal 1209 zcmex=v2m-yu#K?m1G$WHB12YRNyO5Hoq7&FmCXku$ z@9dl}&m6H!Ua4fM>5EgXN#?0R*UE%qjxRrRL#_Ep>+0O zfTrsT00RRU-|Vcg@L*yDnk~p6WXL8Utf(xaV&v!)*cdeN;KdKnz+tmzI?9}o;xOgi z75_e?Aa{3-n0W0-|IWNu&kb2!cEko7CGFo}_`oYWOTk@JTY2%6H#(wg+K+6n%Ad)k zbmPtHspUtrS|b(*WjC$pFMH9d%By=`gL|#sw&?qhg=Ve0rg1gvq1IyCHbplF@1ip- zuUD_V_Wj4b(wBF2I_1^Kasl9iSiuB>`ZHMG8_u21Ua}0ms0D zg$pmj5`n$qO5s$4X%>wUjjcgyr&4u`nGBh^XIxA(O+8{6!DP;9q;qV^j%IE_rlS=b zt6R$cF0$hnc@^z!QC&ZeW6BKO<>yCO5#UO9I`>Xtsi}p?xz^s8g1n%@ zW{riJ6JJ#2BsfU?)4hBlAC$x;1%YW8*(e4^kpCRP=77?Q0BcNifcefjPRr)3*s*C@ zez8SM*iI(fQ{l_%f!d{k!2`4nXa)>0G6*Uf0z(HLG6G$)i`t4k%eJctycIC-a^AYr zyy@lliJr@JmThXh{61;2PoQt@`t_k366H*L`5qnVd#!L&a8{SnS_MtJT-OtOMD$`C ouS_v$YLIr0V_^K@y|datpm&