[Samba] Logon fails

Daniel Khan d.khan at ventigo.com
Wed Sep 14 11:26:08 GMT 2005


Hello List,

I have a network consisting of several Win2K Pro, WinXp Home, WinXp Pro 
Clients, a Linux Server with Samba 3 and a MS Small Business Server 2003.

The Linux Server authenticates domain users using winbind. That works 
fine and all users can Login to the linux box using FTP, SSH, ...

The only thing that doesn't work is connecting to samba shares.

For some time I got the messages that there are no logon servers 
available until I set domain logons = Yes.

Now the client gets a logon window but the password is rejected.
If they try to connect to the ADS server everything works fine.

Maybe a hint:
On my notebook the username/password are the same as in active directory 
and it works.
It also worked when domain logons wasn't switched on.
I think it's an encryption issue. Could it be that windows uses another 
default encryption if I don't authenticate through the logon popup 
window but on boot?

Here's a short dump of a logon sequence with loglevel 10:

[2005/09/14 13:11:38, 10] lib/util_sock.c:read_data(517)
  read_data: read of 4 returned 0. Error = Success
[2005/09/14 13:11:38, 10] lib/util_sock.c:receive_smb_raw(666)
  receive_smb_raw: length < 0!
[2005/09/14 13:11:38, 3] smbd/process.c:timeout_processing(1366)
  timeout_processing: End of file from client (client has disconnected).
[2005/09/14 13:11:38, 5] lib/gencache.c:gencache_shutdown(88)
  Closing cache file
[2005/09/14 13:11:38, 5] libsmb/namecache.c:namecache_shutdown(79)
  namecache_shutdown: netbios namecache closed successfully.
[2005/09/14 13:11:38, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/09/14 13:11:38, 5] auth/auth_util.c:debug_nt_user_token(452)
  NT user token: (NULL)
[2005/09/14 13:11:38, 5] auth/auth_util.c:debug_unix_user_token(473)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2005/09/14 13:11:38, 5] smbd/uid.c:change_to_root_user(319)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2005/09/14 13:11:38, 2] smbd/server.c:exit_server(608)
  Closing connections
[2005/09/14 13:11:38, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to
[2005/09/14 13:11:38, 5] smbd/oplock.c:receive_local_message(110)
  receive_local_message: doing select with timeout of 1 ms
[2005/09/14 13:11:38, 3] smbd/server.c:exit_server(652)
  Server exit (normal exit)

Thanks for your help

mit freundlichen Grüssen, | with best regards,

-- 
Daniel Khan
Technische Leitung | CTO 
Geschäftsführender Gesellschafter | Managing Partner

ventigo
Werbung . IT . Marketing GmbH

Kornstrasse 10 4060 Leonding
T. +43 (0) 732 37 09 60 | F. +43 (0) 732 37 09 60 10
http://www.ventigo.com | office at ventigo.com



More information about the samba mailing list