Projet

Général

Profil

Anomalie #5460

L'attribut LDAP "sambaLogonScript" supplante l'option "logon script" dans "smb.conf"

Ajouté par Klaas TJEBBES il y a presque 11 ans. Mis à jour il y a environ 10 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Début:
Echéance:
04/04/2014
% réalisé:

100%

Temps passé:
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

Lié à creole - Anomalie #7811: migration : supprimer l'attribut LDAP "sambaLogonScript" des utilisateurs Fermé 20/06/2014
Lié à horus-backend - Anomalie #7964: Partages Horus non montés en mode "sans Esu" Fermé 18/04/2014

Révisions associées

Révision c7f5d24d (diff)
Ajouté par Jeremy Allison il y a presque 16 ans

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)

Révision 07ae9bb4 (diff)
Ajouté par Klaas TJEBBES il y a environ 10 ans

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

#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

Formats disponibles : Atom PDF