Re: Re : Re : Re : Re : Re : SAMBA PDC

2008-03-15 Par sujet Jean-Michel Caricand
 SRVBG:/mnt# smbclient -L localhost
 Error connecting to 127.0.0.1 (Connexion refusée)
 Connection to localhost failed


Le serveur Samba ne tourne pas !

 # nmap localhost

 Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 10:35
 CET
 Interesting ports on localhost (127.0.0.1):
 Not shown: 1676 closed ports
 PORTSTATE SERVICE
 22/tcp  open  ssh
 25/tcp  open  smtp
 111/tcp open  rpcbind
 113/tcp open  auth

 Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds



nmap comfirme la remarque précédente. Vous devriez avoir les lignes
suivantes :

139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds

Vérifiez si les services smbd et nmbd sont actifs avec un ps ax.




 - Message d'origine 
 De : Jean-Michel Caricand [EMAIL PROTECTED]
 À : anne sophie lantz [EMAIL PROTECTED]
 Cc : Debianfr List debian-user-french@lists.debian.org
 Envoyé le : Samedi, 15 Mars 2008, 8h45mn 52s
 Objet : Re: Re : Re : Re : Re : SAMBA PDC


 Est-ce que je dois modifier iptables-start ?
 iptables -A INPUT -p tcp --dport 139 -j ACCEPT
 iptables -A INPUT -p udp --dport 139 -j ACCEPT

 Vous avez activé volontairement des régles iptables ? Si oui,
 désactivez
 les  pour refaire des essais.

 La commande testparm montre que vous avez des erreurs dans votre
 configuration. Essayez de les corriger avant de poursuivre. Elles n'ont
 pas l'air graves mais bon...

 Quel est le résultat de la commande :
 smbclient -L localhost sur le serveur Samba ?
 j'ai installé smbclient sur mon serveur
 # apt-get install smbclient

 Lancez la commande et donnez le résultat


 Est-ce que vous pouvez pinguer le serveur depuis le PC ?
 oui, je peux faire ping 192.168.10.2

 Est-ce que vous pouvez voir le serveur Samba depuis l'explorer Windows :
 \\IP_DU_SERVEUR dans la barre d'adresse ?
 si je tape dans \\SRVBG : j'ai un message impossible de trouver ou
 d'afficher \\SRVBG
 par contre donc le voisinage réseau, dans le groupe de travail je
 vois
 SRVBG, et si je clique dessus, pas accessible, pas les permissions.

 Que donne la commande nmap localhost sur le serveur Samba ou mieux,
 depuis
 un autre poste ?
 SRVBG:/mnt# nmap localhost
 -bash: nmap: command not found

 apt-get install nmap


 Dois installer smbfs ?
 # apt-get install smbfs
 # modprobe smbfs
 # mkdir -p /mnt/test
 # mount -t smbfs -o username=annesophie,password=password
 //SRVBG/atelier
 /mnt/test
 (ou est-ce //SRVBG/home/atelier ?)


 Non.




 :)
 Anne sophie

 - Message d'origine 
 De : anne sophie lantz [EMAIL PROTECTED]
 À : Debianfr List debian-user-french@lists.debian.org
 Envoyé le : Vendredi, 14 Mars 2008, 22h15mn 12s
 Objet : Re : Re : SAMBA PDC

 N'est ce pas du au répertoire /home/atelier qui est au format
 ext3
 et mon poste xp ne reconnait pas le format non ?

 Anne sophie

 - Message d'origine 
 De : Jean-Michel Caricand [EMAIL PROTECTED]
 À : anne sophie lantz [EMAIL PROTECTED]
 Cc : Debianfr List debian-user-french@lists.debian.org
 Envoyé le : Vendredi, 14 Mars 2008, 21h19mn 26s
 Objet : Re: Re : SAMBA PDC



 - Message d'origine 
 De : Jean-Michel Caricand [EMAIL PROTECTED]
 À : anne sophie lantz
 [EMAIL PROTECTED]
 Cc : Debianfr List debian-user-french@lists.debian.org; Franck
 JONCOURT
 [EMAIL PROTECTED]
 Envoyé le : Vendredi, 14 Mars 2008, 20h58mn 15s
 Objet : Re: SAMBA PDC

 Coucou,

 bon, j'ai refais, et je
 détaille ce que j'ai fait :

 Contrôleur de Domaine SAMBA
 ---
 groupes d'utilisateurs :
 atelier
 annesophie
 secretaire
 virginie
 ---
 atelier :
 imprimante commun laser samsung
 droit d'aller voir chez :
 atelier
 secretaire
 gestion du répertoire
 public

 secretaire :
 imprimante commun laser samsung
 droit d'aller voir chez :
 secretaire
 accès au
 répertoire public
 ---

 création de groupes :
 # groupadd atelier
 # groupadd secretaire

 Création des utilisateurs :
 # mkdir /home/atelier
 # mkdir /home/secretaire

 # useradd annesophie -g atelier -d /home/atelier
 # useradd virginie -g secretaire -d /home/secretaire

 # smbpasswd -a annesophie
 # smbpasswd -a virginie


 contenu de /etc/samba/smb.conf


 [global]
 netbios name = SRVBG
 workgroup = AGENCE
 server string = Serveur Samba %v
 guest account = invite
 log file = /var/log/samba/log.%U
 username map = /etc/smbusers
 security = user

 time server = yes
 socket options = TCP_NODELAY
 name resolve order = bcast hosts wins

 client code page = 850

 encrypt passwords = yes
 smb passwd file = /etc/smbpasswd
 unix password sync = yes
 passwd program = /usr/bin/passwd %u
 

Re : Re : Re : Re : Re : Re : SAMBA PDC

2008-03-15 Par sujet anne sophie lantz
SRVBG:/etc/samba# /etc/init.d/samba restart
Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to kill 
2288: No such process
.
Starting Samba daemons: nmbd smbd.
SRVBG:/etc/samba# /etc/init.d/samba reload
Reloading /etc/samba/smb.conf: smbd onlystart-stop-daemon: warning: failed to 
kill 2543: No such process
1 pids were not killed
No process in pidfile `/var/run/samba/smbd.pid' found running; none killed.
.

- Message d'origine 
De : Jean-Michel Caricand [EMAIL PROTECTED]
À : anne sophie lantz [EMAIL PROTECTED]
Cc : Debianfr List debian-user-french@lists.debian.org
Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s
Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC

 SRVBG:/mnt# smbclient -L localhost
 Error connecting to 127.0.0.1 (Connexion refusée)
 Connection to localhost failed


Le serveur Samba ne tourne pas !

 # nmap localhost

 Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 10:35
 CET
 Interesting ports on localhost (127.0.0.1):
 Not shown: 1676 closed ports
 PORTSTATE SERVICE
 22/tcp  open  ssh
 25/tcp  open  smtp
 111/tcp open  rpcbind
 113/tcp open  auth

 Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds



nmap comfirme la remarque précédente. Vous devriez avoir les lignes
suivantes :

139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds

Vérifiez si les services smbd et nmbd sont actifs avec un ps ax.




 - Message d'origine 
 De : Jean-Michel Caricand [EMAIL PROTECTED]
 À : anne sophie lantz [EMAIL PROTECTED]
 Cc : Debianfr List debian-user-french@lists.debian.org
 Envoyé le : Samedi, 15 Mars 2008, 8h45mn 52s
 Objet : Re: Re : Re : Re : Re : SAMBA PDC


 Est-ce que je dois modifier iptables-start ?
 iptables -A INPUT -p tcp --dport 139 -j ACCEPT
 iptables -A INPUT -p udp --dport 139 -j ACCEPT

 Vous avez activé volontairement des régles iptables ? Si oui,
 désactivez
 les  pour refaire des essais.

 La commande testparm montre que vous avez des erreurs dans votre
 configuration. Essayez de les corriger avant de poursuivre. Elles n'ont
 pas l'air graves mais bon...

 Quel est le résultat de la commande :
 smbclient -L localhost sur le serveur Samba ?
 j'ai installé smbclient sur mon serveur
 # apt-get install smbclient

 Lancez la commande et donnez le résultat


 Est-ce que vous pouvez pinguer le serveur depuis le PC ?
 oui, je peux faire ping 192.168.10.2

 Est-ce que vous pouvez voir le serveur Samba depuis l'explorer Windows :
 \\IP_DU_SERVEUR dans la barre d'adresse ?
 si je tape dans \\SRVBG : j'ai un message impossible de trouver ou
 d'afficher \\SRVBG
 par contre donc le voisinage réseau, dans le groupe de travail je
 vois
 SRVBG, et si je clique dessus, pas accessible, pas les permissions.

 Que donne la commande nmap localhost sur le serveur Samba ou mieux,
 depuis
 un autre poste ?
 SRVBG:/mnt# nmap localhost
 -bash: nmap: command not found

 apt-get install nmap


 Dois installer smbfs ?
 # apt-get install smbfs
 # modprobe smbfs
 # mkdir -p /mnt/test
 # mount -t smbfs -o username=annesophie,password=password
 //SRVBG/atelier
 /mnt/test
 (ou est-ce //SRVBG/home/atelier ?)


 Non.




 :)
 Anne sophie

 - Message d'origine 
 De : anne sophie lantz [EMAIL PROTECTED]
 À : Debianfr List debian-user-french@lists.debian.org
 Envoyé le : Vendredi, 14 Mars 2008, 22h15mn 12s
 Objet : Re : Re : SAMBA PDC

 N'est ce pas du au répertoire /home/atelier qui est au format
 ext3
 et mon poste xp ne reconnait pas le format non ?

 Anne sophie

 - Message d'origine 
 De : Jean-Michel Caricand [EMAIL PROTECTED]
 À : anne sophie lantz [EMAIL PROTECTED]
 Cc : Debianfr List debian-user-french@lists.debian.org
 Envoyé le : Vendredi, 14 Mars 2008, 21h19mn 26s
 Objet : Re: Re : SAMBA PDC



 - Message d'origine 
 De : Jean-Michel Caricand [EMAIL PROTECTED]
 À : anne sophie lantz
 [EMAIL PROTECTED]
 Cc : Debianfr List debian-user-french@lists.debian.org; Franck
 JONCOURT
 [EMAIL PROTECTED]
 Envoyé le : Vendredi, 14 Mars 2008, 20h58mn 15s
 Objet : Re: SAMBA PDC

 Coucou,

 bon, j'ai refais, et je
 détaille ce que j'ai fait :

 Contrôleur de Domaine SAMBA
 ---
 groupes d'utilisateurs :
 atelier
 annesophie
 secretaire
 virginie
 ---
 atelier :
 imprimante commun laser samsung
 droit d'aller voir chez :
 atelier
 secretaire
 gestion du répertoire
 public

 secretaire :
 imprimante commun laser samsung
 droit d'aller voir chez :
 secretaire
 accès au
 répertoire public
 ---

 création de groupes :
 # groupadd atelier
 # groupadd secretaire

 Création des

Tr : Re : Re : Re : Re : Re : Re : SAMBA PDC

2008-03-15 Par sujet anne sophie lantz


- Message transféré 
De : anne sophie lantz [EMAIL PROTECTED]
À : Debianfr List debian-user-french@lists.debian.org
Envoyé le : Samedi, 15 Mars 2008, 9h04mn 09s
Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC

SRVBG:/etc/samba# /etc/init.d/samba restart
Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to kill 
2288: No such process
.
Starting Samba daemons: nmbd smbd.
SRVBG:/etc/samba# /etc/init.d/samba reload
Reloading /etc/samba/smb.conf: smbd onlystart-stop-daemon: warning: failed to 
kill 2543: No such process
1 pids were not killed
No process in pidfile `/var/run/samba/smbd.pid' found running; none killed.
.

- Message d'origine 
De : Jean-Michel Caricand [EMAIL PROTECTED]
À : anne sophie lantz [EMAIL PROTECTED]
Cc : Debianfr List debian-user-french@lists.debian.org
Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s
Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC

 SRVBG:/mnt# smbclient -L localhost
 Error connecting to 127.0.0.1 (Connexion refusée)
 Connection to localhost failed


Le serveur Samba ne tourne pas !

 # nmap localhost

 Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 10:35
 CET
 Interesting ports on localhost (127.0.0.1):
 Not shown: 1676 closed ports
 PORTSTATE SERVICE
 22/tcp  open  ssh
 25/tcp  open  smtp
 111/tcp open  rpcbind
 113/tcp open  auth

 Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds



nmap comfirme la remarque précédente. Vous devriez avoir les lignes
suivantes :

139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds

Vérifiez si les services smbd et nmbd sont actifs avec un ps ax.




 - Message d'origine 
 De : Jean-Michel Caricand [EMAIL PROTECTED]
 À : anne sophie lantz [EMAIL PROTECTED]
 Cc : Debianfr List debian-user-french@lists.debian.org
 Envoyé le : Samedi, 15 Mars 2008, 8h45mn 52s
 Objet : Re: Re : Re : Re : Re : SAMBA PDC


 Est-ce que je dois modifier iptables-start ?
 iptables -A INPUT -p tcp --dport 139 -j ACCEPT
 iptables -A INPUT -p udp --dport 139 -j ACCEPT

 Vous avez activé volontairement des régles iptables ? Si oui,
 désactivez
 les  pour refaire des essais.

 La commande testparm montre que vous avez des erreurs dans votre
 configuration. Essayez de les corriger avant de poursuivre. Elles n'ont
 pas l'air graves mais bon...

 Quel est le résultat de la commande :
 smbclient -L localhost sur le serveur Samba ?
 j'ai installé smbclient sur mon serveur
 # apt-get install smbclient

 Lancez la commande et donnez le résultat


 Est-ce que vous pouvez pinguer le serveur depuis le PC ?
 oui, je peux faire ping 192.168.10.2

 Est-ce que vous pouvez voir le serveur Samba depuis l'explorer Windows :
 \\IP_DU_SERVEUR dans la barre d'adresse ?
 si je tape dans \\SRVBG : j'ai un message impossible de trouver ou
 d'afficher \\SRVBG
 par contre donc le voisinage réseau, dans le groupe de travail je
 vois
 SRVBG, et si je clique dessus, pas accessible, pas les permissions.

 Que donne la commande nmap localhost sur le serveur Samba ou mieux,
 depuis
 un autre poste ?
 SRVBG:/mnt# nmap localhost
 -bash: nmap: command not found

 apt-get install nmap


 Dois installer smbfs ?
 # apt-get install smbfs
 # modprobe smbfs
 # mkdir -p /mnt/test
 # mount -t smbfs -o username=annesophie,password=password
 //SRVBG/atelier
 /mnt/test
 (ou est-ce //SRVBG/home/atelier ?)


 Non.




 :)
 Anne sophie

 - Message d'origine 
 De : anne sophie lantz [EMAIL PROTECTED]
 À : Debianfr List debian-user-french@lists.debian.org
 Envoyé le : Vendredi, 14 Mars 2008, 22h15mn 12s
 Objet : Re : Re : SAMBA PDC

 N'est ce pas du au répertoire /home/atelier qui est au format
 ext3
 et mon poste xp ne reconnait pas le format non ?

 Anne sophie

 - Message d'origine 
 De : Jean-Michel Caricand [EMAIL PROTECTED]
 À : anne sophie lantz [EMAIL PROTECTED]
 Cc : Debianfr List debian-user-french@lists.debian.org
 Envoyé le : Vendredi, 14 Mars 2008, 21h19mn 26s
 Objet : Re: Re : SAMBA PDC



 - Message d'origine 
 De : Jean-Michel Caricand [EMAIL PROTECTED]
 À : anne sophie lantz
 [EMAIL PROTECTED]
 Cc : Debianfr List debian-user-french@lists.debian.org; Franck
 JONCOURT
 [EMAIL PROTECTED]
 Envoyé le : Vendredi, 14 Mars 2008, 20h58mn 15s
 Objet : Re: SAMBA PDC

 Coucou,

 bon, j'ai refais, et je
 détaille ce que j'ai fait :

 Contrôleur de Domaine SAMBA
 ---
 groupes d'utilisateurs :
 atelier
 annesophie
 secretaire
 virginie
 ---
 atelier :
 imprimante commun laser samsung
 droit d'aller voir chez :
 atelier
 secretaire
 gestion du répertoire
 public

 secretaire :
 imprimante commun laser samsung
 droit d'aller voir chez :
 secretaire
 accès au
 rÃÆâ

Re: Tr : Re : Re : Re : Re : Re : Re : SAMBA PDC

2008-03-15 Par sujet Jean-Michel Caricand


 - Message transféré 
 De : anne sophie lantz [EMAIL PROTECTED]
 À : Debianfr List debian-user-french@lists.debian.org
 Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s
 Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC

 # ps -ax
 Warning: bad ps syntax, perhaps a bogus '-'? See
 http://procps.sf.net/faq.html
   PID TTY  STAT   TIME COMMAND
 1 ?Ss 0:01 init [2]
 2 ?S  0:00 [migration/0]
 3 ?SN 0:00 [ksoftirqd/0]
 4 ?S 0:00 [events/0]
 5 ?S 0:00 [khelper]
 6 ?S 0:00 [kthread]
 9 ?S 0:00 [kblockd/0]
10 ?S 0:00 [kacpid]
92 ?S 0:00 [kseriod]
   128 ?S  0:00 [pdflush]
   129 ?S  0:00 [pdflush]
   130 ?S 0:00 [kswapd0]
   131 ?S 0:00 [aio/0]
   572 ?S 0:00 [khubd]
   966 ?S 0:00 [kjournald]
  1143 ?Ss0:00 udevd --daemon
  1488 ?S 0:00 [kpsmoused]
  1679 ?S 0:00 [kmirrord]
  1716 ?S 0:00 [kjournald]
  1718 ?S 0:00 [kjournald]
  1720 ?S 0:00 [kjournald]
  1722 ?S 0:00 [kjournald]
  1870 ?Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf
 /var/lib
  1909 ?Ss 0:00 /sbin/portmap
  2146 ?Ss 0:00 /sbin/syslogd
  2152 ?Ss 0:00 /sbin/klogd -x
  2224 ?Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s
 /var/run/acpid
  2267 ?Ss 0:00 /usr/sbin/exim4 -bd -q30m
  2279 ?Ss 0:00 /usr/sbin/inetd
  2286 ?Ss 0:00 /usr/sbin/nmbd -D
  2310 ?Ss 0:00 /usr/sbin/sshd
  2332 ?Ss 0:00 /sbin/rpc.statd
  2342 ?Ss 0:00 /usr/sbin/atd
  2349 ?Ss 0:00 /usr/sbin/cron
  2376 tty1 Ss+0:00 /sbin/getty 38400 tty1
  2377 tty2 Ss+0:00 /sbin/getty 38400 tty2
  2378 tty3 Ss+0:00 /sbin/getty 38400 tty3
  2379 tty4 Ss+0:00 /sbin/getty 38400 tty4
  2386 tty5 Ss+0:00 /sbin/getty 38400 tty5
  2387 tty6 Ss+0:00 /sbin/getty 38400 tty6
  2394 ?Ss 0:00 sshd: [EMAIL PROTECTED]/0
  2396 pts/0Ss 0:00 -bash
  2512 pts/0R+ 0:00 ps -ax


 - Message d'origine 
 De : Jean-Michel Caricand [EMAIL PROTECTED]
 À : anne sophie lantz [EMAIL PROTECTED]
 Cc : Debianfr List debian-user-french@lists.debian.org
 Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s
 Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC

 SRVBG:/mnt# smbclient -L localhost
 Error connecting to 127.0.0.1 (Connexion refusée)
 Connection to localhost failed


 Le serveur Samba ne tourne pas !

 # nmap localhost

 Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 10:35
 CET
 Interesting ports on localhost (127.0.0.1):
 Not shown: 1676 closed ports
 PORTSTATE SERVICE
 22/tcp  open  ssh
 25/tcp  open  smtp
 111/tcp open  rpcbind
 113/tcp open  auth

 Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds



 nmap comfirme la remarque précédente. Vous devriez avoir les lignes
 suivantes :

 139/tcp  open  netbios-ssn
 445/tcp  open  microsoft-ds

 Vérifiez si les services smbd et nmbd sont actifs avec un ps ax.





Comme vous pouvez le constater, le service smbd n'est pas actif. Il y a
donc des erreurs dans votre fichier de configuration. testparm peut vous
aider à les réduire.





-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et
Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Tr : Re : Re : Re : Re : Re : Re : SAMBA PDC

2008-03-15 Par sujet Anne Sophie

Jean-Michel Caricand a écrit :

- Message transféré 
De : anne sophie lantz [EMAIL PROTECTED]
À : Debianfr List debian-user-french@lists.debian.org
Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s
Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC

# ps -ax
Warning: bad ps syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
  PID TTY  STAT   TIME COMMAND
1 ?Ss 0:01 init [2]
2 ?S  0:00 [migration/0]
3 ?SN 0:00 [ksoftirqd/0]
4 ?S 0:00 [events/0]
5 ?S 0:00 [khelper]
6 ?S 0:00 [kthread]
9 ?S 0:00 [kblockd/0]
   10 ?S 0:00 [kacpid]
   92 ?S 0:00 [kseriod]
  128 ?S  0:00 [pdflush]
  129 ?S  0:00 [pdflush]
  130 ?S 0:00 [kswapd0]
  131 ?S 0:00 [aio/0]
  572 ?S 0:00 [khubd]
  966 ?S 0:00 [kjournald]
 1143 ?Ss0:00 udevd --daemon
 1488 ?S 0:00 [kpsmoused]
 1679 ?S 0:00 [kmirrord]
 1716 ?S 0:00 [kjournald]
 1718 ?S 0:00 [kjournald]
 1720 ?S 0:00 [kjournald]
 1722 ?S 0:00 [kjournald]
 1870 ?Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf
/var/lib
 1909 ?Ss 0:00 /sbin/portmap
 2146 ?Ss 0:00 /sbin/syslogd
 2152 ?Ss 0:00 /sbin/klogd -x
 2224 ?Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s
/var/run/acpid
 2267 ?Ss 0:00 /usr/sbin/exim4 -bd -q30m
 2279 ?Ss 0:00 /usr/sbin/inetd
 2286 ?Ss 0:00 /usr/sbin/nmbd -D
 2310 ?Ss 0:00 /usr/sbin/sshd
 2332 ?Ss 0:00 /sbin/rpc.statd
 2342 ?Ss 0:00 /usr/sbin/atd
 2349 ?Ss 0:00 /usr/sbin/cron
 2376 tty1 Ss+0:00 /sbin/getty 38400 tty1
 2377 tty2 Ss+0:00 /sbin/getty 38400 tty2
 2378 tty3 Ss+0:00 /sbin/getty 38400 tty3
 2379 tty4 Ss+0:00 /sbin/getty 38400 tty4
 2386 tty5 Ss+0:00 /sbin/getty 38400 tty5
 2387 tty6 Ss+0:00 /sbin/getty 38400 tty6
 2394 ?Ss 0:00 sshd: [EMAIL PROTECTED]/0
 2396 pts/0Ss 0:00 -bash
 2512 pts/0R+ 0:00 ps -ax


- Message d'origine 
De : Jean-Michel Caricand [EMAIL PROTECTED]
À : anne sophie lantz [EMAIL PROTECTED]
Cc : Debianfr List debian-user-french@lists.debian.org
Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s
Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC



SRVBG:/mnt# smbclient -L localhost
Error connecting to 127.0.0.1 (Connexion refusée)
Connection to localhost failed

  

Le serveur Samba ne tourne pas !



# nmap localhost

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 10:35
CET
Interesting ports on localhost (127.0.0.1):
Not shown: 1676 closed ports
PORTSTATE SERVICE
22/tcp  open  ssh
25/tcp  open  smtp
111/tcp open  rpcbind
113/tcp open  auth

Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds


  

nmap comfirme la remarque précédente. Vous devriez avoir les lignes
suivantes :

139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds

Vérifiez si les services smbd et nmbd sont actifs avec un ps ax.



  


Comme vous pouvez le constater, le service smbd n'est pas actif. Il y a
donc des erreurs dans votre fichier de configuration. testparm peut vous
aider à les réduire.
  

Déjà pour le compte mail, je passe par thunderbird ! :)
pour testparm, dans mon fichier smb.conf, j'ai commenté [print] pour le 
moment

et donc
SRVBG:/usr/src# testparm
Load smb config files from /etc/samba/smb.conf
Processing section [netlogon]
Processing section [public]
Processing section [homes]
Processing section [atelier]
Processing section [secretaire]
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC

SRVBG:~# nmap localhost

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 11:59 CET
Interesting ports on localhost (127.0.0.1):
Not shown: 1676 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
111/tcp open rpcbind
113/tcp open auth

Nmap finished: 1 IP address (1 host up) scanned in 0.232 seconds

SRVBG:~# /etc/init.d/samba restart
Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to 
kill 2291: No such process

.
Starting Samba daemons: nmbd smbd.

SRVBG:~# ps -ax
Warning: bad ps syntax, perhaps a bogus '-'? See 
http://procps.sf.net/faq.html

PID TTY STAT TIME COMMAND
1 ? Ss 0:01 init [2]
2 ? S 0:00 [migration/0]
3 ? SN 0:00 [ksoftirqd/0]
4 ? S 0:00 [events/0]
5 ? S 0:00 [khelper]
6 ? S 0:00 [kthread]
9 ? S 0:00 [kblockd/0]
10 ? S 0:00 [kacpid]
92 ? S 0:00 [kseriod]
128 ? S 0:00 [pdflush]
129 ? S 0:00 [pdflush]
130 ? S 0:00 [kswapd0]
131 ? S 0:00 [aio/0]
576 ? S 0:00 [khubd]
968 ? S 0:00 [kjournald]
1145 ? Ss 0:00 udevd --daemon
1469 ? S 0:00 [kpsmoused]
1682 ? S 0:00 [kmirrord]
1719 ? S 0:00 [kjournald]
1721 ? S 0:00 [kjournald]
1723 ? S 0:00 [kjournald]
1725 ? S 0:00 [kjournald]
1873 ? Ss 0:00 dhclient3 -pf /var/run

Re: Tr : Re : Re : Re : Re : Re : Re : SAMBA PDC

2008-03-15 Par sujet Anne Sophie

Anne Sophie a écrit :

Jean-Michel Caricand a écrit :

- Message transféré 
De : anne sophie lantz [EMAIL PROTECTED]
À : Debianfr List debian-user-french@lists.debian.org
Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s
Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC

# ps -ax
Warning: bad ps syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
  PID TTY  STAT   TIME COMMAND
1 ?Ss 0:01 init [2]
2 ?S  0:00 [migration/0]
3 ?SN 0:00 [ksoftirqd/0]
4 ?S 0:00 [events/0]
5 ?S 0:00 [khelper]
6 ?S 0:00 [kthread]
9 ?S 0:00 [kblockd/0]
   10 ?S 0:00 [kacpid]
   92 ?S 0:00 [kseriod]
  128 ?S  0:00 [pdflush]
  129 ?S  0:00 [pdflush]
  130 ?S 0:00 [kswapd0]
  131 ?S 0:00 [aio/0]
  572 ?S 0:00 [khubd]
  966 ?S 0:00 [kjournald]
 1143 ?Ss0:00 udevd --daemon
 1488 ?S 0:00 [kpsmoused]
 1679 ?S 0:00 [kmirrord]
 1716 ?S 0:00 [kjournald]
 1718 ?S 0:00 [kjournald]
 1720 ?S 0:00 [kjournald]
 1722 ?S 0:00 [kjournald]
 1870 ?Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf
/var/lib
 1909 ?Ss 0:00 /sbin/portmap
 2146 ?Ss 0:00 /sbin/syslogd
 2152 ?Ss 0:00 /sbin/klogd -x
 2224 ?Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s
/var/run/acpid
 2267 ?Ss 0:00 /usr/sbin/exim4 -bd -q30m
 2279 ?Ss 0:00 /usr/sbin/inetd
 2286 ?Ss 0:00 /usr/sbin/nmbd -D
 2310 ?Ss 0:00 /usr/sbin/sshd
 2332 ?Ss 0:00 /sbin/rpc.statd
 2342 ?Ss 0:00 /usr/sbin/atd
 2349 ?Ss 0:00 /usr/sbin/cron
 2376 tty1 Ss+0:00 /sbin/getty 38400 tty1
 2377 tty2 Ss+0:00 /sbin/getty 38400 tty2
 2378 tty3 Ss+0:00 /sbin/getty 38400 tty3
 2379 tty4 Ss+0:00 /sbin/getty 38400 tty4
 2386 tty5 Ss+0:00 /sbin/getty 38400 tty5
 2387 tty6 Ss+0:00 /sbin/getty 38400 tty6
 2394 ?Ss 0:00 sshd: [EMAIL PROTECTED]/0
 2396 pts/0Ss 0:00 -bash
 2512 pts/0R+ 0:00 ps -ax


- Message d'origine 
De : Jean-Michel Caricand [EMAIL PROTECTED]
À : anne sophie lantz [EMAIL PROTECTED]
Cc : Debianfr List debian-user-french@lists.debian.org
Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s
Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC

   

SRVBG:/mnt# smbclient -L localhost
Error connecting to 127.0.0.1 (Connexion refusée)
Connection to localhost failed

  

Le serveur Samba ne tourne pas !

   

# nmap localhost

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 
10:35

CET
Interesting ports on localhost (127.0.0.1):
Not shown: 1676 closed ports
PORTSTATE SERVICE
22/tcp  open  ssh
25/tcp  open  smtp
111/tcp open  rpcbind
113/tcp open  auth

Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds


  

nmap comfirme la remarque précédente. Vous devriez avoir les lignes
suivantes :

139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds

Vérifiez si les services smbd et nmbd sont actifs avec un ps ax.


   
  


Comme vous pouvez le constater, le service smbd n'est pas actif. Il y a
donc des erreurs dans votre fichier de configuration. testparm peut vous
aider à les réduire.
  

Déjà pour le compte mail, je passe par thunderbird ! :)
pour testparm, dans mon fichier smb.conf, j'ai commenté [print] pour 
le moment

et donc
SRVBG:/usr/src# testparm
Load smb config files from /etc/samba/smb.conf
Processing section [netlogon]
Processing section [public]
Processing section [homes]
Processing section [atelier]
Processing section [secretaire]
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC

SRVBG:~# nmap localhost

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 
11:59 CET

Interesting ports on localhost (127.0.0.1):
Not shown: 1676 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
111/tcp open rpcbind
113/tcp open auth

Nmap finished: 1 IP address (1 host up) scanned in 0.232 seconds

SRVBG:~# /etc/init.d/samba restart
Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to 
kill 2291: No such process

.
Starting Samba daemons: nmbd smbd.

SRVBG:~# ps -ax
Warning: bad ps syntax, perhaps a bogus '-'? See 
http://procps.sf.net/faq.html

PID TTY STAT TIME COMMAND
1 ? Ss 0:01 init [2]
2 ? S 0:00 [migration/0]
3 ? SN 0:00 [ksoftirqd/0]
4 ? S 0:00 [events/0]
5 ? S 0:00 [khelper]
6 ? S 0:00 [kthread]
9 ? S 0:00 [kblockd/0]
10 ? S 0:00 [kacpid]
92 ? S 0:00 [kseriod]
128 ? S 0:00 [pdflush]
129 ? S 0:00 [pdflush]
130 ? S 0:00 [kswapd0]
131 ? S 0:00 [aio/0]
576 ? S 0:00 [khubd]
968 ? S 0:00 [kjournald]
1145 ? Ss 0:00 udevd --daemon
1469 ? S 0:00 [kpsmoused]
1682 ? S 0:00 [kmirrord]
1719 ? S 0:00 [kjournald]
1721 ? S 0:00 [kjournald]
1723 ? S 0:00 [kjournald]
1725 ? S 0:00 [kjournald]
1873 ? Ss 0

Re: Tr : Re : Re : Re : Re : Re : Re : SAMBA PDC

2008-03-15 Par sujet Anne Sophie

Anne Sophie a écrit :

Jean-Michel Caricand a écrit :

- Message transféré 
De : anne sophie lantz [EMAIL PROTECTED]
À : Debianfr List debian-user-french@lists.debian.org
Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s
Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC

# ps -ax
Warning: bad ps syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
  PID TTY  STAT   TIME COMMAND
1 ?Ss 0:01 init [2]
2 ?S  0:00 [migration/0]
3 ?SN 0:00 [ksoftirqd/0]
4 ?S 0:00 [events/0]
5 ?S 0:00 [khelper]
6 ?S 0:00 [kthread]
9 ?S 0:00 [kblockd/0]
   10 ?S 0:00 [kacpid]
   92 ?S 0:00 [kseriod]
  128 ?S  0:00 [pdflush]
  129 ?S  0:00 [pdflush]
  130 ?S 0:00 [kswapd0]
  131 ?S 0:00 [aio/0]
  572 ?S 0:00 [khubd]
  966 ?S 0:00 [kjournald]
 1143 ?Ss0:00 udevd --daemon
 1488 ?S 0:00 [kpsmoused]
 1679 ?S 0:00 [kmirrord]
 1716 ?S 0:00 [kjournald]
 1718 ?S 0:00 [kjournald]
 1720 ?S 0:00 [kjournald]
 1722 ?S 0:00 [kjournald]
 1870 ?Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf
/var/lib
 1909 ?Ss 0:00 /sbin/portmap
 2146 ?Ss 0:00 /sbin/syslogd
 2152 ?Ss 0:00 /sbin/klogd -x
 2224 ?Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s
/var/run/acpid
 2267 ?Ss 0:00 /usr/sbin/exim4 -bd -q30m
 2279 ?Ss 0:00 /usr/sbin/inetd
 2286 ?Ss 0:00 /usr/sbin/nmbd -D
 2310 ?Ss 0:00 /usr/sbin/sshd
 2332 ?Ss 0:00 /sbin/rpc.statd
 2342 ?Ss 0:00 /usr/sbin/atd
 2349 ?Ss 0:00 /usr/sbin/cron
 2376 tty1 Ss+0:00 /sbin/getty 38400 tty1
 2377 tty2 Ss+0:00 /sbin/getty 38400 tty2
 2378 tty3 Ss+0:00 /sbin/getty 38400 tty3
 2379 tty4 Ss+0:00 /sbin/getty 38400 tty4
 2386 tty5 Ss+0:00 /sbin/getty 38400 tty5
 2387 tty6 Ss+0:00 /sbin/getty 38400 tty6
 2394 ?Ss 0:00 sshd: [EMAIL PROTECTED]/0
 2396 pts/0Ss 0:00 -bash
 2512 pts/0R+ 0:00 ps -ax


- Message d'origine 
De : Jean-Michel Caricand [EMAIL PROTECTED]
À : anne sophie lantz [EMAIL PROTECTED]
Cc : Debianfr List debian-user-french@lists.debian.org
Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s
Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC

   

SRVBG:/mnt# smbclient -L localhost
Error connecting to 127.0.0.1 (Connexion refusée)
Connection to localhost failed

  

Le serveur Samba ne tourne pas !

   

# nmap localhost

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 
10:35

CET
Interesting ports on localhost (127.0.0.1):
Not shown: 1676 closed ports
PORTSTATE SERVICE
22/tcp  open  ssh
25/tcp  open  smtp
111/tcp open  rpcbind
113/tcp open  auth

Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds


  

nmap comfirme la remarque précédente. Vous devriez avoir les lignes
suivantes :

139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds

Vérifiez si les services smbd et nmbd sont actifs avec un ps ax.


   
  


Comme vous pouvez le constater, le service smbd n'est pas actif. Il y a
donc des erreurs dans votre fichier de configuration. testparm peut vous
aider à les réduire.
  

Déjà pour le compte mail, je passe par thunderbird ! :)
pour testparm, dans mon fichier smb.conf, j'ai commenté [print] pour 
le moment

et donc
SRVBG:/usr/src# testparm
Load smb config files from /etc/samba/smb.conf
Processing section [netlogon]
Processing section [public]
Processing section [homes]
Processing section [atelier]
Processing section [secretaire]
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC

SRVBG:~# nmap localhost

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 
11:59 CET

Interesting ports on localhost (127.0.0.1):
Not shown: 1676 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
111/tcp open rpcbind
113/tcp open auth

Nmap finished: 1 IP address (1 host up) scanned in 0.232 seconds

SRVBG:~# /etc/init.d/samba restart
Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to 
kill 2291: No such process

.
Starting Samba daemons: nmbd smbd.

SRVBG:~# ps -ax
Warning: bad ps syntax, perhaps a bogus '-'? See 
http://procps.sf.net/faq.html

PID TTY STAT TIME COMMAND
1 ? Ss 0:01 init [2]
2 ? S 0:00 [migration/0]
3 ? SN 0:00 [ksoftirqd/0]
4 ? S 0:00 [events/0]
5 ? S 0:00 [khelper]
6 ? S 0:00 [kthread]
9 ? S 0:00 [kblockd/0]
10 ? S 0:00 [kacpid]
92 ? S 0:00 [kseriod]
128 ? S 0:00 [pdflush]
129 ? S 0:00 [pdflush]
130 ? S 0:00 [kswapd0]
131 ? S 0:00 [aio/0]
576 ? S 0:00 [khubd]
968 ? S 0:00 [kjournald]
1145 ? Ss 0:00 udevd --daemon
1469 ? S 0:00 [kpsmoused]
1682 ? S 0:00 [kmirrord]
1719 ? S 0:00 [kjournald]
1721 ? S 0:00 [kjournald]
1723 ? S 0:00 [kjournald]
1725 ? S 0:00 [kjournald]
1873 ? Ss 0

Re: Tr : Re : Re : Re : Re : Re : Re : SAMBA PDC

2008-03-15 Par sujet Anne Sophie

Mon fichier smb.conf après réinstallation
#=== Global Settings ===

[global]
netbios name = SRVBG
workgroup = AGENCE
  server string = %h server
;   wins server = no
;   wins server = w.x.y.z
  dns proxy = no

  log file = /var/log/samba/log.%m

  max log size = 1000

  syslog = 0

  panic action = /usr/share/samba/panic-action %d
time server = yes
name resolve order = hosts wins bcast


### Authentication ###
  security = user
  encrypt passwords = true

  passdb backend = tdbsam
  obey pam restrictions = yes

  guest account = nobody
  invalid users = root
  unix password sync = no

  passwd program = /usr/bin/passwd %u
  passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .


## Domains ###

domain master = yes
local master = yes
preferred master = yes
domain logons = yes

logon script = logon.bat
logon home = \\%N\%U

;   logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
;   logon path = \\%N\%U\profile
;   logon drive = H:
; add user script = /usr/sbin/adduser --quiet --disabled-password 
--gecos  %u


  socket options = TCP_NODELAY

#=== Share Definitions ===

[homes]
  comment = Home Directories
  browseable = yes
  writable = yes
  create mask = 0755
  directory mask = 0755
  valid users = %S

[netlogon]
  comment = Network Logon Service
  path = /home/netlogon
  guest ok = yes
  writable = no
  share modes = no


[public]
comment = Repertoire Public
guest ok = yes
browseable = no
path = /home/public
valid users = @atelier @secretaire
admin users = annesophie
write list = annesophie
read list = @secretaire

[atelier]
browseable = no
valid users = @atelier
path = /home/atelier
admin users = annesophie

[secretaire]
browseable = no
valid users = @atelier @secretaire
path = /home/secretaire
read list = @atelier @secretaire
admin users = @atelier @secretaire

;[profiles]
;   comment = Users profiles
;   path = /home/samba/profiles
;   guest ok = no
;   browseable = no
;   create mask = 0600
;   directory mask = 0700

[printers]
  comment = All Printers
  browseable = no
  path = /var/spool/samba
  printable = yes
  public = no
  writable = no
  create mode = 0700

[print$]
  comment = Printer Drivers
  path = /var/lib/samba/printers
  browseable = yes
  read only = yes
  guest ok = no





Anne Sophie a écrit :

Anne Sophie a écrit :

Jean-Michel Caricand a écrit :

- Message transféré 
De : anne sophie lantz [EMAIL PROTECTED]
À : Debianfr List debian-user-french@lists.debian.org
Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s
Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC

# ps -ax
Warning: bad ps syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
  PID TTY  STAT   TIME COMMAND
1 ?Ss 0:01 init [2]
2 ?S  0:00 [migration/0]
3 ?SN 0:00 [ksoftirqd/0]
4 ?S 0:00 [events/0]
5 ?S 0:00 [khelper]
6 ?S 0:00 [kthread]
9 ?S 0:00 [kblockd/0]
   10 ?S 0:00 [kacpid]
   92 ?S 0:00 [kseriod]
  128 ?S  0:00 [pdflush]
  129 ?S  0:00 [pdflush]
  130 ?S 0:00 [kswapd0]
  131 ?S 0:00 [aio/0]
  572 ?S 0:00 [khubd]
  966 ?S 0:00 [kjournald]
 1143 ?Ss0:00 udevd --daemon
 1488 ?S 0:00 [kpsmoused]
 1679 ?S 0:00 [kmirrord]
 1716 ?S 0:00 [kjournald]
 1718 ?S 0:00 [kjournald]
 1720 ?S 0:00 [kjournald]
 1722 ?S 0:00 [kjournald]
 1870 ?Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid 
-lf

/var/lib
 1909 ?Ss 0:00 /sbin/portmap
 2146 ?Ss 0:00 /sbin/syslogd
 2152 ?Ss 0:00 /sbin/klogd -x
 2224 ?Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s
/var/run/acpid
 2267 ?Ss 0:00 /usr/sbin/exim4 -bd -q30m
 2279 ?Ss 0:00 /usr/sbin/inetd
 2286 ?Ss 0:00 /usr/sbin/nmbd -D
 2310 ?Ss 0:00 /usr/sbin/sshd
 2332 ?Ss 0:00 /sbin/rpc.statd
 2342 ?Ss 0:00 /usr/sbin/atd
 2349 ?Ss 0:00 /usr/sbin/cron
 2376 tty1 Ss+0:00 /sbin/getty 38400 tty1
 2377 tty2 Ss+0:00 /sbin/getty 38400 tty2
 2378 tty3 Ss+0:00 /sbin/getty 38400 tty3
 2379 tty4 Ss+0:00 /sbin/getty 38400 tty4
 2386 tty5 Ss+0:00 /sbin/getty 38400 tty5
 2387 tty6 Ss+0:00 /sbin/getty 38400 tty6
 2394 ?Ss 0:00 sshd: [EMAIL PROTECTED]/0
 2396 pts/0Ss 0:00 -bash
 2512 pts/0R+ 0:00 ps -ax


- Message d'origine 
De : Jean-Michel Caricand [EMAIL PROTECTED]
À : anne sophie lantz [EMAIL PROTECTED]
Cc : Debianfr List debian-user-french@lists.debian.org
Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s
Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC

  

SRVBG

Re: Tr : Re : Re : Re : Re : Re : Re : SAMBA PDC

2008-03-15 Par sujet Jean-Michel Caricand
 j'ai réinstallé samba
 SRVBG:~# testparm
 Load smb config files from /etc/samba/smb.conf
 Processing section [homes]
 Processing section [netlogon]
 Processing section [printers]
 Processing section [print$]
 Loaded services file OK.
 Server role: ROLE_DOMAIN_PDC
 Press enter to see a dump of your service definitions


 [global]
 workgroup = AGENCE
 server string = %h server
 obey pam restrictions = Yes
 passdb backend = tdbsam
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
 *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
 syslog = 0
 log file = /var/log/samba/log.%m
 max log size = 1000
 name resolve order = hosts wins bcast
 time server = Yes
 logon script = logon.bat
 domain logons = Yes
 preferred master = Yes
 domain master = Yes
 dns proxy = No
 panic action = /usr/share/samba/panic-action %d
 invalid users = root

 [homes]
 comment = Home Directories
 valid users = %S
 read only = No
 create mask = 0755

 [netlogon]
 comment = Network Logon Service
 path = /home/netlogon
 guest ok = Yes
 share modes = No

 [printers]
 comment = All Printers
 path = /var/spool/samba
 create mask = 0700
 printable = Yes
 browseable = No

 [print$]
 comment = Printer Drivers
 path = /var/lib/samba/printers

 SRVBG:~# nmap localhost

 Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 12:50
 CET
 Interesting ports on localhost (127.0.0.1):
 Not shown: 1673 closed ports
 PORT STATE SERVICE
 22/tcp   open  ssh
 25/tcp   open  smtp
 111/tcp  open  rpcbind
 113/tcp  open  auth
 139/tcp  open  netbios-ssn
 445/tcp  open  microsoft-ds
 1522/tcp open  rna-lm

 Nmap finished: 1 IP address (1 host up) scanned in 0.249 seconds

 SRVBG:~# ps -ax
 Warning: bad ps syntax, perhaps a bogus '-'? See
 http://procps.sf.net/faq.html
   PID TTY  STAT   TIME COMMAND
 1 ?Ss 0:01 init [2]
 2 ?S  0:00 [migration/0]
 3 ?SN 0:00 [ksoftirqd/0]
 4 ?S 0:00 [events/0]
 5 ?S 0:00 [khelper]
 6 ?S 0:00 [kthread]
 9 ?S 0:00 [kblockd/0]
10 ?S 0:00 [kacpid]
92 ?S 0:00 [kseriod]
   128 ?S  0:00 [pdflush]
   129 ?S  0:00 [pdflush]
   130 ?S 0:00 [kswapd0]
   131 ?S 0:00 [aio/0]
   574 ?S 0:00 [khubd]
   966 ?S 0:00 [kjournald]
  1143 ?Ss0:00 udevd --daemon
  1466 ?S 0:00 [kpsmoused]
  1678 ?S 0:00 [kmirrord]
  1712 ?S 0:00 [kjournald]
  1714 ?S 0:00 [kjournald]
  1716 ?S 0:00 [kjournald]
  1718 ?S 0:00 [kjournald]
  1892 ?Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf
 /var/lib
  1931 ?Ss 0:00 /sbin/portmap
  2168 ?Ss 0:00 /sbin/syslogd
  2174 ?Ss 0:00 /sbin/klogd -x
  2246 ?Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s
 /var/run/acpid
  2289 ?Ss 0:00 /usr/sbin/exim4 -bd -q30m
  2301 ?Ss 0:00 /usr/sbin/inetd
  2308 ?Ss 0:00 /usr/sbin/nmbd -D
  2310 ?Ss 0:00 /usr/sbin/smbd -D
  2319 ?S  0:00 /usr/sbin/smbd -D
  2333 ?Ss 0:00 /usr/sbin/sshd
  2355 ?Ss 0:00 /sbin/rpc.statd
  2365 ?Ss 0:00 /usr/sbin/atd
  2372 ?Ss 0:00 /usr/sbin/cron
  2399 tty1 Ss+0:00 /sbin/getty 38400 tty1
  2401 tty2 Ss+0:00 /sbin/getty 38400 tty2
  2402 tty3 Ss+0:00 /sbin/getty 38400 tty3
  2403 tty4 Ss+0:00 /sbin/getty 38400 tty4
  2409 tty5 Ss+0:00 /sbin/getty 38400 tty5
  2412 tty6 Ss+0:00 /sbin/getty 38400 tty6
  2417 ?Ss 0:00 sshd: [EMAIL PROTECTED]/0
  2419 pts/0Ss 0:00 -bash
  2427 pts/0R+ 0:00 ps -ax



 --
 Lisez la FAQ de la liste avant de poser une question :
 http://wiki.debian.org/DebFrFrenchLists
 Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et
 Reply-To:

 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]




Et bien voila ! Les services nmbd et smbd sont actifs. Avec cette
configuration (épurée :-) ), vous devriez voir les partages sur le PC.
Maintenant, il ne vous reste plus qu'à faire des ajustements pour parvenir
aux objectifs attendus. Comme d'autres personnes l'ont fait remarquer,
essayez d'avancer par étapes (donc plus lentement) pour bien assimiler les
nouveaux concepts qui vous rencontrez.

Bonne continuation.


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et
Reply-To:

To UNSUBSCRIBE,