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

--=-oOkJUfL7BZLsQAL3ensw
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,=20
     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.=20

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

"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..,=20

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

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

Global Settings:=20
[global]=20

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

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

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

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

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

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

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

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 =A3inux), 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..,=20

TIA=20
Stacey=20

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

Web: www.vickiandstacey.com

--=-oOkJUfL7BZLsQAL3ensw
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----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-----

--=-oOkJUfL7BZLsQAL3ensw--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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