[Samba] Finding users in trusting/trusted domains

mike at jurney.org mike at jurney.org
Fri Mar 26 22:49:08 GMT 2004


We're currently migrating from Exchange 5.5 to Exchange 2003.  Exchange
5.5 is in a Samba3 domain (DOM1), and Exchange 2003 is in a 2000
mixed-mode domain (DOM2), and trusts are active in both directions.  Part of the
process requires that we grant users in the DOM2 domain admin rights to
the LDAP server on the Exchange server in DOM1.  When we try, we're able
to browse the DOM2 userlist and select the users, but when we hit 'apply'
the username changes from 'DOM2\exchange' to '\Unknown Account'.  Samba
logs the following:

[2004/03/26 16:16:45, 5] lib/username.c:Get_Pwnam(288)
  Finding user DOM2\exchange
[2004/03/26 16:16:45, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is dom2\exchange
[2004/03/26 16:16:45, 5] lib/username.c:Get_Pwnam_internals(230)
  Trying _Get_Pwnam(), username as given is DOM2\exchange
[2004/03/26 16:16:45, 5] lib/username.c:Get_Pwnam_internals(239)
  Trying _Get_Pwnam(), username as uppercase is DOM2\EXCHANGE
[2004/03/26 16:16:45, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in dom2\exchange
[2004/03/26 16:16:45, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [DOM2\exchange]!
[2004/03/26 16:16:45, 5] lib/username.c:Get_Pwnam(288)
  Finding user exchange
[2004/03/26 16:16:45, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is exchange
[2004/03/26 16:16:45, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals did find user [exchange]!
[2004/03/26 16:16:45, 5] auth/auth_util.c:fill_sam_account(975)
  fill_sam_account: located username was [exchange]

Why is it looking for DOM2 users internally?  Shouldn't it contact the DC
for DOM2 instead?


-- 
Michael D. Jurney
mike at jurney.org



More information about the samba mailing list