[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: newbie Redhat Linux 7.0 install problem



You do a search with base "dc=test, dc=com", but you haven't added that
object.  Did you miss it?  What happens if you search using a base of
"ou=accounts, dc=test, dc=com"?

I thought my ldif that I used to build the database did have the accounts object. What should I have used in that ldif file? At any rate, the ldapsearches look ok below here, what do you think?


# ldapsearch -b 'ou=accounts,dc=test,dc=com' '(objectclass=*)' | more
ou=accounts, dc=test, dc=com
objectclass=top
objectclass=organizationalUnit

uid=user1@test.com, ou=accounts, dc=test, dc=com
cn=Some User1
sn=User1
objectclass=top
objectclass=person
objectclass=inOrgPerson
objectclass=qmailUser
accountstatus=active
deliverymode=localdelivery
homedirectory=/home/maildirs/test.com/test.com-user1/
mail=user1@test.com
mailalternateaddress=SomeUser1@test.com
mailalternateaddress=Some_User1@test.com
mailhost=mail.test.com
mailmessagestore=/home/maildirs/test.com/test.com-user1/Maildir/
uid=user1@test.com
userpassword={crypt}aNySTy3ylgM8I


# ldapsearch -h localhost -b 'ou=accounts,dc=test,dc=com' '(uid=user1@test.com)' | more
uid=user1@test.com, ou=accounts, dc=test, dc=com
cn=Some User1
sn=User1
objectclass=top
objectclass=person
objectclass=inOrgPerson
objectclass=qmailUser
accountstatus=active
deliverymode=localdelivery
homedirectory=/home/maildirs/test.com/test.com-user1/
mail=user1@test.com
mailalternateaddress=SomeUser1@test.com
mailalternateaddress=Some_User1@test.com
mailhost=mail.test.com
mailmessagestore=/home/maildirs/test.com/test.com-user1/Maildir/
uid=user1@test.com
userpassword={crypt}aNySTy3ylgM8I




# ldapsearch -b 'dc=test,dc=com' '(objectclass=*)' | more
dc=test, dc=com
objectclass=top

ou=accounts, dc=test, dc=com
objectclass=top
objectclass=organizationalUnit

uid=user1@test.com, ou=accounts, dc=test, dc=com
cn=Some User1
sn=User1
objectclass=top
objectclass=person
objectclass=inOrgPerson
objectclass=qmailUser
accountstatus=active
deliverymode=localdelivery
homedirectory=/home/maildirs/test.com/test.com-user1/
mail=user1@test.com
mailalternateaddress=SomeUser1@test.com
mailalternateaddress=Some_User1@test.com
mailhost=mail.test.com
mailmessagestore=/home/maildirs/test.com/test.com-user1/Maildir/
uid=user1@test.com
userpassword={crypt}aNySTy3ylgM8I



# ldapsearch -h localhost -b 'dc=test,dc=com' '(uid=user1@test.com)' | more
uid=user1@test.com, ou=accounts, dc=test, dc=com
cn=Some User1
sn=User1
objectclass=top
objectclass=person
objectclass=inOrgPerson
objectclass=qmailUser
accountstatus=active
deliverymode=localdelivery
homedirectory=/home/maildirs/test.com/test.com-user1/
mail=user1@test.com
mailalternateaddress=SomeUser1@test.com
mailalternateaddress=Some_User1@test.com
mailhost=mail.test.com
mailmessagestore=/home/maildirs/test.com/test.com-user1/Maildir/
uid=user1@test.com
userpassword={crypt}aNySTy3ylgM8I



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp