W2K Domain Login Problem with 2.2.0

Chen Shiyuan csy at hjc.edu.sg
Wed Apr 18 08:49:25 GMT 2001


Hello!

I was using samba-2.2.0-alpha3 (and just about earlier versions as well) 
and had no problems with getting W2K users to login to my domain using 
their username/password.

However, after upgrading to samba-2.2.0, when W2K users tried to login 
using their username/password, W2K pops up a small dialog box in the 
middle of the screen that says - Your account has been disabled, please 
contact your System Administrator.

But when I use the W2K's local account to login to the W2K and try to 
browse the Samba-2.2.0 server, it prompts me for a username/password 
which authenticates just fine and I am able to browse the server's 
shares. I am also able to join/leave the Samba-2.2.0 domain without 
problems. The only problem that I have encountered till date is that the 
users are not able to do a domain logout due to the above error message.

The same problem occured irregardless of whether I am using the Redhat 
6.2 Samba RPM binary file or compiled samba from the tarball.

After I switched back to using 2.2.0-alpha3, users were able to login 
again just fine. The smb.conf file, smbpasswd, MACHINE.SID, etc were 
left unchanged when switching from 2.2.0-alph3 to 2.2.0 and back.

Also, occasionally, the following pops up in my smbd.log file :-

[2001/04/18 16:23:20, 0] lib/util_sock.c:set_socket_options(165)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2001/04/18 16:23:20, 0] lib/util_sock.c:set_socket_options(165)
  Failed to set socket option IPTOS_LOWDELAY (Error Socket operation on 
non-socket
[2001/04/18 16:23:20, 0] lib/util_sock.c:set_socket_options(165)
  Failed to set socket option TCP_NODELAY (Error Socket operation on non-
socket
[2001/04/18 16:23:20, 0] lib/util_sock.c:set_socket_options(165)
  Failed to set socket option SO_KEEPALIVE (Error Socket operation on 
non-socke
[2001/04/18 16:23:20, 0] lib/util_sock.c:set_socket_options(165)
  Failed to set socket option SO_SNDBUF (Error Socket operation on non-
socket)
[2001/04/18 16:23:20, 0] lib/util_sock.c:set_socket_options(165)
  Failed to set socket option SO_RCVBUF (Error Socket operation on non-
socket)

Does anyone know what is causing the above problems? Can someone help me 
out in this? Do I need to provide more details?

Many thanks in advance!

smb.conf
--------
[global]
   workgroup = ABC
   server string = Test Server
   netbios name = APPS
   interfaces = eth0
   hosts allow = 10.
   os level = 75
   wins support = yes
   time server = yes
   domain master = yes
   preferred master = yes
   domain admin group = @root
   domain logons = yes
   logon drive = h:
   logon script = scripts\%d.bat
   max log size = 0
   printing = lprng
   min print space = 5120
   security = user
   encrypt passwords = yes
   smb passwd file = /opt/smbpasswd
   valid users = nobody, @users
   dfree command = /usr/bin/dfree.pl
   dos filetime resolution = yes
   dont descend = /proc, /dev
   getwd cache = yes
   level2 oplocks = true
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE 
SO_SNDBUF=4096 SO_RCVBUF=4096

[homes]
   comment = User Home Directory
   browseable = no
   read only = no

[netlogon]
   comment = Net Logon Service
   path = /home/netlogon
   read only = no
   guest ok = yes





More information about the samba mailing list