Samba PDC stopped working

Samba PDC stopped working

Post by Jon Clifto » Thu, 30 Jan 2003 07:08:59



I am running samba 2.2.1a and have been for sometime.  I am partially in
charge of a small network at my school which has 4 pcs and a Linux box
running samba as the pdc.  Two of the machines run windows XP Prof, and the
other two run windows 2000.  A month or so ago the ips of all of the
computers where switched to another set of ips(DHCP), I added the
appropriate entry in smb.conf to allow the new ip addresses to connect to
the server.  It worked fine for a few weeks, but then all of the sudden it
stopped working.   Now I can no longer connect to the domain from any of the
computers.  I cant figure out what would have changed.  I ran all of the
tests in DIAGNOSIS.txt and they all worked, but I still cant connect to the
domain, any ideas?
 
 
 

Samba PDC stopped working

Post by Rob MacGrego » Fri, 31 Jan 2003 16:19:03



> I am running samba 2.2.1a and have been for sometime.  I am partially in
> charge of a small network at my school which has 4 pcs and a Linux box
> running samba as the pdc.  Two of the machines run windows XP Prof, and the
> other two run windows 2000.  A month or so ago the ips of all of the
> computers where switched to another set of ips(DHCP), I added the
> appropriate entry in smb.conf to allow the new ip addresses to connect to
> the server.  It worked fine for a few weeks, but then all of the sudden it
> stopped working.   Now I can no longer connect to the domain from any of the
> computers.  I cant figure out what would have changed.  I ran all of the
> tests in DIAGNOSIS.txt and they all worked, but I still cant connect to the
> domain, any ideas?

2.2.1a is pretty old, I'd probably suggest you update regardless of anything
else.

However, from the server can you ping the clients by name and by IP?  What does
running a "smblcient -L \\<client>" do?  Can the clients ping the server by
name?

Errors in the logs?

--
  Rob MacGregor (MCSE)        Oh my God! They killed init! You bastards!
      The light at the end of the tunnel is an oncoming dragon.

 
 
 

Samba PDC stopped working

Post by Jon Clifto » Sat, 01 Feb 2003 01:54:34


The server can ping the clients fine, and the clients can ping the server.
when I run smbclient -L bob (client) I get a message saying it added an
interface and then lists the following:
Domain=[WORKGROUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename      Type      Comment
        ---------      ----      -------
        IPC$           IPC       Remote IPC
        SharedDocs     Disk
        ADMIN$         Disk      Remote Admin
        C$             Disk      Default share

        Server               Comment
        ---------            -------
        BOB

        Workgroup            Master
        ---------            -------
         RTL                  COBAIN
        WORKGROUP            BOB

Everything seems to be running fine, I just cannot get the client to join
the domain, in this case RTL.  I can still connect to the server and map a
network drive, so samba is working.  And there are no errors in the log from
what I can see.



> > I am running samba 2.2.1a and have been for sometime.  I am partially in
> > charge of a small network at my school which has 4 pcs and a Linux box
> > running samba as the pdc.  Two of the machines run windows XP Prof, and
the
> > other two run windows 2000.  A month or so ago the ips of all of the
> > computers where switched to another set of ips(DHCP), I added the
> > appropriate entry in smb.conf to allow the new ip addresses to connect
to
> > the server.  It worked fine for a few weeks, but then all of the sudden
it
> > stopped working.   Now I can no longer connect to the domain from any of
the
> > computers.  I cant figure out what would have changed.  I ran all of the
> > tests in DIAGNOSIS.txt and they all worked, but I still cant connect to
the
> > domain, any ideas?

> 2.2.1a is pretty old, I'd probably suggest you update regardless of
anything
> else.

> However, from the server can you ping the clients by name and by IP?  What
does
> running a "smblcient -L \\<client>" do?  Can the clients ping the server
by
> name?

> Errors in the logs?

> --
>   Rob MacGregor (MCSE)        Oh my God! They killed init! You bastards!
>       The light at the end of the tunnel is an oncoming dragon.

 
 
 

Samba PDC stopped working

Post by Rob MacGrego » Sat, 01 Feb 2003 02:31:05



> Everything seems to be running fine, I just cannot get the client to join
> the domain, in this case RTL.  I can still connect to the server and map a
> network drive, so samba is working.  And there are no errors in the log from
> what I can see.

Ok, did you follow the Samba-PDC-HowTo?  Did you create machine accounts on the
samba server (both in /etc/passwd and /etc/smbpasswd, or wherever) for the
clients?

--
  Rob MacGregor (MCSE)        Oh my God! They killed init! You bastards!
      The light at the end of the tunnel is an oncoming dragon.

 
 
 

Samba PDC stopped working

Post by Jon Clifto » Sat, 01 Feb 2003 06:32:50


yes, I did everything.  The machines have acounts, the users have acounts.
I can mount a drive using net use x: \\server\tmp  I just cant join the
domain.  But the thing is it worked last week, and I didnt change anything
over the weekend.



> > Everything seems to be running fine, I just cannot get the client to
join
> > the domain, in this case RTL.  I can still connect to the server and map
a
> > network drive, so samba is working.  And there are no errors in the log
from
> > what I can see.

> Ok, did you follow the Samba-PDC-HowTo?  Did you create machine accounts
on the
> samba server (both in /etc/passwd and /etc/smbpasswd, or wherever) for the
> clients?

> --
>   Rob MacGregor (MCSE)        Oh my God! They killed init! You bastards!
>       The light at the end of the tunnel is an oncoming dragon.

 
 
 

1. My Debian 3.0 Samba server do not work as a Windows PDC

Hi!
I may first say that I am a newbie to Linux/Samba, even though I have
worked on Unix systems, but thats about 15 years back.

I have installed a Debian 3.0 as a file and print server only, on an
old Pentium 233 w 64 MB ram, to be use by Windows 2000 clients only.
Therefore I have also installed the supplied Samba package. I follow
some steps read on the www.samba.org pages and several HOWTO docs
about how to get this server to act as a Windows Primary Domain
Controller, but w no luck. I have three users configured. But only one
can access the server from a Windows client, but only as workgroup
server. If I tried to change the client setup to a domain logon on the
server, it will fail to logon. Can't find server it says.

My smb.conf file looks like this:

#======================= Settings =======================

[global]
# Change this for the workgroup/NT-domain name your Samba server will
part of
netbios name = DEBIANSERVER
workgroup = VAS

os level = 64
preferred master = yes
domain master = yes
local master = yes
security = user
encrypt passwords = yes
domain logons = yes
logon path = \\%N\profiles\%u
logon drive = H:
logon home = \\homeserver\%u
logon script = logon.cmd

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
writeable = no
write list = ntadmin

[homes]
comment = Home Directories
browsable = no
writable = yes

[pub]
path = /home/home2/public
browseable = yes
guest ok = yes
writeable = yes

---

I would appreciate any suggestions to this problem.

TIA

Lars, Sweden

2. DECwriter IV

3. linpopup can't work when I use samba as a PDC

4. configuring microsoft mail

5. Samba PDC on RH 7.1, XP Pro Clients: Roaming profiles not working.

6. Install Warp 4 from hard disk

7. Browsing with Samba 2.2.2 PDC and WinXP does not work

8. & symbol in XML

9. smbmount does not work with Dollar-share with samba PDC and NT4 clients

10. Samba 2.2.1a as PDC probs (used to work)

11. Samba PDC -- works for WFW, but not for NT!

12. W2K and Samba 2.0.7 as PDC won't work

13. Samba as PDC, Windows-Profile-Directory not working