[Samba] no logon servers available

Stephen Loughin loughin at comcast.net
Thu May 8 05:37:46 GMT 2003


After reading the O'Reilly book by JayTs, Robert Eckstein and David 
Collier-Brown, I've tried to set up my RH 7.3 box as a PDC

I have two Wintel boxes, 1 Win2K and 1 Win98SE. (yes I restarted them both 
after firing up smbd and nmbd)

After starting smbd and nmbd I can run smbclient on my RH7.3 box and read 
the stuff
on the Win98 box.

Going the other way,  however, I get this:

C:\>net use * \\homefire\tmp
System error 1311 has occurred.

There are currently no logon servers available to service the logon 
request.

I get variations on this theme if I try to map a drive etc.
If I use Network Neighborhood, I can see my samba server, but if I try
to use it, I get a password prompt and no matter what I put in for userid 
and
password, I get a variant of "no logon servers available".

Here's what the log file shows:

[2003/05/07 05:04:46, 0] rpc_server/srv_netlog_nt.c:get_md4pw(176)
 get_md4pw: Workstation sloughin$: no account in domain
[2003/05/07 05:05:59, 2] smbd/server.c:exit_server(461)
 Closing connections
[2003/05/07 05:19:46, 2] lib/access.c:check_access(327)
 Allowed connection from  (192.168.0.102)
[2003/05/07 05:19:47, 0] rpc_server/srv_netlog_nt.c:get_md4pw(176)
 get_md4pw: Workstation sloughin$: no account in domain
[2003/05/07 05:20:45, 2] smbd/server.c:exit_server(461)
 Closing connections


This seems to be a common problem -- I've seen it on other networks
and you get more than a few hits if you google for "no logon servers"+samba

Yet, I've not seen a good summary of typical causes of this problem.

Any help would be APPRECIATED!

Here are all the non-comment lines in my smb.conf

[root at homefire etc]# grep -vP "^\s*\#|^\s*;"  samba/smb.conf
[global]
 workgroup = WAMSYSTEMS
 netbios name = homefire
 server string = Samba %v as PDC
 hosts allow = 192.168.0. 127.
 printcap name = /etc/printcap
 load printers = yes
 printing = lprng
 log file = /var/log/samba/%m.log
  max log size = 2000
  log level = 2
  security = user
 username map = /etc/samba/smbusers.map
 encrypt passwords = yes
 smb passwd file = /etc/samba/smbpasswd
  unix password sync = Yes
  passwd program = /usr/bin/passwd %u
  passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*

  pam password change = yes

 obey pam restrictions = yes
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  interfaces = 192.168.0.2/255.255.255.0 local master = yes
  os level = 65
  domain master = yes time server = yes
  preferred master = yes
  domain logons = yes
  domain admin group = root sloughin stevel add user script = 
/usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -m %u
   logon script = logon.bat
  logon path = \\%L\Profiles\%U
  logon drive = H:
  logon home = \\%L\%u\.win_profile\%m
  wins support = yes
[homes]
  comment = Home Directories
  read only = no
  browseable = no
  guest ok = no
  map archive = yes
[netlogon]
  comment = Network Logon Service
  write list = root stevel sloughin natel
  path = /usr/local/samba/lib/netlogon
  writable = no
  browsable = no
[profiles]
   path = /usr/local/samba/profiles
   writeable = yes
   create mask = 0600
   directory mask = 0700
   browseable = no
[printers]
  comment = All Printers
  path = /var/spool/samba
  browseable = no
  guest ok = no
  writable = no
  printable = yes
[tmp]
  comment = Temporary file space
  path = /tmp/samba
  read only = no
  public = yes
[root at homefire etc]#

;----------------
[root at homefire etc]# cat samba/smbusers.map
# homefire user id = Windows login userid
sloughin = SLOUGHIN SLoughin sloughin



-- 
Stephen Loughin



More information about the samba mailing list