Léa-Linux & amis :   LinuxFR   GCU-Squad   GNU
Pb partage samba (suite...)
Envoyé par: pcarme

Bonjour,
j'ai un problème de partage samba sur un pc que je veux intégrer à un domaine NT. Depuis mon post d'il y a deux jour, voici un résumé de la situation :
J'ai installé redhat9, puis utilisé le tuto de léa pour installer samba3.0.0.
J'ai adjoins le PC au domaine NT par la commande (doc samba 3):
net rpc join -S nomCPD -U administrateur%mot de passe
Le domaine à bien été joint.
J'ai voulu ensuite voir si les utilisateurs issus du CPD étaient bien vus par winbind : wbinfo -u les utilisateurs sont biens vu (mais leur nom n'est pas précédé du nom de domaine: par ex, au lieu de voir DOMAINE+toto, je ne vois que toto)
Jusqu'ici, tout va bien. Le PC Redhat est bien reconnu par le CPD, et je le vois dans l'explorateur reseau sous Win2000.
Par contre, dès que je veux y accéder, j'ai le message "\\serverdonnees n'est pas accessible, chemin reseau non trouvé"

Si vous aviez des idées, je les prendrai bien volontier.
Merci d'avance pour votre aide.


Voici le log winbidd (apres un smb restart)
2003/11/14 15:11:27, 0] nsswitch/winbindd.c:process_loop(716)
process_loop: Invalid request size from pid 13578: 1304 bytes sent, should be 1568
[2003/11/14 15:11:27, 0] nsswitch/winbindd.c:process_loop(716)
process_loop: Invalid request size from pid 13579: 1304 bytes sent, should be 1568
[2003/11/14 15:12:07, 1] nsswitch/winbindd_util.c:add_trusted_domain(149)
Added domain SV25
[2003/11/14 15:12:07, 1] nsswitch/winbindd_util.c:add_trusted_domains(206)
scanning trusted domain list
[2003/11/14 15:12:07, 1] nsswitch/winbindd_util.c:add_trusted_domains(206)
scanning trusted domain list
[2003/11/14 15:15:19, 0] nsswitch/winbindd.c:process_loop(716)
process_loop: Invalid request size from pid 13647: 1304 bytes sent, should be 1568


smbd.log :
ERROR: smbd is already running. File /usr/local/samba/var/locks/smbd.pid exists and process id 13405 is running.
[2003/11/14 14:53:00, 0] smbd/server.c:main(781)
standard input is not a socket, assuming -D option
[2003/11/14 15:12:07, 0] smbd/server.c:main(781)
standard input is not a socket, assuming -D option

et enfin, mon smb.conf (le testparm fait apparaitre ce message : you have some share names that are longer then 8 chars etc...)
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]

# nom serveur
netbios name = serveurdonnees

#description serveur
server string = samba server %v

#definit le groupe netbios
workgroup = SV25

#fichier log de smb
log file = /var/log/samba/%m.log
#taille max des log
max log size = 100

#samba fait partie du domaine
security = domain
#recherche du cpd
password server = *
#cryptage des passwords
encrypt passwords = yes

#winbind mappe windows
winbind uid = 10000-20000
winbind gid = 10000-20000

#caractere de séparation entre domaine et users pour winbind
winbind separator = +
winbind cache time = 10
template shell = /bin/bash
template homedir = /home/%D/%U
winbind use default domain = yes
# allow enumeration of winbind users and groups
winbind enum users = yes
winbind enum groups = yes

#option network
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

#smb ne sera pas master browser
local master = no
os level = 33

#smb ne sera pas domain master browser
domain master = no
preferred master = no

#chemin mot de passe smb
smb passwd file = /usr/local/samba/bin/smbpasswd

#pour pouvoir changer les passwd et ajouter les utilisateurs
#à partir de windows. A utiliser avec encrypt passwd et smb passwd file
unix password sync = yes
passwd program = /usr/bin/passwd
passwd chat = *new*password*%n\n *retype*new*password%n\n *password:*all*authentification*tokens*updated*successfully*
add user script = /usr/sbin/useradd %u -g smbusers
delete user script = /usr/sbin/userdel %u
allow trusted domains = yes

#support ACL microsoft
nt acl support = yes

#partage
[homes]
comment = Home Directory
browsable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775

[partage smb]
path = /partage
public = yes
only guest = yes
writable = yes
printable = yes

Poste le Friday 14 November 2003 15:36:01
Répondre     Citer    

Veuillez vous authentifier auparavant pour commenter.

 

Ce forum !
Pb partage samba (suite...)
Un problème avec une commande du shell ? Comment utiliser la crontab ? Vous avez des soucis pour la gestion réseau sous Linux ? Pour vous la gestion des utilisateurs/groupes est du chinois ? Etc... Posez donc vos questions ici.

Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons