I've just installed Fedora Directory Server (1.0.1) on RHEL 4.<br>
<br>
Samba version is 3.0.10<br>
<br>
I am attempting to follow: <a href="http://directory.fedora.redhat.com/wiki/Howto:Samba">http://directory.fedora.redhat.com/wiki/Howto:Samba</a><br>
<br>
but I am getting an error with net getlocalsid. The output is:<br>
<br>
<div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">[2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_connect_system(850)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> failed to bind to server with dn= cn=Directory Manager Error: Can't contact LDAP server</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> (unknown)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_search_suffix(1155)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> smbldap_search_suffix: Problem during the LDAP search: (unknown) (Timed out)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">SID for domain RHELES4RS1 is: S-1-5-21-807157010-1821471989-4121009367</span><br style="font-family: courier new,monospace;">
</div>
<br>
While I get a SID I assume I should not proceed with these errors.<br>
<br>
I've gone over my config I can't find my error. I've searched online and can't find anything.<br>
<br>
The full ouput of testparm is below.<br>
<br>
Any ideas as to what I've done wrong?<br>
<br>
Thanks,<br>
-Mont<br>
<br>
<span style="font-family: courier new,monospace;">Load smb config files from /etc/samba/smb.conf</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Processing section "[netlogon]"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Processing section "[profiles]"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Processing section "[homes]"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Processing section "[printers]"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Processing section "[repository]"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Processing section "[root directory]"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Loaded services file OK.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">WARNING: You have some share names that are longer than 12 characters.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">These may not be accessible to some older clients.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Server role: ROLE_DOMAIN_PDC</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Press enter to see a dump of your service definitions</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"># Global parameters</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[global]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> server string = rheles4rs1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> password server = None</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> passdb backend = ldapsam:ldap://rheles4rs1.forayadams.foray.com</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> username map = /etc/samba/smbusers</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> log file = /var/log/%m.log</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> max log size = 50</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> printcap name = /etc/printcap</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> logon path = \\%L\profiles\%u</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> logon drive = H:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> logon home = \\%L\%u\profiles</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> domain logons = Yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> os level = 33</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> preferred master = Yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> domain master = Yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> dns proxy = No</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> wins support = Yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ldap admin dn = cn=Directory Manager</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ldap group suffix = ou=Groups</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ldap machine suffix = ou=Computers</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ldap suffix = dc=forayadams,dc=foray,dc=com</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ldap user suffix = ou=People</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> idmap uid = 16777216-33554431</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> idmap gid = 16777216-33554431</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> cups options = raw</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[netlogon]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> path = /var/lib/samba/netlogon</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> browseable = No</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[profiles]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> path = /var/lib/samba/profiles</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> read only = No</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> create mask = 0600</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> directory mask = 0700</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[homes]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> comment = Home Directories</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> read only = No</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> browseable = No</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[printers]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> comment = All Printers</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> path = /var/spool/samba</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> printable = Yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> browseable = No</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[repository]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> path = /repository</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> valid users = testadmin, testuser</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> read only = No</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[root directory]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> path = /</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> valid users = mont</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> read only = No</span><br style="font-family: courier new,monospace;">
<br>