LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-01-2004, 02:04 PM   #1
Procrastinator
LQ Newbie
 
Registered: Sep 2004
Location: Denamrk
Distribution: Fedora Core 2
Posts: 6

Rep: Reputation: 0
Samba - client cant find domain


I am trying to set up samba as primary domain controller and with home-shares (so that users gain access to their homes on a network-drive. My smb.conf is currently looking like this:

[global]

workgroup = fri-dom

server string = Samba Server
netbios name = smbserv

printcap name = /etc/printcap
load printers = yes

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

max log size = 50

security = user

encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %nn *ReType*new*UNIX*password* %nn *passwd:*all*authentication*tokens*updated*successfully*

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

domain master = yes

preferred master = yes

domain logons = yes

logon script = logon.bat

wins support = yes

dns proxy = no

idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
[homes]
comment = Home Directories
browseable = yes
writable = yes

[netlogon]
comment = Network Logon Service
path = /netlogon
guest ok = yes
writable = no
share modes = no

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes

---END---

Now, my problem is that when i try to configure the client to the domain "fri-dom", it prints that the domain does not exist. What could be my problem?
 
Old 09-01-2004, 02:21 PM   #2
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
Are both your computers on the same subnet (the default (made up) ip address of windows computers seem to be 169.254.x.x while for linux, it is 192.168.x.x)? You should be able to ping
from each computer.

Is there a firewall blocking access to the ports that samba uses?
 
Old 09-01-2004, 03:01 PM   #3
Procrastinator
LQ Newbie
 
Registered: Sep 2004
Location: Denamrk
Distribution: Fedora Core 2
Posts: 6

Original Poster
Rep: Reputation: 0
Yes they are on the same subnet, i can both ping and see the workgroup of the server on the client in the network neighborhood (i can't enter it though).

The firewall on the client is totally disabled, and there are no ports that have to be opened on the server are there?
 
Old 09-01-2004, 03:27 PM   #4
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
We'll, I have a working SAMBA setup and here is the smb.conf:

[global]
workgroup = MSHOME
wins support = yes
encrypt passwords = yes
browsable = yes
security = share

[root]
path = /
read only = yes
guest ok = yes
public = yes

It's absolutely evil since it allows anyone to connect and shares /, but it works. Did
you have samba working before? If not, maybe try using my smb.conf. The complete
manuals to SAMBA are at www.faqs.org/docs/samba/ch00.html and in the /<prefix>/swat
dir if you built samba from the sources.
 
Old 09-01-2004, 04:23 PM   #5
Procrastinator
LQ Newbie
 
Registered: Sep 2004
Location: Denamrk
Distribution: Fedora Core 2
Posts: 6

Original Poster
Rep: Reputation: 0
I do not have access to the server until tomorrow morning, i'll try your smb.conf then.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
joining a linux client into the domain running Samba PDC zdehman Linux - Networking 2 08-18-2006 05:06 AM
samba-common/client 3.0.4 fails join Win2003 domain JimBass Linux - Newbie 2 07-02-2004 01:49 PM
An Easy way to get a Linux Client into the Samba Domain ikw38 Linux - Networking 0 07-11-2003 11:34 AM
Adding Samba client to NT domain PhilHalf Linux - Networking 1 02-20-2003 07:16 AM
SuSe 8.0 Samba Client on NT Domain netguynw Linux - Networking 0 02-07-2003 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration