samba issue

Posted on 2006-05-11
Last Modified: 2010-08-05


     i am trying to configure samba on RHEL-4 system which i made it as a PDC ..  .. I installed and configured samba.. but i am not able to login from a windows XP client. because of some security issue

       whenever i gives the 'net' command to check something.. i always get the message..
                         ads_connect: Transport endpoint is not connected

   for example...  if i give the command...
   net user info 'a username'

   ads_connect: Transport endpoint is not connected

  please help me to solve this issue....



Question by:mshajan
    LVL 6

    Expert Comment

    Please post your smb.conf file and the result of "net groupmap list"

    Author Comment

      here ia what u asked for


            workgroup = AGG
            netbios name = DC
            server string = AGG Domain Controller
            interfaces =
            encrypt passwords = Yes
            map to guest = Bad User
            passwd program = /usr/bin/passwd %u
            passwd chat = *New*password* %n\n *Retype*new*passwor
            unix password sync = Yes
            log file = /var/log/samba/%m.log
            max log size = 0
            socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF
            # domain admins = root
            add machine script = /usr/sbin/useradd -d /dev/null -
    / -M %u
            add user script = /usr/sbin/useradd -d /opt1/samba/AG
    s /bin/bash %u
            delete user script = /usr/sbin/userdel %u
            add group script = /usr/sbin/ "%g"
            logon path = \\%L\profiles\%U
            logon drive = h:
            logon home = \\%L\home\%U
            logon script = logon.bat
            domain logons = Yes
            os level = 64
            username level = 10
            preferred master = Yes
            domain master = Yes
            local master = Yes
            dns proxy = No
            wins support = Yes
            guest account = smbguest
            load printers = yes
            printer admin = hasan
            printing = lprng
            admin users = Administrator, root, hasan, mshajan
            username map = /etc/samba/smbusers
            passdb backend = smbpasswd

            comment = Home Directories
            path = /opt1/samba/AGG/homes
            read only = No
            create mask = 0664
            directory mask = 0775

            comment = Network Logon Service
            path = /opt1/samba/AGG/netlogon
            create mask = 0644
            guest ok = Yes

            path = /opt1/samba/AGG/profiles
            read only = No
            create mask = 0600
            directory mask = 0744
            guest ok = Yes
            browseable = No

            path = /opt1/samba/AGG/updates
            directory mask = 0744
            browseable = Yes
            read only = Yes

            path = /opt1/samba/AGG/public
            directory mask = 0775
            browseable = Yes
            read only = no

            path = /opt1/samba/AGG/it
            directory mask = 0775
            browseable = Yes
            create mask = 0664
            read only = no

    [root@dc root]# net groupmap list

    System Operators (S-1-5-32-549) -> -1
    Replicators (S-1-5-32-552) -> -1
    Guests (S-1-5-32-546) -> -1
    Domain Users (S-1-5-21-4203542466-1092994650-519671676-513) -> users
    Domain Admins (S-1-5-21-4203542466-1092994650-519671676-512) -> domadmins
    Domain Guests (S-1-5-21-4203542466-1092994650-519671676-514) -> nobody
    Power Users (S-1-5-32-547) -> -1
    Print Operators (S-1-5-32-550) -> -1
    Administrators (S-1-5-32-544) -> -1
    Account Operators (S-1-5-32-548) -> -1
    Backup Operators (S-1-5-32-551) -> -1
    Users (S-1-5-32-545) -> users

      Initially in the groupmap list, Domain Users, Domain Admins and Domain Guests were also mapped to  ' -1 '   . Then i manually mapped to unix groups users,domadmins, nobody respectively..

      So please help me in this regard..


    LVL 6

    Expert Comment

    hummm, please also attach /var/log/samba/smb.log
    LVL 2

    Accepted Solution

    Start Regedit, navigate to:


    and change




    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now