Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-27-2003, 12:04 PM
|
#1
|
Member
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62
Rep:
|
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.
|
|
|
11-27-2003, 12:54 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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
|
|
|
11-27-2003, 03:45 PM
|
#3
|
Member
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62
Original Poster
Rep:
|
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?
|
|
|
11-28-2003, 12:35 PM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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.
|
|
|
11-28-2003, 02:25 PM
|
#5
|
Member
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62
Original Poster
Rep:
|
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.
|
|
|
11-28-2003, 02:33 PM
|
#6
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
The path should be a valid unix path not a samba path. Doyou actually have a folder called "/LINUX" on the linux machine?
|
|
|
11-28-2003, 03:39 PM
|
#7
|
Member
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62
Original Poster
Rep:
|
Yeah the first folder is linux,
|
|
|
11-28-2003, 03:47 PM
|
#8
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
I think %u supposed to be %U
|
|
|
12-01-2003, 10:33 AM
|
#9
|
Member
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227
Rep:
|
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. 
|
|
|
12-26-2003, 06:47 PM
|
#10
|
Member
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227
Rep:
|
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. 
|
|
|
12-27-2003, 11:09 AM
|
#12
|
Member
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|