This is where sharing each users home folder would help out if they are on the same server so \\server\username$ would take you to the correct place but if you have more than one server it won't work.
I had a look and it looks like it querying the shell folders entry in the registry so I assume if your my docs are redirected properly etc it should go straight to their home dir.
OK, mydocs are redirected for the student home dirs, but not for staff - I've tried it with the <MyFiles> variable, but just kicks up an error. It wont work by specifying P:\PDF's because it's expecting the P: drive to be mapped on the server and not the client if you know what I mean :/
On Linux you can also fudge it with UnionFS. I need to do that here for some situations (web server related).
Consider the following:
I have two windows file servers. One holding the staff my docs, other holding the pupils my docs. They have shares for each top level folder, rather than individual user shares. eg.
Assuming I'm using autofs on my linux box to mount the above shares. I'll have the following directories present on my system:
Now all I need to do is glue them together with unionfs:
(I've used /home/ so the mount point is compatible with where Linux expects users home directories to be. This means, for example, you can export this over NFS and have a room full of Linux desktop PCs...).Code:mount -t unionfs -o dirs=/smb/server1/pupils:/smb/server2/staff none /home/
You can then alter the cups-pdf printer driver to output to /home/$USER$ and it'll write files to the users my docs.
No, I've entirely fixed the problem you had. All you need to do now is to implement it.
Last edited by Geoff; 14th March 2008 at 02:59 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)