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<muel...@tropenklinik.de>
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<aswakh...@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<aswakh...@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.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<aswakh...@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.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<gaiseric.van...@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
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba