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.
|
 |
07-26-2004, 02:22 PM
|
#1
|
LQ Newbie
Registered: Jul 2004
Posts: 15
Rep:
|
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
|
|
|
07-26-2004, 05:29 PM
|
#2
|
LQ Newbie
Registered: Jul 2004
Posts: 15
Original Poster
Rep:
|
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..
|
|
|
07-27-2004, 08:10 AM
|
#4
|
LQ Newbie
Registered: Jul 2004
Posts: 15
Original Poster
Rep:
|
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.
|
|
|
07-27-2004, 10:35 AM
|
#5
|
LQ Newbie
Registered: Jul 2004
Posts: 15
Original Poster
Rep:
|
bump bump bump...Iv been messing about with various things in the config file.. Ill have to post it later..
|
|
|
07-27-2004, 12:28 PM
|
#6
|
Member
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147
Rep:
|
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.
|
|
|
07-27-2004, 01:47 PM
|
#7
|
LQ Newbie
Registered: Jul 2004
Posts: 15
Original Poster
Rep:
|
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"
|
|
|
07-27-2004, 02:00 PM
|
#8
|
LQ Newbie
Registered: Jul 2004
Posts: 15
Original Poster
Rep:
|
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.
|
|
|
07-27-2004, 07:18 PM
|
#9
|
Member
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147
Rep:
|
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.
|
|
|
07-28-2004, 07:05 AM
|
#10
|
Member
Registered: Jul 2004
Location: Switzerland
Distribution: Debi@n, SuSE
Posts: 36
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 01:05 PM.
|
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
|
|