[Samba] write problem from mac osx 10.8.5 clients to samba 4

Jason MacChesney jason.macchesney at ecacs16.ab.ca
Thu Oct 3 08:40:52 MDT 2013


Hey Athan, I was able to deploy OSX in a samba4 environment. Here is my
procedure:

go to System Preferences > User and Groups and create a new account with
admin privileges. This will be developed into a default profile for domain
users. Log out and in with the user.

Open Keychain Access and delete "Login"

Spend some time opening all the applications on the operating system,
registering all welcome prompts, and performing all necessary
updates/changes.

***THIS MAY BE WHAT YOU'RE LOOKING FOR"***
Go back to System Preferences > User and Groups. Right-click the
appropriate account > Advanced Options: set the Home Directory to
smb://[REALM_OF_DC]/$USER

Open a terminal:
sudo rm /Users/[new_default_account]/Library/Caches/*
sudo rm -rf /System/Library/User\ Template/English.lproj/*
cd /System/Library/User\ Template/English.lproj/
sudo rsync -rav /Users/[new_default_account]/ . (that's a period, so you're
copying into the present working directory above)

Apple > Recent items > Clear Menu
Reboot into your normal Admin account.
Disk utility > repair disk permissions
Delete the account that's been set up.

As Admin, let's bind to the domain controller. Head back to Users and
Groups and head to Login Options.
Edit Network Account Server > Open Directory Utility > Active Directory
Bind to your active directory FQDN.
Under User Experience, uncheck both "Create mobile account at login" and
"Force local home directory on startup disk."

The one other clincher, I think, was going to the ADUC snap-in and mapping
the home directory for all users.


On Thu, Oct 3, 2013 at 6:04 AM, Athan DE JONG <athan.dejong at yahoo.fr> wrote:

> Hi
>
> I have setup a samba 4 DC with mixed client environment.
> My problem is that the mac osx client are unable to write to a samba 4
> share.
>
> I tested mac osx clients on a normal windows 7 share and it works fine
> I tested mac osx clients on a samba 3.5 .. share and everything works fine.
>
> As i am in a professional environment and all the windows clients are
> already binded to the samba 4 domain i can not step back to samba3.
>
> My mac osx clients are binded and im able to view/edit active directory
> from the mac.
>
> My only issue is that i can not write to the samba 4 shares. i have
> verified all about permissions, and my thought is that mac osx confuses
> unix and acl rights.
>
> Is there a workaround or a special thing to do regarding UID map GUID map
>
> please be aware that i'm not a mac specialist, but have to handlwith it
> because of professional reasons.
>
> i am searching a solution for weeks now and really need some help !
>
> Kind regards
> --
> 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