Replies: 1 comment
-
@schwos can you share your details on how you got this working? I'm struggling with the same prefix issues, and the same error. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can someone let me know if the SFTPGO_PLUGIN_AUTH_PRIMARY_GROUP_PREFIX is actually a prefix to a set of groups for example GROUPPREFIX_ or is is a full group name? I have been hitting my head against the wall for a bit and looking at the debug output and doesn't matter what way I put it I am not getting the result expected.
{"level":"debug","time":"2024-05-20T20:51:13.995","sender":"connection_failed","client_ip":"x.x.x.x","username":"demo_user","login_type":"password","protocol":"HTTP","error":"NOT NULL constraint failed: users_groups_mapping.group_id"}
That environment variable appears to be miss leading.
Lastly;
Do we just put the prefix in if it is a prefix or do we put the entire group name as:
cn=groupname, ou=groups, dc=domainname, dc=org etc..
edit:
After some trial and error I believe we determined how this is setup. It is just the group itself.
Beta Was this translation helpful? Give feedback.
All reactions