Sponsored Content
Full Discussion: Samba configuration (?)
Operating Systems Linux Samba configuration (?) Post 302300823 by woofie on Wednesday 25th of March 2009 06:50:11 AM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
VFS_SHADOW_COPY(8)					    System Administration tools 					VFS_SHADOW_COPY(8)

NAME
vfs_shadow_copy - Make a Samba share read only for a specified time period SYNOPSIS
vfs objects = shadow_copy DESCRIPTION
This VFS module is part of the samba(7) suite. The vfs_shadow_copy VFS module functionality that is similar to Microsoft Shadow Copy services. When setup properly, this module allows Microsoft Shadow Copy clients to browse "shadow copies" on Samba shares. This module is stackable. CONFIGURATION
vfs_shadow_copy relies on a filesystem snapshot implementation. Many common filesystems have native support for this. Filesystem snapshots must be mounted on specially named directories in order to be recognized by vfs_shadow_copy. The snapshot mount points must be immediate children of a the directory being shared. The snapshot naming convention is @GMT-YYYY.MM.DD-hh.mm.ss, where: o YYYY is the 4 digit year o MM is the 2 digit month o DD is the 2 digit day o hh is the 2 digit hour o mm is the 2 digit minute o ss is the 2 digit second. The vfs_shadow_copy snapshot naming convention can be produced with the following date(1) command: TZ=GMT date +@GMT-%Y.%m.%d-%H.%M.%S EXAMPLES
Add shadow copy support to user home directories: [homes] vfs objects = shadow_copy CAVEATS
This is not a backup, archival, or version control solution. With Samba or Windows servers, vfs_shadow_copy is designed to be an end-user tool only. It does not replace or enhance your backup and archival solutions and should in no way be considered as such. Additionally, if you need version control, implement a version control system. VERSION
This man page is correct for version 3.0.25 of the Samba suite. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. Samba 4.0 06/17/2014 VFS_SHADOW_COPY(8)
All times are GMT -4. The time now is 05:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy