Skip site navigation (1)Skip section navigation (2)
Date:      21 Oct 2002 00:06:58 +0100
From:      Stacey Roberts <stacey@Demon.vickiandstacey.com>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   samba PDC for WIN2K clients?
Message-ID:  <1035155219.539.2.camel@Demon.vickiandstacey.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello, 
     I've got 2 WIN2K Pro workstations on my home lan that I'd like to
enable network logon for. I've been banging my head against a wall for
the last four hours trying to get this sorted, but to no avail. 

I keep getting the same error when trying to enter the Domain name into
the "WORKGROUP" field in Win2K network properties: 

"The following error occured validating the name "my_domainname", This
condition may be caused by a DNS lookup problem. For more information
about troubleshooting common DNS lookup problems see the following
Microsoft blah., blah.., blah.., 

The specified domain either does not exist or could not be contacted". 

Here's what I've got in smb.conf: 

Global Settings: 
[global] 

# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4 
   workgroup = <my_domain> 

# server string is the equivalent of the NT Description field 
   server string = Samba Server 
   hosts allow = 192.168.1 127. 
   domain admin group = @wheel 
   security = user 
   encrypt passwords = yes 
   socket options = TCP_NODELAY 
   local master = yes 
   os level = 255 
   preferred master = yes 
   domain logons = yes 
# if you enable domain logons then you may want a per-machine or 
# per user logon script 
# run a specific logon batch file per workstation (machine) 
;   logon script = %m.bat 
# run a specific logon batch file per username 
;   logon script = %U.bat 

# Where to store roving profiles (only for Win95 and WinNT) 
#        %L substitutes for this servers netbios name, %U is username 
#        You must uncomment the [Profiles] share below 
;   logon path = \\%L\Profiles\%U 

# Windows Internet Name Serving Support Section: 
# WINS Support - Tells the NMBD component of Samba to enable it's WINS
Server 
   wins support = yes 
[homes] 
   comment = Home Directories 
   browseable = no 
   writeable = yes 
# Un-comment the following and create the netlogon directory for Domain
Logons [netlogon] 
   comment = Network Logon Service 
   path = /usr/local/samba/lib/netlogon 
   guest ok = no 
   writeable = no 
   share modes = no 

To begin with I added a user in /etc/passwd for one of the machines: 
<winbox$>:*:1003:1000:<winbox$>:/non:/nonexistent 

Here's what smbstatus gives: 
# smbstatus 
Samba version 2.2.6 
Service      uid      gid      pid     machine 
---------------------------------------------- 
No locked files 
# 

And this is what syslog has: 
# tail /var/log/log.smbd 
[2002/10/20 23:36:24, 0] smbd/server.c:main(707) 
  smbd version 2.2.6 started. 
  Copyright Andrew Tridgell and the Samba Team 1992-2002 
[2002/10/20 23:36:24, 0] printing/print_cups.c:cups_printer_fn(110) 
  Unable to connect to CUPS server localhost - Connection refused 
[2002/10/20 23:36:34, 0] smbd/server.c:main(707) 
  smbd version 2.2.6 started. 
  Copyright Andrew Tridgell and the Samba Team 1992-2002 
[2002/10/20 23:36:34, 0] printing/print_cups.c:cups_printer_fn(110) 
  Unable to connect to CUPS server localhost - Connection refused 
# 

I've not got printing set up on the FBSD box as yet, so I'm thinking
that the above errors for CUPS aren't a problem, but I could be wrong..,

I've tried googling, and checking samba's docs (mostly for £inux), and
Microsoft help, but I'm not any clearer on how to proceed. I'd
appreciate any assistance, pointers to a "the secret FBSD" doc somewhere
that gives at least a minimal setup from which to start.., 

TIA 
Stacey 

-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQEVAwUAPbM3EZvQeubckvvXAQFBJQf8CphszlXm0A/RPAXtOIU62PIzvKGplBRv
MpFmePgV7AbMje0mY1tOYMDoF5ubm0OGsf+6JrlGtmRz/wf4aKMC9vNBAVxrJCfZ
P3JJ2gwX/0HbB1fYdtxHMe91E6z0MlPzQlogPok+JVgLS0B9E1hJDUn+AevQUxun
mYiqaSKNBpRvlueZGM+A9CuLF9MavjLLXjTjvTECBIzPE6NN22wKRUh15AiEtQKS
+vJ+JqHQVY5wt4+NCXqFgiaHAp8tKxOuByYPdSO01IOfdy7Hs/9hidwnUC8h/CdQ
CiQftX8Vazd+VtbcJ49duaB7vkTopEUJX3VQ+scD4TE19Z9TFPyCHg==
=MJxT
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1035155219.539.2.camel>