Importing smbpasswd with pdbedit -i
jelmer at nl.linux.org
Thu Aug 15 09:48:32 GMT 2002
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.
> 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
More information about the samba-technical