LinuxQuestions.org
Help answer threads with 0 replies.
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 07-26-2004, 02:22 PM   #1
dazzyboi
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Rep: Reputation: 0
Linux NooB.. Help configuring SuSe 9.1 Networking/Server


Im trying to set-up SuSe 9.1 pro to become a domain controller and to allow windows XP clients to log onto the server for a number of services. (e.g. print sharing, file sharing, Routing for an ADSL connection) etc etc etc..

Iv set-up the configuration of the network card in the SuSe machine and this is connected to my router..Now on the windows machine's i can see the Samba server but i cannot gain internet access and Network access from the SuSe machine...

Im also having trouble configuring the workgroup/Domain settings.. What am i doing wrong??

Please help a nOOb
 
Old 07-26-2004, 05:29 PM   #2
dazzyboi
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Bump Bump Bump... I have got the net working but now i want the box to become a primary domain controller that the windows machines can connect to, so i want to add/manage users.. I cant work out how to do it..
 
Old 07-26-2004, 09:23 PM   #3
NetAX
Member
 
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147

Rep: Reputation: 17
http://us3.samba.org/samba/ftp/docs/...PDC-HOWTO.html

This is assuming you know the basic operation and function of Samba
 
Old 07-27-2004, 08:10 AM   #4
dazzyboi
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Does that guide apply to windows xp? as im trying to join the domain from a windows pc with the root account and password and i keep getting the error message "Cannot join the domain, access denied"

Last edited by dazzyboi; 07-27-2004 at 08:19 AM.
 
Old 07-27-2004, 10:35 AM   #5
dazzyboi
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
bump bump bump...Iv been messing about with various things in the config file.. Ill have to post it later..
 
Old 07-27-2004, 12:28 PM   #6
NetAX
Member
 
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147

Rep: Reputation: 17
What Windows XP version are you using?

If your using XP Home Edition, you cannot join a domain.
Microsoft chose not to make XP Home a fully compatible network client.


Only XP Professional will allow you to join a domain. XP Professional requires that the registery of each computer joining the domain be edited.

Best of luck.
 
Old 07-27-2004, 01:47 PM   #7
dazzyboi
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
XP Pro, iv changed the registry keys from 1 to 0 but i think all i have to do is try and sort my smb.conf file out..At the moment when ever i try and join the domain i get an error saying "Cannot join domain, Access denied"
 
Old 07-27-2004, 02:00 PM   #8
dazzyboi
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
This is my smb.conf file...

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2004-04-06
[global]
workgroup = morandad.local
interfaces = 127.0.0.1 eth0
bind interfaces only = true
printing = cups
printcap name = cups
printer admin = @ntadmin, root, administrator
map to guest = Bad User
security = user
encrypt passwords = yes
server string = Samba Server
hosts allow = 192.168.1.1/255.255.255.0 d-link (Is this ip of linux box?)
netbios name = morandad.local
useradd -d /dev/null -c dazroomt10 account -s /bin/false dazroomt10$
passwd -l dazroomt10$
smbpasswd -a -m dazroomt10
smbpasswd root
domain master = yes
domain logons = yes
preferred master = yes
logon path = \\%n\profiles\%u (Is this correct)
logon drive = q: (Is this correct)
logon home = \\saturn\%u (This was an e.g. would mine be c:?)
local master = yes
preferred master = yes
os level = 65
ldap suffix = dc=example,dc=com
ldap admin dn = ou=ldapconfig,dc=example,dc=com


[net logon]
comment = the domain logon service
path = /var/lib/samba/netlogon
guest ok = yes
writable = no
share modes = no

[homes]
comment = Home Directories
valid users = %S
browseable = no
read only = No
guest ok = no
printable = no
[users]
comment = All users
path = /home
writeable = Yes
inherit permissions = Yes
veto files = /aquota.user/groups/shares/
browseable = yes
guest ok = no
printable = no
[groups]
comment = All groups
path = /home/groups
writeable = Yes
inherit permissions = Yes
browseable = yes
guest ok = no
printable = no
[pdf]
comment = PDF creator
path = /var/tmp
printable = yes
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
create mask = 0600
browseable = yes
guest ok = no
[printers]
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = no
guest ok = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
browseable = yes
guest ok = no
printable = no



Last edited by dazzyboi; 07-27-2004 at 02:02 PM.
 
Old 07-27-2004, 07:18 PM   #9
NetAX
Member
 
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147

Rep: Reputation: 17
try to change the 'security=user' paremeter to 'security=server' or 'security=share'. I don't really know if that is going to work but its a guess.

You said you have SuSE 9.1 right? try using the YaST/YaST2 GUI to configure samba as a Primary Controller. I think that is under network services. Make sure you save the current smb.conf file under a different name first.
 
Old 07-28-2004, 07:05 AM   #10
Kess78
Member
 
Registered: Jul 2004
Location: Switzerland
Distribution: Debi@n, SuSE
Posts: 36

Rep: Reputation: 15
Hi,
first change the parameter security=domain.
second: you have to understand a thing. SAMBA users are not the same thing of UNIX USERS: so root doesn't exist for samba.
create yours UNIX users and then for each user type: smbpasswd -a UNIXUSER
This will associate UNIX users to SAMBA users with the same names.

Hope this helps, bye Kess.
 
  


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
Noob attempt at running SUSE Linux 10 as DHCP/DDNS/NFS/Samba Server Robhemmings Linux - Networking 1 04-12-2006 09:13 AM
Noob trying to make a Linux network server. scooterx87 Linux - Newbie 5 08-21-2005 08:19 AM
Linux networking noob: What am I doing wrong? lectraplayer Linux - Networking 2 02-02-2005 08:27 PM
SuSE Linux 9 - Password and Display problems - noob lovelyguinness Linux - Distributions 4 10-31-2004 01:06 PM
Linux-Networking Configuring Samba and Firewall Pradeep Linux - Networking 0 11-26-2001 11:26 PM

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

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