[Samba] Help please

Joel Hammer Joel at HammersHome.com
Fri Jul 26 19:22:02 GMT 2002


When you say it works like a charm, do you mean all the problems you
originally reported have stopped and you can log on with w2k?

You didn't say if you made the changes I suggested. So, I am not sure
what your smb.conf looks like now.

You didn't say, if you made those changes, if the problems you originally
reported have gone away.

Is this a new problem with w2k?

Joel

On Fri, Jul 26, 2002 at 07:55:51PM -0400, Warren Chan wrote:
> Hi Joel,
> 
> l tried Samba on a Sparc system running Solaris 8. I used the same smb.conf.
> It took 5 mins and it workes like a charm.
> 
> l then installed a fresh RedHat Linux and tried again. This time it says in
> W2K that "Your account is not allowed to log in
> from this workstation"
> 
> l used the same smb.conf and it is a very simple one. Why ???
> 
> l believe it has something to do with RedHat. Does it has anything to do
> with pam ? But l found no info about the problem from RedHat docs.
> 
> Warren
> 
> 
> -----Original Message-----
> From: Joel Hammer [mailto:Joel at HammersHome.com]
> Sent: Friday, July 26, 2002 5:55 AM
> To: Warren Chan; samba at lists.samba.org
> Subject: Re: [Samba] Help please
> 
> 
> Note my comments below.
> You might try security = share if security = user is not getting the result
> you want.
> You might get rid of valid users to make things simpler.
> man smb.conf is a great resource.
> Joel
> 
> 
> On Thu, Jul 25, 2002 at 10:29:24PM -0400, Warren Chan wrote:
> > Here is the smb.conf
> >
> > [global]
> > workgroup = integrity
> > security = users  <------security = user  (NOT USERS)
> > encrypt passwords = yes
> > log file = /var/log/samba/samba.log
> >
> >
> > [test]
> > valid users = wilson root
> > guest ok = yes
> > path = /misc
> > public = yes
> > writable = yes
> > guest account = ftp  <----SHOULD BE IN GLOBAL
> >
> > Warren
> >
> >
> >
> > -----Original Message-----
> > From: Joel Hammer [mailto:Joel at HammersHome.com]
> > Sent: Thursday, July 25, 2002 10:05 PM
> > To: Warren Chan; samba at lists.samba.org
> > Subject: Re: [Samba] Help please
> >
> >
> > Post your smb.conf
> >
> > Joel
> >
> > On Thu, Jul 25, 2002 at 09:44:21PM -0400, Warren Chan wrote:
> > > Hi Joel,
> > >
> > > l added the guest ok = yes and guest account = ftp. l found 2 things :
> > >
> > > 1. according to the smbclient (guest account), l do not see the [test]
> > share
> > > 2. the testparm shows that guest ok = no. But l did enter guest ok = yes
> > in
> > > the smb.conf ?????
> > >
> > > Could you please give me some idea ?
> > >
> > > Thanks a lot
> > >
> > > Warren
> > >
> > >
> > > -----Original Message-----
> > > From: Joel Hammer [mailto:Joel at HammersHome.com]
> > > Sent: Wednesday, July 24, 2002 11:50 PM
> > > To: Warren Chan; samba at lists.samba.org
> > > Subject: Re: [Samba] Help please
> > >
> > >
> > > First, the business with nfs isn't going to do anything to help out
> samba.
> > > Get rid of if if you can.
> > > If you want to see if this is a pasword problem, try
> > > guest ok = yes in the share and guest account = ftp in your global
> > section.
> > > security = users seems to be a typo. Have you run testparm?
> > > Joel
> > >
> > > On Wed, Jul 24, 2002 at 10:51:33PM -0400, Warren Chan wrote:
> > > > Hi there,
> > > >
> > > > l installed Samba. From a W2K PRO PC, l can see my home folder in the
> > > Samba
> > > > server and that is it. l can not see any share (test and path is /misc
> > in
> > > my
> > > > case) l put in the smb.conf file.
> > > >
> > > > Below is my very simple smb.conf file.
> > > >
> > > > [global]
> > > > workgroup = mygroup
> > > > security = users
> > > > encrypt passwords = yes
> > > > log file = /var/log/samba/samba.log
> > > >
> > > >
> > > > [test]
> > > > valid users = wilson root
> > > > # guest ok = yes
> > > > path = /misc
> > > > public = yes
> > > > writable = yes
> > > >
> > > > When l do a "smbclient -L servername -U username%password"
> > > > l get the error message : "session setup failed:ERRSRV - ERRbadpw (Bad
> > > > password - name/password pair in a Tree Connect or Session Setup are
> > > > invalid).
> > > >
> > > > Please be noted that l did created a user first in Linux and then use
> > > > smbpasswd to create the same user with the same passwd. l also export
> > the
> > > > /misc folder by adding the line "/misc 192.168.1.0/255.255.255.0(rw)"
> in
> > > the
> > > > /etc/exports and then start the nfs service. l did a showmount -e to
> > make
> > > > sure the mount is there.
> > > >
> > > > However when l do  "smbclient -L servername -U root%password", it is
> OK.
> > > But
> > > > it still does not list the share of test.
> > > >
> > > > Version : Samba 2.2.1a bindary package
> > > > OS : RedHat Linux 7.1 and 7.3
> > > >
> > > >
> > > > Thanks a lot
> > > >
> > > > Warren
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe from this list go to the following URL and read the
> > > > instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list