salut a tous ,
c bon on a pu voir le serveur depuis le client xp et mem de l'autre sens sa marche.
mais le probleme est comment partager des fichier sur le srveur fedora9,
c on fé un double clique sur le srveur dans voisinage reseau de xp la repons est
\ myserver n'est pas accessible. vous ne disposez peut etre pas des autorisations necessaire pour utililer cette ressource réseau...........
c quoi le probleme???
pour les services smb et nmb

quand je fé service smb status la reponse est
smbd est mort mais le fichier pid existe

quand je fé service smb restart la reponse est
fermeture des service smb echoue
demmarage des services smb ok

quand je fé service smb start
demmarage des service smb start ok

pourquoi il me donne fermeture smb echoue?
pourquoi smbd est mort ? comment faire pour le creer!
merci ........🙂
smbd est mort mais le fichier pid existe
Cela veut dire qu'il a démarré, mais qu'il a rencontré un problème pendant son déroulement («guest» incorrect, ...)

Voir
cat /var/log/samba/log.smbd

Peux-tu faire aussi :
testparm -s
salut marion , merci pour la réponse ,
pour la comande cat /var/log/samba/log.smbd le resultat est
bash:cat /var/log/samba/log.smbd aucun fichier ou docier de se type
pour la comande testparm -s il donne tous le fichier smb.conf

est ce que je peut creer le fichier smbd????
Peux-tu poster quand même le résultat de «testparm -s» (qui TESTE le contenu et affiche les valeurs de smb.conf sans les commentaires) .
Peux-tu faire aussi
ls -l /var/log/samba
est ce que je peut creer le fichier smbd????
Non c'est samba qui le crée dans le répertoire spécifié pour les logs (par défaut «/var/log/samba»)
salut marion , le resultat de la commande testparm est:
load smb config fils from/etc/samba/smb.comf
error: badly formed boolean in configration file:"yes;"
lp_bool(yes;): value is not boolean!
processing section "[homes]"
processing section "[stagiaire]"
processing section "[home]"
processing section "printers]"
warning : the "pinter admin " option is deprecated
processing section "[print$]"
...........
.................
..........
...........
processing section " [print$ sur myserver-1]"
loaded services file ok
warning: you have some share nomes that are longer then 12 caracters
there many not be accessible to some older clients
(eg. win 9x, win me ,and smb client prior to samba 3.0.)
server rele : role standalone
press enter to see.....................................
[global]

# ----------------------- Netwrok Related Options -------------------------
#
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
#
# server string is the equivalent of the NT Description field
#
# netbios name can be used to specify a server name not tied to the hostname
#
# Interfaces lets you configure Samba to use multiple interfaces
# If you have multiple network interfaces then you can list the ones
# you want to listen on (never omit localhost)
#
# Hosts Allow/Hosts Deny lets you restrict who can connect, and you can
# specifiy it as a per share option as well

workgroup = MYGROUP
guest account = nobody;
share modes = yes;
interfaces = 192.168.154.1/255.255.255.0
printcap =/etc/printcap
load printers = yes
log level = 1
log fille = /var/log/samba/log.%m
security = user
host allow = 127. 192.168.12. 192.168.13.

# --------------------------- Logging Options -----------------------------
#
# Log File let you specify where to put logs and how to split them up.
#
# Max Log Size let you specify the max size log files should reach

# logs split per machine
log file = /var/log/samba/log.%m
# max 50KB per log file, then rotate
max log size = 100

# ----------------------- Standalone Server Options ------------------------
#
# Scurity can be set to user, share(deprecated) or server(deprecated)
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.

security = user
passdb backend = tdbsam


# ----------------------- Domain Members Options ------------------------
#
# Security must be set to domain or ads
#
# Use the realm option only with security = ads
# Specifies the Active Directory realm the host is part of
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
#
# Use password server option only with security = server or if you can't
# use the DNS to locate Domain Controllers
# The argument list may include:
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
# password server = *


; security = domain
; passdb backend = tdbsam
; realm = MY_REALM

; password server = <NT-Server-Name>

# ----------------------- Domain Controller Options ------------------------
#
# Security must be set to user for domain controllers
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
#
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
#
# Domain Logons let Samba be a domain logon server for Windows workstations.
#
# Logon Scrpit let yuou specify a script to be run at login time on the client
# You need to provide it in a share called NETLOGON
#
# Logon Path let you specify where user profiles are stored (UNC path)
#
# Various scripts can be used on a domain controller or stand-alone
# machine to add or delete corresponding unix accounts
#
; security = user
; passdb backend = tdbsam

; domain master = yes
; domain logons = yes

# the login script name depends on the machine name
; logon script = %m.bat
# the login script name depends on the unix user used
; logon script = %u.bat
; logon path = \%L\Profiles\%u
# disables profiles support by specifing an empty path
; logon path =

; add user script = /usr/sbin/useradd "%u" -n -g users
; add group script = /usr/sbin/groupadd "%g"
; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
; delete user script = /usr/sbin/userdel "%u"
; delete user from group script = /usr/sbin/userdel "%u" "%g"
; delete group script = /usr/sbin/groupdel "%g"


# ----------------------- Browser Control Options ----------------------------
#
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
#
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
#
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
; local master = no
; os level = 33
; preferred master = yes

#----------------------------- Name Resolution -------------------------------
# Windows Internet Name Serving Support Section:
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
#
# - WINS Support: Tells the NMBD component of Samba to enable it's WINS Server
#
# - WINS Server: Tells the NMBD components of Samba to be a WINS Client
#
# - WINS Proxy: Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
#
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups.

; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes

; dns proxy = yes

# --------------------------- Printing Options -----------------------------
#
# Load Printers let you load automatically the list of printers rather
# than setting them up individually
#
# Cups Options let you pass the cups libs custom options, setting it to raw
# for example will let you use drivers on your Windows clients
#
# Printcap Name let you specify an alternative printcap file
#
# You can choose a non default printing system using the Printing option

load printers = yes
cups options = raw

; printcap name = /etc/printcap
#obtain list of printers automatically on SystemV
; printcap name = lpstat
; printing = cups

# --------------------------- Filesystem Options ---------------------------
#
# The following options can be uncommented if the filesystem supports
# Extended Attributes and they are enabled (usually by the mount option
# user_xattr). Thess options will let the admin store the DOS attributes
# in an EA and make samba not mess with the permission bits.
#
# Note: these options can also be set just per share, setting them in global
# makes them the default for all shares

; map archive = no
; map hidden = no
; map read only = no
; map system = no
; store dos attributes = yes


#============================ Share Definitions ==============================

[homes]
# comment = Home Directories
comment = répertoire personnel
browseable = no
writable = yes
create mask =0750
[stagiaire]
comment = partage pour le groupe stagiaire exlusivement
path = /home/rep-stagiaire
public = yes
writeable =yes
create mode = 0640

# repertoire commun
[samba]
comment = Network Samba Service
path = /home/samba
browseable = yes
guest ok = yes
writable = yes
public = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[dao]
comment = Public DAO
path = /home/dao
printable = no
write list = @dao
writable = yes
public = yes
[niche]
comment = private niche
path = /home/niche
valid users = rachida snoopy
public = no
writeable = yes
printable = no
[pchome]
comment = pc directories
path = /home/pc/%m
public = no
writeable = yes
[cd -rom]
comment = lecteur de cd
path = /mnt/cdrom
public= yes
writable = no
creat mask = 0750
# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
; [Profiles]
; path = /var/lib/samba/profiles
; browseable = no
; guest ok = yes


# A publicly accessible directory, but read only, except for people in
# the "staff" group
; [public]
; comment = Public Stuff
# path = /home/samba
path = /home/tmp
; public = yes
; writable = yes
; printable = no
; write list = +staff
create mode = 0755
comment partager l'imprimante surtout?
merci!!😐
Pour le résultat de ton testparm il faut corriger avant tout les alertes ou erreurs qu'il affiche.

Il existe aussi des lignes incorrectes
guest account = nobody;
Pourquoi un «;» en fin de ligne.
share modes = yes;
Pourquoi un «;» en fin de ligne et pourquoi «yes» alors que les réponses possibles sont
man smb.conf wrote:The share modes that are enabled by this option are DENY_DOS, DENY_ALL, DENY_READ, DENY_WRITE, DENY_NONE and DENY_FCB.
interfaces = 192.168.154.1/255.255.255.0
Combien d'interfaces réseau as tu sur ton serveur samba ?

.;    [public]
....
#    path = /home/samba
        path = /home/tmp
;    public = yes
......
Si tu commentes la section «[public]» , que vient faire le «path = /home/tmp» non commenté.


Essaie d'encadrer les texte (comme le contenu de ton smb;conf) avec des balises codes <> ! !
Evite de poster le contenu intégral d'un smb.conf, le résultat de testparm est plus lisible (car il n'affiche pas les commentaires).

Je refuse personnellement de lire un smb.conf intégral alors que testparm donne une vue global plus lisible. cela ne veut pas dire qu'il faut effacer les commentaires dans smb.conf, ils sont là pour t'aider.


Pour le partage d'imprimante, samba peut encore être utilisé, mais le produit «CUPS» permet de rendre une imprimante accessible par le réseau sans passer par les limites NetBios de Samba. Historiquement, samba a bien été le seul moyen de partage mais ce n'est plus de seul. Tu peux utiliser celui que tu préfères.

Je te conseille comme à tous les débutants d'utiliser d'abord un smb.conf ultra-simple et seulement au fur et à mesure de tes besoins d'essayer d'étoffer la configuration.

Quand je fais des stages de formation utilisateur je démarre TOUJOURS avec cette configuration que les stagiaires doivent ensuite compléter :
 
[global]
   workgroup = Le groupe ou le domaine déjà défini sur les stations de travail                    
   security = share     
[printers]
   comment = Mes imprimantes
   path = /var/spool/samba
   printable = yes
[public]   
   comment = Partage commun                 
   path = /public           
   guest ok = yes          
   writable = yes
pour arriver à des smb.conf de plusieurs dizaines de lignes selon la complexité de l'exercice (authentification, sécurité, serveur de domaine, ....)
salut marion , merci pour les explication , désoler mais je pense que je suis a cote....
un service : si tu peut me corriger les erreurs de mon fichier smb(une copie corriger) pour bien saisir
merci !!!
""Pour le partage d'imprimante, samba peut encore être utilisé, mais le produit «CUPS» permet de rendre une imprimante accessible par le réseau sans passer par les limites NetBios de Samba""
comment faire pour partager l'imprimante et de la rendre visible depuis xp sans passer par netbios comme tu dit!!!
merci.......🙂
Pour tes problèmes samba, peux-tu faire :
service smb status
tail /var/log/samba/log.smbd
si tu peut me corriger les erreurs de mon fichier smb(une copie corriger) pour bien saisir merci !!!
Simplifier ton smb.conf
Tu n'as pas répondu aux questions concernant «interfaces», «share modes».
On peux se poser des questions sur «hosts allow» qui ne cadrent pas avec ton «interfaces»
Quelle est ta configuration réseau ?
ifconfig
voila le resultat des commandes
[root@localhost ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[stagiaire]"
Processing section "[home]"
Processing section "[printers]"
WARNING: The "printer admin" option is deprecated
Processing section "[print$]"
Processing section "[dao]"
Processing section "[epitec-1]"
Processing section "[pchome]"
Processing section "[cd -rom]"
Processing section "[ahmed]"
Processing section "[Images]"
Processing section "[epitec]"
Processing section "[Public]"
Processing section "[print$ sur myserver]"
Processing section "[samba]"
Processing section "[rep-stagiaire]"
Processing section "[drivers]"
Processing section "[drivers sur myserver]"
Processing section "[print$ sur myserver-1]"
Processing section "[disk]"
Processing section "[disk-1]"
Processing section "[partag]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = MYGROUP
netbios name = MYSERVER
interfaces = 192.168.154.1/255.255.255.0
security = SHARE
passdb backend = tdbsam
username map = /etc/samba/smbusers
log level = 1
log file = /var/log/samba/log.%m
max log size = 100
printcap name = /etc/printcap
guest ok = Yes
hosts allow = 192.168., 127.
cups options = raw

[homes]
comment = répertoire personnel
read only = No
create mask = 0750
browseable = No

[stagiaire]
comment = partage pour le groupe stagiaire exlusivement
path = /home/rep-stagiaire
read only = No
create mask = 0640

[home]
comment = Network Samba Service
path = /home/samba
read only = No

[printers]
comment = imprimantes
path = /var/spool/samba
printer admin = root
read only = No
printable = Yes
printer name = LX-10502
use client driver = Yes
browseable = No

[print$]
comment = drivers pour imprimantes
path = /etc/samba/drivers
valid users = adm, epitec, root
write list = root

[dao]
comment = Public DAO
path = /home/dao
write list = @dao
read only = No

[epitec-1]
comment = private niche
path = /home/epitec
read only = No
create mask = 0750

[pchome]
comment = pc directories
path = /home/pc/%m
read only = No

[cd -rom]
comment = lecteur de cd
path = /mnt/cdrom
create mask = 0750

[ahmed]
path = /root/Musique
read only = No

[Images]
path = /root/Images
browseable = No

[epitec]
path = /media/disk/Documents and Settings/epitec
read only = No

[Public]
path = /root/Public
read only = No

[print$ sur myserver]
path = /root/.gvfs/print$ sur myserver
read only = No

[samba]
path = /home/samba
valid users = adm, epitec, root

[rep-stagiaire]
path = /home/rep-stagiaire
browseable = No

[drivers]
path = /etc/samba/drivers
read only = No

[drivers sur myserver]
path = /root/.gvfs/drivers sur myserver
read only = No

[print$ sur myserver-1]
path = /root/.gvfs/print$ sur myserver
browseable = No

[disk]
path = /media/disk
valid users = adm, epitec, lp_bool(yes, ), root
browseable = No

[disk-1]
path = /media/disk
browseable = No

[partag]
path = /root/Bureau/partag
browseable = No
You have new mail in /var/spool/mail/root

[root@localhost ~]# service smb status
smbd (pid 4671 3849 3847) en cours d'exécution...

[root@localhost ~]# tail/var/log/samba/log.smbd
bash: tail/var/log/samba/log.smbd: Aucun fichier ou dossier de ce type

[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4E:20:A3:BB
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interruption:5 Mémoire:ea001000-ea0010ff

eth1 Link encap:Ethernet HWaddr 00:04:75:C8:CF:85
inet adr:192.168.154.1 Bcast:192.168.154.255 Masque:255.255.255.0
adr inet6: fe80::204:75ff:fec8:cf85/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3325 errors:0 dropped:0 overruns:1 frame:0
TX packets:2004 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:519039 (506.8 KiB) TX bytes:574320 (560.8 KiB)
Interruption:9 Adresse de base:0xa000

lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2340 errors:0 dropped:0 overruns:0 frame:0
TX packets:2340 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:146033 (142.6 KiB) TX bytes:146033 (142.6 KiB)

[
tail/var/log/samba/log.smbd
IS NOT
tail /var/log/samba/log.smbd
Peux-faire :
ls -l /var/log/samba
smbclient -N -L 192.168.154.1

As-tu besoin pour tes essais de :
hosts allow = 192.168., 127.
interfaces = 192.168.154.1/255.255.255.0


A quoi servent ces sections :
[drivers sur myserver]
    path = /root/.gvfs/drivers sur myserver
    read only = No

[print$ sur myserver-1]
    path = /root/.gvfs/print$ sur myserver
    browseable = No
A quoi servent donc tous ces partages ?
Peux-tu essayer avec un seul (pour te simplifier la vie et ajouter ceux dont tu as vraiment besoin au fur et à mesure).


Essaie avec le smb.conf simpliste (comme celui que je t'ai posté, et on verra bien apprès)

N'oublie pas de faire un
service smb restart
après chaque modification de smb.conf
ok voila se que donne la commande :
[root@localhost ~]# tail /var/log/samba/log.smbd
[2009/02/09 11:35:12, 0] lib/util_str.c:safe_strcpy_fn(709)
ERROR: string overflow by 1 (16 - 15) in safe_strcpy [192.168.154.1/255.255.255.0]
[2009/02/09 11:35:12, 0] auth/token_util.c:create_builtin_administrators(247)
create_builtin_administrators: Failed to create Administrators
[2009/02/09 11:35:12, 0] auth/token_util.c:create_builtin_users(213)
create_builtin_users: Failed to create Users
[2009/02/09 11:35:13, 0] auth/token_util.c:create_builtin_administrators(247)
create_builtin_administrators: Failed to create Administrators
[2009/02/09 11:35:13, 0] auth/token_util.c:create_builtin_users(213)
create_builtin_users: Failed to create Users
[root@localhost ~]#
voila se que donne les autre commande :
[root@localhost ~]# ls -l /var/log/samba
total 472
drwx------ 5 root root 4096 fév 4 16:11 cores
-rw-r--r-- 1 root root 5061 fév 9 16:30 log.0.0.0.0
-rw-r--r-- 1 root root 0 fév 8 11:31 log.__1
-rw-r--r-- 1 root root 4725 fév 9 15:33 log.__ffff_127.0.0.1
-rw-r--r-- 1 root root 880 fév 9 14:19 log.__ffff_192.168.154.1
-rw-r--r-- 1 root root 21514 fév 9 17:17 log.__ffff_192.168.154.10
-rw-r--r-- 1 root root 783 fév 9 14:19 log.myserver
-rw-r--r-- 1 root root 1853 fév 9 15:29 log.nmbd
-rw-r--r-- 1 root root 7693 fév 9 16:30 log.smbd
-rw-r--r-- 1 root root 103197 fév 7 13:30 log.smbd.old
-rw-r--r-- 1 root root 0 fév 4 16:13 log.wb-BUILTIN
-rw-r--r-- 1 root root 0 fév 4 16:11 log.wb-MYSERVER
-rw-r--r-- 1 root root 51385 fév 9 17:17 log.win1
-rw-r--r-- 1 root root 102780 fév 7 11:31 log.win1.old
-rw-r--r-- 1 root root 3124 fév 9 15:27 log.winbindd
-rw-r--r-- 1 root root 18559 fév 9 17:17 log.winbindd-idmap
-rw-r--r-- 1 root root 104105 fév 9 15:16 log.winbindd-idmap.old
drwx------ 2 root root 4096 fév 8 13:22 old
[root@localhost ~]# smb client -n -l 192.168.154.1
bash: smb: command not found
[root@localhost ~]# smbclient -n -l 192.168.154.1
ERROR: string overflow by 1 (16 - 15) in safe_strcpy [192.168.154.1/255.255.255.0]

192.168.154.1: Not enough '\' characters in service
Utilisation: smbclient [-?EgBVNkPe] [-?|--help] [--usage]
[-R|--name-resolve NAME-RESOLVE-ORDER] [-M|--message HOST]
[-I|--ip-address IP] [-E|--stderr] [-L|--list HOST] [-t|--terminal CODE]
[-m|--max-protocol LEVEL] [-T|--tar <c|x>IXFqgbNan] [-D|--directory DIR]
[-c|--command CHAINE] [-b|--send-buffer BYTES] [-p|--port PORT]
[-g|--grepable] [-B|--browse] [-d|--debuglevel DEBUGLEVEL]
[-s|--configfile CONFIGFILE] [-l|--log-basename LOGFILEBASE]
[-V|--version] [-O|--socket-options SOCKETOPTIONS]
[-n|--netbiosname NETBIOSNAME] [-W|--workgroup WORKGROUP]
[-i|--scope SCOPE] [-U|--user USERNAME] [-N|--no-pass] [-k|--kerberos]
[-A|--authentication-file FILE] [-S|--signing on|off|required]
[-P|--machine-pass] [-e|--encrypt] service <password>
[
smbclient -N -L 192.168.154.1
IS NOT
smbclient -n -l 192.168.154.1

Je croyais que tu n'avais pas de /var/log/samba/log.smbd ?
"Je croyais que tu n'avais pas de /var/log/samba/log.smbd ?"
je ne sait pas mais voila se que donne la commande

[root@localhost ~]# tail /var/log/samba/log.smbd
[2009/02/09 11:35:12, 0] lib/util_str.c:safe_strcpy_fn(709)
ERROR: string overflow by 1 (16 - 15) in safe_strcpy [192.168.154.1/255.255.255.0]
[2009/02/09 11:35:12, 0] auth/token_util.c:create_builtin_administrators(247)
create_builtin_administrators: Failed to create Administrators
[2009/02/09 11:35:12, 0] auth/token_util.c:create_builtin_users(213)
create_builtin_users: Failed to create Users
[2009/02/09 11:35:13, 0] auth/token_util.c:create_builtin_administrators(247)
create_builtin_administrators: Failed to create Administrators
[2009/02/09 11:35:13, 0] auth/token_util.c:create_builtin_users(213)
create_builtin_users: Failed to create Users
; mais comment faire maintenant?
est ce que tu peut me corriger mon smb est éliminer se qu'il faut eliminer!!
et surtout comment partager l'imprimante ! comment accéder depuis xp a l'imprimante
merci :roll:
est ce que tu peut me corriger mon smb est éliminer se qu'il faut eliminer!!
Pour l'instant il FAUT TOUT ELIMINER et commencer par un smb.conf minimaliste.
surtout comment partager l'imprimante !
Comment est paramétrée ton imprimante dans CUPS ?
Quelle est ta priorité partager une imprimante, un répertoire ?
Ne cours pas deux lièvres à la fois ! !
ok
tu parle de cups!🙁 je ne sait pas ou il se situe ?
je le trouve ou?
comment le configurer?
est ce que il faut l'ajouter dans le smb.conf?
................ tout seimplemant je ne sait pas !!!!!!!!!!!!!!!
pour le smb , je lé simplifier comme suit:
[root@localhost etc]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[public]"
Processing section "[printers]"
WARNING: The "printer admin" option is deprecated
WARNING: [printers] service MUST be printable!
Processing section "[print$]"
Processing section "[epitec-1]"
Processing section "[cd -rom]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = MYGROUP
netbios name = MYSERVER
interfaces = 192.168.154.1/255.255.255.0
security = SHARE
passdb backend = tdbsam
username map = /etc/samba/smbusers
log file = /var/log/samba/log.%m
max log size = 100
printcap name = /etc/printcap
guest ok = Yes
hosts allow = 192.168., 127.
cups options = raw

[homes]
comment = répertoire personnel
read only = No
create mask = 0750

[public]
comment = répertoire public
path = /home/tmp
read only = No

[printers]
comment = imprimantes
path = /var/spool/samba
printer admin = root
read only = No
printable = Yes
printer name = LX-1050
use client driver = Yes
browseable = No

[print$]
comment = drivers pour imprimantes
path = /etc/samba/drivers
valid users = adm, epitec, root
write list = root
read only = No

[epitec-1]
comment = private niche
path = /home/epitec
read only = No
create mask = 0750

[cd -rom]
comment = lecteur de cd
path = /mnt/cdrom
read only = No
create mask = 0750
pour les autre commande voila se que donne:

[root@localhost etc]# /etc/rc.d/init.d/smb status
smbd (pid 3907 3893 3891 3888 3875 3873) en cours d'exécution...

[root@localhost etc]# /etc/init.d/smb restart
Fermeture des services SMB : [ OK ]
Démarrage des services SMB : [ OK ]

[root@localhost etc]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4E:20:A3:BB
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interruption:5 Mémoire:ea001000-ea0010ff

eth1 Link encap:Ethernet HWaddr 00:04:75:C8:CF:85
inet adr:192.168.154.1 Bcast:192.168.154.255 Masque:255.255.255.0
adr inet6: fe80::204:75ff:fec8:cf85/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2693 errors:0 dropped:0 overruns:4 frame:0
TX packets:2358 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:281629 (275.0 KiB) TX bytes:349453 (341.2 KiB)
Interruption:9 Adresse de base:0x8000

lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2348 errors:0 dropped:0 overruns:0 frame:0
TX packets:2348 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:150369 (146.8 KiB) TX bytes:150369 (146.8 KiB)


[root@localhost etc]# smbclient -N -l 192.168.154.1
Utilisation: smbclient [-?EgBVNkPe] [-?|--help] [--usage]
[-R|--name-resolve NAME-RESOLVE-ORDER] [-M|--message HOST]
[-I|--ip-address IP] [-E|--stderr] [-L|--list HOST] [-t|--terminal CODE]
[-m|--max-protocol LEVEL] [-T|--tar <c|x>IXFqgbNan] [-D|--directory DIR]
[-c|--command CHAINE] [-b|--send-buffer BYTES] [-p|--port PORT]
[-g|--grepable] [-B|--browse] [-d|--debuglevel DEBUGLEVEL]
[-s|--configfile CONFIGFILE] [-l|--log-basename LOGFILEBASE]
[-V|--version] [-O|--socket-options SOCKETOPTIONS]
[-n|--netbiosname NETBIOSNAME] [-W|--workgroup WORKGROUP]
[-i|--scope SCOPE] [-U|--user USERNAME] [-N|--no-pass] [-k|--kerberos]
[-A|--authentication-file FILE] [-S|--signing on|off|required]
[-P|--machine-pass] [-e|--encrypt] service <password>


[root@localhost etc]# ls -l /var/log/samba
total 588
drwx------ 5 root root 4096 fév 4 16:11 cores
-rw-r--r-- 1 root root 7073 fév 11 10:27 log.0.0.0.0
-rw-r--r-- 1 root root 0 fév 8 11:31 log.__1
-rw-r--r-- 1 root root 8397 fév 11 10:44 log.__ffff_127.0.0.1
-rw-r--r-- 1 root root 12279 fév 11 14:45 log.__ffff_192.168.154.1
-rw-r--r-- 1 root root 85337 fév 11 16:25 log.__ffff_192.168.154.10
-rw-r--r-- 1 root root 5481 fév 11 14:37 log.myserver
-rw-r--r-- 1 root root 6262 fév 11 14:33 log.nmbd
-rw-r--r-- 1 root root 38149 fév 11 16:14 log.smbd
-rw-r--r-- 1 root root 103197 fév 7 13:30 log.smbd.old
-rw-r--r-- 1 root root 0 fév 4 16:13 log.wb-BUILTIN
-rw-r--r-- 1 root root 0 fév 4 16:11 log.wb-MYSERVER
-rw-r--r-- 1 root root 18511 fév 11 16:25 log.win1
-rw-r--r-- 1 root root 102622 fév 11 14:38 log.win1.old
-rw-r--r-- 1 root root 10960 fév 11 14:26 log.winbindd
-rw-r--r-- 1 root root 45995 fév 11 16:25 log.winbindd-idmap
-rw-r--r-- 1 root root 103032 fév 11 14:37 log.winbindd-idmap.old
drwx------ 2 root root 4096 fév 8 13:22 old


[root@localhost etc]# tail /var/log/samba/log.smbd
[2009/02/11 16:14:33, 0] lib/util_str.c:safe_strcpy_fn(709)
ERROR: string overflow by 1 (16 - 15) in safe_strcpy [192.168.154.1/255.255.255.0]
[2009/02/11 16:14:33, 0] auth/token_util.c:create_builtin_administrators(247)
create_builtin_administrators: Failed to create Administrators
[2009/02/11 16:14:33, 0] auth/token_util.c:create_builtin_users(213)
create_builtin_users: Failed to create Users
[2009/02/11 16:14:33, 0] auth/token_util.c:create_builtin_administrators(247)
create_builtin_administrators: Failed to create Administrators
[2009/02/11 16:14:33, 0] auth/token_util.c:create_builtin_users(213)
create_builtin_users: Failed to create Users
.........................................???????????????????????????
Failed to create Administrators
.......
Failed to create Users
.......
Cela ressemble étrangement à une connexion à un domaine :
Considères tu que ton samba doit
- être s'intégrer à un groupe
- être intégré à un domaine
- être LE Contrôleur Principal de Domaine.
.......

Simplifie donc ton smb.conf, que l'on puisse s'y retrouver, une fois que tu auras au moins un partage opérationnel , tu ajouteras les autres .
En plus au lieu de simplifier tu ajoutes (au hasard ? ) des paramètres comme
username map = /etc/samba/smbusers


Essaie donc :
 
[global]
   workgroup = Le groupe ou le domaine déjà défini sur les stations de travail                    
   security = share     
[printers]
   comment = Mes imprimantes
   path = /var/spool/samba
   printable = yes
[public]   
   comment = Partage commun                 
   path = /home/tmp         
   guest ok = yes          
   writable = yes
Qu'est ce que tu risques ?


smbclient -N -l 192.168.154.1
IS NOT
smbclient -N -L 192.168.154.1
Mais là je crois que tu le fais exprès.
tu parle de cups je ne sait pas ou il se situe ?
Pour «cups», je ne sais pas comment tu crées/administres tes imprimantes mais par défaut c'est avec cups.
Avec cups, il suffit de partager ton imprimante pour qu'elle soit visible (et même gérée) sur un poste XP, Vista, ...
Système
Administration
Impression
Serveur
Paramètres
Publier les imprimantes partagées connectées à ce système

et si tu le désires
Autoriser l'administration à distance

puis
clic droit dur une imprimante
Partagée