Samba configuration (?)


 
Thread Tools Search this Thread
Operating Systems Linux Samba configuration (?)
# 1  
Old 03-25-2009
Samba configuration (?)

I'm trying to setup OpenSUSE 11.0 as a PDC on a small test network at home.

So far it's sort of going good I guess. I'm setup SUSE and think I have configure Samba correct, well sort of. Not really what I was after. I wanted SUSE to act as a PDC and have a Windows XP machine be able to join the domain (with SUSE as the PDC).

I am aware that the samba users also have to be system users (that's what I read) on the Linux box. Have turned LDSP Server - ON (Doesn't make a difference though). Turned 'Samba Server' - ON. Below is the smb.conf file (this is just a test/trial run I'm trying here).

Code:
[global]
	workgroup = domain
	printing = cups
	printcap name = cups
	printcap cache time = 750
	cups options = raw
	map to guest = Bad User
	logon path = \\%L\profiles\.msprofile
	logon home = \\%L\%U\.9xprofile
	logon drive = P:
	usershare allow guests = No
	add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
	domain logons = Yes
	domain master = Yes
	security = user
	netbios name = test
	local master = Yes
	os level = 65
	preferred master = Yes

[homes]
	comment = Home Directories
	valid users = %S, %D%w%S
	browseable = Yes
	read only = No
	inherit acls = Yes
[profiles]
	comment = Network Profiles Service
	path = %H
	read only = No
	store dos attributes = Yes
	create mask = 0600
	directory mask = 0700
[users]
	comment = All users
	path = /home
	read only = No
	inherit acls = Yes
	veto files = /aquota.user/groups/shares/
[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit acls = Yes
[printers]
	comment = All Printers
	path = /var/tmp
	printable = Yes
	create mask = 0600
	browseable = No
[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775

[netlogon]
	comment = Network Logon Service
	path = /var/lib/samba/netlogon
	write list = root

I played around with a few other things but they are back to default settings of turned off now as that didn't seem to make any difference.

From my Windows XP machine (client/workstation) I can't join a domain, but I can join the SUSE box as a WORKGROUP. I can view the shared folders etc which is all good and well.

But I really wanted to setup as a PDC. I've searched google and can't really find any specific documents for setting up Linux (specifically OpenSUSE) for a PDC. I was wondering if anyone can lead/push me in the right direction to some good reading which might be able to help me setup a PDC and not create a workgroup.

Thanks in advanced.

EDIT: When setting up Samba Server I did select Primary PDC in the settings.

Last edited by woofie; 03-25-2009 at 07:59 AM.. Reason: updating info
# 2  
Old 03-25-2009
After doing some more reading I think I might have to edit the smb.conf file the old fashion way Smilie

I've found some information which might help me. Just to confirm I'm going in the right direction though;
- I configure the smb.conf file
- add a user to the linux box
- use the adduser to add the client_pc then change this from user to a PC?
Quote:
John is the user that we are going to use and to client_pc is the machine that is going to enter the domain
Now we must publish the configuration file so that client_pc does not stay as user.

dc#nano /etc/passwd


It is necessary to put sign $ of such form that is left something like this

John:x:1004:1004:,,,:/home/leonardo:/bin/bash
client_pc$:x:1010:1010:,,,:/home/manager$:/bin/bash
- then create the above in samba
- then reboot (or manually restart samba)
- join the Windows XP machine to the domain

Can someone just confirm if I'm going down the right path here with this?

Thanks heaps Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. IP Networking

Samba ha configuration require

I HAVE TO DESIGN TWO NODE SAMBA HA SERVER, TO DO THIS I NEED YOUR HELP, HOW CAN CONFIGURE SUCH SCENARIO? REGARDS PRAMOD INGOLE (4 Replies)
Discussion started by: pramod_ingole
4 Replies

2. UNIX for Dummies Questions & Answers

Ubuntu Server 14.04 LTS - domain controller configuration (SAMBA)

Hello! Never configured a Linux server from a scratch. Reviewed the official documentation and dozens of different "how to", but now one of them helped me to solve the issue. The need: My final goal is to install a small network (later with around 10 stations) where I can controle the... (0 Replies)
Discussion started by: AQwert
0 Replies

3. UNIX and Linux Applications

Samba configuration

Good morning. I installed Samba on my server but I need some help in consfiguratin: 1. Access only for users from my network 2. Create catalog for all users, users not login - only read, users log in - all(read, create, write) 3. Create catalog for users group. If we create some group users... (2 Replies)
Discussion started by: Budrys
2 Replies

4. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

5. Solaris

solaris samba configuration without wins service from authentication window server/Active directory

Hi All, We are using solaris samba server for our company project to provide access to code to our development team.Recently our ICT has disabled wins service on Active directory due which user are not able to connect to samba share and they are getting error "No logon server available" as samba... (2 Replies)
Discussion started by: sahil_shine
2 Replies

6. UNIX for Dummies Questions & Answers

samba server configuration on linux.

Today I have configured samba server on my linux machine .I thought it would be better if i share it here and get feedback from an experienced users. This configuration is based on Redhat release 5. # lsb_release -a LSB Version: ... (0 Replies)
Discussion started by: pinga123
0 Replies

7. Red Hat

Re:Configuration of samba services

Hi, Can any one give me the simple way of configuring samba services on the linux server & similarly what are the thing that have to be done on the client side. Thanks & Regards Venky (0 Replies)
Discussion started by: venky_vemuri
0 Replies

8. Red Hat

krb5.h not usable and not found during samba configuration error

Hi folks, I am using RH linux server 8.0 and have downloaded latest samba package for it. While configuring samba with --with-krb5 option while making this server join a windows AD domain, it gives the following error. active directory cannot be supported... (1 Reply)
Discussion started by: dextergenious
1 Replies

9. UNIX for Dummies Questions & Answers

Samba 3.0.24 Configuration Problem

Dear all, I have set the security level to user. My samba is running on Unixware 7.1.4. I get the following screen error when trying to login from windows clients.... (0 Replies)
Discussion started by: ndege
0 Replies
Login or Register to Ask a Question