Solved

W2K Professional cannot join Samba 2.2.4 domain

Posted on 2002-06-06
3
283 Views
Last Modified: 2010-03-17
I've just installed a W2K Professional in a machine, but when I try to join my Samba 2.2.4 domain, the following message is displayed:

"The following error occured validating the name _SMART_
The specified domain either doesn't exist or couldn't be contacted"

When I click in 'My Network Places'->'Entire Network'->'Microsoft Windows Network', '_smart_' and 'workgroup' is displayed, and I can even browse the '_smart_' domain.

I've created the machine account using the following commands:

useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M smart03$

smbpasswd -am smart03

My server is a Slackware Linux 8.0 / kernel 2.4.17.

Here's my smb.conf

[global]
    security = user
    status = yes
    workgroup = _SMART_
    encrypt passwords = yes

    domain logons = yes
    domain master = yes
    preferred master = yes
    domain admin group = @adm
    os level=65
    server string = Intranetworks Server
    wins support = yes

    bind interfaces only = yes
    interfaces = 10.0.0.255/255.255.255.0
    logon drive = x:
    logon script = scripts\%U.bat
    time server = yes

    printing = bsd
    printcap name = /etc/printcap
    printer admin = root
    load printers = yes

    log file = /var/log/samba/log.%m

    lock directory = /etc/samba/var/locks

[netlogon]
    comment = Network Logon Service
    path = /etc/samba/netlogon
    writeable = no
    guest ok = yes

[homes]
   comment = Home Directories
   browseable = yes
   read only = no
   create mode = 0750
   hosts allow = 10.0.0.
   hide files = /Maildir/

[print$]
    path = /etc/samba/printers
    comment = Impressoras
    guest ok = yes
    browseable = yes
    read only = yes
    write list = root

[printers]
   path = /usr/spool/public
   comment = All Printers
   browseable = no
   printable = yes
   public = no
   writable = no
   create mode = 0700
   hosts allow = 10.0.0.

0
Comment
Question by:canani
3 Comments
 
LVL 17

Expert Comment

by:psimation
ID: 7061686
On my system, when I add a new user, I need to re-do the entire smbpasswd file.

So,
adduser xxxx
passwd xxxx

Then :
cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd

then:
smbpasswd xxxx

Then, restart samba.

Go to my site at www.linuxhelp.co.za/networking.php and see if there is anything that can help; made the page many moons ago, so it might be outdated, but principles should still apply.
 
0
 

Accepted Solution

by:
tantor earned 500 total points
ID: 7071308
You have to activate WINS on the network properties at your Win2K machine
0
 
LVL 2

Author Comment

by:canani
ID: 7071311
Thanks.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now