Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 296
  • Last Modified:

W2K Professional cannot join Samba 2.2.4 domain

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
canani
Asked:
canani
1 Solution
 
psimationCommented:
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
 
tantorCommented:
You have to activate WINS on the network properties at your Win2K machine
0
 
cananiAuthor Commented:
Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now