[Samba-it] Disastrissimo: WinXp (solo per chi se ne intende di Windows)

Francesco Malvezzi malvezzi.francesco at unimo.it
Sat Aug 7 19:17:01 MDT 2004


Francesco Malvezzi wrote:
> Il problema che vorrei descrivere si verifica su client 
> windows XP (256MB RAM) service pack 1 membri di un dominio retto da 
> un server debian linux sarge con samba_3.0.5, 
> backend di password ldapsam (ldap con schemi di samba2.2).
> 
> Il client non riesce a fare il login al dominio ed esce con 
> questo errore:
> "impossibile caricare il profilo, accesso non consentito. 
> Controllare che la rete sia connessa o che stia funzionando 
> correttamente"
> Dettagli: Memoria insufficiente per eseguire il comando.
> Negli eventi di windows questo errore ha lo ID 1500, 
> Origine Userenv
> 
> Invece, nei log di linux (log level 1)
> 
> [2004/08/04 16:29:31, 1] smbd/service.c:make_connection_snum(619)
>   pc08 (155.185.200.108) connect to service profiles initially as user n26001 
> (uid=5405, gid=5405) (pid 6647)
> [2004/08/04 16:29:31, 1] smbd/service.c:make_connection_snum(619)
>   pc08 (155.185.200.108) connect to service netlogon initially as user n26001 
> (uid=5405, gid=5405) (pid 6647)
> [2004/08/04 16:29:35, 1] smbd/service.c:close_cnum(801)
>   pc08 (155.185.200.108) closed connection to service profiles
> [2004/08/04 16:30:35, 1] smbd/service.c:close_cnum(801)
>   pc08 (155.185.200.108) closed connection to service netlogon
> [2004/08/04 16:45:07, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1397)
>   failed to decode PDU
> [2004/08/04 16:45:07, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
>   process_request_pdu: failed to do schannel processing.
> [2004/08/04 16:45:08, 1] smbd/service.c:make_connection_snum(619)
>   pc08 (155.185.200.108) connect to service netlogon initially as user n26001 
> (uid=5405, gid=5405) (pid 6670)
> [2004/08/04 16:45:18, 1] smbd/service.c:close_cnum(801)
>   pc08 (155.185.200.108) closed connection to service netlogon
> [2004/08/04 16:47:26, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1397)
>   failed to decode PDU
> [2004/08/04 16:47:26, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
>   process_request_pdu: failed to do schannel processing.
> 
> Cioe' vedo che l'utente n26001 e' riuscito a connettersi alle 
> share netlogon e profiles.
> 
> In \profiles, la directory n26001 appare creata (corretto), 
> ma non l'albero di directory che vi dovrebbero essere contenute.
> 
> junio:/home/SAMBA/profiles# smbclient -Un26001%***** \\\\junio\\homes
> Domain=[LABMOSAM] OS=[Unix] Server=[Samba 3.0.5]
> smb: \>
> 
> funziona (anche per profiles).
> 
> Ho cercato su google e l'errore Userenv id 1500 dovrebbe essere 
> collegato a una corruzione del registry a cui si rimedia con 
> un'utility chiamata UHPCLEAN. L'ho usata ma senza risultato. 
> 
> Ho provato a togliere i profili roaming:
> #logon path = \\%L\profiles\%U
> logon path =
> Ma ho ancora lo stesso errore.
> 
> 
> Ringrazio veramente di cuore chi riuscira' a dare un'occhiata a questo 
> disatro. Se servono piu' log non c'e' problema. Un'altra cosa strana e' che 
> in /var/log/auth, per ogni tentativo di connessione c'e' una riga di login e 
> una di logoff, come se windows si disconnettesse lui (e perche', poi?).
> 

Completo le informazioni della precedente richiesta di aiuto con il log 
di windows. Ho attivato il logging degli eventi UserEnv:


USERENV(298.4c4) 10:15:20:145 ReconcileFile: \\JULIO\netlogon\Default
User\Modelli\excel4.xls ==> C:\Documents and
Settings\n26001\Modelli\excel4.xls  [OK]
USERENV(298.4ac) 10:15:20:175 ReconcileFile: \\JULIO\netlogon\Default
User\SendTo\Desktop (crea collegamento).DeskLink ==> C:\Documents and
Settings\n26001\SendTo\Desktop (crea collegamento).DeskLink  [OK]
USERENV(298.4c0) 10:15:20:185 ReconcileFile: \\JULIO\netlogon\Default
User\SendTo\desktop.ini ==> C:\Documents and
Settings\n26001\SendTo\desktop.ini  [OK]
USERENV(298.29c) 10:15:20:185 CopyProfileDirectoryEx: Setting Directory
TimeStamps all Directories
USERENV(298.29c) 10:15:20:385 CopyProfileDirectoryEx: Set times on all
directories
USERENV(298.29c) 10:15:20:385 CopyProfileDirectoryEx: Leaving with a
return value of 1
USERENV(298.29c) 10:15:20:716 MyRegLoadKey: Returning 00000000
USERENV(298.29c) 10:15:20:716 IssueDefaultProfile:  Leaving successfully
USERENV(298.29c) 10:15:20:716 RestoreUserProfile:  Successfully setup
the specified default.
USERENV(298.29c) 10:15:20:716 SetupNewHive:  Entering
USERENV(298.29c) 10:15:20:716 SetDefaultUserHiveSecurity:  Entering
USERENV(298.29c) 10:15:20:866 SecureUserKey:  Entering
USERENV(298.29c) 10:15:20:866 SecureUserKey:  Leaving with a return
value of 1
USERENV(298.29c) 10:15:20:866 SecureUserKey:  Entering
USERENV(298.29c) 10:15:20:866 SecureUserKey:  Leaving with a return
value of 1
USERENV(298.29c) 10:15:21:297 SetupNewHive:  Leaving with a return value
of 1
USERENV(298.29c) 10:15:21:307 GetUserDNSDomainName:  MyGetUserNameEx
failed for NameDnsDomain style name with 1332
USERENV(298.29c) 10:15:21:357 LoadUserClasses: Failed to create folder
for combined hive (8).
USERENV(298.29c) 10:15:21:357 RestoreUserProfile:  Failed to merge
classes root. Error = 8
USERENV(298.29c) 10:15:21:357 RestoreUserProfile: Could not load the
user profile. Error = 8
USERENV(298.29c) 10:15:21:357 ReportError: Impersonating user.
USERENV(298.29c) 10:15:21:377 ReportError: Logging Error
USERENV(298.4c4) 10:15:20:145 ReconcileFile: \\JULIO\netlogon\Default
User\Modelli\excel4.xls ==> C:\Documents and
Settings\n26001\Modelli\excel4.xls  [OK]
USERENV(298.4ac) 10:15:20:175 ReconcileFile: \\JULIO\netlogon\Default
User\SendTo\Desktop (crea collegamento).DeskLink ==> C:\Documents and
Settings\n26001\SendTo\Desktop (crea collegamento).DeskLink  [OK]
USERENV(298.4c0) 10:15:20:185 ReconcileFile: \\JULIO\netlogon\Default
User\SendTo\desktop.ini ==> C:\Documents and
Settings\n26001\SendTo\desktop.ini  [OK]
USERENV(298.29c) 10:15:20:185 CopyProfileDirectoryEx: Setting Directory
TimeStamps all Directories
USERENV(298.29c) 10:15:20:385 CopyProfileDirectoryEx: Set times on all
directories
USERENV(298.29c) 10:15:20:385 CopyProfileDirectoryEx: Leaving with a
return value of 1
USERENV(298.29c) 10:15:20:716 MyRegLoadKey: Returning 00000000
USERENV(298.29c) 10:15:20:716 IssueDefaultProfile:  Leaving successfully
USERENV(298.29c) 10:15:20:716 RestoreUserProfile:  Successfully setup
the specified default.
USERENV(298.29c) 10:15:20:716 SetupNewHive:  Entering
USERENV(298.29c) 10:15:20:716 SetDefaultUserHiveSecurity:  Entering
USERENV(298.29c) 10:15:20:866 SecureUserKey:  Entering
USERENV(298.29c) 10:15:20:866 SecureUserKey:  Leaving with a return
value of 1
USERENV(298.29c) 10:15:20:866 SecureUserKey:  Entering
USERENV(298.29c) 10:15:20:866 SecureUserKey:  Leaving with a return
value of 1
USERENV(298.29c) 10:15:21:297 SetupNewHive:  Leaving with a return value
of 1
USERENV(298.29c) 10:15:21:307 GetUserDNSDomainName:  MyGetUserNameEx
failed for NameDnsDomain style name with 1332
USERENV(298.29c) 10:15:21:357 LoadUserClasses: Failed to create folder
for combined hive (8).
USERENV(298.29c) 10:15:21:357 RestoreUserProfile:  Failed to merge
classes root. Error = 8
USERENV(298.29c) 10:15:21:357 RestoreUserProfile: Could not load the
user profile. Error = 8
USERENV(298.29c) 10:15:21:357 ReportError: Impersonating user.
USERENV(298.29c) 10:15:21:377 ReportError: Logging Error <Impossibile
caricare il profilo. Accesso non consentito. Controllare che la rete sia
connessa o che stia funzionando correttamente. Se il problema persiste,
contattare l'amministratore della rete.>

Mi sembra di vedere che la connessione a [netlogon] funzioni (infatti 
carica i dati dalla directory Default User).

Il resto non mi e' chiaro.

Grazie a tutti!

Francesco




More information about the samba-it mailing list