Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi guys,
i've been put in charge of setting up an ldap shared addressbook by sunday, its been 4 days and so far slapd is setup and going, and i've added 2 addresses. the bad news is the addresses aren't showing up when i do a search "ldapsearch -x -b 'dc=ProfilePlastics,dc=net' '(objectclass=*)' " if i don't get this setup by sunday i'm seriously in the crapper.
I've been following the openldap site but i'm running mepis and everything is in different places. Could you guys point me to a seriously n00bish howto? i've googled, read about 6 textbooks and its 1:30am and i'm in full panic mode. I'm thinking i've missed something tragically simple.
thanks for any help you can throw me I know its a vague description but i'm sure its something i've missed and the right faq/manual will make me scream eureka!
cheers guys.
i'd like to say i'm an intermediate user - but i seem to always be finding something new to learn.
I don't know how you set things up, but don't you need to provide some credentials? ( -D <binddn> and -w <passwd>)
Ldap (Sun's DS, don't know about openldap) can return 'nothing' if you try to get data anonymously.
PS: I do know that -x is simple authentication (not present in Sun's DS), so I could be off by a mile
# extended LDIF
#
# LDAPv3
# base <dc=ProfilePlastics,dc=net> with scope sub
# filter: (objectclass=*)
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
# numResponses: 1
I'll give it a go with your suggestion and see if something pops up! thanks man!
argh - no difference really, don't think i even have passwords or users other than the write access. am still reading more texts etc. i think i have sadly reached the point where my brain is leaking out my ears.
The output in your second post states that 2 entries where searched (search: 2) and nothing was found (result: 32 No such object).
I still think you need to at least use the -D option. But if that doesn't do the trick:
- Could you post the ldif you used (or did you use the gui) to enter these 2 entries?
- What does your ldif.log tell you? Not only about the searches, but also about the 2 entries you added?
can't post the ldif - gotta mod it first (company emails, phone numbers etc) the slapd config checks out with slaptest so its definately a user error somewhere here, most likely in the ldif. I'm using konsole for all entering and checking. and sad as it is - i never thought to check the log . hmmm, did a system search but no log file of that name. must admit though, everything is seriously in different places than all the guides out there. so not surprised if its named oddly.
its 3am so i'll have another in depth crack at it tomorrow, or i'll start eating raw coffee ^^.
mmm coffeeee.
give it a full 24 hours attention and i'm sure i'll crack it...gulp!
# extended LDIF
#
# LDAPv3
# base <-D> with scope sub
# filter: dc=ProfilePlastics,dc=net
# requesting: (objectclass=*)
#
There is something wrong with your command. It's like you're using a "-D" right after -b. So ldap thinks that -D is your searchbase.
The correct command should be:
Awesome guys - thanks a million, haven't had a chance to check the log, but man o man that zytrax guide is fantastic. when i get it doing what i want i'll post up all the places i found handy and any tips i can leave for other people who need a hand. Thanks heaps guys. ^^
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.