This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| search=$1 | |
| if [ -z "$search" ];then search="objectclass=*";fi | |
| ldapsearch -h eftdomain.net \ | |
| -b "dc=eftdomain,dc=net" \ | |
| -D "[email protected]" \ | |
| -s sub -xw ${WINDOWS_PASSWORD} \ | |
| "${search}" \ | |
| | tr "\n" ''| sed -e 's/ //g' | tr '' "\n" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| search=$1 | |
| [ -z "${search}" ] && search="(objectclass=*)" | |
| ldapsearch -LxH ${LDAP_SERVER} -b "${LDAP_BASEDN}" -D "${LDAP_BINDDN}" \ | |
| -w ${LDAP_PASSWORD} -s sub "${search}" |tr "\n" ''| sed -e 's/ //g' | tr '' "\n" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: asa01.example.org | |
| config: cisco-asa | |
| interface: | |
| - name: outside | |
| ip: 10.20.30.2/24 | |
| - name: inside | |
| ip: 192.0.2.10/27 | |
| - name: workstations | |
| ip: 192.168.1.1/24 | |
| - name: lab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Package: linux-headers-2.6.32-websages | |
| Priority: optional | |
| Section: devel | |
| Installed-Size: 42064 | |
| Maintainer: Unknown Kernel Package Maintainer <[email protected]> | |
| Architecture: i386 | |
| Source: linux-source-2.6.32-websages | |
| Version: 5 | |
| Provides: linux-headers, linux-headers-2.6 | |
| Depends: libc6 (>= 2.7), libncursesw5 (>= 5.7+20100313) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Architectures: i386 | |
| Codename: squeeze-wcyd | |
| Components: main | |
| Date: Sun, 21 Aug 2011 03:43:36 UTC | |
| Description: custom wcyd packages for the Lenny Distribution | |
| Label: wcyd.org archive | |
| Origin: wcyd.org archive | |
| Suite: squeeze-wcyd | |
| Version: None | |
| MD5Sum: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| . | |
| ./etc | |
| ./etc/squeeze-wcyd_apt-release.conf | |
| ./etc/lenny-wcyd_apt-release.conf | |
| ./etc/lenny-wcyd_apt-ftparchive.conf | |
| ./etc/squeeze-wcyd_apt-ftparchive.conf | |
| ./apt_stuff.tgz | |
| ./dists | |
| ./dists/etch-wcyd | |
| ./dists/etch-wcyd/Release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| REPO_NAME=$1; | |
| if [ -z "${REPO_NAME}" ];then | |
| echo "Usage: $0 <repo-name>" | |
| echo "Example: $0 lenny-wcyd" | |
| exit -1 | |
| fi | |
| PWD=$(cd $(dirname $0); pwd) | |
| REPO_BASE="${PWD}/dists/${REPO_NAME}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| APT::FTPArchive::Release::Origin "wcyd.org archive"; | |
| APT::FTPArchive::Release::Label "wcyd.org archive"; | |
| APT::FTPArchive::Release::Suite "squeeze-wcyd"; | |
| APT::FTPArchive::Release::Version "None"; | |
| APT::FTPArchive::Release::Codename "squeeze-wcyd"; | |
| APT::FTPArchive::Release::NotAutomatic "yes"; | |
| APT::FTPArchive::Release::Architectures "i386"; | |
| APT::FTPArchive::Release::Components "main"; | |
| APT::FTPArchive::Release::Description "custom wcyd packages for the Lenny Distribution"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Dir { | |
| ArchiveDir "."; | |
| CacheDir "."; | |
| }; | |
| BinDirectory "dists/squeeze-wcyd/main/binary-i386" { | |
| Packages "dists/squeeze-wcyd/main/binary-i386/Packages"; | |
| Contents "dists/squeeze-wcyd/Contents-i386"; | |
| SrcPackages "dists/squeeze-wcyd/main/source/Sources"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| usage (){ echo "$0 <distribution>"; } | |
| DIST="$1" | |
| if [ -z "$1" ];then usage; exit 1; fi | |
| cd $(dirname $0) | |
| # remove all the old stuff, it seems to bitch shit up | |
| if [ ! -d "./dists/${DIST}" ];then | |
| echo "no ${DIST} found"; | |
| echo -n "options: "; ls ./dists |