Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I'm having some problems with Samba... I can successfully join a Samba-controlled domain from Linux, but from Windows XP, it tells me that "The specified user does not exist" ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2003
    Posts
    3

    Problems with Samba as a Domain Controller


    Hi, I'm having some problems with Samba... I can successfully join a Samba-controlled domain from Linux, but from Windows XP, it tells me that "The specified user does not exist" and samba's log says " get_md4pw: Workstation r0x0r$: no account in domain" ... although I have already created an appropriate trust account for the machine. Can anyone offer me any advice?

    my smb.conf:

    Code:
    workgroup = OERINET
    
    unix password sync = yes
    
    add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
    
    admin users = root,admin,root1
    
    # Tell Samba to use domain logons
    domain logons = yes
    
    encrypt passwords = yes
    #encrypt passwords = no
    
    smb passwd file = /etc/samba/smbpasswd
    
        logon path = \\%L\profiles\%U.pds
        logon home = \\%L\%U
        logon drive = m:
    
    # User-level security. Users must
    # authenticate themselves with
    # valid username and password
    security = user
    
    # Set to yes so that nmbd participates
    # in local master browser
    # elections
    local master = yes
    
    # Set Os level value to make sure nmbd
    # wins local browse master
    # elections. 65 should beat everyone
    # according to the man page
    os level = 65
    
    # Give nmbd an advantage in local
    # master browser elections
    preferred master = yes
    
    # Set so that nmbd claims a unique
    # NetBIOS name identifying it as
    # a domain master
    domain master = yes
    
    # The following share is required to support
    # domain logons. The directory may be
    # created anywhere on your system. Make
    # sure the share is non-writeable and also
    # not a public share.
    [netlogon]
    comment = The domain logon service
    path = /netlogon
    public = no
    writeable = no
    
    [profiles]
         comment = User profiles
         path = /usr/local/profiles
         create mode = 0600
         directory mode = 0700
         writeable = yes
         browseable = yes
         force user = %U
         valid users = %U administrator

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Have you tried it not using domain logon?
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    Dec 2003
    Posts
    3
    By saying domain logons = no, Windows cannot find the domain controller at all.

Posting Permissions

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