Good evening,
Kept looking around, and now playing with radius.
I've been able to connect with radclient but not radtest yet.
Here is the working command:
echo "User-Name=admin,class=built-in,User-Password=123" | radclient 127.0.0.1 auth testing123
Tried the usual ways (built-in/admin...) but unable to use the class argument under radtest. Did I miss something to make it work?
Thanks in advance.
EDIT: for instance, radtest -t pap built-in/admin 123 localhost 1812 secret
Appears in log as 2024/03/07 17:05:47 handleAccessRequest() username=built-in/admin, org=, password=123 (clearly, org not transmitted)
and result as Received Access-Reject Id 138 from 127.0.0.1 to 127.0.0.1:48544 length 20
(0) -: Expected Access-Accept got Access-Reject
Edit2: from what i read in the code in radius/server.go, the character "/" should work. But it's does not seem to. Can you guess why ?
if strings.Contains(username, "/") {
organization, username = util.GetOwnerAndNameFromId(username)
}
Using the latest casdoor on nextcloud's hub. (not AIO, regular version)
Checked a bit deeper, not enough knowledge to offer a code update sorry 😕
Opening an issue instead
Update:
Quite hard to get more accurate information as it's for entreprise support users https://portal.nextcloud.com/article/Authentication/Single-Sign-On-(SSO)/Configuring-Single-Sign-On
yes got it
I m gonna check on nextcloud wiki, brb thank you
From what i've seen, Nextcloud expects multiple ,one per group, under one element
I feel like it doesn't accept other inputs with separators
Do I answer your question ?
Hey!
New to casdoor as well. And honestly, truly wonderful.
Was able to configure SSO and SAML auth with nextcloud. But now, i'm trying to transmit the group information from the user during the auth and don't know how to do.
Tried through a custom attribute but can only transmit a predefined value, not the current user groups belonging.
Do you have any lead ?
Thanks

