Project

General

Profile

Tâche #10918

Scénario #10982: Assistance aux utilisateurs (14-16)

Le "profil local" n'est pas appliqué par "pdbedit"

Added by Klaas TJEBBES about 8 years ago. Updated almost 8 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
03/13/2015
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Remaining (hours):
0.0

Description

Le profil local correspond à la suppression de l'entrée "sambaProfilePath" dans LDAP.

On peut voir le profil d'un utilisateur de 2 façons :

 ldapsearch -x uid=admin | grep sambaProfilePath
 pdbedit -Lv admin |grep Profile

En profil local :

 ldapsearch -x uid=admin|grep sambaProfilePath

ne renvoie rien alors que :
 pdbedit -Lv admin |grep Profile

renvoie :
 Profile Path:         \\scribe\admin\profile

Et windows utilise cette valeur ce qui fait que le profil est itinérant au lieu d'être local, qu'un dossier "profile" est créé et que Windows écrit dedans à la fermeture de session.


Related issues

Related to Distribution EOLE - Tâche #11545: Le script de logon n'est plus exécuté sur Horus Fermé 05/11/2015

Associated revisions

Revision 3bf783f9 (diff)
Added by Klaas TJEBBES almost 8 years ago

smb-include_global.conf : inversion des lignes "logon path" et "logon script" REF #10918

Revision 52166bdd (diff)
Added by Klaas TJEBBES almost 8 years ago

smb-include_global.conf : inversion des lignes "logon path" et "logon script" REF #10918

History

#1 Updated by Joël Cuissinat almost 8 years ago

<A_I_> ça empêche d'utiliser le profile local (itinérant et obligatoire fonctionnent normalement)
<jojo2024> et on a une solution ?
<A_I_> non, pas pour l'instant

#2 Updated by Joël Cuissinat almost 8 years ago

  • Tracker changed from Anomalie to Tâche
  • Estimated time set to 4.00 h
  • Parent task set to #10982
  • Remaining (hours) set to 4.0

#3 Updated by Klaas TJEBBES almost 8 years ago

<yoni> A_I_: pour le soucis de profils, il y a un impacte suivant que la ligne " logon path =" se trouve avant ou après "logon script = %U%a.bat".

EOLE 2.4.1
-----------

1)
smb.conf :
...
logon path =
logon script = %U%a.bat
...

pdbedit -L -v yob => Profile Path: \\horus\yob\profile

2)
new smb.conf :

...
logon script = %U%a.bat
logon path =
...

pdbedit -L -v yob => Profile Path:

#4 Updated by Klaas TJEBBES almost 8 years ago

  • Status changed from Nouveau to En cours

#5 Updated by Klaas TJEBBES almost 8 years ago

  • Status changed from En cours to Résolu

#6 Updated by Klaas TJEBBES almost 8 years ago

  • Description updated (diff)
  • Remaining (hours) changed from 4.0 to 0.25

#7 Updated by Joël Cuissinat almost 8 years ago

  • Status changed from Résolu to Fermé
  • Assigned To set to Klaas TJEBBES
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 0.25 to 0.0

=> candidat 2.4.1 : eole-fichier 2.4.1-21

#8 Updated by Klaas TJEBBES almost 8 years ago

  • Status changed from Fermé to En cours

Dans la configuration :

        logon home = \\%N\%U\
        logon script = %U%a.bat
        logon path =

Le script de logon n'est pas exécuté sur Horus, car "Logon Script" est vide :

root@horusk24:~# pdbedit -Lv admin
Home Directory:       \\horusk24\admin\perso
HomeDir Drive:        U:
Logon Script:         
Profile Path:         

La configuration suivante, par contre, fonctionne correctement (il s'agit en fait de la configuration 2.3) :


        logon home = \%L%U\perso
        logon path =
        logon script = %U%a.bat

root@horusk24:~# pdbedit -Lv admin
Home Directory:       \\horusk24\admin\perso
HomeDir Drive:        U:
Logon Script:         adminUNKNOWN.bat
Profile Path:        

#9 Updated by Klaas TJEBBES almost 8 years ago

Sur Scribe le problème ne se pose pas tant que Profile Path: reflète bien la réalité car le client Scribe n'utilise pas de .bat mais le .txt via le client Scribe installé sur le poste client.

#10 Updated by Klaas TJEBBES almost 8 years ago

  • Status changed from En cours to Fermé

Also available in: Atom PDF