dreamwvr wrote:

> hi,
>  yes the username and password pair needs to exist on both machines.
> There is a method to make windows usernames map to usernames on samba
> but i have never tried this approach. Which for sure does not mean it
> can't be done...

It works. Make a file /path/user.map. Just put an entry:

smithg=Administrator(or other windows username which you use)

and add a line in smb.conf :

username map = /path/user.map

>
>                                                 Regards,
>                                                         [EMAIL PROTECTED]
> At 10:45 PM 9/24/98 +0800, Stephen Eaton wrote:
> >I think you have to have the same password on both machines.
> >
> >> -----Original Message-----
> >> From:        Gary Smith [SMTP:[EMAIL PROTECTED]]
> >> Sent:        Thursday, 24 September 1998 13:53
> >> To:  Manuel Wolfshant; dreamwvr
> >> Cc:  [EMAIL PROTECTED]; [EMAIL PROTECTED];
> >> [EMAIL PROTECTED]
> >> Subject:     samba
> >>
> >> I have been having a problem with samba.  Every time that I connect to
> >> the
> >> linux box with windows 98, it asks me for a password unless I enable
> >> the
> >> guest account.  No password will work.  If I enable the guest account
> >> then
> >> it will let me in to browse the resources but will not let me connect
> >> without a password.  I created a user, smithg and added and entry into
> >> the
> >> smb.conf.  the following are 2 entries out of the system.  The first I
> >> have
> >> no problem getting into but the second never works for me.  Any ideas.
> >>
> >> I copied the passwd file to /etc/smbpasswd and also made a link from
> >> /usr/private/sbmpasswd to /etc/smbpasswd because to addtosmbpasswd
> >> fails and
> >> states the file should be located in /usr/private/smbpasswd.  Any
> >> ideas.
> >>
> >> Also I have the system set to Share level security.
> >>
> >> Thanks
> >>
> >> Can you please email direct
> >> [EMAIL PROTECTED]
> >>
> >> [public]
> >>    comment = Public Stuff
> >>    path = /home/samba
> >>    public = yes
> >>    writable = yes
> >>    printable = no
> >>    write list = @users
> >>
> >> [gary]
> >>    comment = Gary's stuff
> >>    path = /home/smithg
> >>    valid users = smithg
> >>    public = no
> >>    writable = yes
> >>    printable = no

> >>    create mask = 0765

> >>
> >>
> >>  [public]
> >>      comment = Public Stuff
> >>        path = /path2bpub
> >>        public = yes
> >>        writable = yes
> >>        printable = no
> >>        write list = @nameofgrp
> >>
> >> I hope this is some help. the above eg. is for a public share
> >> accessible
> >> to everyone. if you wish to reduce to a group just remove #ed out are
> >> and
> >> add group.
> >>                                                      Regards,
> >>
> >> [EMAIL PROTECTED]
> >
> >
> Reuters, London, February 29, 1998:
> Scientists have announced discovering a meteorite which will strike the
> earth in March, 2028.  Millions of UNIX coders expressed relief for being
> spared the UNIX epoch "crisis" of 2038.
> _______________________________________________________________________
>
> DREAMWVR.COM - TOTAL WEB INTEGRATION, DEVELOPMENT, DESIGN SERVICES.
> Featuring Website Development and Web Strategies of a TOP Developer
> <http://www.dreamwvr.com/dynamicduo.html> <mailto:[EMAIL PROTECTED]>
> "As Unique as the Company You Keep."        "===0 PGP Key Available
> ________________________________________________________________________
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]

--


Deependra Srivastava                 Mailto:[EMAIL PROTECTED]
Network Programs India.

Reply via email to