<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Bert!<br>
<br>
Try putting the netlogon somewhere besides /home/netlogon. . .<br>
Put it in it's own folder, like /samba/netlogon<br>
<br>
And set it browseable = no and don't give users RW, only R.<br>
<br>
If you can't see the netlogon share by \\servername\netlogon, see if
you can see it by ip:  \\10.0.x.x\netlogon<br>
<br>
It could just be that your DNS or WINS is not working right.<br>
<br>
Send me your smb.conf and I'll look at it if you'd like.<br>
<br>
Doug<br>
<br>
Bert Rolston wrote:
<blockquote cite="mid1155847448.2527.12.camel@localhost.localdomain"
 type="cite">
  <pre wrap="">Hi Doug,

Thanks for your reply.

It's been years since I set one up samba to be a PDC. I'm exclusively
Linux at home. That's the danger of taking a couple of years away from
the industry to study business.

I can run the scripts manually, either by browsing through network
neighbourhood, or by mapping the netlogon share to a drive letter.

When I map the netlogon share to drive Z: the UNC issue is resolved.

All the paths are correct, permissions are as open as the sahara desert,
and the script exists.

The netlogon folder is located at /home/netlogon 

So I'll go through the smb.conf with a fine tooth comb and see if I've
missed something.

Cheers,
Bert


On Thu, 2006-08-17 at 11:41 -0500, Doug Simpson wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">If the computer is saying there is a problem with UNC paths, likely that 
has n othing to do woth the server.

But, make sure your path for the netlogon directory is correct and that 
there is actually logon.bat in there and make sure your smb.conf says 
logon.bat is the logon script to be run.

my example:

Server location for login script for group "Users"
/samba/netlogon/users

logon script in the above listed directory:
logon.bat

in the smb.conf file under "global" make sure there is a line:
logon script = logon.bat

Make sure there is a [netlogon] directive.

make sure the path in it is correct for the netlogon directory.

Make sure the directory is readable by all users.

Restart samba

If you need further assistance, send me a copy of your smb.conf file and I 
will look at it and see if I can find anything wrong with it.

Doug Simpson
Technology Specialist
DeQueen Public Schools
DeQueen, AR 71832
<a class="moz-txt-link-abbreviated" href="mailto:simpsond@leopards.k12.ar.us">simpsond@leopards.k12.ar.us</a>
Tux for President!

On Thu, 17 Aug 2006, Bert Rolston wrote:

    </pre>
    <blockquote type="cite">
      <pre wrap="">Hey folks,

I've run into a problem with a W2K machine and winders login scripts.

I've tried googling Samba.org and tried a couple of the suggestions in
their archives, without any success.

I've searched through the K12OSN digests without any luck.

So, now I'm going to ask here.

I have a W2K (SP4) computer logging in to my FC5 / Samba 3.0xxxx server.
Samba is set up to act a the PDC. This works fine.

I can use network neighbourhood and see all the share. I can access all
the shares.

If I try to launch the login script from \\servername\netlogon I get an
error message about UNC paths, then it proceeds as below.

I can manually map Z: to the netlogon share and run the login script. 

This produces the following error message

"net use h: /home
The user's home directory could not be determined
More help is available by typing NET HELPMSG 3915"  (which tells me to
create the user's home directory)

The user's home directory exists. the unix permissions are 777, samba
permissions are RW to all known users. 

The rest of the login script will map all the drives.

The script DOESN'T run automagically when the user logs in to the
network. I've put a pause into the script to ensure it stays on screen.
It doesn't.

I suspect the problem lies in the [global] section of my smb.conf, but
please don't let that limit any help you can give.

Thanks,
Bert (long time lurking on this list)

_______________________________________________
K12OSN mailing list
<a class="moz-txt-link-abbreviated" href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a>
For more info see <a class="moz-txt-link-rfc2396E" href="http://www.k12os.org"><http://www.k12os.org></a>

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
K12OSN mailing list
<a class="moz-txt-link-abbreviated" href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a>
For more info see <a class="moz-txt-link-rfc2396E" href="http://www.k12os.org"><http://www.k12os.org></a>

  </pre>
</blockquote>
<br>
</body>
</html>