+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
Home Access Plus+ Thread, null on Me tile in Projects:; Hi Nick, On the home page, on the green 'Me' tile that is displayed to users, if the user has ...
  1. #1

    Join Date
    Sep 2009
    Posts
    133
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    11

    null on Me tile

    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

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,560
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    hopefully will be fixed in v8.5

  3. #3

    Join Date
    Sep 2009
    Posts
    133
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    11
    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

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,560
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    Hmm, recursive groups would cause a drop in performance, but I'll look into it.

  5. #5
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,560
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    Ok, would you be willing to give the attached updated HAP.AD.dll a try.

    I've switched the way it looks up if a user is in a group.

  6. #6

    Join Date
    Sep 2009
    Posts
    133
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    11
    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\%us ername%

    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.
    Last edited by mobybrick; 1st December 2012 at 11:36 PM.

  7. #7

    Join Date
    Sep 2009
    Posts
    133
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    11
    OK, will try to test as soon as I can... but that's likely to be Monday

  8. #8
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,560
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    ok, added the DFS Target that you've suggested
    Code:
    if (server.FSRM) return c.GetQuotaFromPath(string.IsNullOrWhiteSpace(server.DFSTarget) ? share : server.DFSTarget.ToLower().Replace("%username%", username.ToLower()));

  9. #9

    Join Date
    Sep 2009
    Posts
    133
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    11
    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.

  10. #10
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,560
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    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

  11. #11

    Join Date
    Sep 2009
    Posts
    133
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    11
    ...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

  12. #12
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,560
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    yep, that still takes please, it queries if the dfstarget is nothing and uses what ever it can. Thus the string.isEmptyOrWhiteSpace

  13. #13

    Join Date
    Sep 2009
    Posts
    133
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    11
    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

  14. #14

    Join Date
    Sep 2009
    Posts
    133
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    11
    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

  15. #15

    Join Date
    Sep 2009
    Posts
    133
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    11
    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
    Last edited by mobybrick; 3rd December 2012 at 08:22 PM.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. New one on me!
    By Jawloms in forum General Chat
    Replies: 11
    Last Post: 8th February 2012, 09:14 AM
  2. MAC Server keeps dying on me!
    By GoldenWonder in forum Mac
    Replies: 16
    Last Post: 22nd September 2010, 08:25 PM
  3. [Video] Take-on-Me-Literal-Video-Version
    By mattx in forum Jokes/Interweb Things
    Replies: 0
    Last Post: 10th October 2008, 02:21 PM
  4. I'm on me break!
    By ITWombat in forum Comments and Suggestions
    Replies: 3
    Last Post: 4th February 2007, 03:05 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •