LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-27-2003, 12:04 PM   #1
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Rep: Reputation: 15
Problem with Samba as a PDC


I was able to join my computer(computer name shawn2) to the samba domain(home), i typed my pass word and username hit enter, and it said welcome to the domain HOME!!!, then it asked me to restart, i did, it came up with a logon screen I chose the domain home, and typed the username and password, it said "Windows cannot connect to the domain, it is down or other wise unavailable or your computer account was not found", my domain is till up, and I have a machine account for my computer, what could be wrong, how can I check if my machine account is functioning properly? This is urgent. Thanks in advance for the help.
 
Old 11-27-2003, 12:54 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
A few possibilities:
1) Check that the services are running:
netsat -nlp
2) Check that you don't have any firewall rules blocking requests:
iptables -Ln
 
Old 11-27-2003, 03:45 PM   #3
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Original Poster
Rep: Reputation: 15
netstat returned this, I'm not sure what i was supposed to look for,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN
-
tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN
-
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
-
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
-
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
-
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
-
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
-
udp 0 0 0.0.0.0:32768 0.0.0.0:*
-
udp 0 0 0.0.0.0:68 0.0.0.0:*
-
udp 0 0 0.0.0.0:111 0.0.0.0:*
-
udp 0 0 0.0.0.0:631 0.0.0.0:*
-
udp 0 0 0.0.0.0:889 0.0.0.0:*
-
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Pat
h
unix 2 [ ACC ] STREAM LISTENING 5062 4924/gnome-settings /tm
p/orbit-shawn/linc-133c-0-6f8c74c8c1b33
unix 2 [ ACC ] STREAM LISTENING 5149 4943/magicdev /tm
p/orbit-shawn/linc-134f-0-272107ed2bd37
unix 2 [ ACC ] STREAM LISTENING 5159 4939/gnome-panel /tm
p/orbit-shawn/linc-134b-0-272107ed52a55
unix 2 [ ACC ] STREAM LISTENING 4888 - /tm
p/.gdm_socket
unix 2 [ ACC ] STREAM LISTENING 5177 4941/nautilus /tm
p/orbit-shawn/linc-134d-0-272107ed6b043
unix 2 [ ACC ] STREAM LISTENING 5202 4946/eggcups /tm
p/orbit-shawn/linc-1352-0-272107eda1c8d
unix 2 [ ACC ] STREAM LISTENING 5307 4950/python /tm
p/orbit-shawn/linc-1356-0-410c285ed1030
unix 2 [ ACC ] STREAM LISTENING 5347 4960/notification-a /tm
p/orbit-shawn/linc-1360-0-25f256709303
unix 2 [ ACC ] STREAM LISTENING 5399 4965/oafd /tm
p/orbit-shawn/orb-18685747021541697591
unix 2 [ ACC ] STREAM LISTENING 5080 - /tm
p/.fam_socket
unix 2 [ ACC ] STREAM LISTENING 5439 4973/bonobo-moniker /tm
p/orbit-shawn/orb-146065476825201082
unix 2 [ ACC ] STREAM LISTENING 5572 4998/evolution-alar /tm
p/orbit-shawn/orb-18322384671856305574
unix 2 [ ACC ] STREAM LISTENING 5991 5036/gnome-terminal /tm
p/orbit-shawn/linc-13ac-0-540df516b3056
unix 2 [ ACC ] STREAM LISTENING 4784 - /tm
p/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 4652 - /tm
p/.iroha_unix/IROHA
unix 2 [ ACC ] STREAM LISTENING 4999 4918/gconfd-2 /tm
p/orbit-shawn/linc-1336-0-5d2d34b7508d7
unix 2 [ ACC ] STREAM LISTENING 4898 - /tm
p/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 4977 4915/ssh-agent /tm
p/ssh-XXxjZI83/agent.4872
unix 2 [ ACC ] STREAM LISTENING 5012 4872/gnome-session /tm
p/.ICE-unix/4872
unix 2 [ ACC ] STREAM LISTENING 4647 - /de
v/gpmctl
unix 2 [ ACC ] STREAM LISTENING 5507 4982/esd /tm
p/.esd/socket
unix 2 [ ACC ] STREAM LISTENING 5007 4872/gnome-session /tm
p/orbit-shawn/linc-1308-0-c9eac816145d
unix 2 [ ACC ] STREAM LISTENING 5022 4920/bonobo-activat /tm
p/orbit-shawn/linc-1338-0-45e6c83930cc8
unix 2 [ ACC ] STREAM LISTENING 5048 4922/metacity /tm
p/orbit-shawn/linc-133a-0-20d1c025ad493
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


and when i try to run the iptables command it says "bash: iptables: command not found"
do i need to install something?
 
Old 11-28-2003, 12:35 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
For iptables you may need:
/sbin/iptables

Don't worry though it just looks like samba isn't running. ou just need to start he service. How you do that depends on your distro and how you installed samba.
 
Old 11-28-2003, 02:25 PM   #5
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Original Poster
Rep: Reputation: 15
Ok, i got my computer to log in and its working now, the problem was there was proble, with a trust account, now I have another problem, when I log in with windows, I get two message boxes, one saying it can't find a server side profile so it is goin to use a local profile, the second saying it can't find a local profile, its just gonna use a temp profile, whats wrong here, heres my samba configuration file, I havn't created a net logon script yet, yhe .bat one, is this the problem,


[global]
netbios name = LINUX
workgroup = HOME
os level = 64
passdb backend = tdbsam
preferred master = yes
domain master = yes
local master = yes
security = user
domain logons = yes
encrypt passwords = yes
wins support = yes
unix password sync = no
add user script=/usr/local/samba/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
logon drive = X:
logon home = /LINUX/profiles/%u/winprofile
logon script = logon.bat

[Profiles]
path = /LINUX/profiles/%u
writeable = yes
browseable = no
read only = no
create mask = 0600
directory mask = 0700


[Homes]
path = %H
valid users = %S
read only = no
create mask = 0600
directory mask = 0700


[netlogon]
path = /LINUX/netlogon
read only = yes
write list = ntadmin

on my Hard drive, i have setup for profile, /LINUX/profiles yhen i have a folder for the person, inside the persons folder is a winprofile folder, and just in the linux folder i also have a netlogom folder that i will use for the scripts
heres a hiearchy of it

/ LINUX
-/netlogon
-/profiles
---/root
------/winprofile

Whats setup wrong here?

Last edited by bluedude2288; 11-28-2003 at 02:28 PM.
 
Old 11-28-2003, 02:33 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The path should be a valid unix path not a samba path. Doyou actually have a folder called "/LINUX" on the linux machine?
 
Old 11-28-2003, 03:39 PM   #7
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Original Poster
Rep: Reputation: 15
Yeah the first folder is linux,
 
Old 11-28-2003, 03:47 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I think %u supposed to be %U
 
Old 12-01-2003, 10:33 AM   #9
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Do you have appropriate permissions to the folder? I had the "profile" problem" and found that when I created the folder, it still gave me problems. So I checked and found that I hadn't given myself permissions to the folder. Then it fired right up. Just my 2 cents. I'm a linux newbie, so take my advice with a pound and a half of salt.
 
Old 12-26-2003, 06:47 PM   #10
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
One other little tidbit. I found that if I logged off and then back on on the Windows machine, it would tell me the exact same thing (can't find the domain), except it would be ok once I rebooted the windows machine. I found that if I changed the profile in Windows from roaming to local, it fixed my issue (right click My Computer, Properties, User Profiles, on Win2k I think). Thought I'd share that so you wouldn't bang your head on the desk like I did for an hour.
 
Old 12-27-2003, 03:20 AM   #11
treed
Member
 
Registered: Sep 2003
Posts: 45

Rep: Reputation: 15
you need to change the some registry setting on the windows machine
Check this website out:
http://hr.uoregon.edu/davidrl/samba-...ial.html#build
 
Old 12-27-2003, 11:09 AM   #12
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Original Poster
Rep: Reputation: 15
Thanks everyone, I just found out my problem, it had to do with the regestrys in windows, i changed the settings but it still wasn't working, my problem was that I changed too many settings, but I changed them back and now they work! Thanks
 
  


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
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Samba PDC Problem daveboyle Linux - Software 1 01-16-2006 07:55 AM
Samba as PDC problem jrmontg Linux - Networking 7 07-19-2005 02:53 PM
Samba PDC Problem rshooper Linux - Software 3 09-21-2004 05:33 PM
Samba as PDC problem raven Linux - Networking 2 06-20-2003 05:33 PM

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

All times are GMT -5. The time now is 09:09 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