Tâche #10918
Scénario #10982: Assistance aux utilisateurs (14-16)
Le "profil local" n'est pas appliqué par "pdbedit"
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
Associated revisions
smb-include_global.conf : inversion des lignes "logon path" et "logon script" REF #10918
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é