Jump to content

Recommended Posts

Posted (edited)

We use pydio and map the users homedrive...

first of create a workspace

 

under PATH put the real path where the users homedrives are going to mount to. eg /mnt/files/pupilwork/AJXP_USER

i leave the Recycle Bin Folder empty (we dont need it)

everything else is left as default.

 

The real configuration now starts - click on "Workspace Features" tab

Now depending on where your homedrives are stored you need to choose a FS TYPE (Filesystem Type) for us we use cifs (so type in cifs)

 

SUDO needs to be yes (You may have to configure PYDIO to allow this)

 

the "Remote Path" needs to be the root folder of where your data is eg \\testserver\pupils\homedrives\

MOUNT POINT is the real path where your are going to mount the remote paths too (this was set when you initially created the workspace) eg /mnt/files/pupilwork/AJXP_USER

 

the mount options needs to be

 

user=AJXP_USER,pass=AJXP_PASS,uid=AJXP_SERVER_UID,gid=AJXP_SERVER_GID (this allows home drive to be mapped via the users logged in name, say jsmith logs in then this gets used in the AJXP_USER variable)

 

"Pass Password Via Environment Instead of Command Line" = Yes

 

"Remove mount point on unmount" = Yes

 

"Session Credentials" = Yes

 

(Don't forget to hit the save button at the bottom of the page then the workspace save button at the top of the page - not sure what version you are using but this should of been fixed by now)

 

Now you need to assign your newly created workspace to your users.

 

We use LDAP in our pydio setup, so by clicking on "Roles" (on the left hand side menu) i can see all of our groups available, i find the group i want to assign this newly created workspace eg "students" and click on it, click on the "ACL" tab and find the workspace in the list tick "Read" and "Write" and then click "save"

 

Click on the "Account Info" tab and under "Default Repository" select the worksapce you have created.

 

Click "Save"

 

Log out and try logging in as a user that should have this workspace assigned to.

 

hopefully it should appear and mount correctly.

 

 

hope this helps.

Edited by pfl
Posted

Im not sure if I have setup the LDAP auth correctly. I can get AD users to login but did you set (image below) the homeDirectory as an LDAP attribute? if so what do i Insert here? Thanks

 

ldapauth.jpg

Posted

Also I keep getting error

Fatal error: Call to undefined function posix_getuid() in G:\xampp\htdocs\pydio\plugins\meta.mount\class.FilesystemMounter.php on line 90

Posted

To be honest with you we have had multiple issues with pydio, we are stuck on an older version as the latest version and certain version above the one we currently are on cause issues.

 

The latest version introduces a "No active repository" bug for every user and fails to mount, the version before allows users to see there home drive and gives them write access to the root of home drive, but sub folders only give read only access, i can mount manually and permissions are fine, developer from pydio had no idea after a lot of looking at log files.

 

For now it works, it still has issues, every now and then the workspace will create a local 'recycle_bin' (even though it is disabled) this can cause the repository to fail to mount, deleting the local recycle_bin folder for that user fixes it... an index file gets created per local user folder (hidden on linux called .ajxp_user) i have had trouble with this file removing it fixes the mount issue, also the languages cache .key file corrupts ... deleting that also fixes logging in....

 

at the moment i have just noticed pupils can now see all workspaces, even though the acl denies them seeing staff workspaces - this has worked fine before!

 

...but when it works its fine.....

 

the pydio forums would be a great start for support but they are down more then they are up and the only way is to view google cached versions of forum pages.

 

 

Currently looking at other solutions to be honest with you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...