No users - Samba won't allow access
From: Andrew Gatt (sailordwarf_at_hotmail.com)
Date: 03/23/04
- Next message: Adam: "Re: Simplify the Linux commands"
- Previous message: Dan: "Re: Basic Linux (GNU) Questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Mar 2004 05:22:01 -0800
Hello all,
I'm trying to configure a mini-distribution that contains the Samba
server among other things. I'm actually booting into a userless
environment as in all processes are started as UID 0 and there's no
login going on - it just dumps straight to a shell. I didn't have any
form of passwd or shadow files. Now i've managed to compile and
install Samba and have almost got it configured correctly, expect that
is will not authenticate any users. I can connect from a windows box
which just brings up a username, password dialog and in the samba log
it says:
User nobody in passdb, but getpwnam() fails!
Now after some searching i believe its because i don't have a nobody
account and this is what Samba is trying to use to access the shares?
So i manually created a passwd file as:
nobody:x:99:99:Nobody:/:
and a shadow file:
nobody::12471:0:99999:7:::
which i hoped would work. However Samba gives the same errors. Also
running
# id nobody
gives:
unknown user name: nobody
Now my present thinking is that its something to do with how i'm
booting the distribution without any kind of reference to users, i.e.
no login or anything? Or could it be that my user is not created
properly inside the distribution?
Could anyone point me in the right direction??
Any help would be greatly appreciated - i've been pulling my hair out
for a while!!
Thanks
Andrew
- Next message: Adam: "Re: Simplify the Linux commands"
- Previous message: Dan: "Re: Basic Linux (GNU) Questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|