I have no idea, I have never used tdbsam... I guess there
is no harm in
trying
/marcus
/Marcus Hallberg
Wimlet Consulting AB
Djurgårdsgatan 10
414 62 Göteborg
mobil: 0707-141716
e-post: marcus wimlet.se
hemsida: www.wimlet.se
Karl Zander wrote:
> Thanks Marcus.
>
> Ok, cutting and pasting /etc/passwd sounds easier for
user/machine
> accounts.
>
> I use tdbsam so I assume I move
>
> /var/lib/samba/private/*.tdb too.
>
> What about .tdb files in
>
> /var/cache/samba
>
> There is bunuch of stuff like
>
> account_policy.tdb
> brlock.tdb
> connections.tdb
> etc.
>
> Must it be moved or will it get recreated?
>
> --Karl
>
>
> On Thu, 27 Apr 2006 17:43:22 +0200
> Marcus Hallberg <marcus wimlet.se> wrote:
>
>> Hi Karl!
>>
>> Just copy the relevant lines from /etc/passwd
/etc/group /etc/shadow
>> and merge into the files on the new server.
>>
>> You should be able to move relevant lines from
>> /var/lib/samba/private/smbpasswd to.
>>
>> /marcus
>>
>> /Marcus Hallberg
>> Wimlet Consulting AB
>> Djurgårdsgatan 10
>> 414 62 Göteborg
>> mobil: 0707-141716
>> e-post: marcus wimlet.se
>> hemsida: www.wimlet.se
>>
>>
>>
>> Karl Zander wrote:
>>
>>>
>>> I have to move my SAMBA PDC to new hardware.
SAMBA uses /etc/passwd
>>> along with its own user database.
>>>
>>> Can I copy /etc/passwd from the old server to
the new or do I have
>>> to create a new /etc/passwd matching the user
info? I believe I
>>> need to move /etc/group and /etc/shadow too.
Is there such a thing
>>> and a shadow group?
>>>
>>> What about root on the new server? Will it
have problems if a new
>>> /etc/passwd is dropped in on it?
>>>
>>> --Karl
>>
>>
>> --
>> gentoo-server gentoo.org mailing list
>>
>
>
--
gentoo-server gentoo.org mailing list
|