1 |
Thanks Marcus. |
2 |
|
3 |
Ok, cutting and pasting /etc/passwd sounds easier for |
4 |
user/machine accounts. |
5 |
|
6 |
I use tdbsam so I assume I move |
7 |
|
8 |
/var/lib/samba/private/*.tdb too. |
9 |
|
10 |
What about .tdb files in |
11 |
|
12 |
/var/cache/samba |
13 |
|
14 |
There is bunuch of stuff like |
15 |
|
16 |
account_policy.tdb |
17 |
brlock.tdb |
18 |
connections.tdb |
19 |
etc. |
20 |
|
21 |
Must it be moved or will it get recreated? |
22 |
|
23 |
--Karl |
24 |
|
25 |
|
26 |
On Thu, 27 Apr 2006 17:43:22 +0200 |
27 |
Marcus Hallberg <marcus@××××××.se> wrote: |
28 |
> Hi Karl! |
29 |
> |
30 |
> Just copy the relevant lines from /etc/passwd /etc/group |
31 |
>/etc/shadow and merge into the files on the new server. |
32 |
> |
33 |
> You should be able to move relevant lines from |
34 |
>/var/lib/samba/private/smbpasswd to. |
35 |
> |
36 |
> /marcus |
37 |
> |
38 |
> /Marcus Hallberg |
39 |
> Wimlet Consulting AB |
40 |
> Djurgårdsgatan 10 |
41 |
> 414 62 Göteborg |
42 |
> mobil: 0707-141716 |
43 |
> e-post: marcus@××××××.se |
44 |
> hemsida: www.wimlet.se |
45 |
> |
46 |
> |
47 |
> |
48 |
> Karl Zander wrote: |
49 |
> |
50 |
>> |
51 |
>> I have to move my SAMBA PDC to new hardware. SAMBA uses |
52 |
>>/etc/passwd |
53 |
>> along with its own user database. |
54 |
>> |
55 |
>> Can I copy /etc/passwd from the old server to the new or |
56 |
>>do I have to |
57 |
>> create a new /etc/passwd matching the user info? I |
58 |
>>believe I need to |
59 |
>> move /etc/group and /etc/shadow too. Is there such a |
60 |
>>thing and a |
61 |
>> shadow group? |
62 |
>> |
63 |
>> What about root on the new server? Will it have |
64 |
>>problems if a new |
65 |
>> /etc/passwd is dropped in on it? |
66 |
>> |
67 |
>> --Karl |
68 |
> |
69 |
> -- |
70 |
> gentoo-server@g.o mailing list |
71 |
> |
72 |
|
73 |
|
74 |
-- |
75 |
gentoo-server@g.o mailing list |