Project

General

Profile

Demande #24772

eole-gpo-script : traceback à la suppression du GPO si elle est "tenue" par quelqu'un

Added by Joël Cuissinat over 5 years ago. Updated over 3 years ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%


Description

Je ne suis pas sûr qu'on puisse y faire quelque chose (à part stopper samba ?)...

root@dc1:~# bash -x /usr/share/eole/postservice/30-gposcript
   [ ... ]
+ '[' 1 -eq 0 ']'
++ ldbsearch -H /var/lib/samba/private/sam.ldb '(&(objectClass=groupPolicyContainer)(displayname=eole_script))' cn
++ grep '^cn: {'
++ cut -d ' ' -f2
+ GPOID='{28854EF2-A409-4462-85BD-A64254886543}'
+ '[' -z '{28854EF2-A409-4462-85BD-A64254886543}' ']'
+ kinituser
+ samba-tool domain exportkeytab /tmp/gpoinit.keytab --principal=Administrator@AC-TEST.FR
+ kinit Administrator@AC-TEST.FR -k -t /tmp/gpoinit.keytab
+ samba-tool gpo del '{28854EF2-A409-4462-85BD-A64254886543}' -k 1
GPO {28854EF2-A409-4462-85BD-A64254886543} is linked to containers
    Removed link from DC=ac-test,DC=fr.
ERROR(<type 'exceptions.SystemError'>): uncaught exception - error return without exception set
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/gpo.py", line 1088, in run
    conn.deltree(sharepath)
root@seth:~# lsof /home/
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME
smbd    21676 root  cwd    DIR  252,4     4096  257025 /home/adprofiles
smbd    21676 root   49r   DIR  252,4     4096  257025 /home/adprofiles
smbd    22471 root  cwd    DIR  252,4     4096  771075 /home/adhomes/AC-TEST/admin
smbd    22471 root   11r   DIR  252,4     4096  771075 /home/adhomes/AC-TEST/admin
smbd    22471 root   43r   DIR  252,4     4096 1028097 /home/squash
smbd    22471 root   49r   DIR  252,4     4096  128533 /home/sysvol/ac-test.fr/Policies/{28854EF2-A409-4462-85BD-A64254886543}/User/Scripts/Logon
smbd    22471 root   51r   DIR  252,4     4096 1028097 /home/squash
smbd    22471 root   52r   DIR  252,4     4096 1028097 /home/squash

Related issues

Related to EOLE AD DC - Scénario #29624: Erreur reconfigure sur Seth + eole-gpo-script Terminé (Sprint) 09/22/2016 05/22/2020

History

#1 Updated by Gilles Grandgérard over 5 years ago

  • Tracker changed from Demande to Scénario
  • Start date deleted (09/04/2018)

#2 Updated by Joël Cuissinat over 5 years ago

  • Release set to ScribeAD et clients

#3 Updated by Gilles Grandgérard almost 5 years ago

  • Release deleted (ScribeAD et clients)

#4 Updated by Gilles Grandgérard about 4 years ago

  • Related to Scénario #29624: Erreur reconfigure sur Seth + eole-gpo-script added

#5 Updated by Joël Cuissinat almost 4 years ago

  • Release set to EOLE 2.7.2

#6 Updated by Gilles Grandgérard almost 4 years ago

  • Status changed from Nouveau to Terminé (Sprint)

#7 Updated by Gilles Grandgérard over 3 years ago

  • Tracker changed from Scénario to Demande

Also available in: Atom PDF