Koozali.org: home of the SME Server

W2k domain logon

WXP

Re: W2k domain logon
« Reply #15 on: July 18, 2001, 03:24:06 AM »
thanx Dan
I already tried your howto and it didnt work.
I'm missing something...
everytime I try a new howto I reinstall E-Smith..

Ok I'll detail every step and I'll tell you..

thanx for help dudes !

WXP

Re: W2k domain logon
« Reply #16 on: July 18, 2001, 03:53:55 AM »
My Computer Name is: PC1
Running Windows 2000 Pro English
And I want to login as "pbrossin" on a PDC.

OK So Here is what I just did :

1. I Installed E-Smith. So no user, no password are set ! nothing.. it's a clean system

2. [root@e-smith /]# mkdir temp

3. [root@e-smith /]# cd temp

4. [root@e-smith /temp]# rpm -q samba
    samba-2.0.7-21ssl

(For information...)

5. wget ftp://us6.samba.org/pub/samba/Binary_Packages/redhat/RPMS/7.1/samba-2.2.1a-20010713.i386.rpm

6. [root@e-smith /temp]# cp /etc/smbpasswd /etc/smbpasswd.old

7. [root@e-smith /temp]# rpm -e --nodeps samba samba-client samba-common
   cannot remove /var/lock/samba - directory not empty
   removal of /etc/samba/smbusers failed: No such file or directory

8. [root@e-smith /temp]# rpm -q samba
    package samba is not installed

9. [root@e-smith /temp]# rpm -Uvh samba-2.2.1a-20010713.i386.rpm
    (a lot of) group abartlet does not exist - using root
                 user abartlet does not exist - using root
    samba #############################################
    Looking for old /etc/smb.conf...
    Bla bla bla
    Bla bla bla
    inetd: no process killed
    Installing stack version of /etc/pam.d/samba...

10. [root@e-smith /temp]# rpm -q samba
      samba-2.2.1a-20010713

11. [root@e-smith /temp]# cd /etc/samba
11. [root@e-smith samba]# mv * ..
11. [root@e-smith samba]# ln -s ../smbpasswd smbpasswd
11. [root@e-smith samba]# ln -s ../smb.conf smb.conf
11. [root@e-smith samba]# ln -s ../MACHINE.SID MACHINE.SID
11. [root@e-smith samba]# ln -s ../smbusers smbusers
11. [root@e-smith samba]# ln -s ../lmhosts lmhosts

12. [root@e-smith samba]# pico smbusers
     (The file is empty... should I do something ?)

13. [root@e-smith samba]# smbpasswd -add root
      Added user root.

14. [root@e-smith samba]# smbpasswd root
      New SMB password:test
      Retype new SMB password:test
      Password changed for user root. User has disabled flag set.

15. [root@e-smith samba]# smbpasswd -e root
      Enabled user root.

16. [root@e-smith samba]# mkdir -p /etc/e-smith/templates-custom/etc/smb.conf

17. [root@e-smith samba]# pico /etc/e-smith/templates-custom/etc/smb.conf/12adduserscript
      add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
(I just wrote that string in the file 12adduserscript and then exit & save)

18. [root@e-smith samba]# /sbin/e-smith/expand-template /etc/smb.conf

19. [root@e-smith samba]# /etc/rc.d/rc7.d/S91smb restart
      Restarting SMB services: Shutting down SMB services:   [FAILED]
      Starting SMB services:                                                  [   OK   ]
      done.

20. Ok FAILED... So Reboot the server...
     [root@e-smith /temp]# Reboot

21. Right-click on "My Computer", and select "Properties".  Click on the Network Identification tab, and click the Properties button.  Set the radio button at the bottom of the window to "Domain", and enter "E-Smith". Then it asks me for a username and password. I put : root & test (like I show you below)
And I get:

The following error occured attempting to join the domain "E-Smith":
The credentials supplied conflict with an existing set of credentials.

Thanx for helping !

WXP

Re: W2k domain logon
« Reply #17 on: July 18, 2001, 02:50:56 PM »
anyone is working with an E-Smith PDC ?
I really need help men !

Would be kind to help me... i-m fed up to have this "credentials thing" message.

What do I do wrong ?

I can reinstall my e-smith if i have to...

thanx

Dan Brown

Re: W2k domain logon
« Reply #18 on: July 18, 2001, 05:42:45 PM »
A google groups search leads to a couple of suggestions:

1.      Be sure you aren't using any shares on the computer you're trying to join to the domain.

2.      Be sure the computer name isn't the same as any user's name.

WXP

Re: W2k domain logon
« Reply #19 on: July 18, 2001, 06:33:36 PM »
Thanx for answering man ! It's kind of you to try to help me !!

>1. Be sure you aren't using any shares on the computer you're trying to join to the domain.

In fact, I just installed my e-smith server to be sure it's clean and that I didnt do anything wrong... so there isnt any shares (any ibays) any users.. nothing...
it's clean.. I just set the ADSL Connection to be able to come here ;-)

>2. Be sure the computer name isn't the same as any user's name.

I have two pcs for this test. my e-smith server.
Domain = E-smith
And my computer. Computer name = PC1

Did you see my explaination on the other message ?
I wrote everything I did...

thanx for help !

WXP

Re: W2k domain logon
« Reply #20 on: July 18, 2001, 10:22:17 PM »
I just installed a windows nt 4.0 pc and I tried to logon the domain.

So I just did what Dan Brown explain in his manual and then I did :

useradd -c 'windows nt 4.0 server' -M -s /bin/false -n NTSERVER$

NTSERVER is the name of my nt4 computer.

And I get : "The machine account for this computer either does not exist or is inaccessible".

i tried :

useradd -c 'windows nt 4.0 server' -M -s /bin/false -n NTSERVER

(without the $)

And still have the same error....

What am I doing wrong ?!

I'm think E-Smith is not supposed to be a PDC.. should I then use windows 2000 advanced server for my internet connection and share...

I'm disappointed...

Thanx for help

WXP

Re: W2k domain logon
« Reply #21 on: July 19, 2001, 01:36:44 AM »
no one is motivated to make a module... a rpm .. something easy to install cause I cant make it work and i'm damn fed up with that @!#$ !

Dan Brown

Re: W2k domain logon
« Reply #22 on: July 19, 2001, 01:54:38 AM »
Keep some perspective here.  You're trying to make e-smith do something that it wasn't designed to do, we're working with a very recently-released version of the relevant software, and it's been less than 24 hours since your first post on this issue.  Have some patience.  Or, better yet, if you really want to find out how to work around this issue, try researching the issue yourself and posting your findings.

I don't know what the problem is.  The directions I wrote work just fine on my system and my (small) LAN, but they apparently aren't working for everybody (which is part of the reason that I haven't made an RPM, the other major part being that I do have to work for a living, and there are only 24 hours in the day).

WXP

Re: W2k domain logon
« Reply #23 on: July 19, 2001, 01:58:37 AM »
yeah you're right sorry ;-(

It's just that I really really need to make it work...

I'll try to make it work by myself and i'll tell you if i find something.

thanx for help

bill roy

Re: W2k domain logon
« Reply #24 on: July 20, 2001, 03:04:04 AM »
I was having the exact same problems up until yesterday. I made one final effort. I made sure there were no mapped drives to the e-smtih server. Then went through joining the domain. And voila, Welcome to the Domain.  I don't know if it was necessarily the mapping or the 100 hail marys I said before trying one last time. But I finally got in. Hope this helps.

WXP

Re: W2k domain logon
« Reply #25 on: July 20, 2001, 03:07:26 AM »
As I said in one of my few posts, It's a brand new system.. I just installed E-Smith on this comp and I tried what was explained.. I do not have any user, any share any groups.. nothing.. nothing.. it's clean..

Maybe that's the trouble ;-))

Steven_l

Re: W2k domain logon
« Reply #26 on: July 20, 2001, 05:16:10 PM »
I have almost the same problem, with the difference that when I try to join the domain, it gives me the message "The account used is a computer account.  Use your global account or local user account to access this server."

That is with user root and it's password.  Any other username fails also.  Anyone ?  Thx in advance.

Hsing-Foo

Re: W2k domain logon
« Reply #27 on: August 04, 2001, 07:00:09 PM »
Just to let you know,

I had the same problems concerning 'credentials etc.' (using samba 2.2.1a)

At that moment I already had a mapped share drive to the server, so I disconnected this one.
Tryed to join again but no luck, same message.
I rebooted my w2k machine (you now windoze, telling you one thing and doing another...:-) and tryed to join again, with success! Welcome to....

I think there is still a relation between the server and client after disconnecting a share, so reboot and you're clean of any links.
Short: disconnect all mappings and reboor your w2k machine before joining your domain.

Good luck,

RequestedDeletion