LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-02-2003, 08:42 PM   #16
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41

Don't know a great deal about Gnome since I tend to work from the command line.

Perhaps you could post your difficulty re: Gnome as a separate thread.

You should be able to use Samba after the firewall issue has been resolved. Haven't heard of any firewall issues with Red Hat 9.0.

Peace.
 
Old 06-03-2003, 04:08 AM   #17
cmoloney
Member
 
Registered: May 2003
Distribution: RedHat 8.0
Posts: 30

Original Poster
Rep: Reputation: 15
I've disabled the Gnome gui and rebooted to the command line and - just to make sure - I stopped the iptables from the console.
But I'm still getting the message from the winserver "The domain controller for this domain cannot be located"!!!

I'm wondering about the smbusers file in /etc/samba. I would expect to find the cmoloney user there and the user mars$ (the Win server) there. Since they are not there does that point to an error somewhere or are these normally stored elsewhere?
 
Old 06-05-2003, 04:05 PM   #18
balam
Member
 
Registered: Nov 2002
Location: us
Distribution: red hat
Posts: 143

Rep: Reputation: 15
Hi guys well I have almos the same problem, I was using red hat 9
and Have a samba pdc, my smb.conf file is fine. is weird "coz, I was able to join a windoz box to the domain, I login in the windos box in to the samba domain. cool. so I ran to the second windows box, and try to join to the domain, I got the wellcome to domain - I rebbot the damn machine, and when I try to login to the domain I got
the messages that " user name or domain does not exist" weird because I was try to login as root ( I use root user to join the machine in to the domain) any help guys
 
Old 06-06-2003, 05:10 AM   #19
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Cmoloney,

How did you disable the firewall?

Please post your current smb.conf file.

Balam,

Please post your smb.conf file. Which Windows clients are you using on the first and second machines?
 
Old 06-06-2003, 08:24 AM   #20
balam
Member
 
Registered: Nov 2002
Location: us
Distribution: red hat
Posts: 143

Rep: Reputation: 15
post my smb

I have window$ 2000 boxes,

[global]
# netbios bla, bla, bla
workgroup = balam
netbiosname = SAMBA_PDC
server string = Linux net

# LogSamba
log file = /var/log.%m

# PDC's
domain master = yes
prefered domain = yes
domain logons = yes
os level = 65
security = user


# Passwords
encrypt passwords = yes
update encrypted = yes
password level = 4

# Administra. PDC
domain admin users = root

# Performance
short preserve case = yes
max log size = 5000
case sensitive = no
default case = lower
mangle case = no
dead time = 15
read raw = yes
write raw = yes
socket options = TCP_NODELAY
oplocks = yes
fake oplocks = no
debug level = 2
preserve case = yes
getwd cache = yes


printing = cups
load printers = yes

[homes]
path = /home/%u
comment = samba users
browseable = yes
writeable = yes
 
Old 06-15-2003, 11:39 AM   #21
cmoloney
Member
 
Registered: May 2003
Distribution: RedHat 8.0
Posts: 30

Original Poster
Rep: Reputation: 15
Sorry guys. I had to go away for a seminar. Thanks for your continuing interest.

I disabled the firewall by disabling the IPtables & IPchains.
Still no progress. All accounts are there as unix accounts & as samba accounts. But windows is persistent in refusing to see the domain.

Here is the current smb.conf file. It seems to have acquired some lines by itself.

Did you get yours fixed Balam?
cheers
Chris


# This file is largely copied from the tutorial at www.ibm.com/developerworks: Using Samba as a PDC
# Samba configuration file
# /etc/samba/smb.conf
# May 23rd 2003

# =================================================================================
[global]
log file = /var/log/samba/log.%m
hosts equiv = /etc/samba/smbusers
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
wins server = mars$
logon drive = H
domain master = yes
username map = /etc/samba/smbusers
encrypt passwords = yes
hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0
logon home = \\%L\%U\
netbios name = mercury.webregistry.com.au
netbios aliases = mercury
server string = samba pdc running %v
logon script = netlogon.bat
default = netlogon
local master = yes
workgroup = webregistry
logon path = \\%L\profiles\%U
os level = 64
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u
max log size = 50
log level = 2

[homes]

comment = Home Directories
browseable = no
writeable = yes

[profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700

[netlogon]
comment = Network Logon Services
path = /home/netlogon
browseable = no
write list = @admin

[max]
writeable = yes
delete readonly = yes
path = //192.168.1.10/home/max
write list = admin,max
revalidate = yes
comment = max' home directory
valid users = max,admin
user = admin,max

[Kyocera1]
postscript = yes
printer = Kyocera1
printable = yes


[padraic]
writeable = yes
delete readonly = yes
path = //192.168.1.10/home/padraic
write list = admin,padraic
revalidate = yes
force user = padraic
valid users = padraic,admin
user = admin,padraic
 
Old 06-16-2003, 09:17 AM   #22
balam
Member
 
Registered: Nov 2002
Location: us
Distribution: red hat
Posts: 143

Rep: Reputation: 15
looks like it?

I just install samba beta 3.0 in I have no problem, All my user are login in fine. Now I have other issues that I am try to figure out my self , I f I can not I will be back to this forum
thanks again guys.
 
Old 06-18-2003, 06:49 AM   #23
cmoloney
Member
 
Registered: May 2003
Distribution: RedHat 8.0
Posts: 30

Original Poster
Rep: Reputation: 15
Well this is a strange thing. In some desperation I went back & did a clean install of RH9 (with no firewall) and configured it as the samba pdc exactly according to the ibm tutorial. Before doing anything else I went to the LMHost file in /etc/samba and edited it to include all the servers in the network. Remarkably the NT server now sees the pdc and the pdc authenticates the ntserver .... but only if it logs on as Administrator (the default NT logon that -curiously- I didnt make on the Linux PDC). No sir! It will not log on to the domain as any of the users who have been created on the linux/samba pdc.
So it is begining to seem a little obvious that samba, as it is provided with RH9, is short of a few clues. Specifically the ones to recognise and integrate the user files in the linux and samba directories.
Maybe this is why all the folks on this board having samba problems are struggling to make it run on RH9.

I'm thinking now to junk the samba install that came with RH and to make a clean install from the samba.org tarball. But, I'm just wondering - bfore going through all that - if anyone can suggest another strategy that might be smarter and faster?
Thanks
Chris
 
Old 06-18-2003, 07:34 PM   #24
balam
Member
 
Registered: Nov 2002
Location: us
Distribution: red hat
Posts: 143

Rep: Reputation: 15
Hmmmmm

I Agree with you, coz, I had problmes, useing the samba from redhat 9.0 too, so , I did think of that but I never considered the problem, seems that you find a bug on the hat.
that will explain why instlling samba from samba.org does work.
I will recomend you to download a tar ball and just install it <./configure make makeinstall>
do not need to rpm -e xxxxxxxsambaxxxx.rpm

let us know
 
Old 06-19-2003, 11:23 AM   #25
ikw38
Member
 
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Rep: Reputation: 30
Balam,
I too have been having 3 diffrent kinds of hell trying to get Samba to toalk to my Vendozes box and like you I keep coming up with
errors like "you maynot have permmision to browse this network" or Windows can not find a DNS. I never thought about a fire wall so I will check this-
I am runnng SuSE 8.2 pro. Which has proven to be relaible and stable for me.
My next question is that if I go with 3.0 Samba do I just install it over the exsisting one or do I remove 2.27.x first?

I can my Vendowzes in Linux side fine just the other side that get upset...

ikw38
 
Old 06-19-2003, 12:36 PM   #26
balam
Member
 
Registered: Nov 2002
Location: us
Distribution: red hat
Posts: 143

Rep: Reputation: 15
you no need to

remove the old samba . just make sure tha you have backup of your smb.conf file, ( copy it to a floppy)
then go to samba.org get a rpm ( I belive there is a rpm for redhat 9) or better get a tarball (aka samba3.tar.gz)
if you get the tarball make sure that you are root or su,
in order to run the commnad.
at the directory where you have samba aka /home/you/samba
do this

./configure ----this may take a some time

then when it finish ( you are back at the comand line)

type make

(this takes a long time even in a p4 box)

and finally when it finish

do this


make install

( this takes logn time too)

indeep-
the ./configure command make yur sistem ready for the software
the make well makes the source a binary to install
and finally make install install the software.

once done

restart samba

/etc/rc.d/init.d/smb restart

check fire wall on linux box.
remember create user on samba server
smbpasswd -a your-user-name

restart samba again

go to the damn window$ box open network and look for the linux box, doble click it if asks for user id and password type one (the you create on the samba server)
let us know how this goes.

best wishes.

by the way I am looking for ajob in linux I lost my job last week
damn Pratt and W. company.
 
Old 06-19-2003, 01:38 PM   #27
ikw38
Member
 
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Rep: Reputation: 30
Thanks Balam,
Sorry about your job- I went 9 mos with out a job- the first time then only to get laid off again after 3 mos- now I am fortunate to have this job at a Dr. Office as an Admin part time.
They say the market is getting better- I believe this but it hard when you can't find full time work.
Don't knw where you live but in Dallas it not the place to be in IT right now....
 
Old 06-21-2003, 02:58 AM   #28
cmoloney
Member
 
Registered: May 2003
Distribution: RedHat 8.0
Posts: 30

Original Poster
Rep: Reputation: 15
Did you guys get the Linux side of your network going BEFORE you tried to get samba running? or afterwards?
 
Old 06-21-2003, 09:22 AM   #29
ikw38
Member
 
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Rep: Reputation: 30
My network was already up and running.
I went ahead and down loaded Samba 3 and used Balam's script up above. IT wirks and IT ROCKS.

Make darn sure you can at least see your Vendows in a workgroup this way you know your networkis working.

Good luck,
ikw38
 
Old 06-27-2003, 11:35 AM   #30
cmoloney
Member
 
Registered: May 2003
Distribution: RedHat 8.0
Posts: 30

Original Poster
Rep: Reputation: 15
Might try that
thanks
Chris
 
  


Reply



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
Samba without authentication maginotjr Slackware 6 11-21-2005 05:07 PM
Samba Authentication Methods garullon245136 Linux - Newbie 2 08-07-2005 01:20 PM
Samba Authentication Methods garullon245136 Linux - Networking 2 07-12-2005 06:31 PM
Samba authentication leeloo2 Linux - Newbie 2 12-13-2004 05:32 PM
Samba authentication ltrain Linux - Networking 1 06-13-2001 03:44 PM

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

All times are GMT -5. The time now is 05:11 AM.

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