samba issue

Posted on 2006-05-11
Medium Priority
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
  • 2

Expert Comment

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

Author Comment

ID: 16672510
  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/smbgrpadd.sh "%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..



Expert Comment

ID: 16673441
hummm, please also attach /var/log/samba/smb.log

Accepted Solution

mjdme earned 300 total points
ID: 16848035
Start Regedit, navigate to:


and change




Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month17 days, 2 hours left to enroll

864 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