Solved

W2K Professional cannot join Samba 2.2.4 domain

Posted on 2002-06-06
3
288 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Install dhcp server on Ubuntu server 4 84
I get an error right after Fail2ban restart in Ubuntu 14.04 2 95
iptables ubuntu BLOCK all 2 96
How to Edit Files in Linux 6 132
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

738 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