1 |
Hello, |
2 |
|
3 |
|
4 |
|
5 |
I'm trying to run ldap samba pdc, but have one problem. |
6 |
|
7 |
|
8 |
|
9 |
smbpassword -w password |
10 |
|
11 |
Setting stored password for "cn=manager,dn=example,dn=net" in secrets.tdb |
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
But when I'm trying this: net getlocalsid DOMAIN |
18 |
|
19 |
I'm getting this: |
20 |
|
21 |
|
22 |
|
23 |
[2008/09/13 14:26:38, 0] lib/smbldap.c:smbldap_connect_system(982) |
24 |
|
25 |
failed to bind to server ldap://127.0.0.1/ with |
26 |
dn="cn=manager,dn=example,dn=net" Error: Invalid DN syntax |
27 |
|
28 |
invalid DN |
29 |
|
30 |
[2008/09/13 14:26:53, 0] utils/net.c:net_getlocalsid(651) |
31 |
|
32 |
Can't fetch domain SID for name: DOMAIN |
33 |
|
34 |
|
35 |
|
36 |
From smb.conf: |
37 |
|
38 |
ldap suffix = dc=example,dc=net |
39 |
|
40 |
ldap admin dn = cn=root,dn=example,dn=net |
41 |
|
42 |
ldap group suffix = ou=Groups |
43 |
|
44 |
ldap user suffix = ou=Users |
45 |
|
46 |
ldap machine suffix = ou=Computers |
47 |
|
48 |
ldap idmap suffix = ou=Idmap |
49 |
|
50 |
|
51 |
|
52 |
testparm /etc/samba/smb.conf |
53 |
|
54 |
Load smb config files from /etc/samba/smb.conf |
55 |
|
56 |
Processing section "[netlogon]" |
57 |
|
58 |
Processing section "[profiles]" |
59 |
|
60 |
Processing section "[homes]" |
61 |
|
62 |
Processing section "[public docks]" |
63 |
|
64 |
Loaded services file OK. |
65 |
|
66 |
Server role: ROLE_DOMAIN_PDC |
67 |
|
68 |
|
69 |
|
70 |
Arunas |
71 |
|
72 |
|
73 |
-- |
74 |
This message has been scanned for viruses and |
75 |
dangerous content by MailScanner, and is |
76 |
believed to be clean. |