Console issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anand Vaddarapu wrote:
> Hi Rich,
> I have installed centos 5.1 and FDS 1.1.
The local directory server information is stored under cn=config.  With 
the mozldap ldapsearch command:
/usr/lib/mozldap/ldapsearch -T -D "cn=directory manager" -w yourpassword 
-s sub -b cn=config | grep youroldhostname

Use the -T option to disable LDIF line wrapping - otherwise you will 
have to use sed/perl to re-fold the lines for grep to work.

Use a similar command to identify places under o=NetscapeRoot in your 
configuration directory server:
/usr/lib/mozldap/ldapsearch -T -h configdshost -p configdsport -D 
"cn=directory manager" -w yourpassword -s sub -b o=NetscapeRoot | grep 
youroldhostname

You must identify the entry and the attribute.  Then, using ldapmodify:
dn: the dn of the entry
changetype: modify
replace: theattributename
theattributename: the new value with the new hostname

Edit /etc/dirsrv/admin-serv/adm.conf - update your ldap server hostname 
- you will then have to restart the admin server.


> Thanks
> vivek
>
> On Feb 12, 2008 8:37 AM, Richard Megginson <rmeggins at redhat.com 
> <mailto:rmeggins at redhat.com>> wrote:
>
>     Anand Vaddarapu wrote:
>     > Hi Rich,
>     >
>     > How can i change hostname for different places in config files
>     and in
>     > configuration
>     > entries under o=NetscapeRoot in the configuration directory
>     server and
>     > under cn=config in each local directory server.
>     There is no documented procedure.  What version of Fedora DS?
>     >
>     > Thanks in advance.
>     > Vivek
>     >
>     > On Feb 12, 2008 4:17 AM, Richard Megginson <rmeggins at redhat.com
>     <mailto:rmeggins at redhat.com>
>     > <mailto:rmeggins at redhat.com <mailto:rmeggins at redhat.com>>> wrote:
>     >
>     >     Anand Vaddarapu wrote:
>     >     > Hi,
>     >     >
>     >     > I am trying to access console from another computer but same
>     >     network.
>     >     > I am receiving following error " Can not connect to the
>     Directory
>     >     > Server "ldap://localhost.localdomain:389";, LDAP error:
>     failed to
>     >     > connect to server ldap://localhost.localdomain:389.
>     >     >
>     >     > would you like to attempt to restart the Directory Server?
>     >     >
>     >     > I installed FDS with default "localhost.localdomain". later i
>     >     changed
>     >     > the hostname.
>     >     Herein lies the problem.  The hostname that you provide during
>     >     setup is
>     >     written in many different places in config files and in
>     configuration
>     >     entries under o=NetscapeRoot in the configuration directory
>     server and
>     >     under cn=config in each local directory server.  So you will
>     have to
>     >     change all of these if you really want to change your hostname.
>     >      Or just
>     >     start over.
>     >     > and i also trying to set host IP address using ldapmodify.
>     But same
>     >     > results.
>     >     >
>     >     > any ideas and suggestions.
>     >     >
>     >     > thanks in an advance.
>     >     > Vivek
>     >     >
>     >     >
>     >    
>     ------------------------------------------------------------------------
>     >     >
>     >     > --
>     >     > Fedora-directory-users mailing list
>     >     > Fedora-directory-users at redhat.com
>     <mailto:Fedora-directory-users at redhat.com>
>     >     <mailto:Fedora-directory-users at redhat.com
>     <mailto:Fedora-directory-users at redhat.com>>
>     >     > https://www.redhat.com/mailman/listinfo/fedora-directory-users
>     >     >
>     >
>     >
>     >     --
>     >     Fedora-directory-users mailing list
>     >     Fedora-directory-users at redhat.com
>     <mailto:Fedora-directory-users at redhat.com>
>     >     <mailto:Fedora-directory-users at redhat.com
>     <mailto:Fedora-directory-users at redhat.com>>
>     >     https://www.redhat.com/mailman/listinfo/fedora-directory-users
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > --
>     > Fedora-directory-users mailing list
>     > Fedora-directory-users at redhat.com
>     <mailto:Fedora-directory-users at redhat.com>
>     > https://www.redhat.com/mailman/listinfo/fedora-directory-users
>     >
>
>
>     --
>     Fedora-directory-users mailing list
>     Fedora-directory-users at redhat.com
>     <mailto:Fedora-directory-users at redhat.com>
>     https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20080211/a81183b7/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux