Jim DeCaro on 11 Oct 2006 22:30:19 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Connecting to a Windows share


OK, I will try the terminal command line method.  I will also keep the
usernames and passwords identical between Windows and Linux and see what
happens.  I did read up on the network articles via the URL's Tom sent me,
so I have a little better understanding of what is going on.  Seems like
there is a big difference between Samba 2 and Samba 3.  The info does not
talk about workgroup configurations that much, mostly Domain
authentication.  I am finding I need to manually add the network hosts to
each individual host file since DNS is not running, so the NetBios protocol
does not look like it is broadcasting advertisements from Samba.

Also, in my Fedora Core 5 install, I originally installed it to use DHCP
with the idea that I would change it to a static address later.  The network
card gave itself a 169..etc..... class B IP address which could not be
undone (at least not through the GUI).  When I set it for  a class C private
IP and reset the networking service, the 169 class B did not relinquish, and
I could not "see" the rest of the workgroup network.  I am re-installing
with a hard coded class c private address and will see what happens.

The Suse Samba file looks about the same as any of the other Samba's.  I
have Ubuntu, Fedora and Suse running.

On 10/10/06, Tom Diehl <tdiehl@rogueind.com> wrote:

On Mon, 9 Oct 2006, Jim DeCaro wrote:

> I tried that, but I do not know the format.  I tried typing like a host
> file, i.e.:
>
> jim  <password>

Go to a command line anf type the following:

"smbpasswd -a jim" and follow the prompts.

You MUST have an smbpasswd file in the place specified by
/etc/samba/smb.conf

By default that is /etc/samba/smbpasswd.

I have never used Suse so the above file locations could be different.

You may need to season the above paths to taste.

BTW there are no files. mailman does not allow attachments. Put the
revelent
parts and ONLY the revelent parts inline.

Regards,

Tom
>
> Is there syntax involved in this?  I used the GUI to open the file, type
it
> in, then saved the file.  Still no luck.
>
> On 10/9/06, Lee Marzke <lee@marzke.net> wrote:
>>
>> Jim,
>>
>> Did you set the username/password for the user Jim using  smbpasswd ?
>> Samba does NOT use the password/shadow file for password !
>>
>> Lee
>>
>>
>>
>> Jim DeCaro wrote:
>> > Here are the files.  I have a user named Jim on an XP box and on a
Suse
>> > Linux 10.1 install.  Both have the same password.  I have enabled
write
>> > permissions on the share for jim on the linux box.  I cannot get the
>> > connection from thw Windows box to the linux box to authenticate.  It
>> > tells
>> > me I do not have permission to connect to the shares, however I can
see
>> > them.  I will get a logon dialogue box that does not work.
>> >
>> > Any help would be appreciated.  Interestingly, samba works fine for
>> > connections between the linux boxes, and it works most of the time
from
>> > linux to windows.  But not from windows to linux.
>> >
>> >
>> >
>> > On 9/21/06, Jim DeCaro <jdecaro2@gmail.com> wrote:
>> >>
>> >> Will do.  Thank you.
>> >>
>> >> On 9/20/06, Tom Diehl <tdiehl@rogueind.com> wrote:
>> >> >
>> >> > On Wed, 20 Sep 2006, Jim DeCaro wrote:
>> >> >
>> >> > > Whatever the default is.  I am a newbee to linux.  I didn't
realize
>> >> > samba
>> >> > > had configurable dbs.  I am mostly using the GUI (xWindows) to
>> >> > configure the
>> >> > > network connections.  Once I master the GUI's, then I was going
to
>> >> > move up
>> >> > > to the terminal.
>> >> >
>> >> > OK in that case you are most likely using a smbpasswd file, or at
>> >> least
>> >> > that
>> >> > is what you should be using. You have to create it and add your
>> >> users to
>> >> > it.
>> >> >
>> >> > If you have a linux user named jdecaro then you can add a samba
>> >> user by
>> >> > running
>> >> > smbpasswd -a jdecaro. If you did not do that step then samba will
not
>> >> > work.
>> >> >
>> >> > If it still does not work, show your smb.conf and tell us again
>> >> exactly
>> >> > what the
>> >> > problem is. I think I remember but...
>> >> >
>> >> > Also http://us4.samba.org/samba/docs/man/Samba-Guide/ and/or
>> >> > http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/ might
be
>> >> > useful
>> >> > to you.
>> >> >
>> >> > Regards,
>> >> >
>> >> > --
>> >> > Tom Diehl               tdiehl@rogueind.com             Spamtrap
>> >> address
>> >> > mtd123@rogueind.com
>> >> > _______________________________________________
>> >> > bclug.org mailing list
>> >> > bclug.org@lists.sitelink.com
>> >> > http://lists.sitelink.com/mailman/listinfo/bclug.org
>> >> > This message was sent to jdecaro2@gmail.com
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Jim DeCaro, MCSE Windows 2000, Windows NT 4.0
>> >>
>> >
>> >
>> >
>> >
------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > bclug.org mailing list
>> > bclug.org@lists.sitelink.com
>> > http://lists.sitelink.com/mailman/listinfo/bclug.org
>> > This message was sent to lee@marzke.net
>>
>>
>>
>> _______________________________________________
>> bclug.org mailing list
>> bclug.org@lists.sitelink.com
>> http://lists.sitelink.com/mailman/listinfo/bclug.org
>> This message was sent to jdecaro2@gmail.com
>>
>>
>
>
>

--
Tom Diehl               tdiehl@rogueind.com             Spamtrap address
mtd123@rogueind.com
_______________________________________________
bclug.org mailing list
bclug.org@lists.sitelink.com
http://lists.sitelink.com/mailman/listinfo/bclug.org
This message was sent to jdecaro2@gmail.com




-- Jim DeCaro, MCSE Windows 2000, Windows NT 4.0 _______________________________________________ bclug.org mailing list bclug.org@lists.sitelink.com http://lists.sitelink.com/mailman/listinfo/bclug.org This message was sent to historian@netisland.net