Project

General

Profile

Anomalie #5460

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

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

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
Due date:
04/04/2014
% Done:

100%

Spent time:
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

Related issues

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

Associated revisions

Revision c7f5d24d (diff)
Added by Jeremy Allison almost 13 years ago

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)

Revision 07ae9bb4 (diff)
Added by Klaas TJEBBES about 7 years ago

backend.py : ne plus paramétrer "sambaLogonScript" à la création d'un utilisateur FIXES #5460 @45m

History

#1 Updated by Klaas TJEBBES about 7 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#2 Updated by Joël Cuissinat about 7 years ago

  • Due date set to 04/04/2014
  • Assigned To set to Klaas TJEBBES
  • Target version set to Eole 2.4-RC3
  • Distribution changed from EOLE 2.3 to EOLE 2.4

#3 Updated by Joël Cuissinat about 7 years ago

  • Status changed from Résolu to 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

Also available in: Atom PDF