Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I search the LCSEE LDAP Directory for a persons contact information?

0
Posted

How can I search the LCSEE LDAP Directory for a persons contact information?

0

If you know the person’s CSEE username, you can finger them by typing ‘ldap-finger username’ on shell.csee.wvu.edu. If you’d like to search our directory for people based on their Real Name, you can use the following on shell.csee.wvu.edu: ldapsearch -x gecos=”*Lastname” gecos mail The above command will search the LDAP directory for anyone with the name you put in for Lastname. The * is simply a wildcard so the search will include anything until it reaches the Lastname. Keep in mind, this is case sensitive since you’re searching a string in the gecos field. You can move the asterisk around to do other searches, such as the one below: ldapsearch -x gecos=”Firstname*” gecos mail The above command here will search for any entry that begins with the firstname you choose to put in.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.