Find the answer to your Linux question:
Results 1 to 8 of 8
hai every body i am trying to connect the windows XP machine to samba domain while giving the username and password it is displaying the following message "The following error ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jul 2004
    Posts
    143

    samba server is not connecting as a domain from windows XP


    hai
    every body

    i am trying to connect the windows XP machine to samba domain
    while giving the username and password it is displaying the following message



    "The following error occured attempting to join the domain "abc.com"

    Access is denied.

  2. #2
    Just Joined!
    Join Date
    Jan 2005
    Posts
    30
    1: Did you create a linux user ? passwd -a username
    2: Did you add the linux user to the smb user? smbpasswd -a username
    3: Did you log in on xp and log in to the samba server with the username
    and the password of the smb user?
    Did you config the smb.conf to allow the windos xp lan to access samba?

  3. #3
    Linux Newbie
    Join Date
    Jul 2004
    Posts
    143

    how to give the access to connect the XP to samba

    thank you

    i added the sambauser with smbpasswd -a username

    and also i logged into samba server with the username and password


    But I don't know how to give the access to connect the XP to samba in smb.conf file

    I think the last one is the error which i am doing

    please give me the suggestion.

    thanks
    inadvance

  4. #4
    Just Joined!
    Join Date
    Jan 2005
    Posts
    30
    Show me the smb.conf
    What is the IP of the XP and the subnet

  5. #5
    Linux Newbie
    Join Date
    Jul 2004
    Posts
    143
    This is the my smb.conf file

    # Global parameters
    [global]
    workgroup = DIOEXAM2003
    server string = "DIO Exam 2003 Linux Server"
    encrypt passwords = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*
    log file = /var/log/samba/%m.log
    max log size = 0
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    add user script = /usr/sbin/useradd -g machines -d /dev/null -s /bin/false %m$
    ;delete user script = /usr/sbin/userdel %m$

    domain logons = Yes
    os level = 65
    preferred master = Yes
    domain master = Yes
    dns proxy = No
    name resolve order = wins lmhosts bcast
    wins support = Yes
    kernel oplocks = No
    printing = cups
    blocking locks = No
    locking = No
    oplocks = No
    level2 oplocks = No

    [homes]
    comment = Home Directories
    valid users = %S
    read only = No
    create mask = 0664
    directory mask = 0775
    browseable = No

    [printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    browseable = No

    [public]
    comment = Public Stuff Folder for sharing
    path = /home/public


    The Ip of XP system is 195.100.100.45 and subnet mask is 255.255.255.0

    thanku

  6. #6
    Just Joined!
    Join Date
    Jan 2005
    Posts
    30
    O.K.
    Try to add this line to the global section

    hosts allow = 195.100.100. 127.

  7. #7
    Just Joined!
    Join Date
    Feb 2004
    Location
    Bangalore
    Posts
    14
    Is the XP system is same domain or same network..........

  8. #8
    Linux Newbie
    Join Date
    Jul 2004
    Posts
    143

    user is not logging from xp on samba

    hai everyone

    i configured the samba server
    i am able to connect the windows 2000 and xp machine to that samba as domain.

    Now the problem is while logging from windows machine, to the samba domain i am getting the following error message

    Windows cannot connect to the domain, either because the domain controller is down or oterwise unavailable, or because your computer account was not found. Please try again later, If this message continues to appear, contact your system administrator for assistance.

    But i am successfully logging from windows 2000 professional to the samba.

    what is the problem.

    this i s my smb.conf file

    # Global parameters
    [global]
    workgroup = linsrv
    server string = "itlab2 linux server"
    encrypt passwords = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*
    log file = /var/log/samba/%m.log
    max log size = 0
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    add user script = /usr/sbin/useradd -g machines -d /dev/null -s /bin/false %m$
    ;delete user script = /usr/sbin/userdel %m$
    logon script = user.bat
    logon drive = H:
    domain logons = Yes
    os level = 65
    preferred master = Yes
    domain master = Yes
    dns proxy = No
    name resolve order = wins lmhosts bcast
    wins support = Yes
    kernel oplocks = No
    printing = cups
    blocking locks = No
    locking = No
    oplocks = No
    level2 oplocks = No

    [homes]
    comment = Home Directories
    valid users = %S
    read only = No
    create mask = 0664
    directory mask = 0775
    browseable = No

    [printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    browseable = No

    [public]
    comment = Public Stuff Folder for sharing
    path = /home/public

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

    Please help me

    thanks
    mummaneni

Posting Permissions

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