Results 1 to 9 of 9

Thread: Linux PDC & Win2K / XPpro

  1. #1

    Linux PDC & Win2K / XPpro

    I am running Redhat Linux servers and one is the PDC. I am using samba as the domain controller and linking win9x clients has worked.

    With the newer operating systems available (and the shortly unavalibility of Win9x clients) I am now looking for help in linking a Win2K / XPpro client to this domain.

    I get a message stating -
    The following error occurred attempting to join domain domain. the account used is a computer account. Use your global user account or local user account to access this server.

    Any help would be appreciated

  2. #2
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001

    Re: Linux PDC & Win2K / XPpro

    What version of Red Hat?? And your SAMBA is later than 2.2 ?

  3. #3

    Re: Linux PDC & Win2K / XPpro

    Redhat 7.2
    Samba 2.2.2

  4. #4

    Re: Linux PDC & Win2K / XPpro

    Looks like you might not have set the Windows users up on your RH box. I can't recall if they need the same passwords as the windows box but give it a whirl and see what happens.

  5. #5

    Re: Linux PDC & Win2K / XPpro

    Yeah, if I remember right the passwords have to be the same. Check also about whether or not you have set them up for encrypted passwords. But it sounds like your trying to connect to the pdc under an invalid account or share. U sure you have that part setup right?

  6. #6

    Re: Linux PDC & Win2K / XPpro

    Ive used Linuxconf to setup my users - they all work when logging from a Win9x machine. Using the same user/password combination from XP/2K fails. Is this to do with the SID's that 2K/XP use?

  7. #7

    Re: Linux PDC & Win2K / XPpro

    Did you enable password encryption on the 98 machines? If you didnt, then that might be your prob. Be default, the 9x systems use UN-encrypted passwords. If you configured samba to not use them either, it wont work since 2k etc. automatically use the encrypted ones.

  8. #8
    Join Date
    Jun 2001

    Re: Linux PDC & Win2K / XPpro

    This is my smb.conf file that works as a PDC controller:

    # Global parameters
    workgroup = HANDY
    netbios name = FILESERVER
    server string = %h server (Samba %v)
    encrypt passwords = Yes
    update encrypted = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
    syslog = 0
    max log size = 1000
    domain admin group = @adm
    add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u
    logon script = logon.cmd
    logon drive = H:
    domain logons = Yes
    os level = 64
    preferred master = True
    domain master = True
    dns proxy = No
    admin users = admin

    comment = Home Directories
    read only = No
    create mask = 0700
    directory mask = 0700
    browseable = No

    comment = All Printers
    path = /tmp
    create mask = 0700
    printable = Yes
    browseable = No

    path = /usr/local/samba/lib/netlogon
    write list = admin

    path = /export/smb/ntprofile
    read only = No
    create mask = 0600
    directory mask = 0700

    path = /home
    read only = No
    I followed the instructions here:

    Make sure you separate user and computer accounts. That seems to be the problem with the error message you're getting.
    One more trick: even though the user "admin" is set up as admin in the smb.conf file, it didn't work for me, so I set up root as a samba user (behind a firewall it's not that bad!). When you try to join the domain from W2K use root as the account that has administrator rights. Let me know if you need more help. It took me a whole week to figure this sucker out and get it set up.

  9. #9
    Join Date
    Feb 2002

    Re: Linux PDC & Win2K / XPpro

    Couldn't he just remove the root account after he joined the windows machine?

Similar Threads

  1. :o Win2k server installed with out disturbing Linux info in MBR !!
    By shahan01 in forum Windows - General Topics
    Replies: 14
    Last Post: 12-07-2003, 03:14 AM
  2. Linux or Win2k
    By tommyboy in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 02-24-2003, 04:18 PM
  3. Would Win2k have kept you from Linux?
    By cga in forum Linux - General Topics
    Replies: 43
    Last Post: 11-19-2002, 12:31 AM
  4. Win2k and Linux Dual Boot
    By rapjo in forum Linux - General Topics
    Replies: 11
    Last Post: 03-12-2002, 01:35 AM
  5. sharing data between Win2k and Linux.
    By chadm1967 in forum Linux - General Topics
    Replies: 3
    Last Post: 12-10-2001, 10:32 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts