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

2010-11-19 Thread Aaron E.
I believe you need to put the .bat scripts in a subdirectory of 
netlogon/scripts in order for the script to be found and run...


On 11/19/2010 08:05 AM, Daniel Müller wrote:

I think you meant script per each user?

Then you need exactly logon script = %u.bat
%u substitutes the login user name.
The if you have two users: mike, carl
You need to have ex.: mike.bat;carl.bat in your netlogon path
You can exactly make this too for groups.


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: muel...@tropenklinik.de
Internet: www.tropenklinik.de

Von: marcos gonzalez [mailto:marcos.gonzalez.c...@gmail.com]
Gesendet: Freitag, 19. November 2010 13:33
An: muel...@tropenklinik.de
Cc: anil; samba@lists.samba.org
Betreff: Re: [Samba] how to map shared folders when start user profile in XP

Hi

But If I put
[netlogon]
comment = Network Logon Service
path = /pathtoyour/netlogon/

Only accepts one script and my doubt is how to config one script for user.

Thanks
2010/11/17 Daniel Müller
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: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von marcos gonzalez
Gesendet: Mittwoch, 17. November 2010 12:41
An: anil
Cc: samba@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


  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

  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.c...@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

  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.c...@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

  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 

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

2010-11-19 Thread Daniel Müller
I think you meant script per each user?

Then you need exactly logon script = %u.bat
%u substitutes the login user name.
The if you have two users: mike, carl
You need to have ex.: mike.bat;carl.bat in your netlogon path
You can exactly make this too for groups.


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: muel...@tropenklinik.de
Internet: www.tropenklinik.de 

Von: marcos gonzalez [mailto:marcos.gonzalez.c...@gmail.com] 
Gesendet: Freitag, 19. November 2010 13:33
An: muel...@tropenklinik.de
Cc: anil; samba@lists.samba.org
Betreff: Re: [Samba] how to map shared folders when start user profile in XP

Hi

But If I put 
[netlogon]
comment = Network Logon Service
path = /pathtoyour/netlogon/

Only accepts one script and my doubt is how to config one script for user.

Thanks
2010/11/17 Daniel Müller 
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: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von marcos gonzalez
Gesendet: Mittwoch, 17. November 2010 12:41
An: anil
Cc: samba@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 

>  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
>>
>>  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.c...@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
>>>>
>>>>  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.c...@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

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

2010-11-19 Thread marcos gonzalez
Hi

But If I put

[netlogon]
comment = Network Logon Service
path = /pathtoyour/netlogon/

Only accepts one script and my doubt is how to config one script for user.

Thanks
2010/11/17 Daniel Müller 

> 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: muel...@tropenklinik.de
> Internet: www.tropenklinik.de
> ---
>
> -Ursprüngliche Nachricht-
> Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
> Im
> Auftrag von marcos gonzalez
> Gesendet: Mittwoch, 17. November 2010 12:41
> An: anil
> Cc: samba@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 
>
> >  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
> >>
> >>  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.c...@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
> >>>>
> >>>>  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.c...@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
> &g

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

2010-11-17 Thread Daniel Müller
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: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von marcos gonzalez
Gesendet: Mittwoch, 17. November 2010 12:41
An: anil
Cc: samba@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 

>  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
>>
>>  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.c...@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
>>>>
>>>>  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.c...@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
>>>>>>
>>>>>>  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

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

2010-11-17 Thread marcos gonzalez
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 

>  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
>>
>>  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.c...@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

  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.c...@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
>>
>>  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


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

2010-11-16 Thread Chris Weiss
that's because login scripts are a windows thing.  Any old NT4
examples will work with a samba3 domain.

On Tue, Nov 16, 2010 at 1:38 AM, marcos gonzalez
 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 
>
>> 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
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2010-11-16 Thread anil

 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


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.c...@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


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.c...@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


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


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

2010-11-16 Thread marcos gonzalez
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 

> 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.c...@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 
>>
>> > 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.c...@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 
>> >>
>> >> > 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


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

2010-11-16 Thread Anil Wakhare
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.c...@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 
>
> > 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.c...@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 
> >>
> >> > 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


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

2010-11-16 Thread Daniel Müller
Look at logon script = logon.bat
Substitute it with %u.bat (for Users, sometimes %U)
Substitute it with %g.bat (Primary Group for Users %u)
Now you need for every user or group  a batch file

Or you do the include syntax to pass over a different smb.conf

include = /path/to/your/smb.confs/smb.conf.(%m/%u/%g)

---
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: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von marcos gonzalez
Gesendet: Dienstag, 16. November 2010 11:35
An: samba@lists.samba.org
Betreff: Re: [Samba] how to map shared folders when start user profile in XP

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 

> 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.c...@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 
>>
>> > 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2010-11-16 Thread marcos gonzalez
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 

> 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.c...@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 
>>
>> > 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


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

2010-11-16 Thread Daniel Müller
Hi,
first of all you need to know if your users have the right to install
printers in your domain.
If they do not ,you can not do it by login script. Or the first login on the
workstation must be a administrator.
What I did  made a directory on the netlogon share with the name of the
printer. Copied the driver/files there.
Used kixtart to ask the registry if the printer exists, if not it is
installed (ex.: Lexmark E352db):

$RETURNVALUE = existkey("HKEY_Local_Machine\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Print\Printers\Lexmark E352dn")
IF NOT $RETURNVALUE = 0 

shell "\\tpdc\netlogon\printer.bat"


else


ENDIF


Here now printer.bat. To overcome the restrictions of the users I do it with
runas/sanur as administrator:

runas /user:tpdc\administrator \\tpdc\netlogon\sdre352dn.bat
|\\tpdc\netlogon\sanur.exe /i \\tpdc\netlogon\pw.txt

Now the installation with sdre352dn.bat:

echo make the ip port of the printer
cscript C:\Windows\System32\prnport.vbs -a -r IP_192.168.133.10 -h
192.168.133.10 -o raw -n 9100
echo install driver to workstations

rundll32 printui.dll,PrintUIEntry /if /b "Lexmark E352dn" /f
\\tpdc\netlogon\Lexmark\LMABK740.inf  /r "IP_192.168.133.10" /m "Lexmark
E352dn" 

rundll32 printui.dll,PrintUIEntry /y /n "Lexmark E352dn"



Good Luck
Daniel

---
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: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---
-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von marcos gonzalez
Gesendet: Dienstag, 16. November 2010 08:39
An: gaiseric.van...@gmail.com
Cc: samba@lists.samba.org
Betreff: Re: [Samba] how to map shared folders when start user profile in XP

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 

> 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2010-11-16 Thread Anil Wakhare
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.c...@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 
>
> > 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


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

2010-11-15 Thread marcos gonzalez
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 

> 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


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

2010-11-15 Thread Anil Wakhare
Thank you!!

On Mon, Nov 15, 2010 at 10:50 PM, Gaiseric Vandal  wrote:

>  You should be able to use a bash or bourne shell script e.g.
>
> for i in `cat userlist.txt`
> do
> adduser $i ..
> smbpasswd -a $i
> done
>
>
> With adduser just set the local unix account /bin/false as the shell.
>
> On 11/15/2010 12:05 PM, Anil Wakhare wrote:
>
> hi,
> Thank you for giving relpy,I have made the samba successfully,it access to
> all the user,i want only script to add multiple user with password to samba
> server.
>
> On Mon, Nov 15, 2010 at 10:25 PM, Gaiseric Vandal <
> gaiseric.van...@gmail.com> wrote:
>
>> 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
>>
>
>
>
> --
>
> ---
>
> Thanks & Regards.
> Anil S Wakhare.
> Pune 411027,Maharashtra,India
> Ph:-9763328839
>
>
>


-- 

---

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


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

2010-11-15 Thread Gaiseric Vandal

You should be able to use a bash or bourne shell script e.g.

for i in `cat userlist.txt`
do
adduser $i ..
smbpasswd -a $i
done


With adduser just set the local unix account /bin/false as the shell.

On 11/15/2010 12:05 PM, Anil Wakhare wrote:

hi,
Thank you for giving relpy,I have made the samba successfully,it 
access to all the user,i want only script to add multiple user with 
password to samba server.


On Mon, Nov 15, 2010 at 10:25 PM, Gaiseric Vandal 
mailto:gaiseric.van...@gmail.com>> wrote:


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




--

---

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


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

2010-11-15 Thread Anil Wakhare
hi,
Thank you for giving relpy,I have made the samba successfully,it access to
all the user,i want only script to add multiple user with password to samba
server.

On Mon, Nov 15, 2010 at 10:25 PM, Gaiseric Vandal  wrote:

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



-- 

---

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


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

2010-11-15 Thread Gaiseric Vandal
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


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

2010-11-12 Thread marcos gonzalez
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