1832227 Members
2700 Online
110041 Solutions
New Discussion

Re: SAMBA login script

 
mvr
Regular Advisor

SAMBA login script

Hi,

Does any body have a sample of login script that could be used for maping users directories from SAMBA (smb.conf) on a HP-UH11i. Users are login from Windows2000 Professional.
7 REPLIES 7
John Poff
Honored Contributor

Re: SAMBA login script

Hi,

If I understand your question, Windows 2000 users will be mapping shares on an 11i box via Samba. If so, they shouldn't need a login script. I've always just had them define the shares in Windows Explorer and check the box that says to reconnect at login. It should work just like mapping any other share in Windows.

JP
mvr
Regular Advisor

Re: SAMBA login script

Thank you for your responed.
What about authentication?
I can't go to every workstation to add the maping on the forst place. I still think that I will need some type of login script.
Maybe .bat file with NETUSE comands.

Miro
Darren Prior
Honored Contributor

Re: SAMBA login script

Hi,

If you authenticate using your PDC then your users won't need to type in their passwords. The other option is to use net use, but I guess that'll mean you have to hardcode passwords into the script.

Take a read of the CIFS server documentation at http://docs.hp.com for info on the different security levels; server or domain level both allow you to use a PDC for authentication.

regards,

Darren.
Calm down. It's only ones and zeros...
Fabio Ettore
Honored Contributor

Re: SAMBA login script

Dobar dan Miro,

I don't know if it is possible.
Anyway if your need is on the Windows side (I see that you are talking about netuse or .bat) then I would suggest you to submit your request in Microsoft area:

http://forums1.itrc.hp.com/service/forums/familyhome.do?familyId=116

A little of Croatian:
Kako si Miro? Si ti dobro? I sam odlicno. Ja imam prijatelj hrvastki i pricam malo hrvastki! Ja želim uci malo po malo više!

Bok!
WISH? IMPROVEMENT!
Fabio Ettore
Honored Contributor

Re: SAMBA login script

oprosti mi Miro,
ja sam probao pisati slovni hrvastki!

Kako si Miro? Si ti dobro? I sam odlicno. Ja imam prijatelj hrvastki i pricam malo hrvastki! Ja zelim uci malo po malo vise!

Bok! :-)
WISH? IMPROVEMENT!
mvr
Regular Advisor

Re: SAMBA login script

Thnk you all for your help. I will do some more resarch on microsoft side.

Miro

Fabio,
Da mogu dao bi ti 10 bodova za tvoj Hrvatski (u svakom slucaju je bolji nego moj Talijanski).

Pozdrav iz Atlante, GA USA

Miro
Geoff Wild
Honored Contributor

Re: SAMBA login script

In order to process login scripts from Samba, you would have to setup your HP-UX server as a Domain Controller (at least I think so) - not too sure if you really want to do that...

http://us1.samba.org/samba/ftp/docs/htmldocs/Samba-PDC-HOWTO.html

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.