Anonymous_User Absent Member.
Absent Member.
4122 views

DLU "cache volatile user"

does anyone know if DLU "Cache Volatile User for time period (Days)"
works with Windows 2000 pc's?

I am testing with a clean install of ZCM10sp2 on a clean install of
SLES10sp2. Setup a policy with DLU and volatile user cache set for 999 days.
This works fine on XP, Vista, and Win7 clients, but on Windows 2000 it
deletes the user on logout every time.

I'm looking thru the pdf documentation right now, but I'm not seeing any
exclusions for Win2k.
Labels (2)
0 Likes
22 Replies
shaunpond Absent Member.
Absent Member.

Re: DLU "cache volatile user"

Steven,

works for me with W2K, just tested it...

--

Shaun Pond


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: DLU "cache volatile user"

Shaun Pond wrote:
> Steven,
>
> works for me with W2K, just tested it...
>

I'm at a loss - I've tried this on 2 clean installs of Win2k sp4 and it
consistently deletes the user every time. Same policy works fine on XP,
Vista, and Win7. Apparently I'm missing something...
0 Likes
shaunpond Absent Member.
Absent Member.

Re: DLU "cache volatile user"

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: DLU "cache volatile user"

Shaun Pond wrote:
> Steven,
>
> time to get some logs, I think... Debug logs in ZCM
> http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=3418069&sliceId=SAL_Public&dialogID=51010132&stateId=0%200%2051008788
>


yeah, that is what I'm doing now - lots of information to go through
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: DLU "cache volatile user"

to be accurate...
I'm creating a DLU policy that give each person that logs onto the
computer the same local username/profile. So I can be pcmaint in eDir,
but TestUser on the pc.

I setup this policy:
--------------------------------------------------------------------------------
- Enable the enforcement of this policy
- After enforcement, force a re-login on the managed device, if necessary.
- Use the credential specified below (Always volatile)
- User Name = TestUser
- Manage existing user account (if any)
- Enable Volatile User cache
- Cache Volatile User for time period (Days) = 999
- Member of = Administrators
--------------------------------------------------------------------------------

On XP,Vista, and Win7 this works great, however on Win2k it deletes the
user every time.

I load the ZenWorks client on the pc, first login works great. On logout
it deletes the user and leaves the profile on the computer. Next login
it recreates 'Testuser' and makes a new profile 'pcname.testuser.000'

--------------------------------------------------------------------------------
<PolicyInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<UID
xmlns="http://www.novell.com/zenworks/policyservice">60be1916adb1d01765fc2e38c09e6ada</UID>
<Name
xmlns="http://www.novell.com/zenworks/policyservice">TestAdminUser</Name>
<Type xmlns="http://www.novell.com/zenworks/policyservice">dlu
policy</Type>
<SysReqs xmlns="http://www.novell.com/zenworks/policyservice" />
<Version xmlns="http://www.novell.com/zenworks/policyservice">0</Version>
<ApplyImmediate
xmlns="http://www.novell.com/zenworks/policyservice">true</ApplyImmediate>
<ActionSets xmlns="http://www.novell.com/zenworks/policyservice">
<Enforce>
<ActionSet>
<ns1:ActionSet Ordered="true"
SetID="0fc8c25988e6a497c0504f2db2130acd" Type="Enforcement"
xmlns="http://www.novell.com/ZENworks/Actions/v1.0"
xmlns:ns1="http://www.novell.com/ZENworks/Actions/v1.0">
<CurrentActionItem>0</CurrentActionItem>
<Action ContinueOnFailure="true" Enabled="true"
Id="7b53790ea89cb81bd608ceb19cfa31a1" Type="dlu policy" Undo="false">
<Name>dlu policy</Name>
<Data>
<PolicyData
xmlns="http://novell.com/zenworks/datamodel/objects/policies">
<ns1:DLUPolicyHandlerData
xmlns="http://www.novell.com/ZENworks/Policies/dlupolicy"
xmlns:ns1="http://www.novell.com/ZENworks/Policies/dlupolicy">
<DLUSettings manageExistingUser="true"
useAuthoritativeSource="false" volatileUser="true">
<UserName>TestUser</UserName>
<FullName>TestUser</FullName>
<Description>TestUser</Description>
<GroupList>
<Group customGroup="false" name="Administrators"
selected="true" />
</GroupList>
<VolatileUserDays>999</VolatileUserDays>
</DLUSettings>
<ns1:LoginRestrictions associateOnUser="true">
<WorkstationExcludedList />
<WorkstationIncludedList />
<UserExcludedList />
<UserIncludedList />
</ns1:LoginRestrictions>
<ns1:FileList />
</ns1:DLUPolicyHandlerData>
</PolicyData>
</Data>
<Properties>
<Name>LogoutDelay</Name>
<Value>300</Value>
</Properties>
</Action>
</ns1:ActionSet>
</ActionSet>
</Enforce>
</ActionSets>
</PolicyInfo>.]

....
[dlu policy] [] [Entering PrepareForLogoutTestUser] [] []
[dlu policy] [] [ExtensionUtils.IsTerminalServer() :
FalseExtensionUtils.IsLastLocalUserSession(request.UserName) : True] [] []
[dlu policy] [] [GroupName in getLocalizedGroupName : Administrators,
wellKnownGroup : 1] [] []
[dlu policy] [] [Localized group name is 'Administrators'] [] []
[dlu policy] [] [ GetVolatileCacheData] [] []
[dlu policy] [] [RestoreUserforVolatility] [] []
[dlu policy] [] [VolatileCacheArraypcmaint] [] []
[dlu policy] [] [ sys date and time6/19/2009 10:49:16 AMvol
char6/19/2009 10:42:35 AM] [] []
[dlu policy] [] [Volatile User cache during logout - time span:
Falsepcmaint] [] []
[dlu policy] [] [PutCache] [] []
[dlu policy] [] [PutCache done] [] []
[dlu policy] [] [Volatile User cache - during logout - done] [] []
[dlu policy] [] [ checkLogout True] [] []
[dlu policy] [] [Inside DLUUserObject Logout() - VolatileUser : True] [] []
[dlu policy] [] [Inside RestoreFileRights backedUpFiles.Length : 0] [] []
[dlu policy] [] [Inside DLUUserObject Logout() - this.IsUserNotExist :
True] [] []
[dlu policy] [] [Inside DeleteProfile API userName : TestUser] [] []
[dlu policy] [] [Inside DeleteProfile API :
S-1-5-21-606747145-1229272821-839522115-1000] [] []
[dlu policy] [] [retvalue of DeleteProfile call : 0] [] []
[dlu policy] [] [GETLastError DeleteProfile call : 145] [] []
[dlu policy] [] [isProfileDeleted -1 : False] [] []
[dlu policy] [] [Inside DLUUserObject Logout() -1 Account has been
removed] [] []
[dlu policy] [] [DLU IsUserSession-1 : True] [] []
[dlu policy] [] [DLU IsUserSession-2 : True] [] []
[ZenworksWindowsService] [26] [] [ZenCache] [] [(Thread 26)
DeleteObject(RandomRefreshCachePopulated, UserContext{_LocalId=TestUser;
_RemoteId=pcmaint}) called] [] []
[ZenworksWindowsService] [26] [] [ZenCache] [] [(Thread 26) DeleteObject
returning True in 28 ms] [] []
[dlu policy] [] [RetValue from ClearRandomRefreshFlag is : True] [] []
[dlu policy] [] [RemoveCache] [] []
[dlu policy] [] [RemoveCache done] [] []
[dlu policy] [] [ RemoveVersionCacheData] [] []
[dlu policy] [] [RemoveCache] [] []
[dlu policy] [] [RemoveCache done] [] []
[dlu policy] [] [Account Removed in Prepare for Logout] [] []
[dlu policy] [] [Exiting PrepareForLogoutTestUser] [] []
[dlu policy] [] [Execute policy operation completed for policy type -
dlu policystatus :Success] [] []
[dlu policy] [] [the status returned is NoAction] [] []
[dlu policy] [] [Setting handler completed to true.] [] []
[dlu policy] [] [Checking to see if timer thread is still alive.] [] []
[dlu policy] [] [Timer thread is still alive. Aborting it.] [] []
[dlu policy] [] [Timer thread aborted.] [] []
[dlu policy] [] [calling CreateActionResult(CreateActionHandlerResult
normal] [] []
[dlu policy] [] [UpdatePostActionRequest called time out is 0] [] []
--------------------------------------------------------------------------------
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: DLU "cache volatile user"

just noticed the difference in the log files between Win2k and XP
on the XP machine it says "SID is null, so not deleting the profile" on
the Win2k box it has the SID so it deletes the profile.

WIN2k
----------
[dlu policy] [] [Inside DeleteProfile API :
S-1-5-21-606747145-1229272821-839522115-1000] [] []
[dlu policy] [] [retvalue of DeleteProfile call : 0] [] []
[dlu policy] [] [GETLastError DeleteProfile call : 145] [] []
[dlu policy] [] [isProfileDeleted -1 : False] [] []
[dlu policy] [] [Inside DLUUserObject Logout() -1 Account has been
removed] [] []
[dlu policy] [] [DLU IsUserSession-1 : True] [] []
[dlu policy] [] [DLU IsUserSession-2 : True] [] []
[ZenCache] [] [(Thread 31) DeleteObject(RandomRefreshCachePopulated,
UserContext{_LocalId=TestUser; _RemoteId=pcmaint}) called] [] []
[ZenCache] [] [(Thread 31) DeleteObject returning True in 86 ms] [] []
[dlu policy] [] [RetValue from ClearRandomRefreshFlag is : True] [] []

XP
----------
[dlu policy] [] [Inside DeleteProfile API : ] [] []
[dlu policy] [] [SID is null, so not deleting the profile] [] []
[dlu policy] [] [isProfileDeleted -1 : False] [] []
[dlu policy] [] [Inside DLUUserObject Logout() -1 Account has not been
removed retValue : 2226] [] []
0 Likes
shaunpond Absent Member.
Absent Member.

Re: DLU "cache volatile user"

Steven,

interestingly enough, this isn't what I see - I don't get the
discrepancy, on XP, my files and user are deleted. This doesn't happen
immediately, it happens when the next user with a DLU policy logs in -
have you tried that?

--

Shaun Pond


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: DLU "cache volatile user"

Shaun Pond wrote:
> Steven,
>
> interestingly enough, this isn't what I see - I don't get the
> discrepancy, on XP, my files and user are deleted. This doesn't happen
> immediately, it happens when the next user with a DLU policy logs in -
> have you tried that?
>

I have "Cache Volatile User for time period (Days) = 999" so I don't
want anything deleted.

If I just do a logout from the Win2k box, then I can remotely check the
users from another windows box and see that my local user is gone and
the profile folder is still there but empty. At the next logon it will
recreate the local user, and start a new local profile folder.
On XP this doesn't happen, at logout it keeps the user and the profile
folder contents - exactly what I want.

I'm at a loss. The workstations are clean installs. For the server I
have tried with SLES10 using MS SQL, SLES10 using local DB, Win2k3 using
MS SQL, and Win2k3 using local db - all getting the same results.
0 Likes
shaunpond Absent Member.
Absent Member.

Re: DLU "cache volatile user"

Steven,

> On XP this doesn't happen, at logout it keeps the user and the profile
> folder contents - exactly what I want.
>

yes, that's what I saw, but when I login with a different user, it
deletes the profile - I was asking if you saw that, too?

--

Shaun Pond


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: DLU "cache volatile user"

Shaun Pond wrote:
> Steven,
>
>> On XP this doesn't happen, at logout it keeps the user and the profile
>> folder contents - exactly what I want.
>>

> yes, that's what I saw, but when I login with a different user, it
> deletes the profile - I was asking if you saw that, too?
>

sorry Shaun - juggling a handful of things this morning...

yes - on my XP test machine I did another logon with my test user and
everything was still there. Logged out of the computer and then logged
in with another eDir user with the same policy assigned and it deleted
the profile on login. (argh...)
0 Likes
shaunpond Absent Member.
Absent Member.

Re: DLU "cache volatile user"

Steven,

yeah, so you've been surviving on a loophole 😞

--

Shaun Pond


0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.