[Samba] Re: failed to fetch domain database
John H Terpstra
jht at samba.org
Wed Dec 3 00:38:55 GMT 2003
On Tue, 2 Dec 2003 tbey at tbey.com wrote:
> Can anyone give me some direction. I am migrating a production system
> from NT4 PDC to SAMBA BDC. I have run across the following error in which
> I did not encounter when mirating the dev environment.
>
> Failed to fetch domain database: NT 0x0000004
>
> Is seems as if the process stops short of completing. It stops shy of
> adding a handful of users and it does not add any users to the groups.
> There are no other errors.
>
> Does someone know if this is a corrupted NT Domain Database or even why
> does this happen.
What platform are you migrating to? Linux by any chance?
If so, the account that was being migrated may have an account name that
is illegal under Linux.
Work around:
1. Create a UNIX group or User account.
2. Add the Account with the exact name as in Windows, then
map the user/group to the NT account
eg:
NT Domain Group = "Domain Frog Population"
Create UNIX group:
groupadd domfrogpop
Add NT Domain Group:
net groupmap add ntgroup="Domain Frog Population" \
unixgroup=domfrogpop type=d
Do this for every group and user name that can not be created under UNIX
using the NT name.
Finally, repeat the migration.
- John T.
--
John H Terpstra
Email: jht at samba.org
More information about the samba
mailing list