Samba and WinXp-Pro

Paul Richards paul at
Thu May 15 13:46:40 BST 2003

On Tue, May 13, 2003 at 09:32:36PM +0100, Duncan Barclay wrote:
> On 13-May-2003 Paul Richards wrote:
> > On Tue, May 13, 2003 at 11:17:42AM +0100, Duncan Barclay wrote:
> >> I had the same as this on 2.2.4a. I upgraded to 2.2.8a and set up a PDC
> >> before connecting the XP box. The changes I made were:
> >> 
> >>     Upgrade to 2.2.8a
> >>     Add a PDC to Samba
> > 
> > I run XP without a PDC too and Samba works fine, though I use the XP box
> > as the password server to avoid setting up all the host accounts on FreeBSD.
> > 
> >>     Add host trust accounts manually to /etc/passwd and initialise with
> >> smbpasswd
> > 
> > I bet it's that one. It definitely won't work without that.
> Well this evening I revert the registry hack, stopped Samba being a PDC, removed
> the trust accounts from /etc/passwd and /usr/local/private/smbpasswd and
> the XP machine still connected fine. So either there is some ghost
> credentials still allowing to connect or 2.2.8a just DTRT.

Now that I think about it, the trust accounts are only needed for
domains. If Samba looks like a workgroup server then XP/Samba will only do
user level authenticatoin (I think).

Paul Richards

More information about the Ukfreebsd mailing list