Hi,

Apologies for cross posting, but I'm not sure if this is an Oi issue or a 
cswsamba issue.  I've installed cswsamba (3.6.15) and cswsamba_winbind on an OI 
box (151a7).  I've got it bound to AD fine, and winbind itself seems to be 
operating perfectly (I've actually got netatalk happily authenticating AD users 
via winbind).  If I run wbinfo -u or getent passwd, I get the expected 
information back.

Oddly though Samba itself isn't authenticating users.  If I try and login (with 
a few variations of DOMAIN\username or username@DOMAIN) it just kicks it back 
as an unknown user (see below).  The only thing that I can think of is that the 
cswsamba is actually still calling the previously installed (but turned off) 
winbind that I installed with the original OI samba install.  With that not 
running though I wouldn't have thought that would have happened (but if that 
could be it - how do I make sure that cswsamba uses  cswsamba_winbind).  I have 
symlinked the csw nss_winbind libraries into /lib, I just don't know if there's 
anything else that could cause this.

Thanks for any help.

James

Principal Consultant


  Mapping user [DOMAIN]\[james] from workstation [server03]
  attempting to make a user_info for james (james)
  making strings for james's user_info struct
  making blobs for james's user_info struct
  check_ntlm_password:  Checking password for unmapped user 
[DOMAIN]\[james]@[server03] with the new password interface
  check_ntlm_password:  mapped user is: [DOMAIN]\[james]@[server03]
  Finding user DOMAIN\james
  Trying _Get_Pwnam(), username as lowercase is DOMAIN\james
  Trying _Get_Pwnam(), username as given is DOMAIN\james
  Checking combinations of 0 uppercase letters in DOMAIN\james
  Get_Pwnam_internals didn't find user [DOMAIN\james]!
  Finding user james
  Trying _Get_Pwnam(), username as lowercase is james
  Checking combinations of 0 uppercase letters in james
  Get_Pwnam_internals didn't find user [james]!
  Failed to find authenticated user DOMAIN\james via getpwnam(), denying access.
  check_ntlm_password: winbind authentication for user [james] FAILED with 
error NT_STATUS_NO_SUCH_USER
  check_ntlm_password:  Authentication for user [james] -> [james] FAILED with 
error NT_STATUS_NO_SUCH_USER
  Got user=[ja...@domain.corp] domain=[DOMAIN] workstation=[server03] len1=24 
len2=124
  Mapping user [DOMAIN]\[ja...@domain.corp] from workstation [server03]
  attempting to make a user_info for ja...@domain.corp (ja...@domain.corp)
  making strings for ja...@domain.corp's user_info struct
  making blobs for ja...@domain.corp's user_info struct
  check_ntlm_password:  Checking password for unmapped user 
[DOMAIN]\[ja...@domain.corp]@[server03] with the new password interface
  check_ntlm_password:  mapped user is: [DOMAIN]\[ja...@domain.corp]@[server03]
  check_ntlm_password: winbind authentication for user [ja...@domain.corp] 
FAILED with error NT_STATUS_NO_SUCH_USER
  check_ntlm_password:  Authentication for user [ja...@domain.corp] -> 
[ja...@domain.corp] FAILED with error NT_STATUS_NO_SUCH_USER
  Got user=[ja...@domain.corp] domain=[DOMAIN] workstation=[server03] len1=24 
len2=124
  Mapping user [DOMAIN]\[ja...@domain.corp] from workstation [server03]
  attempting to make a user_info for ja...@domain.corp (ja...@domain.corp)
  making strings for ja...@domain.corp's user_info struct
  making blobs for ja...@domain.corp's user_info struct
  check_ntlm_password:  Checking password for unmapped user 
[DOMAIN]\[ja...@domain.corp]@[server03] with the new password interface
  check_ntlm_password:  mapped user is: [DOMAIN]\[ja...@domain.corp]@[server03]
  check_ntlm_password: winbind authentication for user [ja...@domain.corp] 
FAILED with error NT_STATUS_NO_SUCH_USER
  check_ntlm_password:  Authentication for user [ja...@domain.corp] -> 
[ja...@domain.corp] FAILED with error NT_STATUS_NO_SUCH_USER
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to