-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse not
attribute in Drives.xml
GPP filters
#72
Comments
Hi Dorian, I made this to test per role if a drive should be visible or not: I'm not sure how to interpret a Arnaud |
Hi Arnaud, I don't think, your implementation will work properly. For example: Regarding handling OR, I do it like this, not sure if it is correct, though: Please let us find another way for this. Regards, |
Hi Dorian,
Hum yes, I assumed the filter are only working on groups, and didn't know it can be user specific.
I don't understand what you mean.
Yes why not, but we are writing codes for differents use, and from different points of view (server/client). Arnaud |
Let's say, we have these filters:
Will result in a condition like this: ((((user.memberof("p_test1")) and user.memberof("p_test2")) or user.memberof("student")) and user.memberof("p_test3"))
Linuxmuster-tools is just one package at the moment. How about splitting it up in multiple packages, since it is already organized in different modules anyway? |
I rolled back the old basic test in the webui, i.e. only check if the share is disabled or not. There's now a separate file to handle drives objects in the lmntools repository: It's based on a I just need a test in user context, but you need to test it in computer context if I see correctly. Packaging was initially planned only as deb package. In order to make a pip package, it would be necessary to change the structure I think. We can see it in a second time. But if we can reuse it in differents contexts, it would make sense. Can you work with this structure ? Arnaud |
I think so 👍 How does the ldap authentication work in linuxmuster-tools? If it uses a kerberos ticket, I could probably reuse it without any changes. |
It's intended to work as root on the server, with |
Ah, ok. I thought, every user gets their own process and kerberos ticket and that is used. |
It's done: linuxmuster/linuxmuster-tools@c6bb2be But I have to assume that it's run from a linuxclient, because I need to get the hostname in order send the request. The differents modules in lmntools have some dependencies from each other, e.g. |
The
Drives.xml
GPP filters also have the optional attributenot
which negates the filter value. It should be handled.The text was updated successfully, but these errors were encountered: