gestion des strategies XP et samba

2004-07-20 Par sujet GERHARD Daniel

Bonjour,

J'ai un gros souci, je suis obligé de basculer mon parc informatique 
sous xp professionel.
Mon ancienne configuration était la suivante poste client sous windows 
NT4 sur un domaine géré par samba2.2.3a-13 for Debian. Jusqu'à présent 
je n'ai eu aucun problème d'intégration ... tout fonctionnait 
correctement...
On m'impose aujourd'hui de basculer sous XP: pas de problème pour la 
connexion au domaine, par contre c'est une galère complète pour la 
gestion des stratégies: rien ne marche...
J'ai cherché sur des forums de discussion sans obtenir le résultat 
escompté...
J'ai changé la version de samba: Samba version 3.0.4-Debian mais que 
nada... Autre précision j'ai changé mon fichier ntconfig.pol en 
utilisant poledit 5.0 et une version adaptée à XP de fichier de config


Si quelqu'un à une réponse à ce problème j'en serai reconnaissant
Merci

Daniel GERHARD
Cellule Informatique
ESCPI - CNAM



Amavisd-new postfix Woody Appel l'aide N2

2004-06-28 Par sujet GERHARD Daniel




Bonjour,

Je suis entrain de mettre en place un serveur mail sur Debian Woody.
Logiquement, j'ai fait une recherche sur le net, pour l'installation et
la configuration des paquets de scurisation...

J'ai donc choisi de scuriser postfix par les outils amavisd-new,
clamav-daemon et clamav-testfiles (en gros j'ai suivi votre doc au pied
et  la lettre..)

j'ai cependant quelques soucis:

Voil ce que je trouve en lisant /var/log/mail.err:
Jun 25 14:16:17 pctoto postfix/master[15375]: fatal: bind 127.0.0.1
port 10024: Address already in use
Jun 25 14:33:47 pctoto postfix/postfix-script: fatal: the Postfix mail
system is not running

Voil ce que j'ai rajout  la fin du fichier /etc/postfix/master.cf

smtp-amavis unix - - y - 2 smtpd
-o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes

127.0.0.1:10025 inet n - n - - smtpd
 -o content_filter=
 -o local_recipient_maps=
 -o smtpd_helo_restrictions=
 -o smtpd_client_restrictions=
 -o smtpd_sender_restrictions=
 -o smtpd_recipient_restrictions=permit_mynetworks,reject
 -o mynetworks=127.0.0.0/8, 193.xxx.xxx.xxx/24

et ce que j'ai rajout au fichier /etc/postfix/main.cf: 


# see /usr/share/postfix/main.cf.dist for a commented, fuller
# version of this file.

# Do not change these directory settings - they are critical to Postfix
# operation.
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
setgid_group = postdrop

# appending .domain is the MUA's job.
append_dot_mydomain = no

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# Uncomment the next line to generate delayed mail warnings
#delay_warning_time = 4h

myhostname = pcxxx.toto.fr
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = pcxxx.toto.fr
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
#@@
home_mailbox = Maildir/
#@@
content_filter = smtp-amavis:[127.0.0.1]:10024

Si j'envoie un mail de test je reoit le message suivant: 
[EMAIL PROTECTED]: host pcxxx.toto.fr[193.xxx.xxx.xxx] said: 554 
[EMAIL PROTECTED]: Relay access denied (in reply to RCPT TO command)



A mon humble avis j'ai du louper un coche ... pourriez-vous svp
m'clairer...

Je vous remercie




Amavisd-new postfix Woody

2004-06-25 Par sujet GERHARD Daniel




Bonjour,

Je suis entrain de mettre en place un serveur mail sur Debian Woody.
Logiquement, j'ai fait une recherche sur le net, pour l'installation et
la configuration des paquets de scurisation...

J'ai donc choisi de scuriser postfix par les outils amavisd-new,
clamav-daemon et clamav-testfiles (en gros j'ai suivi votre doc au pied
et  la lettre..)

j'ai cependant quelques soucis:

Voil ce que je trouve en lisant /var/log/mail.err:
Jun 25 14:16:17 pctoto postfix/master[15375]: fatal: bind 127.0.0.1
port 10024: Address already in use
Jun 25 14:33:47 pctoto postfix/postfix-script: fatal: the Postfix mail
system is not running

Voil ce que j'ai rajout  la fin du fichier /etc/postfix/master.cf

smtp-amavis unix - - y - 2 smtpd
-o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes

127.0.0.1:10025 inet n - n - - smtpd
 -o content_filter=
 -o local_recipient_maps=
 -o smtpd_helo_restrictions=
 -o smtpd_client_restrictions=
 -o smtpd_sender_restrictions=
 -o smtpd_recipient_restrictions=permit_mynetworks,reject
 -o mynetworks=127.0.0.0/8, 193.xxx.xxx.xxx/24

et ce que j'ai rajout au fichier /etc/postfix/main.cf: 


# see /usr/share/postfix/main.cf.dist for a commented, fuller
# version of this file.

# Do not change these directory settings - they are critical to Postfix
# operation.
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
setgid_group = postdrop

# appending .domain is the MUA's job.
append_dot_mydomain = no

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# Uncomment the next line to generate delayed mail warnings
#delay_warning_time = 4h

myhostname = pcxxx.toto.fr
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = pcxxx.toto.fr
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
#@@
home_mailbox = Maildir/
#@@
content_filter = smtp-amavis:[127.0.0.1]:10024

Si j'envoie un mail de test je reoit le message suivant: 
[EMAIL PROTECTED]: host pcxxx.toto.fr[193.xxx.xxx.xxx] said: 554 
[EMAIL PROTECTED]: Relay access denied (in reply to RCPT TO command)





A mon humble avis j'ai du louper un coche ... pourriez-vous svp
m'clairer...

Je vous remercie




Openoffice.org1.1 pour woody

2003-10-10 Par sujet GERHARD Daniel

Bonjour,

Ce message est peut-etre récurant, mais peut-etre que quelqu'un à la 
solution: Je cherche une version plus récente de OpenOffice.org1.1 que 
celle du site deb http://ftp.freenet.de/pub/debian-openoffice/ woody 
main contrib (vu sur www.apt-get.org ), qui est une version beta...
Aujourd'hui je déplore une version rc-5 pour Win32 ... alors à quand une 
version pour woody j'ai hate de l'installer...


Merci de votre compréhension

Daniel G



Re: OOo

2003-10-09 Par sujet GERHARD Daniel

Georges Roux a écrit :


Bizarre il n'y a aucun paquet sur ce serveur?

Georges

Dominique Marin wrote:


Le  Tue, 07 Oct 2003 19:41:38 +0200, dans son impérissable
« Re: OOo», dcabaton [EMAIL PROTECTED] écrivait :

 


Bonjour,

  


Je n'ai pas trouvé de package pour OpenOffice dans debian stable.
Je voudrais aussi installer la dernière version de OpenOffice (juste

sortie) comment je peux detourner le fait que le package n'est pas 
dans dselect?


Merci pour votre aide




Ben voila comment G fé pour moi 

Ajouter la ligne qui suit  dans votre fichier /etc/apt/sources.list :
deb http://ftp.freenet.de/pub/ftp.vpn-junkies.de/openoffice/ woody
main contrib
  



C'est maintenant
deb http://ftp.freenet.de/pub/debian-openoffice/ woody main contrib
si on veut q'apt-get update ne se casse les dents. 


Je déplore cependant sur ce site une version beta 
d'OpenOffice.org1.1 Pourquoi n'en somme nous pas encore à une 
version rc...1 voir 5 (je grince des dents  elle l'est sur 
windows)




Autoloader SLR100: Installation sous debian 3.0, kernel 2.4

2003-04-25 Par sujet GERHARD Daniel




Hello, 
Je suis entrain d'installer un Autoloader SLR100 de Tandberg Data sur
ma Debian 3.0. J'ai donc install les paquets amanda-common,
amanda-server, amanda-client et mtx. 

Lorsque j'envoie la commande amcheck, voila ce que me rpond le systeme

  Amanda Tape Server Host Check
-
Holding disk /home2/dumps/amanda: 2601260 KB disk space available, that's plenty
amcheck-server: slot 3: date Xlabel DailySet103 (exact label match)
NOTE: skipping tape-writable test
Tape DailySet103 label ok
Server check took 7.899 seconds

Amanda Backup Client Hosts Check

WARNING: xx: selfcheck request timed out.  Host down?
Client check: 1 host checked in 30.009 seconds, 1 problem found

(brought to you by Amanda 2.4.2p2)

J'ai cr un user toto ayant les droits "backup", mes bandes sont
toutes labelises, 

J'ai cependant deux problme
le premier : ce time out (je ne suis que sur une seule
machine): 

  contenu de /etc/amandahosts: 


   localhost toto
  
  A priori je n'ai pas de problme de droit, j'ai vrifi
le contenu de "/etc/inetd.conf", dont voici les lignes concernant
amanda:
  
  
amandaidx stream tcp nowait toto /usr/sbin/tcpd
/usr/lib/amanda/amindexd
  amidxtape stream tcp nowait toto /usr/sbin/tcpd
/usr/lib/amanda/amidxtaped
  amanda dgram udp wait toto /usr/sbin/tcpd
/usr/lib/amanda/amandad

  
  Ces lignes ne sont pas rompues... Cependant, lorsque je
tappe la commande "netstat -a |grep -i amanda", rien ne s'affiche...
  
  

Le deuxime problme que je rencontre vient de la bande
"clean": je n'arrive tout simplement pas  la configurer... c'est trs
gnant...il me la considre comme une bande normale... je suppose que
cela vient peut-etre du fichier chg-zd-mtx.conf...mais je ne sais pas
d'o viens mon erreur...


Je vous remercie par avance de votre adie

Daniel GERHARD 
ESCPI - CNAM 


 firstslot=1 First storage slot (element) -- required
 lastslot=8  Last storage slot (element) -- required
 cleanslot=8 Slot with cleaner tape -- default is -1
 Set negative to indicate no cleaner available

   # Do you want to clean the drive after a certain number of accesses?
   # NOTE - This is unreliable, since 'accesses' aren't 'uses', and we
   #have no reliable way to count this.  A single amcheck could
   #generate as many accesses as slots you have, plus 1.
   # ALSO NOTE - many modern tape loaders handle this automatically.

 autoclean=1 Set to '1' or greater to enable

 autocleancount=99   Number of access before a clean.

 havereader=1    If you have a barcode reader, set to 1.

 offline_before_unload=0 Does your robot require an
 'mt offline' before mtx unload?

 driveslot=0 Drive slot number.  Defaults to the
 tape device number (e.g. /dev/nst0 is
 assumed to be robot drive 0).

 poll_drive_ready=3  Time (seconds) between tests to see if
 the tape drive has gone ready (default: 3).

 max_drive_wait=120  Maximum time (seconds) to wait for the
 tape drive to become ready (default: 120).

#
# amanda.conf - sample Amanda configuration file.  This started off life as
#   the actual config file in use at CS.UMD.EDU.
#
# If your configuration is called, say, csd, then this file normally goes
# in /etc/amanda/csd/amanda.conf.
#

org DailySet1 # your organization name for reports
mailto backup # space separated list of operators at your site
dumpuser backup   # the user to run dumps under

inparallel 4# maximum dumpers that will run in parallel (max 63)
# this maximum can be increased at compile-time,
# modifying MAX_DUMPERS in server-src/driverio.h
netusage  600 Kbps  # maximum net bandwidth for Amanda, in KB per sec

dumpcycle 1 weeks   # the number of days in the normal dump cycle
runspercycle 5  # the number of amdump runs in dumpcycle days
# (4 weeks * 5 amdump runs per week -- just weekdays)
tapecycle 7 tapes   # the number of tapes in rotation
# 4 weeks (dumpcycle) times 5 tapes per week (just
# the weekdays) plus a few to handle errors that
# need amflush and so we do not overwrite the full
# backups performed at the beginning of the previous
# cycle
### ### ###
# WARNING: don't use `inf' for tapecycle, it's broken!
### ### ###

bumpsize 20 Mb  # minimum savings (threshold) to bump level 1 - 2
bumpdays 1  # minimum days at each level
bumpmult 4  # threshold = bumpsize * bumpmult^(level-1)


Install et config client cups

2003-03-07 Par sujet GERHARD Daniel

Bonjour,

Je suis sous Woody, kernel 2.4.20 standard, kde 3.1 
(http://download.us.kde.org/pub/kde/stable/latest/Debian/), mon 
imprimant est une HP 8000 Postscript


Serveur d'impression distant: lprng

   Contenu du fichier /etc/printcap:

   pr_toto|rlp|Remote printer entry
:lp=pr_toto%9100
:if=/etc/magicfilter/ps600-filter
:sd=/var/spool/lpd/pr_toto
:mx#0
:sh


Sur machine cliente: cups

Mon problème est le suivant: je n'arrive pas à imprimer les fichiers au 
format pdf ( me sort le bon nombre de feuilles mais blanches) peut-etre 
me manque t il un filtre... ou autre un paquet.

Sur mon client j'ai installé:

   ii  cupsomatic-ppd 0.20010420-4   cups printer ppd's from
   LinuxPrinting.org
   ii  cupsys 1.1.14-4.4 Common UNIX Printing
   System(tm) - server
   ii  cupsys-bsd 1.1.14-4.4 Common UNIX Printing
   System(tm) - BSD comman
   ii  cupsys-client  1.1.14-4.4 Common UNIX Printing
   System(tm) - client pro
   ii  cupsys-pstoras 1.1.14-4.4 Common UNIX Printing
   System(tm) - pstoraster
   ii  libcupsys2 1.1.14-4.4 Common UNIX Printing
   System(tm) - libs
   ii  libcupsys2-dev 1.1.14-4.4 Common UNIX Printing
   System(tm) - developmen
   ii  libqtcups2 2.0-4  Qt interface library for CUPS
   ii  foomatic-bin   0.20020408-4   Printer/Driver database and
   print system - b
   ii  foomatic-db0.20020408-4   Printer/Driver database and
   print system - m

   Contenu de /usr/lib/cups/filter/

   -rwxr-xr-x1 root root39688 fév 17 22:59 hpgltops
   -rwxr-xr-x1 root root19988 fév 17 22:59 imagetops
   -rwxr-xr-x1 root root49064 fév 17 22:59
   imagetoraster
   -rwxr-xr-x1 root root   995844 fév 17 22:59 pdftops
   -rwxr-xr-x1 root root21416 fév 17 22:59 pstops
   -rwxr-xr-x1 root root 5888 fév 17 22:59 rastertodymo
   -rwxr-xr-x1 root root11936 fév 17 22:59
   rastertoepson
   -rwxr-xr-x1 root root 9732 fév 17 22:59 rastertohp
   -rwxr-xr-x1 root root34184 fév 17 22:59 texttops


Les fichiers textes, html, ps ne posent aucun pb



Autoloader SLR100: Installation

2002-10-02 Par sujet GERHARD Daniel


Hello,
Je suis entrain d'installer un Autoloader SLR100 de Tandberg Data sur ma 
Debian 3.0. J'ai donc installé les paquets amanda-common, amanda-server, 
amanda-client et mtx.

/
/Si je lance la commande suivante /cat /proc/scsi/scsi/, j'obtiens le 
résultat suivant:


   /Attached devices:/
   /Host: scsi0 Channel: 00 Id: 04 Lun: 00/
   /  Vendor: TANDBERG Model: SLR AUTOLOADER   Rev: 0210/
   /  Type:   Medium Changer   ANSI SCSI revision: 02/
   /Host: scsi0 Channel: 00 Id: 05 Lun: 00/
   /  Vendor: TANDBERG Model: SLR100   Rev: 0429/
   /  Type:   Sequential-AccessANSI SCSI revision: 02/
   /
   /

Voici la liste rendue par /lsmod/ :

   /Module  Size  Used byTainted: P
   sg27972   0  (autoclean)
   st25908   0  (autoclean)
   ide-cd26176   0  (autoclean)
   cdrom27136   0  (autoclean) [ide-cd]
   NVdriver  945632  10  (autoclean)
   nfs  69500   3  (autoclean)
   lockd  46656  1   (autoclean) [nfs]
   sunrpc   58196   1  (autoclean) [nfs lockd]
   af_packet11432   1  (autoclean)
   aic7xxx104160 0
   scsi_mod  84984   3  [sg st aic7xxx]
   i810_audio  19968   0
   ac97_codec 9376 0  [i810_audio]
   soundcore35562  [i810_audio]
   3c59x24936  1
   rtc  5368 0  (autoclean)
   unix  13316   105  (autoclean)
   ide-disk  6592   2  (autoclean)
   ide-probe-mod 7968   0  (autoclean)
   ide-mod  129420  2  (autoclean) [ide-cd ide-disk
   ide-probe-mod]
   ext3 565441  (autoclean)
   jbd   349681  (autoclean) [ext3]/

Voila, je ne sais comment procéder pour charger une bande dans mon 
lecteur ni comment faire pour démarre

- Y a t'il d'autres modules à rajouter,
- Faut-il rajouter des paquets supplémentaires
Quelqu'un a-t'il des informations svp

Merci

Daniel GERHARD
ESCPI - CNAM