Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

Hi Nick,

 

On the home page, on the green 'Me' tile that is displayed to users, if the user has no e-mail account specified in active directory then the green tile shows 'null' in letters below the title of the tile. Can this be fixed please?

 

Thanks

Moby

Posted

Hi Nick,

 

Thanks for this, much appreciated.

 

I don't suppose by the way - and this is probably too big an ask for you to fix in the upcoming 8.5 - is there any chance that recursive group membership can be made to work?

 

For example, if you have showto (or mappings etc) set to 'Students' and the 'Students' group contains two other groups - 'Full Time Students' and 'Part Time Students' then items will not be shown at present to anyone who is just a member of the sub-groups. Only a small issue tho, but I suspect a bigger one to actually change/fix...

 

Thanks

Moby

Posted (edited)

Thanks Nick. You da man!

 

One other thing that'd be really helpful, would be a modification to the quotaserver lookup routine so that DFS based home drive would work for quota lookup.

 

In the same way that the "frsm=" is an advanced quotaserver setting, what would be great would be a "dfstarget=" setting. The logic would match drivemap to quota server as before but then use the target name to get the real sharename so that quota lookups would still work.

 

driverletter=x

servername=srv01

sharemapping=\\domainname\dfs\target\sharename\%username%

 

At present, no quotas can be retrieved even if server srv01 is queried for the space.

 

But the optional dfstarget string, specfied along with the quotaserver settings could be used to get the real sharename, to be used as the parameter for the Quota functions.

 

dfstarget=\\srv01\sharename\%username%

 

So, if "dfstarget" is specified, the code should match the correct quota string from mapping to quotaserver as it does at present, but then use the specified dfstarget as the parameter to the specified server for the space lookup. Of course, different mappings/quotaserver specifications would have their own each optional dfstarget setting.

 

Any good?

 

This would help us where all staff are configured with dfs based home drives, and quotas/drive spaces cannot be retrieved.

 

Thanks, hope this makes sense!

 

Yours

Moby.

Edited by mobybrick
Posted

ok, added the DFS Target that you've suggested

if (server.FSRM) return c.GetQuotaFromPath(string.IsNullOrWhiteSpace(server.DFSTarget) ? share : server.DFSTarget.ToLower().Replace("%username%", username.ToLower()));

Posted

Thanks. It'll need to be tested! ;-))

 

Not sure I'm reading the code you posted correctly tho.... The DFSTarget is nothing to do whether FSRM is true or not, so there should be a second line of code similar to the one you've posted in case FSRM is not in use.

 

Once a mapping has been located in the list of quotaservers, then the optional DFSTarget setting should be used, whether FSRM is in use or not.

Posted
Yes, but only the FSRM queries based on folders, it defaults to using the older drive quotas, so leaving it the FSRM section is fine as that's the only time it queries on a folder path
Posted

...and of couse, if DFSTarget has not been specified, then the code needs to fall back to the standard UNC string that it matched on the quotaservers in the first place, with the %username% lookup...

 

Ta

M

Posted

Great, this means that a fileshare mapping can now be left at %homedir% and then later on when quotaservers are being enumerated, both dfs and standard UNC mappings can be sorted out depending on what the user has. Do you want me to test a beta on Monday?

M

Posted

Hi Nick,

 

I've tried the replacement DLL. It's doesn't seem to make any difference to behaviour - group looks still work, but not recursively.

 

I set a mapping to 'HAP Staff' which is a group which just contains other groups - and the mapping no longer worked. Other mappings, unaltered, continued to work fine.

 

 

p.s. Do you also have code for me to test the DFSTarget feature with ;-))

 

Thanks,

Moby

Posted (edited)

Hi Nick,

 

Also, in addition to the recursive AD groups lookup, plus the DFSTarget testing... any chance of making one more change... Is there any feasibility in adding the 'Open URL in new window' option, for URL objects on the homepage? It could default to current behaviour (i.e. open same window)...

 

Thanks for all your help,

Moby

Edited by mobybrick
Posted

Thanks Nick.

 

Any joy with a test build for DFSTarget or recursive please, if/when you can??

 

Ta muchly

Moby

 

it's already there, add _blank to the target attribute

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...