Skip to content
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

XCreds does not display menu drop-down checkmark for mapped home share #240

Open
dstranathan opened this issue Jun 21, 2024 · 2 comments
Open
Assignees
Milestone

Comments

@dstranathan
Copy link

dstranathan commented Jun 21, 2024

New in XCreds 5 is the ability to show a checkmark next to any mounted volumes from the XCReds 'Shares' sub-menu. This is similar to the behavior in NoMAD that some admins may be familiar with. This new feature is working great for all my SMB volumes - except for the user's home SMB share.

See screenshot for example.

Relevant keys:

<key>HomeMountEnabled</key>
<false/> 
<key>SlowMount</key> 
<true/>
 <key>SlowMountDelay</key> 
<integer>2000</integer>

Relevant Shares:

<dict> 
<key>AutoMount</key> 
<true/> <key>ConnectedOnly</key> 
<true/>
 <key>Groups</key> 
<array/> 
<key>Name</key> 
<string>home</string> 
<key>URL</key> 
<string>smb://server.domain/homedir/&lt;&lt;shortname&gt;&gt;</string> 
</dict>

Notes:

NoMAD must handle this differently because it displays the checkmark as expected when the home share is mounted. Configs and keys are identical in both XCreds and NoMAD. See screenshot for example.

XCreds does display a "Network Home" under the Shares menu (which is checked), but a second 'home" appears unchecked. Trying to understand how XCreds is doing this compared to NoMAD.

-Our EMC/Dell/Isilon storage uses down-level mapping for homes. Example: a variable is used to map the user's short name to the corresponding share under its parent home directory.

-Technically this mount isn’t an AD “Home Mount” (and we dont use AD Home Mounts) our home shares are basically just like any another SMB share (but dynamically use shortname in the URI). Note that the key HomeMountEnabled is not enabled (in both XCreds and NoMAD).

XCreds5-Shares-home_drive

NoMAD-Shares

@twocanoes
Copy link
Owner

please provide the log that shows the mounting.

@dstranathan
Copy link
Author

I will also add that it's not uncommon for XCReds 5 to not show any checkmarks on mounted volumes in the drop-down menu, or it will display a mix of checked and unchecked shares - even though all shares are mounted. Generally, I can restart XCreds and the stats will be correctly reflected in the drop-down menu. Example

Screenshot 2024-08-02 at 16 07 45

@twocanoes twocanoes added this to the XCreds 5.1 milestone Oct 17, 2024
@davelebbing davelebbing modified the milestones: XCreds 5.1, XCreds Future Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants