Bug 3046 - Login Failure if no Hostname is set
Login Failure if no Hostname is set
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts
x86 FreeBSD
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
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 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.