ldapscripts | Simple shell scripts to handle POSIX entries | Identity Management library
kandi X-RAY | ldapscripts Summary
kandi X-RAY | ldapscripts Summary
Ldapscripts - README file. The ldapscripts are originally designed to be used within Samba 3.x's smb.conf file. They allow to manipulate POSIX entries for users, groups and machines in an LDAP directory. They are written in shell and need ldap client commands to work correctly (ldapadd, ldapdelete, ldapmodify, ldapsearch). Other scripts also are provided as simple tools to (manually) query your LDAP directory : ldapfinger, ldapid, lsldap (...). They are designed to be used under GNU/Linux or FreeBSD (any other recent UNIX-like should also work) and require several binaries that should come with your OS (uuencode, getent/pw, date, grep, sed, cut...). Latest version available on
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ldapscripts
ldapscripts Key Features
ldapscripts Examples and Code Snippets
Community Discussions
Trending Discussions on ldapscripts
QUESTION
I am trying to host a centralized authentication server using ldap.
I have a working ldap server, and am using phpLDAPadmin to add/delete users.
However, when I try to add user with ldapscripts command "sudo ldapadduser george RA", following the example in https://help.ubuntu.com/lts/serverguide/openldap-server.html#openldap-auth-config , it says "Error adding user george to LDAP".
When I look in /var/log/ldapscripts.log, the log message seems obscure: enter image description here
I am a newbie to this. Can someone please help? Thanks!
...ANSWER
Answered 2017-Jun-19 at 12:58Turns out I wasn't familiar enough with ldap and ldapscripts,
I had to edit the config file /etc/ldapscripts/ldapscripts.conf, which requires
- SUFFIX="dc=example,dc=com" : the base domain
- GSUFFIX="ou=groups" : where the group ou should be
- USUFFIX="ou=users" : where the users ou should be
- MSUFFIX="ou=machines": where the machines ou should be
After setting he corresponding organizational units(previously added in LDAP), ldapscripts was fine to use.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ldapscripts
Use 'make help' for more options. All the scripts will be copied (by default) to /usr/local/sbin and ldapscripts.conf will be copied to /usr/local/etc/ldapscripts. Keep in mind that the scripts are installed with quite restrictive rights. You may have to play with group rights or ACLs (if they are enabled on your system) to make the things work... Once installed, edit /usr/local/etc/ldapscripts/ldapscripts.conf to configure the ldapscripts.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page