Skip to content

Commit 265b50f

Browse files
committed
Remove useless stuff
1 parent 8fe3392 commit 265b50f

File tree

3 files changed

+3
-17
lines changed

3 files changed

+3
-17
lines changed

Vagrantfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ Vagrant.configure(2) do |config|
3333
end
3434

3535
ldap.vm.provision "shell", path: "scripts/centos/essentials.sh"
36-
#ldap.vm.provision "shell", path: "scripts/centos/mongo-orchestration.sh"
3736
ldap.vm.provision "shell", path: "scripts/centos/ldap/install.sh"
3837
end
3938

scripts/centos/ldap/install.sh

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
yum -y update
2+
# python-pip is in epel..
23
yum -y install epel-release
34
yum -y install openldap-servers openldap-clients openldap-devel python-devel gcc cyrus-sasl-plain xfsprogs net-snmp ps-misc wget python-pip python-ldap
45

@@ -15,17 +16,4 @@ ldapadd -x -D "cn=Manager,dc=10gen,dc=me" -w password -f /phongo/scripts/centos/
1516
# Add the users
1617
python /phongo/scripts/centos/ldap/ldapconfig.py -f /phongo/scripts/centos/ldap/users
1718

18-
# setup saslauthd
19-
#sed -i 's/MECH=pam/MECH=ldap/' /etc/sysconfig/saslauthd
20-
#cp /phongo/scripts/centos/ldap/saslauthd.conf /etc/
21-
#service saslauthd start
2219

23-
testsaslauthd -u bugs -p password -s mongod -f /var/run/saslauthd/mux
24-
#Show your work!
25-
ldapsearch -x -LLL -b dc=10gen,dc=me
26-
ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
27-
28-
#Set up mongod.conf
29-
#echo "auth=true" >> /home/phongo/scripts/centos/ldap/mongod.conf
30-
#echo "setParameter=saslauthdPath=/var/run/saslauthd/mux" >> /home/phongo/scripts/centos/ldap/mongod.conf
31-
#echo "setParameter=authenticationMechanisms=PLAIN" >> /home/phongo/scripts/centos/ldap/mongod.conf

scripts/ubuntu/ldap/install.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ sudo cp /phongo/scripts/ubuntu/ldap/saslauthd.conf /etc/
77
sudo service saslauthd restart
88

99
testsaslauthd -u bugs -p password -s mongod -f /var/run/saslauthd/mux
10-
#Show your work!
11-
ldapsearch -x -LLL -b dc=10gen,dc=me
12-
ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
10+
#ldapsearch -x -LLL -b dc=10gen,dc=me -h 192.168.112.20
11+
#ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts -h 192.168.112.20
1312

0 commit comments

Comments
 (0)