Horrible problem with SAMBA -- Does Karmic work?
Pete Clapham
pclapham at windstream.net
Sat Nov 21 16:42:45 UTC 2009
Pete Clapham wrote:
> Hi, all --
>
> I have done a clean install of Karmic on my file server and am tearing
> my hair out. I'm almost ready to bolt for Red Hat!
>
> I have tried numerous times to set up SAMBA so that students can log
> into the system and access the files they need to access. They
> can't. The latest error is that the machine account isn't set up.
> But I can't find where the machine account is. When I upgraded from
> Jaunty (which worked fine), I got this error and was unable to delete
> the machine password from the /etc/samba/smbpasswd file to reload it.
> Now there isn't an /etc/samba/smbpasswd file at all, so the accounts
> must be stored elsewhere. Any ideas? Students /can/ log in directly
> to the server or via ssh. The problem is samba, and it appears to be
> the machine accounts.
Thanks to the two who responded to this email. However, this still
leaves the question open as to whether I need to establish accounts for
both users and workstations; I assume I do. The TDBs seem to record the
users correctly, but they do not appear to record the workstations. The
way I've been doing this is, first, "useradd -M -N -s /bin/false
<machinename$>", then "passwd -l <machinename$>", then "smbpasswd -a -m
<machinename>". I get the message that users are added with the final
statement (or deleted with smbpasswd -x -m <machinename>), but then I
get the message that the workstation accounts aren't established when I
try to log in on them. I suspect that the smbpasswd program is trying
to write something to somewhere, but it's the tbd files that are
actually controlling things. Do I use pdbedit for this, as I do with
the users?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20091121/a7752b5b/attachment.html>
More information about the ubuntu-users
mailing list