lsm_nfs_auth_types(3)
β¨ lsm_nfs_auth_types β¨
okay bestie, welcome to the Libstoragemgmt C API Manual π this one's called lsm_nfs_auth_types, it lives in section 3 (yes, the "my code is being weird" section π«Ά), and it's here to spill the tea on which NFS client authentication types your array is willing to support. short page, but it's giving exactly what it needs to give. no filler, all facts. π
πΈ NAME πΈ
lsm_nfs_auth_types β gets the supported NFS client authentication types. that's it, that's the whole job, and she does it flawlessly. periodt. π
π¦ SYNOPSIS π¦
int lsm_nfs_auth_types (lsm_connect *conn, lsm_string_list **types,
lsm_flag flags);
π ARGUMENTS π
connβ a valid connection. like, an actual real live one. not a stale pointer, not a vibe, a connection. πtypesβ pointer to anlsm_string_list. this is where the list of NFS client authentication types lands. heads up though: the returned value must be freed with a call tolsm_string_list_free. do not ghost it, do not forget it, free it bestie. πflagsβ reserved for future use, so it must beLSM_CLIENT_FLAG_RSVD. no freestyling here, no custom values, just that one. π
β VERSION β
1.0 β a classic, an icon, a legend. π
π« DESCRIPTION π«
returns the types of NFS client authentication that the array supports. so if you've ever been like "hmm what auth can this thing even do", this function is literally the answer. it hands you back a whole list and you go read it. slay. β¨
π₯ CAPABILITY π₯
LSM_CAP_EXPORT_AUTH
that's the capability gate for this one β iykyk. π§
π RETURN π
error code, as enumerated by lsm_error_number. so like, the numbers in that enum. the possibilities are:
LSM_ERR_OKβ on success. we love to see it. πLSM_ERR_NO_SUPPORTβ not supported. it's not a you problem, the array just can't do it. π
fr fr: check that return value. LSM_ERR_OK means you got your list, anything else means you didn't, and there is no in-between. π
that's the whole page, bestie!! short, sweet, and fully functional. π¦
and a lil sign-off from the Libstoragemgmt C API Manual β this page is dated February 2026, ships with version 1.0, and yes, lsm_nfs_auth_types really does appear at the bottom of every page like a little signature. iconic behaviour honestly. mwah. π
ππ
π¦ where this page comes from
- fedora 43: libstoragemgmt-devel 1.10.3-1.fc43 Β· LGPL-2.1-or-later
- fedora 44: libstoragemgmt-devel 1.10.3-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms