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