
11th December 2005, 21:27
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
SAMBA (Domaincontroller) Server For Small Workgroups With Ubuntu 5.10
Hi,
I went through the howto and I can see my server in windows but I can't access it. I get "The network path was not found" error. Any help?
|

11th December 2005, 21:38
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
oh and when I try it from an ubuntu computer I get a timeout.
There's no firewall set up on the server machine (yet)
|

11th December 2005, 22:48
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Have a look in the logs under /var/log/samba and the syslog for errors.
Have you entered the network name + IP of the server and the workstation(s) in the hosts file of your Samba server?
What output do you get when you run this command as root on your samba server:
smbclient -L localhost -U%
|

12th December 2005, 05:55
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I am having a different error. When I try to connect the the domain I get the following error on my Windows PC.
The following error occurred attempting to join the domain "HOME":
Logon Failure: unknown user name or password.
Don't you have to add accounts for the windows pc's also for domain logons to work?
|

12th December 2005, 09:30
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Quote:
|
Originally Posted by rbelk
I am having a different error. When I try to connect the the domain I get the following error on my Windows PC.
The following error occurred attempting to join the domain "HOME":
Logon Failure: unknown user name or password.
|
You have to add an user account first (for the user, not the machine). It is decribed on this page at the top:
http://www.howtoforge.com/samba_setup_ubuntu_5.10_p5
Quote:
|
Don't you have to add accounts for the windows pc's also for domain logons to work?
|
No, not manually. If you join the domain with a windows PC, the machine account is created automatically by the add machine script defined in the samba.conf.
|

12th December 2005, 12:39
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I copied this from the howto
# Useradd scripts
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/usernod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false/ -d /var/lib/nobody %u
idmap uid = 15000-20000
idmap gid = 15000-20000
Is the bold line correct? I don't have a command "/usr/sbin/usernod".
|

31st December 2005, 03:05
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
So I got everything to work. I can read/write in windows but I can only get read-only access in linux. I've tried changing the config but it doesn't seem to change anything. The files are marked as if they have root:root ownership.
Help!
|

31st December 2005, 13:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
What do you mean with read only access from linux? The howto is for anabling Windows workstations to store their data on the samba server, its not an NFS howto for connecting linux workstations to the server.
If your files are marked as root:root owner, then you used the wrong user in windows. You will have to create a new linux + samba user, the connect with this username and password from windows. Not with the Administrator user. The Administrator is the root user on linux, it is only used in the process of adding your workstation to the domain to authorize you once as admin.
|

31st December 2005, 13:22
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'm not sure you understand.
I have both linux and windows computers connecting to the samba server. Like I said everything works fine on the windows computer (read+write, and i do login as a samba user) but on my linux computer I can only read (unless I use sudo).
Last edited by Dagur; 31st December 2005 at 13:24.
|

31st December 2005, 14:47
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
This looks more like a problem on your linux workstation. Which user do you sue to connect from your linux worksattion and wich program / command do you use, smbmount?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 09:28.
|
Recent comments
1 day 8 hours ago
1 day 13 hours ago
1 day 17 hours ago
1 day 19 hours ago
2 days 9 hours ago
2 days 9 hours ago
2 days 14 hours ago
2 days 21 hours ago
2 days 22 hours ago
2 days 23 hours ago