Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba não inicia - Log: getpwnam() fails... [Solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
inthesaint
n00b
n00b


Joined: 14 Dec 2005
Posts: 4

PostPosted: Wed Dec 14, 2005 7:19 pm    Post subject: Samba não inicia - Log: getpwnam() fails... [Solved] Reply with quote

Instalei o Samba baseado em http://www.gentoo.org/doc/pt_br/quick-samba-howto.xml
Entretanto, nao possuo necessidade de compartilhar impressoras nem do antivirus, por isso nao adicionei partes referentes aos mesmo
Ao seguinte comando /etc/init.d/samba start , aparece a seguite mensagem:
* samba-> start: smbd ... [!!]
* samba-> start: nmbd ... [ok]
* Error: stopping services (see system logs)

Ao recorrer ao log existe a seguinte mesagem final /var/log/samba/log.smbd:

[data hora,1] auth/auth_util.c:make_server_info_sam(807)
User samba in passdb, but getpwnam() fails!

Alguem sabe aonde eu posso ter errado?

Valeu pela ajuda, estava faltando mesmo a conta convidado.... Obrigado...


Last edited by inthesaint on Wed Dec 21, 2005 5:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
xef
Guru
Guru


Joined: 20 Jun 2003
Posts: 460
Location: Porto - Portugal

PostPosted: Thu Dec 15, 2005 10:04 am    Post subject: Reply with quote

Penso que foi esse o erro que me aconteceu a mim tambem.

Verifica se todos os users que configuraste no samba existem no passwd, se não existirem tens que os criar.
No meu caso, no ficheiro de configuração do samba tinha definido um user guest, mas ele não existia. Penso que era esse o problema...
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Mon Dec 19, 2005 4:18 pm    Post subject: Reply with quote

Eu tb tive esse problema, lembro-me que encontrei a solução pelo google.... descilpa çá não poder ajudar mais...


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum