[Samba] User Migration question

Craig White craigwhite at azapple.com
Tue Feb 8 05:48:15 GMT 2005


On Tue, 2005-02-08 at 06:18 +0100, Jochen Witte wrote:
> Hello,
> 
> I would like to migrate my user-accounts from a Samba 2 to a Samba 3
> setup.
> 
> Old Setup:
> 
> Samba 2 with PAM support. PAM uses LDAP to store PosixAccounts
> 
> New Setup:
> 
> Samba 3 with "native" LDAP. PosixAccounts are already migrated to my new
> LDAP server.
> 
> I tried pdbedit with my old smbpasswd file:
> 
> ---snip---
> # pdbedit -i smbpasswd:./smbpasswd
> build_sam_account: smbpasswd database is corrupt!  username jwitte with
> uid 1000 is not in unix passwd database!
> ---snip---
> 
> But:
> 
> ---snip---
> # getent passwd|grep jwitte
> jwitte:x:1000:1000:Jochen Witte:/home/jwitte:/bin/bash
> ---snip---
> 
> Any hints? 
---
sounds like your passdb parameter isn't set properly

Craig



More information about the samba mailing list