Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
3413 connectés 

 


Dernière réponse
Sujet : samba et nom de machine
thierryR En fait je retrouve mes dossiers sur le PC windows 98 mais un probleme demeure. Je crée un nouveau fil pour cela. Merci Dark

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
thierryR En fait je retrouve mes dossiers sur le PC windows 98 mais un probleme demeure. Je crée un nouveau fil pour cela. Merci Dark
thierryR Ben....... Le fichier smb.conf contient workgroup = MDKGROUP
Normalement c'est tout bon.  le groupe MAISON.FR vient du pc windows et il n'a pas changer depuis des annees. J'ai donc mis MAISON mais le changement est venu par mon PC linux !!
Dark_Schneider SAMBA émule un serveur NT4 et non un serveur Active Directory ( 2k, 2k3 ). Donc un nom de domaine sous SAMBA ne comporte pas de point et est un nom du type : MONDOMAINE. On appelle cela un nom NETBIOS
 
http://www.linux-france.org/prj/jargonf/N/NetBEUI.html
 
Active Directory s'appuie sur DNS et donc peut avoir un nom de domaine du type : MONDOMAINE.FR
 
Donc modifie ton fichier smb.conf et modifie la ligne workgroup afin qu'elle devienne :


workgroup = MAISON

thierryR

jlighty a écrit :


essaye : smbclient -L 127.0.0.1 (si le guest est activé)


Domain=[TR] OS=[Unix] Server=[Samba 3.0.13]
 
        Sharename       Type      Comment
        ---------       ----      -------
        print$          Disk
        pdf-gen         Printer   PDF Generator (only valid users)
        IPC$            IPC       IPC Service (Samba Server 3.0.13)
        ADMIN$          IPC       IPC Service (Samba Server 3.0.13)
        EPSONStylC64    Printer   EPSON Stylus C64
Domain=[TR] OS=[Unix] Server=[Samba 3.0.13]
 
        Server               Comment
        ---------            -------
 
        Workgroup            Master
        ---------            -------
        MAISON.FR            RMC.MAISON.FR
        MDKGROUP             TR
 
 
Il trouve toujours TR, donc a priori il faudrait mettre les mains dans le cambouis.
Ou peut-être avec webmin...... :sweat:

jlighty as tu essayé en supprimant les points ? peut être que ce caractère est interdit dans le nom.
D'après tes logs, samba a bien démarré
essaye : smbclient -L 127.0.0.1 (si le guest est activé)
thierryR

jlighty a écrit :

Quel est le nom que tu as mis ?
Quels sont les logs de samba ?


J'ai mis un 'tr.maison.fr" au lieu de "tr" initialement: rien de spécial
Les logs de samba: log.smbd
[2005/09/11 19:36:46, 0] smbd/server.c:main(798)
  smbd version 3.0.13 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2005/09/11 19:36:46, 1] lib/account_pol.c:account_policy_get(204)
  account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), returning 0
[2005/09/11 19:36:46, 1] lib/account_pol.c:account_policy_get(204)
  account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), returning 0
[2005/09/11 19:36:46, 1] lib/account_pol.c:account_policy_get(204)
  account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to change password), returning 0
[2005/09/11 19:36:46, 1] lib/account_pol.c:account_policy_get(204)
  account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age (seconds since 1970)), returning 0
[2005/09/11 19:36:46, 1] lib/account_pol.c:account_policy_get(204)
  account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password age (seconds since 1970)), returning 0
[2005/09/11 19:36:46, 1] lib/account_pol.c:account_policy_get(204)
  account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), returning 0
[2005/09/11 19:36:46, 1] lib/account_pol.c:account_policy_get(204)
  account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count minutes), returning 0
[2005/09/11 19:36:46, 1] lib/account_pol.c:account_policy_get(204)
  account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout attempt), returning 0
[2005/09/11 19:36:46, 1] lib/account_pol.c:account_policy_get(204)
  account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), returning 0
[2005/09/11 19:36:46, 1] lib/account_pol.c:account_policy_get(204)
  account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine password change), returning 0
[2005/09/11 19:52:13, 0] smbd/server.c:main(798)
  smbd version 3.0.13 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
 
et log.nmbd
[2005/09/11 19:36:46, 0] nmbd/nmbd.c:main(668)
  Netbios nameserver version 3.0.13 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2004
[2005/09/11 19:42:32, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
   
  Samba name server TR is now a local master browser for workgroup MDKGROUP on subnet 192.168.1.10
   
  *****
[2005/09/11 19:49:16, 0] nmbd/nmbd.c:terminate(56)
  Got SIGTERM: going down...
[2005/09/11 19:52:14, 0] nmbd/nmbd.c:main(668)
  Netbios nameserver version 3.0.13 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2004
[2005/09/11 19:58:05, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
   
  Samba name server TR is now a local master browser for workgroup MDKGROUP on subnet 192.168.1.10
   
  *****

jlighty Quel est le nom que tu as mis ?
Quels sont les logs de samba ?
thierryR Ouïe :o  la galère::::
J'ai osé changer le nom de ma machine depuis l'utilitaire mdk servant à la connection internet.  
Samba s'est planté net
J'ai donc rebooter la machine et là:
 
openoffice m'a affiché un message récurent comme quoi plusieurs utilisateurs essayaient d'ouvrir les mêmes fichiers. Si on répond "non" il ressert le message. Donc la réponse est "oui".
 
Samba ne fonctionne toujours pas.
Le drakconf me permet d'aller jusqu'à repérer les nouveaux serveurs mais pas moyen d'en faire plus.
 
Je vais essayer de réparer à la main[:acelluqicanta] mais je signale juste le problème ici....[:aga]

Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)