[Samba] how to map shared folders when start user profile in XP

marcos gonzalez marcos.gonzalez.cruz at gmail.com
Tue Nov 16 09:48:12 MST 2010


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
>
>


More information about the samba mailing list