Connecting to a Windows share

Tom Diehl tdiehl at rogueind.com
Tue Oct 10 12:59:28 EDT 2006


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 at 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 at gmail.com> wrote:
>> >>
>> >> Will do.  Thank you.
>> >>
>> >> On 9/20/06, Tom Diehl <tdiehl at 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 at rogueind.com             Spamtrap
>> >> address
>> >> > mtd123 at rogueind.com
>> >> > _______________________________________________
>> >> > bclug.org mailing list
>> >> > bclug.org at lists.sitelink.com
>> >> > http://lists.sitelink.com/mailman/listinfo/bclug.org
>> >> > This message was sent to jdecaro2 at gmail.com
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Jim DeCaro, MCSE Windows 2000, Windows NT 4.0
>> >>
>> >
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > bclug.org mailing list
>> > bclug.org at lists.sitelink.com
>> > http://lists.sitelink.com/mailman/listinfo/bclug.org
>> > This message was sent to lee at marzke.net
>> 
>> 
>> 
>> _______________________________________________
>> bclug.org mailing list
>> bclug.org at lists.sitelink.com
>> http://lists.sitelink.com/mailman/listinfo/bclug.org
>> This message was sent to jdecaro2 at gmail.com
>> 
>> 
>
>
>

-- 
Tom Diehl		tdiehl at rogueind.com		Spamtrap address mtd123 at rogueind.com


More information about the bclug.org mailing list