LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
LinkBack Search this Thread
Old 09-17-2006, 02:59 PM   #1
gundestrup
LQ Newbie
 
Registered: May 2004
Distribution: Debian Sarge | Kubuntu | Suse
Posts: 19

Rep: Reputation: 0
Domain controler problems with Samba and windows


Problem:
I have setup smb.conf and everything looks good.
I can access the samba shares, but when I try to access the domain, I get this error:

Code:
The domain name BORG-COLLECTIVE might be a NetBIOS domain name.  If this is the case, verify that the domain name is properly registered with WINS.

If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration.

An error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain BORG-COLLECTIVE.

The error was: "No records found for given DNS query."
(error code 0x0000251D DNS_INFO_NO_RECORDS)

The query was for the SRV record for _ldap._tcp.dc._msdcs.BORG-COLLECTIVE
Here is my smb.conf file:
Code:
# Samba config file created using SWAT
# from 192.168.10.2 (192.168.10.2)
# Date: 2006/09/17 21:10:39

[global]
        workgroup = BORG-COLLECTIVE
        netbios aliases = BORG-COLLEVTIVE
        server string = %h server (Samba, Ubuntu)
        passdb backend = tdbsam
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
        passwd chat debug = Yes
        username map = /etc/samba/smbusers
        unix password sync = Yes
        log level = 3
        name resolve order = wins bcast hosts
        printcap name = CUPS
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/sbin/usermod -G %g %u
        add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null -g machines %u
        logon drive = H:
        domain logons = Yes
        preferred master = Yes
        wins support = Yes
        ldap ssl = no
        idmap uid = 15000-20000
        idmap gid = 15000-20000
        printing = cups
        print command =
        lpq command = %p
        lprm command =

[netlogon]
        comment = Network Logon Service
        path = /home/samba/netlogon
        guest ok = Yes
        share modes = No

[profiles]
        path = /home/samba/profiles
        create mask = 0600
        directory mask = 0700
My Setup:
locutus: Linux server, also a webserver, and vmware-server
borg-collective (the domain/workgroup)

DMZ controles by IPCOP, 3NIC
Orange Zone:
linux kubuntu server, dapper
printers

Greenzone:
All my windows clients.

I have added
locutus, borg-collective, to the hosts of my server and ipcop.

Any help please.

regards
svend gundestrup
 
Old 09-20-2006, 03:37 PM   #2
New2Linux2
Member
 
Registered: Jan 2004
Location: Arizona
Distribution: Debian, Ubuntu, CentOS and SuSE
Posts: 126

Rep: Reputation: 21
The problem might be something really easy, like a typo in your smb.conf:
Quote:
Originally Posted by gundestrup
netbios aliases = BORG-COLLEVTIVE
or it could be something rather complex like the need for a DNS server. Correct the easy first and we'll find out.
 
Old 09-20-2006, 04:42 PM   #3
gundestrup
LQ Newbie
 
Registered: May 2004
Distribution: Debian Sarge | Kubuntu | Suse
Posts: 19

Original Poster
Rep: Reputation: 0
Since you have my conf file, do you see any errors?

As fare as I know, it complies to the current documentation supplied by samba+all the guides/howto I could find on the net.

I have looked at it for hours, checking, an I can't find any errors :-(

I have added to my dns server, the hostnames, "borg-collective", "locutus" to the relevant server.

I think I might be a communication problem, due to the fact the I am using a DMZ setup.
Henze not allowing trafik from orange to greenzone.

So I am seeting info about anyone else that has had a similar problem.

Or is there is someone, with a knowlage that a setup with a domain server, in the DMA orange zone, will work with computers in an greenzone.

My intension is to provide roaming profiles, in my own home.

I am about to test if it wile work with one, or both thies solutions:
Make sure that samba broadcast on greenzone, (open one port)
Make sure that samba can make connection form orange to greenzone (port 139/137)

So if there is an expert/guru, that can help me, I would apriciate it a lot :-)

regards
svend
 
Old 09-28-2006, 02:07 PM   #4
New2Linux2
Member
 
Registered: Jan 2004
Location: Arizona
Distribution: Debian, Ubuntu, CentOS and SuSE
Posts: 126

Rep: Reputation: 21
I'm not about to claim guru status, but I'll try to help with some of the things I've learned recently.

First comment out the line:
Quote:
netbios aliases = BORG-COLLEVTIVE
like this
; netbios aliases = BORG-COLLEVTIVE

Next, add a line to define which network interfaces to use:
Code:
        interfaces = eth0 eth1 eth2
Of course, you will need to customize that to match your network interfaces.
Finally, make sure you have added all of your users to unix with "useradd" and to samba with "smbpasswd".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba 3.0.21a and Samba Domain Member Servers in a Windows 2003 ADS Domain ramz Linux - Networking 3 04-09-2006 08:26 PM
ldap/samba domain controler berrance Linux - Networking 0 02-02-2005 08:18 AM
Samba as windows domain controler SolidSnake Linux - Networking 3 01-27-2004 09:59 AM
Noobe Domain Controler Setup freezer Linux - Networking 10 12-09-2003 09:02 AM
Samba As a Domain Controler questions Evilone Linux - Software 4 01-22-2003 04:19 AM


All times are GMT -5. The time now is 04:23 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration