Solved

fds not starting in centos

Posted on 2011-03-15
4
425 Views
Last Modified: 2012-08-13

Dear Experts:

Have installed centos , fds and samba while running the fds setup following places i have issued the password
1. Info Please enter the administrator ID for the configuration directory
server.  This is the ID typically used to log in to the console.  You
will also be prompted for the password.
[11/03/15:10:53:57] - [Setup] Info Configuration directory server
administrator ID
[11/03/15:10:54:52] - [Setup] Info admin
[11/03/15:10:54:52] - [Setup] Info Password ORANGE
[11/03/15:10:55:48] - [Setup] Info Password confirm ORANGE

2.
[11/03/15:10:57:13] - [Setup] Info Directory Manager DN
[11/03/15:10:57:34] - [Setup] Info cn=Directory Manager
[11/03/15:10:57:34] - [Setup] Info Password  APPLE
[11/03/15:10:58:32] - [Setup] Info Password (confirm) APPLE

installation successful at this time able to login to 389 admin console but while interating the 389 with samba following is the details

3. Create a password for the ldap admin dn (the Directory Manager's Password) in Samba’s secret file:

# smbpasswd -w <ldap-admin-password>  BANANNA

as per the instructions made the same server (as samba sever and ldap server is in the same system) already installed nss_ldap

hence edited the file/etc/ldap.conf and now here there is line bindpw
bindpw < > please tell me what password should i give as while above installation given ( ORANGE, APPLE and BANANNA)
please suggest me which is the password i have to enter in the bindpw
bindpw <  >
when try to execute
net getlocalsid
[2011/03/16 02:47:46, 0] lib/smbldap.c:smbldap_connect_system(982)
  failed to bind to server ldap://globalvalue.com with dn="cn=Directory Manager" Error: Can't contact LDAP server
        (unknown)
[2011/03/16 02:48:01, 0] utils/net.c:net_getlocalsid(651)

also fds service not starting error failed to bind to server

Please help me to fix this. Thanks in advance.
0
Comment
Question by:D_wathi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
upanwar earned 500 total points
ID: 35144467
for bind password it shoul be APPLE.

Have you configured your DNS properly? Which version of fds you are using?
0
 

Author Comment

by:D_wathi
ID: 35148052
Sir, thank you very much for the reply. i reinstalled the centos and managed to fix  DNS issues now the resolve is happening perfectly and fds service starts and stops without any problems. after editing the /etc/ldap.conf and adding the also added values to the smb.conf when execute  # net getlocalsid error is lib/smbldap.c.smbldap_connect_system failed to bind to server ldap://orange.scom with dn="Cn=Directory Manager Error Cant contact LDAP server. please please help
0
 
LVL 12

Expert Comment

by:upanwar
ID: 35148859
Is your server accesable with admin console and web interface? If yes then are you accessing that with Cn=Directory Manager or something else.

Bind your LDAP server with IP instead of HOSTNAME and test if it works.
0
 

Author Comment

by:D_wathi
ID: 35149322
Sir, Iam very happy now finally fixed after 48 hours and it is because of your valuable support. Thank you sir , i had done a mistake of setting different password for ldapadmin manager and the smbpasswd -w after seeting the smbpasswd-w password to the same as ldapadmin manager password then able execute the net getlocalsid :
net getlocalsid
SID for domain SERVER is: S-1-5-21-4226951453-1010018445-1630448079

sir finally one help that is before fixing this error i had populated wrong value of SID for domain only now i got the correct SID .

wrong one sambaSID: S-1-5-21-2310632473-2390155749-10759181
Correct one :SID for domain SERVER is: S-1-5-21-4226951453-1010018445-1630448079

since i have already populated the wrong one please tell me how to delete the wrong entry and replace with new correct entry please please help,
for your reference posted below the wrong ldif populated entry:
 cat sambaDomainName.ldif
dn: sambaDomainName=orange,dc=orangecity,dc=com
objectClass: sambaDomain
objectClass: sambaUnixIdPool
objectClass: top
sambaDomainName: orange
sambaSID: S-1-5-21-2310632473-2390155749-10759181
uidNumber:550
gidNumber:550
------------------------------------------------------------------------
Please please help.






0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question