[Samba] Samba problems

Spiro Philopoulos spiro at novra.com
Mon Mar 17 01:06:02 GMT 2003


Tried your suggestions but same problems on LRP. Trying the 2.2.8 smbpasswd on
my SuSE box worked fine. Go figure.


> On Sun, 16 Mar 2003, Spiro Philopoulos wrote:
> 
> > Thanks for responding. I've appended my smb.conf and smbpasswd files.
> 
> Ok. So are smb1 ... smbn all in your /etc/passwd file?
> Why do all have the same uid? The nobody uid. Do NOT do this.
> 
> You need to have separate uids for each entry in smbpasswd. You should add
> your Unix users by:
> 	useradd 'username'
> 	passwd 'username'
> then to smbpasswd by:
> 	smbpasswd -a 'username'
> 
> Do NOT put a guest account in smbpasswd. Samba should use the 'nobody'
> account from /etc/passwd for all connections to the IPC$ share.
> 
>  - John T.
> 
> >
> >
> > > On Sat, 15 Mar 2003, Spiro Philopoulos wrote:
> > >
> > > >  I'm trying the latest versions of Samba on a LRP box (kernel 2.2.19),
> > namely
> > > > versions 2.2.7a and 2.2.8, but whenever I try to access a share it fails
> > and
> > > > the smbd log has the following error message:
> > > >
> > > >     build_sam_account: smbpasswd database is corrupt!  username smb1
not in
> > > > unix passwd database!
> > >
> > > Email me your smb.conf and smbpasswd file please to <jht at samba.org> - NOT
> > > to this list.
> > >
> > > >
> > > >  I have the user accounts defined in the smbpasswd file and in
/etc/passwd.
> > > > When using an older version (2.0.4b) I have no problems at all. Also,
when
> > > > trying to change a Samba password using smbpasswd I get a similar error
> > message:
> > > >
> > > >   build_sam_account: smbpasswd database is corrupt!  username smb1 not
in
> > unix
> > > > passwd database!
> > > >   Failed to find entry for user smb1.
> > > >   Failed to modify password entry for user smb1
> > > >
> > > >  I configured it during the build to use the traditional smbpasswd file.
> > Does
> > > > anybody know what this is?.
> > > >  Another issue is that nmbd won't start up if I have "interfaces = all"
> > >
> > > If you want all interfaces (even if it is just one) comment out this line.
> > > ie: Comment out "interfaces ="
> > >
> > > > specified in the global section of smb.conf, which again wasn't a
problem
> > with
> > > > the older version.
> > > >
> > > > Thanks in advance for any help.
> > > >
> > >
> > > - John T.
> > > --
> > > John H Terpstra
> > > Email: jht at samba.org
> > >
> >
> 
> -- 
> John H Terpstra
> Email: jht at samba.org
-- 


More information about the samba mailing list