`<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It does have the unix extensions on it which is how I was able to get this far (set uids/gids/etc in AD). But I don't have the old windows NIS service running though, so I don't use the SFU30 or whatever attributes since I believe those are all obsoleted and will soon likely disappear.<div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">________________________<br class="">Michael Talbott<br class="">Systems Administrator<br class="">La Jolla Institute</div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Apr 22, 2016, at 1:18 PM, Ian Kaufman <<a href="mailto:ikaufman@eng.ucsd.edu" class="">ikaufman@eng.ucsd.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Does your AD have SFU (or whatever it is called these days) set up? <div class=""><br class=""></div><div class="">Ian</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Apr 22, 2016 at 12:58 PM, Michael Talbott <span dir="ltr" class=""><<a href="mailto:mtalbott@lji.org" target="_blank" class="">mtalbott@lji.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You're exactly right. The DN in ad is the full name and if I create a user where the DN and shortname match, then everything works great. Unfortunately, I'm not sure if updating all the DNs to match the short name will break other dependancies of it deployed in existing software elsewhere. One day when I'm feeling brave and have a little downtime scheduled, I'll batch update all the entries and see if anything breaks. But, I suppose I'm stuck with winbind for the time being. But thank you for all the help.<br class="">
<div class="HOEnZb"><div class="h5"><br class="">
<br class="">
<br class="">
> On Apr 22, 2016, at 11:27 AM, Paul B. Henson <<a href="mailto:henson@acm.org" class="">henson@acm.org</a>> wrote:<br class="">
><br class="">
> On Thu, Apr 21, 2016 at 11:35:56PM -0700, Michael Talbott wrote:<br class="">
><br class="">
>> all the group members are listed as "John Doe" rather than jdoe which<br class="">
>> means that when jdoe logs in, he can't access his groups due to the<br class="">
>> naming disconnect. Any ideas of how to fix that? Somehow map the group<br class="">
>> members to samAccountName rather than the DN?<br class="">
><br class="">
> How is your AD structured? It sounds like it's using full names for DN's<br class="">
> rather than usernames? If so, that's not going to work.<br class="">
><br class="">
> Our AD uses usernames for DN's; for example, I'm:<br class="">
><br class="">
> dn: CN=henson,OU=user,DC=ad,DC=cpp,DC=edu<br class="">
> cn: henson<br class="">
> sn: Henson<br class="">
> givenName: Paul<br class="">
> initials: B.<br class="">
> distinguishedName: CN=henson,OU=user,DC=ad,DC=cpp,DC=edu<br class="">
> displayName: Paul B. Henson<br class="">
> sAMAccountName: henson<br class="">
><br class="">
> and if you look at a group I'm in:<br class="">
><br class="">
> dn: CN=netadmin,OU=group,DC=ad,DC=cpp,DC=edu<br class="">
> cn: netadmin<br class="">
> description: Network admins<br class="">
> member: CN=henson,OU=user,DC=ad,DC=cpp,DC=edu<br class="">
> distinguishedName: CN=netadmin,OU=group,DC=ad,DC=cpp,DC=edu<br class="">
> sAMAccountName: netadmin<br class="">
><br class="">
> So the RDN for both users and groups is the short name that a unix box<br class="">
> expects to see, and the long name is in the displayName or description.<br class="">
> I'm guessing you're using the full name as the CN and your users look<br class="">
> like:<br class="">
><br class="">
> dn: CN=Paul B. Henson,OU=user,DC=ad,DC=cpp,DC=edu<br class="">
><br class="">
> so your group members look like:<br class="">
><br class="">
> member: CN=Paul B. Henson,OU=user,DC=ad,DC=cpp,DC=edu<br class="">
><br class="">
> If that's the case, I don't think there's any way you can get it to<br class="">
> work. The rfc2307bis group support expects the RDN to be the username,<br class="">
> there's no way to get it to look up some other attribute of the entry<br class="">
> and use it instead.<br class="">
<br class="">
_______________________________________________<br class="">
OmniOS-discuss mailing list<br class="">
<a href="mailto:OmniOS-discuss@lists.omniti.com" class="">OmniOS-discuss@lists.omniti.com</a><br class="">
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank" class="">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br class="">
</div></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature">Ian Kaufman<br class="">Research Systems Administrator<br class="">UC San Diego, Jacobs School of Engineering ikaufman AT ucsd DOT edu <br class=""></div>
</div>
</div></blockquote></div><br class=""></div></body></html>`