[Samba] default profile

Masao Garcia masaog at fshac.com
Wed Sep 2 13:37:49 MDT 2009


There is a bug in Windows SP3 where if you change your password the first
time logging into the domain on a computer, it will not copy down the
Default User profile stored in the netlogon folder.  I believe there is a
problem with roaming profiles as well, where changes are not saved back to
the server where the profile is being saved.

http://social.technet.microsoft.com/Forums/en-US/itproxpsp/thread/29d8987a-6
017-48bc-9972-dc8f8f80532c

-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
On Behalf Of Tamás Pisch
Sent: Wednesday, September 02, 2009 12:54 PM
To: samba at lists.samba.org
Subject: Re: [Samba] default profile

I turned on profile debugging. When I logged in first time, I changed the
password.
Here is a part of the log (username is t8):

USERENV(2f0.3a0) 19:15:51:078 LoadUserProfile: Entering, hToken = <0x3d8>,
lpProfileInfo = 0x80f698
USERENV(2f0.3a0) 19:15:51:078 LoadUserProfile: lpProfileInfo->dwFlags =
<0x9>
USERENV(2f0.3a0) 19:15:51:078 LoadUserProfile: lpProfileInfo->lpUserName =
<LocalService>
USERENV(2f0.3a0) 19:15:51:078 LoadUserProfile: NULL central profile path
USERENV(2f0.3a0) 19:15:51:078 LoadUserProfile: NULL default profile path
USERENV(2f0.3a0) 19:15:51:078 LoadUserProfile: NULL server name
USERENV(2f0.3a0) 19:15:51:078 GetInterface: Returning rpc binding handle
USERENV(2c4.3f4) 19:15:51:078 IProfileSecurityCallBack: client
authenticated.
USERENV(2c4.3f4) 19:15:51:078 DropClientContext: Got client token 000004EC,
sid = S-1-5-18
USERENV(2c4.3f4) 19:15:51:093 MIDL_user_allocate enter
USERENV(2c4.3f4) 19:15:51:093 DropClientContext: load profile object
successfully made
USERENV(2c4.3f4) 19:15:51:093 DropClientContext: Returning 0
USERENV(2f0.3a0) 19:15:51:093 LoadUserProfile: Calling DropClientToken (as
self) succeeded
USERENV(2c4.2dc) 19:15:51:093 IProfileSecurityCallBack: client
authenticated.
USERENV(2c4.2dc) 19:15:51:093 In LoadUserProfileP
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: Running as client
USERENV(2c4.2dc) 19:15:51:093
=========================================================
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: Entering, hToken = <0x4f8>,
lpProfileInfo = 0xef0800
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: lpProfileInfo->dwFlags =
<0x9>
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: lpProfileInfo->lpUserName =
<LocalService>
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: NULL central profile path
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: NULL default profile path
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: NULL server name
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: User sid: S-1-5-19
USERENV(2c4.2dc) 19:15:51:093 CSyncManager::EnterLock <S-1-5-19>
USERENV(2c4.2dc) 19:15:51:093 CSyncManager::EnterLock: No existing entry
found
USERENV(2c4.2dc) 19:15:51:093 CSyncManager::EnterLock: New entry created
USERENV(2c4.2dc) 19:15:51:093 CHashTable::HashAdd: S-1-5-19 added in bucket
12
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: Wait succeeded. In critical
section.
USERENV(2c4.2dc) 19:15:51:093 TestIfUserProfileLoaded:  Profile already
loaded.
USERENV(2c4.2dc) 19:15:51:093 Profile Ref Count is 2
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: Leaving critical Section.
USERENV(2c4.2dc) 19:15:51:093 CSyncManager::LeaveLock <S-1-5-19>
USERENV(2c4.2dc) 19:15:51:093 CSyncManager::LeaveLock: Lock released
USERENV(2c4.2dc) 19:15:51:093 CHashTable::HashDelete: S-1-5-19 deleted
USERENV(2c4.2dc) 19:15:51:093 CSyncManager::LeaveLock: Lock deleted
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: Impersonated user: 000004f8,
00000118
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: Reverted to user: 00000000
USERENV(2c4.2dc) 19:15:51:093 LoadUserProfile: Reverted back to user
<00000000>
USERENV(2c4.2dc) 19:15:51:109 LoadUserProfile: Leaving with a value of 1.
USERENV(2c4.2dc) 19:15:51:109
=========================================================
USERENV(2c4.2dc) 19:15:51:109 LoadUserProfileI: returning 0
USERENV(2f0.3a0) 19:15:51:109 LoadUserProfile: Running as self
USERENV(2f0.3a0) 19:15:51:109 LoadUserProfile: Calling LoadUserProfileI (as
user) succeeded
USERENV(2f0.3a0) 19:15:51:109 LoadUserProfile:  Returning success.  Final
Information follows:
USERENV(2f0.3a0) 19:15:51:109 lpProfileInfo->UserName = <LocalService>
USERENV(2f0.3a0) 19:15:51:109 lpProfileInfo->lpProfilePath = <>
USERENV(2f0.3a0) 19:15:51:109 lpProfileInfo->dwFlags = 0x9
USERENV(2c4.3f4) 19:15:51:109 IProfileSecurityCallBack: client
authenticated.
USERENV(2c4.3f4) 19:15:51:109 ReleaseClientContext: Releasing context
USERENV(2c4.3f4) 19:15:51:109 ReleaseClientContext_s: Releasing context
USERENV(2c4.3f4) 19:15:51:109 MIDL_user_free enter
USERENV(2f0.3a0) 19:15:51:109 ReleaseInterface: Releasing rpc binding handle
USERENV(2f0.3a0) 19:15:51:109 LoadUserProfile: Returning TRUE. hProfile =
<0x43c>
USERENV(2f0.3a0) 19:15:51:109 GetUserDNSDomainName:  Domain name is NT
Authority.  No DNS domain name available.
USERENV(f4.f8) 19:15:51:171 LibMain: Process Name:
C:\WINDOWS\System32\alg.exe
USERENV(47c.770) 19:15:51:281 GetProfileType:  Profile already loaded.
USERENV(47c.770) 19:15:51:281 LoadProfileInfo:  Failed to query central
profile with error 2
USERENV(47c.770) 19:15:51:281 GetProfileType: ProfileFlags is 0
USERENV(2fc.368) 19:16:06:656 LoadUserProfile: Yes, we can impersonate the
user. Running as self
USERENV(2fc.368) 19:16:06:656
=========================================================
USERENV(2fc.368) 19:16:06:656 LoadUserProfile: Entering, hToken = <0x644>,
lpProfileInfo = 0xb2fa0c
USERENV(2fc.368) 19:16:06:656 LoadUserProfile: lpProfileInfo->dwFlags =
<0x1>
USERENV(2fc.368) 19:16:06:656 LoadUserProfile: lpProfileInfo->lpUserName =
<t8>
USERENV(2fc.368) 19:16:06:656 LoadUserProfile: NULL central profile path
USERENV(2fc.368) 19:16:06:656 LoadUserProfile: NULL default profile path
USERENV(2fc.368) 19:16:06:656 LoadUserProfile: NULL server name
USERENV(2fc.368) 19:16:06:656 GetInterface: Returning rpc binding handle
USERENV(2c4.2dc) 19:16:06:656 IProfileSecurityCallBack: client
authenticated.
USERENV(2c4.2dc) 19:16:06:656 DropClientContext: Got client token 000004EC,
sid = S-1-5-18
USERENV(2c4.2dc) 19:16:06:656 MIDL_user_allocate enter
USERENV(2c4.2dc) 19:16:06:656 DropClientContext: load profile object
successfully made
USERENV(2c4.2dc) 19:16:06:656 DropClientContext: Returning 0
USERENV(2fc.368) 19:16:06:671 LoadUserProfile: Calling DropClientToken (as
self) succeeded
USERENV(2c4.3f4) 19:16:06:671 IProfileSecurityCallBack: client
authenticated.
USERENV(2c4.3f4) 19:16:06:671 In LoadUserProfileP
USERENV(2c4.3f4) 19:16:06:671 LoadUserProfile: Running as client
USERENV(2c4.3f4) 19:16:06:671
=========================================================
USERENV(2c4.3f4) 19:16:06:671 LoadUserProfile: Entering, hToken = <0x574>,
lpProfileInfo = 0xef5e28
USERENV(2c4.3f4) 19:16:06:671 LoadUserProfile: lpProfileInfo->dwFlags =
<0x1>
USERENV(2c4.3f4) 19:16:06:671 LoadUserProfile: lpProfileInfo->lpUserName =
<t8>
USERENV(2c4.3f4) 19:16:06:671 LoadUserProfile: NULL central profile path
USERENV(2c4.3f4) 19:16:06:671 LoadUserProfile: NULL default profile path
USERENV(2c4.3f4) 19:16:06:671 LoadUserProfile: NULL server name
USERENV(2c4.3f4) 19:16:06:671 LoadUserProfile: User sid:
S-1-5-21-1056419617-429938706-1326152232-4322
USERENV(2c4.3f4) 19:16:06:671 CSyncManager::EnterLock
<S-1-5-21-1056419617-429938706-1326152232-4322>
USERENV(2c4.3f4) 19:16:06:671 CSyncManager::EnterLock: No existing entry
found
USERENV(2c4.3f4) 19:16:06:671 CSyncManager::EnterLock: New entry created
USERENV(2c4.3f4) 19:16:06:671 CHashTable::HashAdd:
S-1-5-21-1056419617-429938706-1326152232-4322 added in bucket 9
USERENV(2c4.3f4) 19:16:06:671 LoadUserProfile: Wait succeeded. In critical
section.
USERENV(2c4.3f4) 19:16:06:671 GetUserGuid: Failed to get user guid with
1355.
USERENV(2c4.3f4) 19:16:06:671 GetProfileSid: No Guid -> Sid Mapping
available
USERENV(2c4.3f4) 19:16:06:687 GetUserGuid: Failed to get user guid with
1355.
USERENV(2c4.3f4) 19:16:06:687 GetProfileSid: No Guid -> Sid Mapping
available
USERENV(2c4.3f4) 19:16:06:687 RestoreUserProfile:  Entering
USERENV(2c4.3f4) 19:16:06:687 IsCentralProfileReachable:  Entering
USERENV(2c4.3f4) 19:16:06:687 IsCentralProfileReachable:  Null path.
Leaving
USERENV(2c4.3f4) 19:16:06:687 RestoreUserProfile:  Profile path = <>
USERENV(2c4.3f4) 19:16:06:687 ExtractProfileFromBackup:  Failed to open key
Software\Microsoft\Windows
NT\CurrentVersion\ProfileList\S-1-5-21-1056419617-429938706-1326152232-4322
with error 2
USERENV(2c4.3f4) 19:16:06:687 ExtractProfileFromBackup:  Couldn't open
backup profile key.  Error = 2
USERENV(2c4.3f4) 19:16:06:687 GetUserGuid: Failed to get user guid with
1355.
USERENV(2c4.3f4) 19:16:06:687 PatchNewProfileIfRequred: No OldSidString
found
USERENV(2c4.3f4) 19:16:06:703 CreateLocalProfileKey:  Not setting additional
Security
USERENV(2c4.3f4) 19:16:06:703 CreateLocalProfileImage:  One way or another
we haven't got an existing local profile, try and create one
USERENV(2c4.3f4) 19:16:06:703 CreateSecureDirectory: Entering with
<d:\Documents and Settings\t8>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list