1 |
When you call |
2 |
|
3 |
$ net getlocalsid DOMAIN |
4 |
|
5 |
I don't know if you have to add DOMAIN to your command, |
6 |
Try simply whithout and see if it's work: |
7 |
|
8 |
$ net getlocalsid |
9 |
|
10 |
As I have to setup a PDC using openldap and samba for my work I have |
11 |
re-wrote an article describing the whole setup I have done, perhaps you |
12 |
could also find some usefull information here: |
13 |
|
14 |
http://www.drakonix.fr/index.php?id=gentoo&tab=21&pid=20 |
15 |
|
16 |
And excuse me for my poor english :) |
17 |
|
18 |
Hope it will help |
19 |
|
20 |
Fred |
21 |
> Hello, |
22 |
> |
23 |
> |
24 |
> |
25 |
> I'm trying to run ldap samba pdc, but have one problem. |
26 |
> |
27 |
> |
28 |
> |
29 |
> smbpassword -w password |
30 |
> |
31 |
> Setting stored password for "cn=manager,dn=example,dn=net" in secrets.tdb |
32 |
> |
33 |
> |
34 |
> |
35 |
> |
36 |
> |
37 |
> But when I'm trying this: net getlocalsid DOMAIN |
38 |
> |
39 |
> I'm getting this: |
40 |
> |
41 |
> |
42 |
> |
43 |
> [2008/09/13 14:26:38, 0] lib/smbldap.c:smbldap_connect_system(982) |
44 |
> |
45 |
> failed to bind to server ldap://127.0.0.1/ with |
46 |
> dn="cn=manager,dn=example,dn=net" Error: Invalid DN syntax |
47 |
> |
48 |
> invalid DN |
49 |
> |
50 |
> [2008/09/13 14:26:53, 0] utils/net.c:net_getlocalsid(651) |
51 |
> |
52 |
> Can't fetch domain SID for name: DOMAIN |
53 |
> |
54 |
> |
55 |
> |
56 |
> From smb.conf: |
57 |
> |
58 |
> ldap suffix = dc=example,dc=net |
59 |
> |
60 |
> ldap admin dn = cn=root,dn=example,dn=net |
61 |
> |
62 |
> ldap group suffix = ou=Groups |
63 |
> |
64 |
> ldap user suffix = ou=Users |
65 |
> |
66 |
> ldap machine suffix = ou=Computers |
67 |
> |
68 |
> ldap idmap suffix = ou=Idmap |
69 |
> |
70 |
> |
71 |
> |
72 |
> testparm /etc/samba/smb.conf |
73 |
> |
74 |
> Load smb config files from /etc/samba/smb.conf |
75 |
> |
76 |
> Processing section "[netlogon]" |
77 |
> |
78 |
> Processing section "[profiles]" |
79 |
> |
80 |
> Processing section "[homes]" |
81 |
> |
82 |
> Processing section "[public docks]" |
83 |
> |
84 |
> Loaded services file OK. |
85 |
> |
86 |
> Server role: ROLE_DOMAIN_PDC |
87 |
> |
88 |
> |
89 |
> |
90 |
> Arunas |
91 |
> |
92 |
> |
93 |
> -- |
94 |
> This message has been scanned for viruses and |
95 |
> dangerous content by MailScanner, and is |
96 |
> believed to be clean. |
97 |
> |
98 |
> |
99 |
|
100 |
|
101 |
-- |
102 |
http://www.drakonix.fr |