[Samba] Samba users profiles directory failing to mount in windows client

Harry Jede walk2sun at arcor.de
Tue Oct 4 15:57:06 MDT 2011

On 23:55:42 wrote greep elem:
> I am having some issues with Samba with roaming profiles running on
> Ubuntu server.  When a user logs in they get prompted with an error:
> ----windows error----------
> Windows cannot locate the server copy of your roaming profile and is
> attempting to log you
> on with your local profile. Changes to the profile will not be copied
> to the server when
> you logoff. Possible causes of this error include network problems or
> insufficient security
> rights. If this problem persists, contact your network administrator.
> DETAIL - The network path was not found.
> ----windows error----------
> While trying to figure this out I believe I have found the problem
> but am unsure how to fix it.  It would appear that for the "logon
> path = \\%N\Profiles\%U" entry in smb.conf that the %N (or even %L)
> does not get translated to the netbios name of the server.
> doing the following command shows the %N still untranslated while the
> %U is correctly updated to the user name
>     # pdbedit -Lv testuser | grep Path
>     Profile Path:         \\%N\profiles\testuser
> If I manually hard code the %N  to the servers name instead of using
> %N or %L the roaming profile works perfectly.
> Can anyone point me in the right direction so as to resolve this
> issue?
Use "netbios name" instead of "netbios aliases"


	Harry Jede

More information about the samba mailing list