[Samba] Re: Win2k Client <-> Samba Server

John H Terpstra jht at samba.org
Sat May 31 23:07:39 GMT 2003


On Sat, 31 May 2003, Scott Drumm wrote:

> John H Terpstra wrote:
> > On Fri, 30 May 2003, Scott Drumm wrote:
> >
> >
> >>I'm having some difficulties joining a Win2k workstation to a Samba domain.
> >>
> >>This particular workstation is my work laptop (DRUMMSW01) which normally
> >>operates as a member of a standard Win2k domain called BIZ.  At windows
> >>startup/logon, BIZ is specified as the domain.
> >>
> >>At home, my Samba PDC's workgroup/domain is HOME.LAN
> >>
> >>When I try to browse shares on HOME.LAN with the Win2k laptop, I get the
> >>following error message: "There are currently no logon servers available
> >>to service the logon request."  However, if I logon to the laptop
> >>locally as opposed to w/ BIZ specified (i.e. I have a local machine
> >>account) I can use all of HOME.LAN's resources w/o a problem.
>
> > The link is incorrect. To add a machine account to /etc/passwd you need to
> > escape the '$' as follows:
> >
> > useradd -g machines -c "windows 2000 workstation" -d /dev/null -s
> > /bin/false -n doraemon\$
> >
> > Note the '\' before the '$'
>
> Still a no-go (altho I'll be the first to admit I have a very
> rudimentary understanding of Windows domains).

You seem to have ignored the last part of my reply:

You should also note that migration of domain members between domains will
work only so long as BOTH domains are available on the network at the same
time. Even then it can be problematic. The workaround method is:

        1. Migrate from old domain to a workgroup
        2. Then join new domain

By which I intended to indicate to you that you would need to change the
name of the domain that the workstation belongs to, by first changing the
machine from being a domain member to a workgroup machine, then joinging
your home domain.

Now the kicker is, that when you get back to the office you will have to
reverse this process so that you can use the network facilities on the
work network.

Now there are work-arounds for this, but I do not want to deprive you of a
challenge that you would feel happier to have solved yourself. :)

- John T.

>
> I cannot logon to the HOME.LAN PDC at all when my Win2k workstation is
> identifying itself as a member of the BIZ domain.  I cannot access any
> shares from the Win2k client using NET USE nor can I access the client's
> shares from the server using smbclient.  There is no password challenge,
> just the standard "no logon server available to process logon request"
>
> I can however send SMB messages to both domains using smbclient ;)
>
> What appears to be happening is that the Win2k client shows up as the
> server and master browser of it's domain (BIZ) while the Linux Samba
> server shows up as the server and master browser of it's domain
> (HOME.LAN) - yet never shall the two talk to each other...
>
> Here's what I've got so far...
>
> #smbclient -L drummsw01:
> Domain=[BIZ] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
>
>          Sharename      Type      Comment
>          ---------      ----      -------
> Error returning browse list: NT_STATUS_ACCESS_DENIED
>
>          Server               Comment
>          ---------            -------
>          DRUMMSW01
>
>          Workgroup            Master
>          ---------            -------
>          BIZ                  DRUMMSW01
>          HOME.LAN             FIDELITY
>
> #smbclient -L fidelity
> Domain=[HOME.LAN] OS=[Unix] Server=[Samba 2.2.7]
>
>          Sharename      Type      Comment
>          ---------      ----      -------
>          Laser          Printer
>          tmp            Disk      Temporary file space
>          DVD-ROM        Disk      Fidelity DVD-ROM
>          CD-WRITE       Disk      Fidelity CD-Writer
>          Zip-100        Disk      Fidelity Zip Drive
>          WIN-APPS       Disk      LAN Windows Applications
>          WIN-DATA       Disk      LAN Win-Data Directory
>          Sounds         Disk      Sound Files
>          MP3            Disk      MP3 Files
>          Movies         Disk      DVD Rips / DivX Movies
>          Download       Disk      Downloads on Fidelity
>          IPC$           IPC       IPC Service (Samba Server (Fidelity))
>          ADMIN$         Disk      IPC Service (Samba Server (Fidelity))
>
>          Server               Comment
>          ---------            -------
>          FIDELITY             Samba Server (Fidelity)
>          GERTRUDE
>
>          Workgroup            Master
>          ---------            -------
>          BIZ                  DRUMMSW01
>          HOME.LAN             FIDELITY
>
>
>

-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list