(Was Caution Stoopid Newbie) - A better (Longer)
ssande at sandia.gov
Thu Apr 5 14:25:21 GMT 2001
Jet Set Willy wrote:
A question for you, and perhaps a point in the right direction. This may seem
a pretty simple and basic question, but since I don't see that you have
specifically mentioned this, I just feel compelled to ask.... Have you added
yourself and any other users you want to be able to authenticate via samba on
the linux machine to $SAMBA_PATH/private/smbpasswd
> Well after all this not sure I dare post again
> but seeing as though I have got some new
> flameproof underwear here goes :-)
> Firstly thanks for all the replies - they are
> all really a great help - useful advice and
> kept me smiling while fighting with this. So
> I'll attempt to collate everything, hopefully
> explain where I am up and what I am trying
> to do more clearly and , of course, ask
> some more questions.
> My network is at home and serves no purpose other
> than for me to try and learn a thing or two so it
> is not mission critical - having said that it has
> taken me quite a while to set the thing up and I
> woudn't want to break everything in one go.
> So there are 4 machines - all old obsolete kit but
> still pretty good or at least good enough for me.
> 1) Mandrake 7.1 - with samba set up
> 2) NT 4.0 - currently the pdc
> 3) Win 98 machine
> 4) Mandrake 7.2 - not important (yet - hopefully will
> be used to build/test the latest version of samba etc)
> Current Situation:
> I boot the 98 machine - it comes up
> with the login box I enter my user name, password
> and domain as specified by the NT box. (The NT machine
> has been set up as the PDC for my domain) I can then
> access the shares on the NT and linux machine without
> any problem. (I have set up samba to map the NT user
> names to samba user names [see question 1])
> Where I am trying to get to:
> I want to remove the NT PDC stuff from the equation.
> I will probably still keep the machine on my network
> just not as the PDC - I want to get the linux machine
> to do this. ie I boot up my win98 machine and enter
> my user name, password and domain - samba then
> checks this and either allows or denys access [see
> question 2] to its shares and the shares on the NT box.
> What I have done so far:
> I entered the details specified by Michael McEldowney in my smb.conf I
> also added one extra that I found in the docs somewhere
> os level = 65 (I think it was os level - haven't got my smb.conf) I also
> created a netlogon share and a script that just echo'd a few lines so
> that I could check it and set up the logon script paramter.
> (I did this via swat but I guess this doesn't matter - I did check them
> via emacs & testparm several times) restarted smbd and nmbd.
> I then changed the domain name of the NT machine and shut it
> down. I rebooted 98 machine and tried to "log in" or
> "authenticate myself" I tried both my original windows NT
> user name and the one for the linux machine to no avail.
> Always got the message "no domain controller could be found
> or the password is wrong" and I'm certain the password is correct.
> Bizarely if I boot up the nt machine it worked which suggested
> that I need to do something other than just changing the domain
> name for the NT machine. (The 98 machine *was* trying to log in
> to the domain specified in the smb.conf workgroup section which
> *is* different to the one newly changed onthe NT machine) Given
> that it was approaching 1am and I need all the beauty sleep I can
> get I thought I'd forget it and have another go tonight so I went
> back to the NT machine and tried to change the domain back to its
> original (and still in use by samba) however it wouldn't let me
> change it back complaining that it was already in use which of course
> it was and suggests that I was closer to getting it working
> than I thought. [see question 4]
> What I haven't done:
> *Remembered to bring my copy of the smb.conf file in
> so that I can post it here :-(
> question 1: Are Samba users different to the linux/machine users ?
> question 2: Sorry I am NOT deliberately trying to wind people up
> but I'm still not sure of my terminology is this authentication or logon ?
> question 3: Philip Mayers wrote/copied from the man page "Note that
> Win95/98 Domain logons are NOT the same as Windows NT Domain logons."
> Dare I ask what the difference is or should that be where can I find
> to read that will tell me what the differences are ?
> question 4: So I guess that you guys really need my smb.conf file
> which I'll get tonight & post tomorrow but without that essential
> bit of info can anyone shed any light ? Am I trying to do the
> impossible or I am just a stoopid newbie who will work it out
> in the near future ?
Stan Sander - CSU Special Projects Sandia National Laboratories
Unix System Administrator Mail Stop 0662
(505)284-4915 1515 Eubank Blvd. SE
Albuquerque, NM 87123
More information about the samba-ntdom