[Samba] copy of smbpasswd
Tom Haerens
tom.haerens at sofico.be
Wed May 24 07:52:29 GMT 2006
Hi Chami,
I solved my problem too!
We use a cgi script (Changepassword) to allow user to change their
passwords.
I found this in the Samba mailing list in an old topic:
"
[Samba] Re: /etc/samba/smbpasswd keeps changing - pulling my hair out
Apparently it has nothing to do with Samba, but with the
CGI script ChangePassword (http://changepassword.sourceforge.net) which
used the string "LTC" instead of "LCT" in smbpasswd entries. I edited the
affected smbpasswd entries and changed LTC to LCT, and now it works"
It seems Samba 2.2.5 doesn't mind that, Samba 3.0.2 does.
Cheers,
Tom
samba-bounces+toha=sofico.be at lists.samba.org wrote on 24/05/2006 07:31:46:
> C.Rathnasinghe wrote:
> > Hi Tom
> >
> > Finally it is solved. I found that problem is with the SID(unmatched
> > SID with your workstations). U have to be bit tricky in this case.
> >
> >
> > after U upgrade run old version and then using your new version net
> > utility give this command
> >
> > net rpc getsid
> >
> > * this will set your SID from old version to new version this is
> > locate at secrets.tdb file samba 2 /etc/samba and update new versions
> > file /pathtonewversion/private.
> >
> > * your smbpasswd file can use without any problem. simply copy to
> > location specified.
> >
> > stop older version then start new version
> >
> > PS. before U do so backup your both secrests.tdb files to store your
> > both SID's
> >
> > after long fighting I won the battle.
> >
> > good luck
> >
> > chami
> >
> > Tom Haerens wrote:
> >>
> >> Ok, I'll let you know!
> >> Unfortunally, until now, you're the only one that replied on my
> >> message :-(
> >>
> >> Did you use the same SuSE version?
> >>
> >>
> >> Cheers,
> >> Tom
> >>
> >>
> >>
> >> samba-bounces+toha=sofico.be at lists.samba.org wrote on 23/05/2006
> >> 05:25:50:
> >>
> >> > Hi
> >> > I have same problem exactly U got, even I post earlier to this
group
> >> > but didn't get any help If U do resolve this Please update me also.
> >> thanks.
> >> >
> >> > chami
> >> >
> >> > Tom Haerens wrote:
> >> > > Hi,
> >> > >
> >> > >
> >> > > I have to move our old samba file server to a new machine.
> >> > > The old samba server was a RedHat8 with samba 2.2.5. The new one
> >> is SLES9
> >> > > with samba 3.0.2b-3.4 SuSE
> >> > >
> >> > > Is there a way to re-use the old smbpasswd file?
> >> > >
> >> > > In the log-files I can see that the authentication fails when I
> >> try to
> >> > > access a shared folder.
> >> > > A windows client keeps on asking the login and password.
> >> > >
> >> > > Is it possible to re-use the smbpasswd file?
> >> > >
> >> > > When I create a new smbpasswd file, everything works fine.
> >> > > But, I want to avoid that everybody has to re-enter his or her
> >> password...
> >> > >
> >> > >
> >> > > Kind Regards,
> >> > > Tom
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> >> >
> >> >
> >> >
----------------------------------------------------------------------
> >> > This e-mail message is confidential and for use by the addressee
only.
> >> > If the message is received by anyone other than the addressee,
please
> >> > return the message to the sender by replying to it and then delete
the
> >> > message from your computer. Internet e-mails are not necessarily
> >> > secure.Ministry of Finance & Planning does not accept
responsibility
> >> > for changes made to this message after it was sent.
> >> >
> >> > Whilst all reasonable care has been taken to avoid the transmission
of
> >> > viruses, it is the responsibility of the recipient to ensure that
the
> >> > onward transmission, opening or use of this message and any
attachments
> >> > will not adversely affect its systems or data. No responsibility is
> >> > accepted by Ministry of Finance & Planning Sri Lanka in this
regard.
> >> >
> >> >
> >>
------------------------------------------------------------------------
> >> > To unsubscribe from this list go to the following URL and read the
> >> > instructions: https://lists.samba.org/mailman/listinfo/samba
> >>
> >
>
>
> ----------------------------------------------------------------------
> This e-mail message is confidential and for use by the addressee only.
> If the message is received by anyone other than the addressee, please
> return the message to the sender by replying to it and then delete the
> message from your computer. Internet e-mails are not necessarily
> secure.Ministry of Finance & Planning does not accept responsibility
> for changes made to this message after it was sent.
>
> Whilst all reasonable care has been taken to avoid the transmission of
> viruses, it is the responsibility of the recipient to ensure that the
> onward transmission, opening or use of this message and any attachments
> will not adversely affect its systems or data. No responsibility is
> accepted by Ministry of Finance & Planning Sri Lanka in this regard.
>
> ------------------------------------------------------------------------
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list