These attributes should be defined in Active Directory Users and Computers,
take a look at
https://wiki.samba.org/index.php/Samba_AD_management_from_windows for how
to get it running, then you can select all your users and define them using
the %USERNAME% variable, for home directory \\server\%USERNAME% and for
profiles \\server\%USERNAME%\profile
Ricky
On Wed, Apr 17, 2013 at 1:46 PM, David Menzel <david at jbautotech.com>
wrote:
> I am migrating a Freebsd 8.2 Samba 3.5.11 system to Freebsd 9.1 Samba
> 4.0.4. I copied over all of the users home directories, local accounts, and
> the tdb files. I ran the classic upgrade tool, got the server up and
> running, and users could login however they were on fresh local profiles
> rather than roaming profiles.
>
> In the log file for the station, I found the following message
>
> [2013/04/13 15:42:48.565068, 3] ../source3/smbd/password.c:**
> 138(register_homes_share)
> No home directory defined for user 'DOMAINNAME\johndoe'
>
>
> From there, I pulled up the user data in pdbedit and found that several
> fields were not populated from the old server to the new. I tried manually
> filling in the fields, and verified the config still pointed to the profile
> path in the same place, however the user account still could not connect to
> the roaming profile directory.
>
> From the original server :
>
> #pdbedit -L -v johndoe
> Full Name: John Doe
> Home Directory: \\server1\johndoe
> HomeDir Drive: h:
> Logon Script:
> Profile Path: \\server1\johndoe\profile
> Domain: DOMAINNAME
>
> And the new Server :
>
> # pdbedit -L -v johndoe
> Full Name: John Doe
> Home Directory:
> HomeDir Drive: (null)
> Logon Script:
> Profile Path:
> Domain:
>
>
> I can only perform testing in the off hours, as the new server already has
> several other services running on it. The new server will take over the ip
> address and network name of the old server on its 2nd nic when it is placed
> into production.
>
> Any ideas?
>
> Thanks
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>