Koozali.org: home of the SME Server

domain login scripts

Nick slayton

domain login scripts
« on: February 23, 2002, 02:54:09 AM »
i have managed to log all my machines onto the domain
the problem i now have is how do i change login scripts to automaticaly have my client machines maped to 6 to 7 difrent network drives,eg products/sales/accounts on my nt server when loging in
please bare in mind im relativly new at this
thankyou

saleem khan

Re: domain login scripts
« Reply #1 on: March 01, 2002, 01:28:17 AM »
What you need to do is add the following to your domain bat file defined as the net login bat file in the smb.conf file.


net use F:  \nt-server\share

Use one for each share and associate it with a drive.

Be aware though that a NT server that has its own domain will not allow access to its shares from machines that log onto your samba domain.

I had the same issue and tried adding the local guest account for the NT server permission on shares and still the NT server would not allow access to its shares from the samba clients.

I also tried getting the NT server to create a trust relationship to the SME server so that it would trust clients from the samba PDC but it could not find the samba PDC.

In the end after spending three unsucessful days trying to get the shares to load I just moved the shares to my own sme linux server and got my clients to load the shares from the linux server.

If anyone has accomplished getting a windows client that logs onto a samba server to access shares on an NT server that is the PDC of its own network I would like to know.

hope it helps.