Fwd: More Samba questions...

robert mckennon <[email protected]>
Newsgroups gmane.org.user-groups.jaxlug
Message-ID <CAErk9YBsuS3hJvn7z4UHub8qFu++wbSwSkxSc6-sgf1y+QUfNA@mail.gmail.com>
forgot to reply to all....


---------- Forwarded message ----------
From: robert mckennon <[email protected]>
Date: Fri, Nov 11, 2011 at 2:30 PM
Subject: Re: More Samba questions...
To: Paul Spicer <[email protected]>


On Fri, Nov 11, 2011 at 2:13 PM, Paul Spicer <[email protected]> wrote:
> I know you guys are probably getting tired of me and my Samba issues, but I
> really appreciate you all bearing with me...
>
> First, a couple questions about how Samba stores users... How does this
> work? It's my understanding that Samba users are stored in the smbpasswd
> file. However, I've run into a situation where a user exists in that file,
> but I'm unable to connect to shares with this user nor can I change the
> password (smbpasswd user) until I first run `smbpasswd -a user`. (This
> changes nothing in the smbpasswd file, leading me to believe the "allowed
> users" is kept elsewhere, but I'll be darned if I can find where.)
>
In the /etc/samba/ directory is a file called secrets.tdb.   this is
where the actual passwords are stored.  (kinda like the /etc/shadow
file, but in a data-base form).

> On to the next issue; connecting to shares. Using the newly added smb user,
> I am able to connect to shares from WINDOWS machines only. If I try to
> connect to the Samba server using the same username/password credentials in
> Ubuntu, I get stuck in a loop where it keeps asking for the password and
> never accepting it. (Ultimately, I cancel and it throws an error about not
> being able to display the contents.) From this same Ubuntu box, I AM able
> to connect to shares on WINDOWS machines without a problem. It's only when
> I try to connect to Samba shares on linux machines does it fail.
>
> Can anyone tell me what I might be doing wrong in either situation?
>

Can you post the command you are using from linux to connect to the
samba share, and the errors?

Rob.

---------------------------------------------------------------------
Archive      http://marc.info/?l=jaxlug-list&r=1&w=2
RSS Feed     http://www.mail-archive.com/[email protected]/maillist.xml
Unsubscribe  [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.