From
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/ProfileMgmt.html:
Disabling Roaming Profile Support
The question often asked is, ?How may I enforce use of local profiles?? or ?How
do I disable roaming profiles??
There are three ways of doing this:
In smb.conf
Affect the following settings and ALL clients will be forced to use a local
profile: logon home
<http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/smb.conf.5.html#LOGONHOME>and
logon
path
<http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/smb.conf.5.html#LOGONPATH>
The arguments to these parameters must be left blank. It is necessary to
include the = sign to specifically assign the empty value.
This apparently no longer works, or at least it doesn't work properly with
an LDAP server.
Can anyone comment on why? I'm running Samba 3.6.3-2 on Ubuntu 12.04.
--
* Jeff Dickens*
IT Manager 978-632-1513
In my case, I'm using: logon path logon home logon drive It is working ok, in other words, with local profiles only. Test the configurations with testparm command to see the output of the smb.conf file. Regards, Marcio Oliveira. 2012/10/30 Jeff Dickens <jeff at seamanpaper.com>> From > http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/ProfileMgmt.html > : > > Disabling Roaming Profile Support > > The question often asked is, ?How may I enforce use of local profiles?? or > ?How > do I disable roaming profiles?? > > There are three ways of doing this: > In smb.conf > > Affect the following settings and ALL clients will be forced to use a local > profile: logon home > < > http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/smb.conf.5.html#LOGONHOME > >and > logon > path > < > http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/smb.conf.5.html#LOGONPATH > > > > The arguments to these parameters must be left blank. It is necessary to > include the = sign to specifically assign the empty value. > > > This apparently no longer works, or at least it doesn't work properly with > an LDAP server. > > Can anyone comment on why? I'm running Samba 3.6.3-2 on Ubuntu 12.04. > > > > -- > * Jeff Dickens* > IT Manager 978-632-1513 > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Marcio Oliveira. "Tudo concorre para o bem daqueles que amam ? Deus." (Rom 8,28)
I have "logon drive =" in smb.conf but testparm does not report that.
Does it on your system, Marcio?
ex:
root at grackle:~# grep logon /etc/samba/smb.conf
domain logons = yes
logon drive logon home logon path [netlogon]
path = /home/samba/netlogon
root at grackle:~#
root at grackle:~# testparm | grep logon
Load smb config files from /etc/samba/smb.conf
...snip...
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
logon path logon home domain logons = Yes
[netlogon]
path = /home/samba/netlogon
root at grackle:~#
On Tue, Oct 30, 2012 at 5:10 PM, Jeff Dickens <jeff at seamanpaper.com>
wrote:
> From
>
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/ProfileMgmt.html:
>
> Disabling Roaming Profile Support
>
> The question often asked is, ?How may I enforce use of local profiles??
> or ?How do I disable roaming profiles??
>
> There are three ways of doing this:
> In smb.conf
>
> Affect the following settings and ALL clients will be forced to use a
> local profile: logon home >
<http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/smb.conf.5.html#LOGONHOME>and
logon
> path >
<http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/smb.conf.5.html#LOGONPATH>
>
> The arguments to these parameters must be left blank. It is necessary to
> include the = sign to specifically assign the empty value.
>
>
> This apparently no longer works, or at least it doesn't work properly
with
> an LDAP server.
>
> Can anyone comment on why? I'm running Samba 3.6.3-2 on Ubuntu 12.04.
>
>
>
> --
> * Jeff Dickens*
> IT Manager 978-632-1513
>
>
>
--
* Jeff Dickens*
IT Manager 978-632-1513
Hallo, Jeff, Du meintest am 31.10.12:> I have "logon drive =" in smb.conf but testparm does not report that.Just try testparm -sv Then you can see the actual options (regardless wether they are set in "smb.conf" or not). Viele Gruesse! Helmut