Mounting shares before logging in

Richard Sharpe sharpe at ns.aus.com
Tue Feb 27 00:15:09 GMT 2001


At 08:12 PM 2/26/01 +0100, Anders C. Thorsen wrote:
>I tink Richard sharpe asked about something similar earlier.
>He might have some more tested ideas on the subject

I did ask, and got some suggestions, and the MSDN web site has some advice
on this.

At the end of the day, I did not really need to do this, and simply allowed
the Windows NT box to access the share by ensuring that it could log on.
The application could be told what account to use to access the server.

>BTW: Did you make the service "interact.." or not?
>
>Also: I know that logged on users get the sharings
>the service has. There's also something about "null session"
>
>digging trough the knowledgebase on microsoft.com:
>
>	http://support.microsoft.com/support/kb/articles/Q132/6/79.ASP	(NT 3.51 +)
>	http://support.microsoft.com/support/kb/articles/Q124/1/84.asp	(NT 3.51)
>
>
><rumble>
>a knowledgebase is what samba.org needs.. which I suggested a while back.
>Linking
>to external resources as the above, and utilizing some of the great stuff at
>kt.linuxcare.com
>+ the samba FAQ's ofcourse..
></rumble>
>
>speaking of documentation: Is David Bannon still around..?
>
>--Anders
>
>-----Original Message-----
>From: samba-ntdom-admin at us5.samba.org
>[mailto:samba-ntdom-admin at us5.samba.org]On Behalf Of Peter Lundqvist
>Sent: 26. februar 2001 16:55
>To: samba-ntdom at us5.samba.org
>Subject: Mounting shares before logging in
>
>
>Hi,
>
>This is not the best of places to ask this, but since I've had no response
>elsewhere and the people here usually knows a lot about the evil side...
>
>I have the need to mount shares before any normal user logs on to our
>NT server.
>I've tried to convert a script that mounts the desired shares into a
>service. The script executes fine, according to the logs the shares are
>mounted. But when a user logs in, the mounted shares are not visible.
>If I *now* try to mount the shares on the NT-box, it says that the share
>is already in use.
>
>If I run the script when the user logs in (and the service-script is
>removed), it works like a charm.
>
>Does anyone have clue?
>
>...........................................................................
>Peter Lundqvist                        web: http://www.update.uu.se/~peterl
>Studentv. 32:22B                    e-mail:             peterl at update.uu.se
>752 34 Uppsala                    cellular:             +46 (0)70 45 66 347
>Sweden                                work:              +46 (0)155 256 440
>
>"The trouble with being punctual is that people
>think you have nothing more important to do."
>
>
>
>
>

Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba






More information about the samba-ntdom mailing list