|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need ldap id
Need to find the ldap id's of all the users in my organizations... is there any command???
|
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
What´s with ldapsearch? Code:
ldapsearch -b "dc=example,dc=de" -h LDAPSERVER -p PORTNUMBER "(&(objectClass=posixAccount)(uid=*))" The same + a grep filter (to see only the uid with name) : Code:
ldapsearch -b "dc=example,dc=de" -h LDAPSERVER -p PORTNUMBER "(&(objectClass=posixAccount)(uid=*))" | grep uid: This is an example for a simple bind connection to the ldap-server. if u use SSL/TLS, so have a look at "man ldapsearch" for the correct syntax and extra options. best regards Last edited by Panzerkampfwagn; 02-08-2013 at 03:06 AM.. Reason: edit |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Code:
ldapsearch -b "dc=example,dc=de" -h LDAPSERVER -p PORTNUMBER "(&(objectClass=posixAccount)(uid=*))" | grep uid: ---------- Post updated at 02:57 PM ---------- Previous update was at 02:57 PM ---------- Code:
ldap_search: Can't connect to the LDAP server - Unknown error |
|
#4
|
|||
|
|||
|
How is your LDAP-Server configured ? Is it a Openldap-Server (config > slapd.conf)? Is anonymous Bind allowed or forbidden or an ACL ? How your clients connect to the ldap-server?
|
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Quote:
Code:
ldaplist passwd To view all attributes, run Code:
ldaplist -l passwd |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| something like LDAP Administrator 2011.1 "LDAP-SQL" but for the CLI | slashdotweenie | UNIX for Advanced & Expert Users | 2 | 03-23-2012 04:06 PM |
| help with LDAP | n00b | Solaris | 5 | 06-24-2008 03:12 AM |
| LDAP help | Katkota | UNIX for Dummies Questions & Answers | 0 | 12-06-2007 10:30 PM |
| Ldap | dipanrc | Linux | 2 | 12-28-2005 07:09 PM |
| ldap | hassan2 | UNIX for Advanced & Expert Users | 1 | 08-23-2002 02:56 PM |
|
|