Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [Samba] Disabling Roaming Profile Support

4 views
Skip to first unread message

Marcio Oli

unread,
Oct 30, 2012, 5:20:02 PM10/30/12
to
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 <je...@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)
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Jeff Dickens

unread,
Oct 30, 2012, 5:20:02 PM10/30/12
to

Jeff Dickens

unread,
Oct 31, 2012, 9:50:01 AM10/31/12
to
I have "logon drive =" in smb.conf but testparm does not report that.

Does it on your system, Marcio?

ex:

root@grackle:~# grep logon /etc/samba/smb.conf
domain logons = yes
logon drive =
logon home =
logon path =
[netlogon]
path = /home/samba/netlogon
root@grackle:~#
root@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@grackle:~#

Marcio Oli

unread,
Oct 31, 2012, 10:00:03 AM10/31/12
to
Hi Jeff,

my configs. are like yours. The default value of parameter "logon
drive" is "logon drive =", so testparm is correct, because the output is
showed only if different of default values.

Thanks,
Marcio Oliveira.

2012/10/31 Jeff Dickens <je...@seamanpaper.com>
--
Marcio Oliveira.
"Tudo concorre para o bem daqueles que amam à Deus." (Rom 8,28)

Jeff Dickens

unread,
Oct 31, 2012, 11:00:03 AM10/31/12
to
Well on my setup unless I manually set the profile to local or set a
registry setting to allow only local profiles, it always fails to create a
local profile. I can't figure out why.

Helmut Hullen

unread,
Oct 31, 2012, 12:00:02 PM10/31/12
to
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
0 new messages