Dear experts,
I'm faced with a challenge that I seem to be unable to solve. I actually don't know if it's possible at all, so hopefully one of you can provide the answer.
I've setup a bunch of servers with SLES 11SP3. One of these is configured to be an LDAP server for central user and group management on all the others. The others are going to serve as SAP servers.
Now here's the annoying bit. I've configured all the users and groups for SAP in LDAP. I've verified that authentication works, users can change their password, etc. However, during installation SAP will run something like
Code:
usermod -G "sapinst" sapuser
on the existing LDAP user. This results in the following error:
Code:
usermod: Cannot add user to groups stored in LDAP database without DN.
usermod: User not added to LDAP group `sapinst'.
On the command line I can bypass this by specifying the full DN using the -D option of usermod and then manually provding the password for the LDAP server. However, I cannot change the way the SAP installation program calls usermod.
So to cut a long story short, is there a way I pre-configure the DN / password so usermod will pick them up autmatically (e.g. without the -D option)? If so, that would really make my life easier.
Thanks.
Louis