[Samba] Samba4 oplocks: LibreOffice and Word file locking

Daniel Müller mueller at tropenklinik.de
Fri May 4 01:19:18 MDT 2012

I do not know exactly what you are trying to do!?
You have one Samba4 DC-ADS the master!
One samba3 the file and printserver!?
Both on a physical host!?
So you just need to let do Samba4 be the authentication and gpo part.
The samba3 host has to join as memberserver to the ads of the Samba4. Point the samba3 server to authenticate users
to the samba4.
For the samba4. Login from your admin PC with ads tools from Microsoft installed:

See also: http://support.microsoft.com/kb/816313/EN-US
Assign a home folder to a domain user
Note: To specify a network path for the home folder, you must first create the network share and set permissions that permit the user access. You can do this with Shared Folders in Computer Management on the server computer. 

To assign a home folder to a domain user: 1.Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers. 
2.In the console tree, click Users. 
3.In the Details pane, right-click the user account, and then click Properties.
4.In the Properties dialog box, click Profile.
5.Under the Home folder, type the folder information. To do this, follow these steps: 
•To assign a home folder on a network server, click Connect, and then specify a drive letter. 
•In the To box, type a path. This path can be any one of the following types: 
◦Network path, for example:
\\server\users\tester  ##server in your turn could be the samba3 host##

◦You can substitute username for the last subfolder in the path, for example:

Define the home directories on the samba3 host. 

Good Luck

EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de

-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von steve
Gesendet: Freitag, 4. Mai 2012 08:44
An: Jeremy Allison
Cc: samba at lists.samba.org
Betreff: Re: [Samba] Samba4 oplocks: LibreOffice and Word file locking

On 04/05/12 02:26, Jeremy Allison wrote:
> On Thu, May 03, 2012 at 07:33:53PM +0200, steve wrote:
>> Hi
>> I can't see how to do that. We currently have a single box S4 which 
>> serves both the Linux and Windows clients. The files are in the same 
>> folders on the same machine. S4 serves the Win boxes (ntvfs/cifs I
>> think) and nfs the Linux machines.
>> How would I get a separate s3 fileserver to do the same job? If that 
>> can be done then can we still keep nfs for our Linux clients?
>> Presumably on the same box as the s3 fileserver?
>> Summary
>> Server1: S4 AD DC
>> Server2: s3 and nfs fileserver joined to Server1 domain
> That's exactly how to do it. You could use VM's to create the 
> fileserver box or the S4 AD-DC.
> Jeremy.
Hi Jeremy
Thanks for the confirmation. The VM is a great idea.

Just one bit of confusuion:

When I create a new user, I create his homeDirectory in a share. I create the user on Server1. Can I at the same time, create his homeDirectory on Server2? Afterwards, how do I tell the clients to look at Server1 to authenticate and Server2 to get the data?

I understand, I have


How do I get the clients to distinguish between the two?

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list