fds 1.1+ not setting nsslapd-instancedir on install?

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

 



Ryan Braun [ADS] wrote:
> Hey guys.  I have some perl replication scripts (fdstool) that I developed on 
> fds 1.0.4.  On my first attempt to use them on a 1.1+ (in this particular 
> case 1.1.2),  the changelog object creation bails because the 
> nsslapd-instancedir attribute in cn=config isn't set.
>
> 	##############################
> 	# find the instance-dir
> 	##############################
> 	$msg = $ldap->search (
>                           base    => "cn=config",
>                           scope   => "base",
>                           filter  => "(objectClass=*)",
>                          );
> 	my $instance_dir = $msg->entry(0)->get_value("nsslapd-instancedir");
>
> ends up as null as there isn't anything at said attribute.
>
> Also,
>
> shodan:/home/ryan/fdstools# ldapsearch -x -h yzxXXXX0 -D "cn=Directory 
> Manager" -W -b "cn=config" "objectclass=*"|grep instancedir
> Enter LDAP Password:
> nsslapd-instancedir:
> shodan:/home/ryan/fdstools# ldapsearch -x -h yzxXXXX0 -D "cn=Directory 
> Manager" -W -b "cn=config" "objectclass=*"|grep nsslapd-ldifdir
> Enter LDAP Password:
> nsslapd-ldifdir: /var/lib/dirsrv/slapd-yzxdmns0/ldif
>
>
> For now I'm useing nsslapd-ldifdir and just ~ s/\/ldif// to cut off the ldir 
> directory,  but am just confirming this behavior is intended.  FWIW I built 
> the packages myself,  so it could very well be my own fault :P
>   
Well, it depends - what were you using nsslapd-instancedir for?  There 
are several other attributes you could use now, depending on what you're 
trying to do.
> Ryan
>
> --
> 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: 3258 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20080910/55f5a8ef/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