[Samba] Help please

Joel Hammer Joel at HammersHome.com
Sat Jul 27 17:21:02 GMT 2002


I don't know much about security.
Have you run smbpasswd ?
Joel
On Sat, Jul 27, 2002 at 06:05:11PM -0400, Warren Chan wrote:
> Hi Joel,
> 
> l did try you suggestion. But the same problem remained there.
> 
> Yes, all the problems l had with RH are gone. It just worked in Solaris.
> 
> This is not a new problem with W2K.
> 
> In this case ( a new install of RH v7.1 and the samba is included in the
> CD), l tried smbclient with the user account, l got the same error message
> as indicated before (When l do a "smbclient -L servername -U
> username%password"
> : "session setup failed:ERRSRV - ERRbadpw (Bad password - name/password pair
> in a Tree Connect or Session Setup are
> invalid).
> 
> That is why l think that is related to RH security. Though l am trying to
> learn RH Linux as much as possible (because l think there will a great
> demand for Linux professional down the road), l do not know RH enough at
> this moment to identify the issue.
> 
> Thanks for your patience.
> 
> Warren
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Joel Hammer [mailto:Joel at HammersHome.com]
> Sent: Friday, July 26, 2002 10:20 PM
> To: Warren Chan; samba at lists.samba.org
> Subject: Re: [Samba] Help please
> 
> 
> 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