[Samba] query about PC setups
Eric Evans
eje4 at cornell.edu
Thu Jul 6 15:47:26 GMT 2006
Thanks for the info. I've been trying to get this to work but I'm having
difficulty with it.
I put the statement "logon script = startup.bat" in my [global] section. I
also inserted
[netlogon]
path=/usr/local/samba/lib
browseable = no
share modes = no
into the smb.conf. And I made a startup.bat which I placed in
/usr/local/samba/lib, and which contains only the command "net use h:
/homes". But when I log in to the PC, unfortunately it doesn't connect me
to the homes share automatically like I thought it should. I checked the
samba logs and I don't see any error messages there. Anybody have ideas
about what I might be doing wrong?
Thanks a lot,
Eric
>I use a 'startup.bat' file that runs at login...
>
>logon script = startup.bat
>
>is my config line in smb.conf
>
>then for my [netlogon] parameters I have
>
>[netlogon]
>path = /opt/samba/netlogon
>browseable = No
>share modes = No
>
>and in the startup.bat file placed in /opt/samba/netlogon
>I have:
>
>net use h: /home
>net use y: /CSLAB
>net use x: /Accts
>net use g: /STAFF
>
>something like that..
>
>--Huck
>
>Eric Evans wrote:
>>Hello,
>>My boss claims that it is possible to set up a PC as a Samba client in
>>such a way that every Windows user who logs in to that PC will
>>automatically be connected to a certain designated Samba share, without
>>the user himself having to map the network drive to the Samba share.
>>That is, the boss claims that I, as the administrator of the PC, have the
>>power to set up some kind of global mapping for all the PC users so that
>>each user doesn't have to do the mapping himself. Is there any truth to
>>this claim? I haven't found any mention of this feature in the Samba
>>documentation.
>>Thanks,
>>Eric
>>
More information about the samba
mailing list