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.
# Jason Greene, admin, Groups, svdpacademy.org
dn: cn=Jason Greene,cn=admin,ou=Groups,dc=svdpacademy,dc=org
cn: Jason Greene
givenName: Jason
sn: Greene
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
uid: jgreene
homeDirectory: /school-2/School_data/Maintenance/jgreene
uidNumber: 1002
gidNumber: 1002
# search result
search: 2
result: 0 Success
# numResponses: 10
# numEntries: 9
root@Tracy-Lounge-4:~# ldapsearch -x -b "dc=svdpacademy,dc=org" -h ldap://192.168.1.105
Could not create LDAP session handle for URI=ldap://ldap:%2F%2F192.168.1.105 (-9): Bad parameter to an ldap routine
root@Tracy-Lounge-4:~# ldapsearch -x -b "dc=svdpacademy,dc=org" -h ldap://192.168.1.105
Could not create LDAP session handle for URI=ldap://ldap:%2F%2F192.168.1.105 (-9): Bad parameter to an ldap routine
If you use the -h option (deprecated in favor of -H option), you should use either the IP address or the hostname of the ldap server:
When I use the "sasldb2" database with the "saslpasswd2 -c -u" command to add users, the SASL authentication test with "swaks" is successful. However, I'm unable to authenticate LDAP users using SASL. I've configured "/etc/default/saslauthd" accordingly, and I can test LDAP users using "testsaslauth -u -p" and see the users with "getent passwd." But when I try to test LDAP users' usernames and passwords with "swaks," I receive the error "535 5.7.8 Error: authentication failed: authentication failure *** No authentication type succeeded." What should I do in this case?
smtpd[100188]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed: no mechanism available
Aug 8 06:42:45 lastpostfix postfix/smtpd[100188]: disconnect from localhost[127.0.0.1] ehlo=1 auth=0/3 quit=1 commands=2/5
Aug 8 08:06:11 lastpostfix postfix/smtpd[102342]: connect from localhost[127.0.0.1]
Aug 8 08:06:11 lastpostfix postfix/smtpd[102342]: warning: localhost[127.0.0.1]: SASL CRAM-MD5 authentication failed: no mechanism available
Aug 8 08:06:11 lastpostfix postfix/smtpd[102342]: warning: SASL authentication problem: unknown password verifier(s) auxprop
Aug 8 08:06:11 lastpostfix postfix/smtpd[102342]: warning: localhost[127.0.0.1]: SASL LOGIN authentication failed: no mechanism available
Aug 8 08:06:11 lastpostfix postfix/smtpd[102342]: warning: SASL authentication problem: unknown password verifier(s) auxprop
Aug 8 08:06:11 lastpostfix postfix/smtpd[102342]: warning: SASL authentication failure: Password verification failed
Aug 8 08:06:11 lastpostfix postfix/smtpd[102342]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed: no mechanism available
Aug 8 08:06:11 lastpostfix postfix/smtpd[102342]: disconnect from localhost[127.0.0.1] ehlo=1 auth=0/3 quit=1 commands=2/5
postfix1 postfix/master[5123]: terminating on signal 15
Aug 10 13:16:24 postfix1 postfix/postfix-script[5596]: warning: not owned by root: /var/spool/postfix/etc/sasldb2
Aug 10 13:16:25 postfix1 postfix/postfix-script[5764]: starting the Postfix mail system
Aug 10 13:16:25 postfix1 postfix/master[5766]: daemon started -- version 3.4.13, configuration /etc/postfix
Aug 10 13:17:03 postfix1 postfix/smtpd[5792]: connect from localhost[127.0.0.1]
Aug 10 13:17:03 postfix1 postfix/smtpd[5792]: E836C316F: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_usernam
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.