Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am a newbie on Linux platform and have installed CentOS 5.2(Server) on one of my machines and have installed and configured samba Version 3.0.33-3.7.el5.
I am able to bring an WIN XP Professional machine on to my SAMBA - CentOS release 5.2 (Final) domain.
I am not sure how to do the same on Linux clients (which are installed with Fedora and CentOS operating systems).
I am trying to make this as my PDC (Primary Domain Controller) kindly provide me the links where I can refer to and go ahead and accomplish this task.
I would require this mainly for authentication purpose of both windows and Linux (Fedora) clients.
I tried even this ldapsearch -x -b 'dc=adminmart,dc=com' '(objectclass=*)' and the result was
# extended LDIF
#
# LDAPv3
# base with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
I have also tried using the tcpdump -n tcp port ldap and I was able to get a reply as mentioned below but I am not able to login from my client machine using the ldapuser accounts.
tcpdump -n tcp port ldap command on client resulted in
19:37:03.947093 IP 192.168.1.2.ldap > 192.168.1.3.33488: P 29:43(14) ack 247 win 215
19:37:03.986262 IP 192.168.1.3.33488 > 192.168.1.2.ldap: . ack 43 win 183
I run centos 5 like you, and just finished samba+ldap+centos
I have even added xp clients successfully. Im stuck with adding vista clients so opened a seperate thread for that.
I can help you upto adding xp successfully.
I have not done adding linux users..
My advice to you:
1) Dont enable TLS right in the begenning.... Disable TLS,Iptables and selinux in the begenning... Introduce them only when the functionality is working
2) There is a bug in PAM in RHEL 5 and obviously cent os 5.
3) edit the /etc/pam.d/service-auth-ac file and somewhere it will say >=500, that line has to be changed to >0 or >100 cos it says if uid >=500 then quiet(means accept)... If you have lower uid's authentication will not happen.
Similarly you have to change in the account line to > 0 , so as to make everything work.
4) Change the /etc/ldap.conf and /etc/openldap/ldap.conf file to change bing policy from hard to soft.(this saves your ass)
5) Bring me here the /var/log/samba/log.<machinename>
The machine im talking about is the machine that you wanna join.. Only then people here can help.
6) If you get any info on joining vista please help me dude
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.