[Samba] Re: NT sends empty username to 3.0a21

Andrew Bartlett abartlet at samba.org
Sat Mar 8 23:05:50 GMT 2003


On Sun, 2003-03-09 at 02:39, John Newhouse wrote:
> Hi,
> 
> I have samba 3.0a21 running and NT 4.0 WS clients.
> All workstations were previously in Samba 2.2 domain , so now I upgraded to samba 3.0a22 and
> just changed domain name (workstation = XXX) and rejoined workstations by changing domain name
> in every WS.
> 
> To look at the log it seems like NT WS sends empty username?
> 
> *** ldapsam_search_one_user: searching for:[(&(uid=)(objectclass=sambaAccount))]
> *** check_password:  Authentication for user [] -> [] FAILED with error NT_STATUS_NO_SUCH_USER
> 
> Joining the domain is OK.
> Also when I log into WS locally and them map some share with my username/pwd it works OK.
> But logging in with same username fails.
> 
> Most bizarre thing is that I was testing samba30a21+ldap+pam_ldap+nss_ldap last week in my home
> and NT 4.0 WS logging worked.. So probably it's not samba fault. But I'm completly out of ideas,
> anyone can help?

You did not include the guest account in your passdb.  I'm going to make
this either fail in a more obvious manner, or make it not fail, but in
the meantime, add the guest account to your LDAP database, with RID
501.  (Make it match the 'guest account' in your smb.conf).

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20030309/8bb03062/attachment.bin


More information about the samba mailing list