[Samba] using winbind without a PDC

Andy Fish ajfish at blueyonder.co.uk
Tue Nov 12 20:14:00 GMT 2002


Well I just tried wins in the nsswitch.conf and it worked even though I
don't have a WINS server. Thanks for the hint.

(I just had a look at the source for libnss_wins and it will do a broadcast
if there is no WINS server)

Andy


----- Original Message -----
From: "Buchan Milne" <bgmilne at cae.co.za>
To: "Andy Fish" <ajfish at blueyonder.co.uk>
Cc: <samba at lists.samba.org>
Sent: Tuesday, November 12, 2002 6:31 PM
Subject: [Samba] samba at lists.samba.org


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > Message: 10
> > From: "Andy Fish" <ajfish at blueyonder.co.uk>
> > To: <samba at lists.samba.org>
> > Date: Tue, 12 Nov 2002 16:50:12 -0000
> > Subject: [Samba] using winbind without a PDC
> >
> > This is a multi-part message in MIME format.
> >
> > ------=_NextPart_000_0017_01C28A6B.911CC230
> > Content-Type: text/plain;
> > charset="iso-8859-1"
> > Content-Transfer-Encoding: quoted-printable
> >
> > Hello
> >
> > Can someone tell me whether it is possible to use winbind on a simple =
> > windows workgroup (i.e. with no NT domain and hence no PDC). I *thought*
=
> > I saw it work in samba 2.2.3 but now I am on 2.2.6 and the winbindd =
> > daemon won't start up - it loops forever in the initialization trying to
=
> > contact the PDC.
> >
>
> winbind has no function without a domain controller, since it only works
> with users and groups, not hosts.
>
> > All I want to do is configure nsswitch.conf to resolve hostnames with =
> > netbios broadcast. If there is a simpler way than winbind, I'd be =
> > interested to know about it.
>
>
> You are looking for nss_wins, you need to add "wins" to your hosts line
> of nsswitch.conf, assuming the rest (getting the libs in the right
> place) is done. Set a wins server in your smb.conf, and it should all
> work. Of course, you need a WINS server.
>
> Buchan
>
> - --
> |----------------Registered Linux User #182071-----------------|
> Buchan Milne                Mechanical Engineer, Network Manager
> Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
> Stellenbosch Automotive Engineering         http://www.cae.co.za
> GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
> 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQE90Uj4rJK6UGDSBKcRAsyyAJ41lPPkSdNTtN/DHQJBR3JvZvi8cwCdHjjL
> DSBTstpYHhEHr3UqKFDUX24=
> =uvER
> -----END PGP SIGNATURE-----
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list