[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



> 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 ?        S<s    0: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: root@pts/0
>  2419 pts/0    Ss     0:00 -bash
>  2427 pts/0    R+     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 debian-user-french-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>


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.



Reply to: