Importing smbpasswd with pdbedit -i
Simo Sorce
simo.sorce at xsec.it
Thu Aug 15 10:04:01 GMT 2002
Ooh yes, you are true, now I recall (I wrote that code last year, but
forgot completely :)
Simo.
On Thu, 2002-08-15 at 20:44, Jelmer Vernooij wrote:
> This is probably a 2.2-problem. The 2.2 pdbedit --import option works
> different than the one in HEAD. The 2.2 --import is a special function
> that tries to read smbpasswd like files while the HEAD --import option
> uses the code from whatever backend you specify to it.
>
> Jelmer
>
> > I do not what's wrong in pdbedit, works fine for me (I use HEAD).
>
> > On Mon, 2002-07-08 at 11:58, Thomas.Mieslinger at germanparcel.de wrote:
> > > Hi,
>
> > > I used pdbedit -i to import my old /etc/smbpasswd into a NIS+ table.
> > > pdbedit generated for Workstationaccounts entries like this:
> > > degpd060w147$:1064:3128:502:2005:[U ]:C39B59E02D...
>
> > > well, the workstation can log into the domain and works quite well, but
> > > when you throw away the old installation on the client and then want to
> > > join the workstation (with the same name) again, Samba is unable to delete
> > > the workstation account and create a new one.
>
> > > I worte a little script to fix up all Workstation Accounts to be like
> > > this:
> > > degpd060w147$:1064:3128:502:2005:[W ]:C39B59E02D...
>
> > > Is it possible to correct the behavior of pdbedit?
>
> > > Yes, I'm using Samba 2.2.5
>
> > > regards Thomas
> > > --
> > > German Parcel
> > > Thomas Mieslinger
> > > German-Parcel-Str. 1-7 fon: +49 6677 17 463
> > > 36286 Neuenstein fax: +49 6677 17 111
> > > Germany eMail: thomas.mieslinger at germanparcel.de
>
> > --
> > Simo Sorce - simo.sorce at xsec.it
> > Xsec s.r.l.
> > via Durando 10 Ed. G - 20158 - Milano
> > tel. +39 02 2399 7130 - fax: +39 02 700 442 399
>
>
>
> --
> Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
> Development And Underdevelopment: http://library.thinkquest.org/C0110231/
> Listening to Error: The server (moosicd) doesn't seem to be running.
> 20:42:44 up 19:07, 5 users, load average: 2.49, 5.34, 5.88
--
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20020815/c15dd190/attachment.bin
More information about the samba-technical
mailing list