[Fedora-directory-users] Minimum ant version for building console code?
My desktop machine is running Fedora Core 3. I checked out the CVS code for building the consoles and followed the instructions in the Wiki to try and build it. However, I'm getting an error (and am entirely new to using ant). Is there a minimum ant version required to build? [EMAIL PROTECTED] console]$ ant Buildfile: build.xml BUILD FAILED file:/home/myer/fedora-ds/console/build.xml:51: The task doesn't support the nested "condition" element. Total time: 0 seconds [EMAIL PROTECTED] console]$ rpm -q ant ant-1.5.2-26 Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org -- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Re: [Fedora-directory-users] Minimum ant version for building console code?
Hi Kevin, I'd recommend using Ant 1.6.2. The 1.5.x versions will not work, as you have seen. Kevin M. Myer wrote: My desktop machine is running Fedora Core 3. I checked out the CVS code for building the consoles and followed the instructions in the Wiki to try and build it. However, I'm getting an error (and am entirely new to using ant). Is there a minimum ant version required to build? [EMAIL PROTECTED] console]$ ant Buildfile: build.xml BUILD FAILED file:/home/myer/fedora-ds/console/build.xml:51: The task doesn't support the nested "condition" element. Total time: 0 seconds [EMAIL PROTECTED] console]$ rpm -q ant ant-1.5.2-26 Kevin smime.p7s Description: S/MIME Cryptographic Signature -- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
[Fedora-directory-users] syncing a group's uniquemember attributes
While syncing from Fedora-DS to Active Directory, it looks like the only way to sync the uniquemember attribute of a group is to have the members in the same OU as the group. Is that correct? >From the Sync Manual page 17/21 Group entries that are within the scope of the sync agreement will be synchronized in much the same way as user entries. In addition, the membership of groups is synchronized with the constraint that only those members that are also within the scope of the agreement are propagated. The result is that a group may contain members that are both within and without the scope of the agreement, but only the subset of members that are themselves within agreement scope are synchronized. The remaining members are left unchanged on both sides. Thank you, Robert __ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ -- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
[Fedora-directory-users] Useful script to extract LDAP based user posixGroup memberships information
Assuming you are using posixGroup objectclass and memberUid attribute to store your membership information, you may find my shell script useful and handy. It works on Solaris LDAP Client with "ldapaddent" and "ldaplist" commands, and works against FDS, SUN DS or OpenLDAP. #! /bin/sh # # get_ldap_memberUids.sh # # Gary Tay, 08-Sep-2005, written # if [ $# -le 0 ] then echo "" echo "Usage:" echo "$0 [SHOW_UID_ONLY||SHOW_DN|SHOW_UIDNUMBER|SHOW__NAME" echo "" echo "Purpose: get a list of memberships for LDAP posixGroups" echo "Examples: " echo "1) $0 SHOW_UID_ONLY" echo "2) $0 SHOW_DN" echo "3) $0 SHOW_UIDNUMBER" echo "4) $0 SHOW_NAME" echo "" exit fi OPTION=$1 ldapaddent -d group | cut -d: -f1,3 >groups.txt for i in `cat groups.txt | cut -d: -f2 | sort -n` do GIDN=$i; GNAME=`grep $GIDN groups.txt | cut -d: -f1` echo memberUids for Group $GNAME, gidNumber=$GIDN ldapaddent -d passwd | sort -n -t: +3 -4 | cut -d: -f1,3,4 >users.txt cat users.txt | grep $GIDN | cut -d: -f1 >uids.txt case "$OPTION" in "SHOW_UID_ONLY") cat uids.txt;; "SHOW_DN") for j in `cat uids.txt` do ldaplist passwd $j done;; "SHOW_UIDNUMBER") for j in `cat uids.txt` do UIDN=`ldaplist -l passwd $j | grep -i 'uidNumber:' | cut -d: -f2` echo $j,$UIDN done;; "SHOW_NAME") for j in `cat uids.txt` do NAME=`ldaplist -l passwd $j | grep -i 'cn:' | cut -d: -f2` echo $j,$NAME done;; *) echo "$1 is an invalid option."; exit 1 esac echo "" done Hope this helps. Gary -- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users