Koozali.org: home of the SME Server

Sharename not found?

Enrico Sørensen

Sharename not found?
« on: July 21, 2000, 02:30:09 AM »
I don't know how to be able to log on in windows(98) with e-smith and I've tried all
kind of different stuff! I have no problem with windows seeing e-smith and the user-
directories when I disconnect the networkcable before logon - but that gives me the
reply that there is no Domainserver to verify my password - ok I can live with that,
but it's not userfrendly at all. So how do I setup windows/e-smith to be able to do a
normal windowsnetwork logon? I have tried to look in the general discussion history
without result so please give me some advise.

                                                 Enrico Sørensen.

Orville Carter

RE: Sharename not found?
« Reply #1 on: July 21, 2000, 04:08:39 AM »
I am assuming the TCP/IP information is set - including the common domain/workgroup name.
Example: e-smith domain = cutesie.com --- windows workgroup name = cutesie.
You get the idea.

Also, your Windows login name/password should be a
e-smith user name/password.

Try login from Windows as "admin" and password "e-smith root password" - using
the real root password. This should be the perfect test.

Lets know the results.

Orville

Enrico Sørensen

RE: Sharename not found?
« Reply #2 on: July 21, 2000, 05:23:51 AM »
Thanks for the fast reply!
But I also did that - before I wrote!!!
I must be missing somthing - TCP/IP is ok I think - I can do
the e-smith-manager/password, see e-smith in networkneighbourhood - get into my e-smith-userdirectories -
everything -But that ¤#*§! logon - Yes I checked the workgroups
more than twise tried normal/capital-letters.
It is the new 4.0 version running in server and gateway-mode.
Could it be a problem that a until now had a win NT4-server running that network with shared folders/drives and logonscripts?
                 Enrico Sørensen.

Enrico Sørensen

RE: Sharename not found?
« Reply #3 on: July 21, 2000, 08:01:37 AM »
Back again-
Just to add that e-mail works fine and under Linux I have no problems at all!????

Charlie Brady

RE: Sharename not found?
« Reply #4 on: July 21, 2000, 08:33:03 AM »
Enrico Sørensen wrote:

> Could it be a
> problem that a until now had a win NT4-server running that
> network with shared folders/drives and logonscripts?

Sure could. The e-smith server doesn't currently support logonscripts. It shouldn't be hard to add it in as a feature.

Regards

Charlie

Lasse Johansson

RE: Sharename not found?
« Reply #5 on: July 21, 2000, 04:57:17 PM »
Charlie Brady wrote:

> Sure could. The e-smith server doesn't currently support
> logonscripts. It shouldn't be hard to add it in as a feature.
>

If so, why does the 4.0 release ship with the "netlogon" share enabled?

It would be better not to include that share enabled...

From the /etc/smb.conf in 4.0:

[netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   guest ok = yes
   writable = no
   share modes = no  

...but still (further up in /etc/smb.conf):

# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
;   domain logons = yes  

...so the feature shows up on the workstations, but isn't really enabled

What to do to enable netlogons would be to

1.    Create the directory /home/netlogon
2.    Change the line ;   domain logons = yes in /etc/smb.conf to
   domain logons = yes
   ...and add a new line under that:
   logon script = netlogon.bat
3.   Create the /home/netlogon/netlogon.bat and adjust permissions.
4.   Restart smb and adjust the workstations for domain logons

...Of course, if you want this adjustment to be permanent, you'll have to make those changes in relevant template in /etc/e-smith/templates/etc/smb.conf

(I just realized thet this directory has changed quite a lot from the 4.6b)

//Lasse

stephen noble

RE: Sharename not found?
« Reply #6 on: July 21, 2000, 05:18:00 PM »
>3. Create the /home/netlogon/netlogon.bat and adjust permissions.
ln -s /home/netlogon/netlogon.bat
/home/e-smith/files/ibays/youribay/files/yourdir/netlogon.bat

which is easier to edit/update

stephen

Charlie Brady

RE: Sharename not found?
« Reply #7 on: July 21, 2000, 09:56:15 PM »
Lasse Johansson wrote:

> Charlie Brady wrote:
>
> > Sure could. The e-smith server doesn't currently support
> > logonscripts. It shouldn't be hard to add it in as a
> > feature.
>
> If so, why does the 4.0 release ship with the
> "netlogon" share enabled?

We don't need to answer that, since it isn't a documented feature :-)

Seriously, the configuration at the moment is "a little bit pregnant" as far as netlogon is concerned, and that isn't very useful. I promise to fix that in the next update.

Exactly what will be the best way to  setup the netlogon share and batch file is something I haven't worked out yet. Maybe "netlogon" should be an ibay. Or maybe it should be hidden, and a web page provided to edit the batch file, similar to the text entry box in this bulleting board. I don't know. If you have ideas, you should post them to the developers mailing list "devinfo@e-smith.net".

Charlie

Enrico Sørensen

RE: Sharename not found?
« Reply #8 on: July 22, 2000, 03:26:44 AM »
Hello again,
I had some busy hours trying to work things out - but I am thankfull for your replies.
I agree with Lasse that you shut not enable the netlogon-share as default because it only confuse and make things less straigtforward. But now Ihave finally made it so far that I can logon as any user without any logonscripts -yeah! I modified the smb.conf so only win95 logon is enabled and uncomment all about netlogon. But again thats not userfrendly at all compaird to the rest of the install and setup features in e-smith!
                                                                                     Enrico Sørensen.

Tim Litwiller

RE: Sharename not found?
« Reply #9 on: July 31, 2000, 05:01:47 AM »
I think what you need to change is on your windows workstation,
click start, settings, control panel and then open the network panel. hilight the "client for microsoft networks" and then click the properties button

uncheck the "Log on to Windoes NT domain" setting.