[Samba] how to map shared folders when start user profile in XP
Daniel Müller
mueller at tropenklinik.de
Wed Nov 17 05:11:12 MST 2010
Hi,
your logon script must be put in your:
[global]
logon script = %u.bat
[netlogon]
comment = Network Logon Service
path = /pathtoyour/netlogon/
-----------------------------------------------
EDV Daniel Müller
Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von marcos gonzalez
Gesendet: Mittwoch, 17. November 2010 12:41
An: anil
Cc: samba at lists.samba.org
Betreff: Re: [Samba] how to map shared folders when start user profile in XP
Hi
No, the problem continues. I putted in smb.conf this:
logon script = %u.bat
logon path = \\%n\Profiles\%u
logon drive = H:
And inside user profile, in the root folder, i putted user.bat with
instrucciones to test. If I execute manually works fine, but not works at
start of sesion. Suggestions?
Thanks
2010/11/16 anil <aswakhare at gmail.com>
> Hi,
> Your problem is sorted now?
>
>
> On 11/16/2010 10:18 PM, marcos gonzalez wrote:
>
>> Hi
>>
>> I understand If I change the smb.conf to :
>>
>> logon script = %u.bat
>> logon path = \\%n\Profiles\%u
>> logon drive = H:
>>
>> putting the script user.bat into the root profile folder (for example
>> /var/lib/samba/profiles/user/ ) for every user load their configuration?
>>
>> Thanks!
>>
>> 2010/11/16 Anil Wakhare<aswakhare at gmail.com>
>>
>> Hi,
>>> According to me,you can first configure the smb.conf file.
>>> Use the following
>>>
>>> domain master = yes
>>> domain logons = yes
>>> # the login script name depends on the machine name
>>> logon script = %m.bat
>>> # the login script name depends on the unix user used
>>> logon script = %u.bat
>>> logon path = \\%n\Profiles\%u
>>> ; logon drive = H:
>>> # disables profiles support by specifing an empty path
>>> logon path = \\uccagent\%u
>>> logon path = \\administrator\%u
>>>
>>>
>>>
>>> On Tue, Nov 16, 2010 at 4:04 PM, marcos gonzalez<
>>> marcos.gonzalez.cruz at gmail.com> wrote:
>>>
>>> Hi
>>>>
>>>> Im searching examples to configure logon scripts for every user. If I
>>>> configure netlogon how this
>>>>
>>>> [global]
>>>> logon path = \\%N\profiles\%U
>>>> logon drive = H:
>>>> logon home =
>>>> logon script = logon.bat
>>>> [netlogon]
>>>> # comment = Network Logon Service
>>>> path = /var/lib/samba/netlogon
>>>> # admin users = root
>>>> # guest ok = yes
>>>> read only = yes
>>>> browseable = no
>>>>
>>>> Only I can use one script, but I prefer to use specific scripts for
>>>> users
>>>> too. I don't know If I can.
>>>>
>>>> Other problem is how to configure shared folders for groups of users.
>>>>
>>>> Thanks
>>>>
>>>> 2010/11/16 Anil Wakhare<aswakhare at gmail.com>
>>>>
>>>> Hi,
>>>>> I am not getting ur question.can u explain it briefly.
>>>>>
>>>>> On Tue, Nov 16, 2010 at 1:08 PM, marcos gonzalez<
>>>>> marcos.gonzalez.cruz at gmail.com> wrote:
>>>>>
>>>>> Hi
>>>>>>
>>>>>> yes, Im interested in a login script, but Im a newbie with this and I
>>>>>> don't
>>>>>> know where I can take examples. Inside samba documentacion there are
>>>>>> no
>>>>>> the
>>>>>> sufficient complex examples and in my case Im interested to made a
>>>>>>
>>>>> script
>>>>
>>>>> for every user.
>>>>>>
>>>>>> Suggestions?
>>>>>>
>>>>>> Thnaks
>>>>>>
>>>>>> 2010/11/15 Gaiseric Vandal<gaiseric.vandal at gmail.com>
>>>>>>
>>>>>> Are you using a login script? That should take care of mapping
>>>>>>>
>>>>>> shared
>>>>
>>>>> folders to drive letters.
>>>>>>>
>>>>>>> You can't use login scripts to setup printers. If the printers are
>>>>>>> properly shared from a Windows server or Samba server users should
be
>>>>>>>
>>>>>> able
>>>>>>
>>>>>>> to easily locate them in "My Network Places."
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 11/12/2010 06:33 AM, marcos gonzalez wrote:
>>>>>>>
>>>>>>> Hi guys
>>>>>>>>
>>>>>>>> I have configured samba 3.3.2 in a domain with Xp clients and I
>>>>>>>>
>>>>>>> would
>>>>
>>>>> like
>>>>>>
>>>>>>> to config inside clients the shared folders how units when users
>>>>>>>>
>>>>>>> starts,
>>>>>>
>>>>>>> and
>>>>>>>> the printers too. Im looking for this and the information is very
>>>>>>>> confused,
>>>>>>>> and I dont know which the fast option for users. Suggestions?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>> To unsubscribe from this list go to the following URL and read the
>>>>>>> instructions: https://lists.samba.org/mailman/options/samba
>>>>>>>
>>>>>>> --
>>>>>>
>>>>>> To unsubscribe from this list go to the following URL and read the
>>>>>> instructions: https://lists.samba.org/mailman/options/samba
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> -------------------------------------------
>>>>>
>>>>> Thanks& Regards.
>>>>> Anil S Wakhare.
>>>>> Pune 411027,Maharashtra,India
>>>>> Ph:-9763328839
>>>>>
>>>>>
>>>>> --
>>>> To unsubscribe from this list go to the following URL and read the
>>>> instructions: https://lists.samba.org/mailman/options/samba
>>>>
>>>>
>>>
>>> --
>>>
>>> -------------------------------------------
>>>
>>> Thanks& Regards.
>>> Anil S Wakhare.
>>> Pune 411027,Maharashtra,India
>>> Ph:-9763328839
>>>
>>>
>>>
>
--
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