Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > ldaplist -d group \* - Not Working (Object not found) from Solaris 10to Windows 2008 R2 Active Directory

Reply
Thread Tools Display Modes

ldaplist -d group \* - Not Working (Object not found) from Solaris 10to Windows 2008 R2 Active Directory

 
 
Brian Jester
Guest
Posts: n/a

 
      01-20-2012
Our Solaris 10 clients are using Windows 2008 R2 Active Directory for authentication (Kerberos) and (attempting) authorization (LDAP), but the LDAP part is erroring out. Here's the sequence of events:

On Solaris 10 client:

ldaplist passwd \*

-Works correctly, and lists all users from Windows 2008 R2 Active Directory

However, when I do the same command for groups, it errors out:

ldaplist group \*

-Errors out with:

ldaplist: Object not found

The AD groups for UNIX I've chosen the NIS domain on the UNIX Attributes tab, just like I did with AD UNIX users.

Other commands that do work between Solaris 10 and Win 2008 R2 AD:

kinit <user>
klist
klist -k
ldapsearch -h <DC> -D cn=proxy,cn=users,dc=mydomain,dc=com -w <PASSWD> -b dc=mydomain,dc=com -s sub '(cn=tst*)'
ldapsearch -h <DC> -s base -b "" "(objectclass=*)"

The ldapsearch will actually list my groups (my groups are named tstgrp1, tstgrp2, tstgrp3, tstgrp4), but I think this works because it's searching for the Common Name (CN) tst*, and not for a type of object (group).

These commands do not work as expected:

getent passwd

-This only shows local UNIX users

getent group

-This only shows local UNIX users

The /etc/nsswitch.conf is set up for:

passwd: files ldap [TRYAGAIN=continue]
group: files ldap [TRYAGAIN=continue]
hosts: files dns
My references are:
"Windows Security and Directory Services for UNIX v1.0", Microsoft
http://technet.microsoft.com/en-us/l.../bb496504.aspx
"Authenticating UNIX/Linux to Windows 2008R2. Part 1 : Set up Windows"
"Authenticating UNIX/Linux to Windows 2008R2. Part 2 : Solaris 10"
http://osdude.wordpress.com/2011/08/

Systems:
Solaris 10 (sparc)
Windows 2008 R2 with Identity Management for UNIX Role added.
 
Reply With Quote
 
 
 
 
Brian Jester
Guest
Posts: n/a

 
      01-20-2012
I found a mistake in our /var/ldap/ldap_client_file, I had:

grouposixAccount=group

And it should have read:

grouposixGroup=group

Once I made the change, I could query groups.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WLM 2011 Problems..back to 2010? Panic Windows Live Mail 17 01-01-2011 03:25 AM
Trouble installing Windows XP SP3 and other MS updates DanP Windows Update 27 08-18-2010 09:34 PM
I also have an error 646 in Windows update. Please help. Jose Windows Update 12 01-09-2010 01:00 PM
Running DOS Games under Vista Wogerwabby Windows Vista Games 45 11-10-2009 03:33 AM
ActiveSync 4.1, Calendar and "Processing" Dale Reeck ActiveSync 10 12-20-2005 12:44 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59