Bug 3046 - Login Failure if no Hostname is set
Summary: Login Failure if no Hostname is set
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts (show other bugs)
Version: 3.0.14a
Hardware: x86 FreeBSD
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2005-08-26 06:17 UTC by Simon-Pierre LeBel
Modified: 2005-08-30 05:39 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Simon-Pierre LeBel 2005-08-26 06:17:42 UTC
I've been searching around for days to find the clue for the 
NT_STATUS_LOGON_FAILURE, I found that it is wrong user/password. But I've 
discover that if you don't have a hostname set for the server this error 
appears. Comment the line hostname="XXX" form the /etc/rc.conf and no login is 
possible except for anonymous connection. You should notice at startup 
(/usr/local/etc/samba.sh) that no hostname has been set and it will cause 
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-08-30 05:39:15 UTC
Actually, if you explicitly set the 'netbios name' option, 
this should not matter.  I think maybe this is something 
for the FReeBSD package/ports maintainer.  

As a general rule, Samba has to assume a correctly configured OS.