samba, créer un nouvel utilisateur

samba, créer un nouvel utilisateur - réseaux et sécurité - Linux et OS Alternatifs

Marsh Posté le 17-08-2006 à 21:28:41    

bonsoir,
voila j'utilise un serveur samba pour partager certains dossiers sur un serveur debian
la j'ai créer un utilisateur toto sur ce serveur samba
quand je lance la commande smbpasswd toto pour lui créer un mot de passe samba j'ai ce message d'erreur:

lanfeust:~# smbpasswd toto
New SMB password:
Retype new SMB password:
Failed to find entry for user karm.
Failed to modify password entry for user toto


ca fait longtemps que j'ai créer mon serveur samba mais je crois bien que c'est la bonne marche a suivre pourtant
 
merci de votre aide


---------------
dam's (debianer), ma galerie Flickr
Reply

Marsh Posté le 17-08-2006 à 21:28:41   

Reply

Marsh Posté le 17-08-2006 à 22:13:07    

salut,
 
as tu essayé en passant l'option -a à smbpasswd ?
 
extrait du man :


  -a     This option specifies that the username following should be added to the local smbpasswd file,  with  the
              new  password typed (type <Enter> for the old password). This option is ignored if the username following
              already exists in the smbpasswd file and it is treated like a regular change password command. Note  that
              the  default  passdb  backends  require  the  user  to already exist in the system password file (usually
              /etc/passwd), else the request to add the user will fail.

Reply

Marsh Posté le 20-08-2006 à 17:27:47    

impec ca marche
merci de ton aide


---------------
dam's (debianer), ma galerie Flickr
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed