Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] roaming profile corruption with windows xp client and samba PDC

4 views
Skip to first unread message

roudoudou

unread,
Apr 15, 2009, 3:50:07 PM4/15/09
to
Hi,
I have roaming profile issue on my SAMBA PDC with an LDAP backend
running on FreeBSD 6.3. It seems that randomly, user's profile get
"corrupted" on windows XP. When that happens, the user log in as usual
(%userprofile% variable is set and all the share are properly
connected) but he gets a default desktop configuration (default
wallpaper, english keyboard layout...while i'm running windows xp
french edition...) and every desktop settings he try to modify are not
saved back on his profile and restored next logon. I don't know if
it's relevant but the NTUSER.DAT file is renamed Ntuser.dat when that
happens.

While trying to debug this issue, i saw a lot of the following lines
on the XP clients in %windir%\Debug\UserMode/Userenv.log file and i'm
wondering if those error messages could be related to my issue please
?
----------------------------------------------------------------------------------------------------------------------------------------------------
USERENV(330.334) 12:37:13:343 CUserProfile::CleanupUserProfile: Ref
Count is not 0

USERENV(330.334) 12:37:13:390 CUserProfile::GetRefCountAndFlags:
RegQueryValueEx failed, key =
S-1-5-21-2211716236-2719219400-558165280-22480, error = 00000002

USERENV(330.334) 12:37:13:390 CUserProfile::CleanupUserProfile: Can
not get ref count and flags

USERENV(330.334) 12:37:13:390 CUserProfile::CleanupUserProfile: Ref
Count is not 0

USERENV(330.334) 12:37:13:390 CUserProfile::CleanupUserProfile: Ref
Count is not 0

USERENV(330.334) 12:37:13:390 CUserProfile::CleanupUserProfile: Ref
Count is not 0

USERENV(330.334) 12:37:13:390 CUserProfile::CleanupUserProfile: Ref
Count is not 0

USERENV(330.334) 12:37:13:390 CUserProfile::CleanupUserProfile: Ref
Count is not 0

USERENV(330.334) 12:37:32:187 GetUserGuid: Failed to get user guid with 1355.

USERENV(330.334) 12:37:32:187 GetUserGuid: Failed to get user guid with 1355.

USERENV(330.334) 12:37:32:468 GetUserGuid: Failed to get user guid with 1355.

USERENV(330.334) 12:37:32:500 GetExclusionList: Failed to get file
size of <C:\Documents and Settings\user1\ntuser.ini>

USERENV(330.334) 12:37:35:015 ReconcileFile: Unable to open temporary file

USERENV(330.334) 12:38:14:726 GetUserDNSDomainName: MyGetUserNameEx
failed for NameDnsDomain style name with 1332

USERENV(330.334) 12:38:15:153 GetUserGuid: Failed to get user guid with 1355.

USERENV(330.334) 12:38:15:153 GetUserGuid: Failed to get user guid with 1355.

USERENV(368.3d8) 12:38:15:206 GetUserDNSDomainName: MyGetUserNameEx
failed for NameDnsDomain style name with 1332

USERENV(368.3d8) 12:38:15:278 GetUserDNSDomainName: MyGetUserNameEx
failed for NameDnsDomain style name with 1332

USERENV(330.334) 12:38:15:669 GetUserDNSDomainName: MyGetUserNameEx
failed for NameDnsDomain style name with 1332

USERENV(330.238) 12:38:16:524 GetUserDNSDomainName: MyGetUserNameEx
failed for NameDnsDomain style name with 1332

USERENV(330.644) 12:38:16:542 GetUserDNSDomainName: MyGetUserNameEx
failed for NameDnsDomain style name with 1332

USERENV(330.164) 12:38:16:809 PolicyChangedThread: UpdateUser failed with 6.

USERENV(4e0.67c) 12:38:23:575 GetUserDNSDomainName: MyGetUserNameEx
failed for NameDnsDomain style name with 1332

USERENV(4e0.67c) 12:38:23:771 GetUserDNSDomainName: MyGetUserNameEx
failed for NameDnsDomain style name with 1332

USERENV(4e0.1d4) 12:38:26:157 GetUserDNSDomainName: MyGetUserNameEx
failed for NameDnsDomain style name with 1332

USERENV(330.3b0) 12:38:33:743 GetUserDNSDomainName: MyGetUserNameEx
failed for NameDnsDomain style name with 1332

USERENV(878.884) 12:38:54:986 GetUserDNSDomainName: MyGetUserNameEx
failed for NameDnsDomain style name with 1332

USERENV(878.884) 12:38:55:004 GetUserDNSDomainName: MyGetUserNameEx
failed for NameDnsDomain style name with 1332
----------------------------------------------------------------------------------------------------------------------------------------------------

By the way, I tried to debug the issue by loading one of those
Ntuser.dat corrupted roaming profile and it seems related to a
permissiosn issue as the user hasn't full control of the
HKEY_CURRENT_USER hive ?? For example, when logged in with the
credentials of one those users, i can't create a DWORD registry key
under [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
To workaround this issue, i have to rename the user's profile
directory on the samba server (aka mv ~user/profile
~user/profile.bak) right now...till the next time it'll happen :(

I have read a lot about this issue and it seems that it could be
related to either:
* Symantec Antivirus corporate 10. And i have this software running on
some of the domain computers but not all
* Enabling "The Cache Option for Offline Files" . And indeed, i forgot
to disable this option on some of the computers (the same where
symantec is running by the way :(
I'm on my way to fix those configurations problems but would really
appreciate any help on the userenv.log error messages pasted above
please :-)

Thanks.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

0 new messages