[Samba] reversing domain and user name?

Andrew Bartlett abartlet at pcug.org.au
Wed Feb 20 13:45:03 GMT 2002


David Edward Shapiro wrote:
> 
> I can get authentication to work on linux 7.1 with samba 3.0alpha15 if I
> make valid users = @"INS+Domain Users", but if I try to set valid users to
> just a single user:
> 
> valid users = INS+DavidSha, it fails to give me access.  I see the following
> in log.winbindd.  It looks like it is looking for a domain called
> DavidSha?!?  My winbindd separator is +.  Can somebody please respond to
> this.
> 
> 2002/02/20 11:37:21, 3] nsswitch/winbindd_sid.c:winbindd_lookupname(76)
>   [27055]: lookupname [DavidSha]\[INS]
> [2002/02/20 11:37:21, 0] nsswitch/winbindd_sid.c:winbindd_lookupname(83)
>   could not find domain entry for domain DavidSha

WELL SPOTTED!

Thankyou very much, as for reasons beyond explaination, this codepath
didn't get tested when the 'winbind default domain' code went in.

Fixed in CVS.  I'm not sure this solves your original problem however -
could you do some more debugging for me?

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba-technical mailing list