Importing smbpasswd with pdbedit -i

Simo Sorce simo.sorce at xsec.it
Thu Aug 15 09:37:01 GMT 2002


I do not what's wrong in pdbedit, works fine for me (I use HEAD).

Simo.

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
-------------- 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/e3d1003e/attachment.bin


More information about the samba-technical mailing list