Re: [Samba] no logon servers available

2003-06-03 Thread Tom McKellips
Does smb password file have a logon for root  (smbpasswd -a root)?
This was a requirement for my XP and 2K boxes to join in the domain. It's the 
only user that is authorized to join the domain.

On Thu, 08 May 2003 01:37:24 -0400, Stephen Loughin wrote
 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
 
 [EMAIL PROTECTED] 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
 [EMAIL PROTECTED] etc]#
 
 ;
 [EMAIL PROTECTED] etc]# cat samba/smbusers.map
 # homefire user id = Windows login userid
 sloughin = SLOUGHIN SLoughin sloughin
 
 -- 
 Stephen Loughin
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba


--
Internet Service Provided By Abyss Communications
Internet Service only $10 a month
1-866-842-2977
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] no logon servers available

2003-06-03 Thread Stephen Loughin
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

[EMAIL PROTECTED] 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
[EMAIL PROTECTED] etc]#

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


--
Stephen Loughin
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] no logon servers available

2002-12-02 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 28 Nov 2002, Nicholas Sushkin wrote:

 I am running samba 2.2.7 as a PDC with a couple of Win2k workstations
 participating in the domain. Once in a while of the workstations, I
 can't access shares on the other, getting a message no logon servers
 available. Once I restart smbd and nmbd via /etc/init.d/smb stop start,
 the problem goes away immediately. I tried to search in samba logs, but
 there were no error messages. What might be the problem?

Check for name registration issues related to the Samba PDC.




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 SAMS Teach Yourself Samba in 24 Hours 2ed
 You can never go home again, Oatman, but I guess you can shop there.  
--John Cusack - Grosse Point Blank (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE97AKDIR7qMdg1EfYRArSwAKC7WykNnpajXLgk+rH/r/Ngz78z6ACgktQj
5AE8bqW8lu/0mSEV5SAdSaE=
=T+Kz
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] no logon servers available

2002-12-02 Thread Nicholas Sushkin
On Monday 02 December 2002 20:01, you wrote: 

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Thu, 28 Nov 2002, Nicholas Sushkin wrote:
  I am running samba 2.2.7 as a PDC with a couple of Win2k workstations
  participating in the domain. Once in a while of the workstations, I
  can't access shares on the other, getting a message no logon servers
  available. Once I restart smbd and nmbd via /etc/init.d/smb stop start,
  the problem goes away immediately. I tried to search in samba logs, but
  there were no error messages. What might be the problem?

 Check for name registration issues related to the Samba PDC.

Thanks for your reply! I almost gave up on somebody from the list helping 
me... 

You mean WINS name resolution problems? Yes, I'll check for that the next time 
I am having this problem. After thinking about your suggestion, I realized 
that some of my friends were plugging their laptops into my lan, maybe that 
screwed up the default browser or something like that. Do you know by any 
chance a way to figure out what a win2k workstation is thinking about its 
default master browser?

Thanks,
-- 
Nicholas Sushkin,
Open Finance http://www.openfinance.com

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] no logon servers available

2002-11-28 Thread Nicholas Sushkin
Hi,

I am running samba 2.2.7 as a PDC with a couple of Win2k workstations
participating in the domain. Once in a while of the workstations, I can't
access shares on the other, getting a message no logon servers available.
Once I restart smbd and nmbd via /etc/init.d/smb stop start, the problem
goes away immediately. I tried to search in samba logs, but there were no
error messages. What might be the problem?

Thanks,

--
Nicholas Sushkin

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba