[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jaxlug-list
Subject:    Fwd: More Samba questions...
From:       robert mckennon <robmckennon () gmail ! com>
Date:       2011-11-11 19:36:12
Message-ID: CAErk9YBsuS3hJvn7z4UHub8qFu++wbSwSkxSc6-sgf1y+QUfNA () mail ! gmail ! com
[Download RAW message or body]

forgot to reply to all....


---------- Forwarded message ----------
From: robert mckennon <robmckennon@gmail.com>
Date: Fri, Nov 11, 2011 at 2:30 PM
Subject: Re: More Samba questions...
To: Paul Spicer <ephram.pontoon@gmail.com>


On Fri, Nov 11, 2011 at 2:13 PM, Paul Spicer <ephram.pontoon@gmail.com> 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/list@jaxlug.org/maillist.xml
Unsubscribe  list-unsubscribe@jaxlug.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic