Anomalie #5460
L'attribut LDAP "sambaLogonScript" supplante l'option "logon script" dans "smb.conf"
Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
Distribution:
EOLE 2.4
Description
root@horus81:~# grep "logon script" /etc/samba/smb.conf logon script = %U%a.bat
Correspond à "adminWinXP.bat"
root@horus81:~# ldapsearch -x uid=admin|grep sambaLogonScript sambaLogonScript: admin.bat
C'est cette dernière option qui est prise en compte par le poste Windows.
À corriger :- backend.py
- /usr/share/eole/fichier/dyn-logon.py
Demandes liées
Révisions associées
Restructuring of code to fix #5460. Remove search
by name code from conn, we were already doing the
same check in the dfs_redirect() function, so move
it into parse_dfs_path() instead.
Jeremy.
(This used to be commit 8a7c6df122c5e4a1d0f74ab0f1bc9376a0a8bcb1)
backend.py : ne plus paramétrer "sambaLogonScript" à la création d'un utilisateur FIXES #5460 @45m
Historique
#1 Mis à jour par Klaas TJEBBES il y a environ 10 ans
- Statut changé de Nouveau à Résolu
- % réalisé changé de 0 à 100
Appliqué par commit 07ae9bb4beb17cd9160455222a09dd1863639a5f.
#2 Mis à jour par Joël Cuissinat il y a environ 10 ans
- Echéance mis à 04/04/2014
- Assigné à mis à Klaas TJEBBES
- Version cible mis à Eole 2.4-RC3
- Distribution changé de EOLE 2.3 à EOLE 2.4
#3 Mis à jour par Joël Cuissinat il y a environ 10 ans
- Statut changé de Résolu à Fermé
OK pour un utilisateur créé après Maj :
root@horus:~# ldapsearch -x uid=toto sambaLogonScript uid| grep -Ev "^#|^$" dn: uid=toto,ou=local,ou=personnels,ou=utilisateurs,ou=0000a,ou=ac-toto,ou=edu cation,o=gouv,c=fr uid: toto search: 2 result: 0 Success