Recycle bin : ne vois rien

Tout ce qui concerne le partage de fichier samba géré par Artica

Recycle bin : ne vois rien

New postby guidtz » Thu Sep 01, 2011 7:33 am

Bonjour,

je ne vois pas les fichiers dans la poubelle :

recycle_bin.png
recycle_bin.png (13.9 KiB) Viewed 7403 times


Et pourtant :
Code: Select all
666. Ceci est un test/.RecycleBin$/sgu# ls -la
total 8
drwxrws---+ 2 sgu root 4096  1 sept. 09:26 .
drwxrws---+ 4 gch root 4096  1 sept. 09:26 ..
-rw-rwx---+ 1 sgu root    0  1 sept. 09:26 tes02.txt


Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: Recycle bin : ne vois rien

New postby admin » Thu Sep 01, 2011 7:40 am

et si tu fais

Code: Select all
php5 /usr/share/artica-postfix/exec.samba.php --trash-scan --verbose
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Recycle bin : ne vois rien

New postby guidtz » Thu Sep 01, 2011 10:48 am

Pas très verbeux :

Code: Select all
php5 /usr/share/artica-postfix/exec.samba.php --trash-scan --verbose


Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: Recycle bin : ne vois rien

New postby admin » Thu Sep 01, 2011 2:41 pm

même chose avec

Code: Select all
php5 /usr/share/artica-postfix/exec.samba.php  --recycles --verbose
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Recycle bin : ne vois rien

New postby guidtz » Thu Sep 01, 2011 7:07 pm

Code: Select all
# php5 /usr/share/artica-postfix/exec.samba.php  --recycles --verbose
[15675] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by exec.samba.php samba() line 1238 in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: fsockopen -> 127.0.0.1:389 OK in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: ->ldap_perform_connection(389) in class.ldap.inc
[15675] [DAEMON]::::clladp/ldap_perform_connection:: -> ldap_connect(127.0.0.1, 389 )  called by class.samba.inc clladp() line 41 in class.ldap.inc line 318
[15675] [DAEMON]::::clladp/ldap_perform_connection:: ldapbind -> cn=admin,dc=mines,dc=local in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: check BuildMasterTree() and ArticaCreate() in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: return True... in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.samba.inc usersMenus() line 42 in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: ->ldap_perform_connection(389) in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: return True... in class.ldap.inc
Instanciate userMenus()  called by exec.samba.php samba() line 1238
[15675] [DAEMON]::::samba/samba:: init class samba()  called by exec.samba.php recycles() line 34 in class.samba.inc line 68
[15675] [DAEMON]::::samba/samba:: Verify LDAP branch... in class.samba.inc line 72
[15675] [DAEMON]::::samba/verifyBranch:: verify cn=samba-config,cn=artica,... in class.samba.inc line 100
[15675] [DAEMON]::::samba/verifyBranch:: ldap->ldap_add(cn=samba-config,cn=artica,dc=mines,dc=local,Array); done.. in class.samba.inc line 116
[15675] [DAEMON]::::samba/samba:: Verify LDAP branch done in class.samba.inc line 74
[15675] [DAEMON]::::samba/CheckAdmin:: suffix: dc=mines,dc=local in class.samba.inc line 323
[15675] [DAEMON]::::samba/BuildDefaults:: Starting check defaults values... in class.samba.inc line 131
[15675] [DAEMON]::::samba/BuildDefaults:: Building default settings done... in class.samba.inc line 167
[15675] [DAEMON]::::samba/CleanAllDomains:: Check sambaDomainName=PARTAGE-SIARA,dc=samba,dc=organizations,dc=mines,dc=local in class.samba.inc
[15675] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.groups.inc usersMenus() line 44 in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: ->ldap_perform_connection(389) in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: return True... in class.ldap.inc
Instanciate userMenus()  called by class.samba.inc groups() line 1459
[15675] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.samba.inc groups() line 1459 in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: ->ldap_perform_connection(389) in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: return True... in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.groups.inc usersMenus() line 44 in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: ->ldap_perform_connection(389) in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: return True... in class.ldap.inc
Instanciate userMenus()  called by class.samba.inc groups() line 1467
[15675] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.samba.inc groups() line 1467 in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: ->ldap_perform_connection(389) in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: return True... in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.groups.inc usersMenus() line 839 in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: ->ldap_perform_connection(389) in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: return True... in class.ldap.inc
Instanciate userMenus()  called by class.samba.inc BuildOrdinarySambaGroups() line 1468
[15675] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.samba.inc BuildOrdinarySambaGroups() line 1468 in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: ->ldap_perform_connection(389) in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: return True... in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.groups.inc usersMenus() line 926 in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: ->ldap_perform_connection(389) in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: return True... in class.ldap.inc
Instanciate userMenus()  called by class.groups.inc SambaGroupsBuild() line 843
[15675] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.groups.inc SambaGroupsBuild() line 843 in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: ->ldap_perform_connection(389) in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: return True... in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.groups.inc usersMenus() line 44 in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: ->ldap_perform_connection(389) in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: return True... in class.ldap.inc
Instanciate userMenus()  called by class.samba.inc groups() line 1504
[15675] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.samba.inc groups() line 1504 in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: ->ldap_perform_connection(389) in class.ldap.inc
[15675] [DAEMON]::::clladp/clladp:: return True... in class.ldap.inc
/proc/3786/exe no such file
recycles:: Parsing 0. SCOP 11 -> /data/2009/2011 - En cours/0. SCOP 11/.RecycleBin$
recycles:: Parsing 2. ESS -> /data/2009/2011 - En cours/2. ESS/.RecycleBin$
recycles:: Parsing 3. ASSISTANCE -> /data/2009/2011 - En cours/3. ASSISTANCE/.RecycleBin$
recycles:: Parsing 4. FORMATIONS -> /data/2009/2011 - En cours/4. FORMATIONS/.RecycleBin$
recycles:: Parsing 5. SITE CR 2011 -> /data/2009/2011 - En cours/5. SITE CR 2011/.RecycleBin$
recycles:: Parsing 6. ANIMATIONS -> /data/2009/2011 - En cours/6. ANIMATIONS/.RecycleBin$
recycles:: Parsing 666. Ceci est un test -> /data/2009/2011 - En cours/666. Ceci est un test/.RecycleBin$
recycles:: Parsing recycles for gch -> /data/2009/2011 - En cours/666. Ceci est un test/.RecycleBin$/gch

guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: Recycle bin : ne vois rien

New postby admin » Thu Sep 01, 2011 7:29 pm

tu les vois maintenant ?
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Recycle bin : ne vois rien

New postby guidtz » Fri Sep 02, 2011 6:46 am

Non toujours pas
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: Recycle bin : ne vois rien

New postby admin » Fri Sep 02, 2011 8:53 am

recommence avec celui-ci
Attachments
exec.samba.php.tar.gz
(11.86 KiB) Downloaded 331 times
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Recycle bin : ne vois rien

New postby guidtz » Fri Sep 02, 2011 9:36 am

Je vois bien les fichiers effacés dans Artica par contre je ne peux pas tester avec un client Windows pour restaurer je suis pas sur le même réseau aujourd'hui. Je testerais en début de semaine.

Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: Recycle bin : ne vois rien

New postby guidtz » Tue Sep 06, 2011 12:45 pm

Hello,

j'arrive à bien restaurer les fichiers cependant :

1/ quand j'ai restauré un fichier il reste affiché en grisé il faut réappuyer sur Rechercher pour qu'il disparaisse
artica_samba_restauration.png
artica_samba_restauration.png (36.98 KiB) Viewed 7380 times


2/ quand je supprime un fichier dans la poubelle j'ai une erreur :
artica_samba_suppression.png
artica_samba_suppression.png (17.18 KiB) Viewed 7380 times


3/ pour qu'il puisse voir les nouveau fichiers supprimés il faut que j'exécute à la main la commande
Code: Select all
php5 /usr/shae/artica-postfix/exec.samba.php  --recycles


Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator


Return to Samba & Artica

Who is online

Users browsing this forum: No registered users and 2 guests

cron