Nrmonlyroot
From CoolSolutionsWiki
-my other wikis
Novell Remote Manager (NRM) only allows root to login to OES 2
Contents |
[edit]
error
- error: pam_warn(httpstkd:auth): function=[pam_sm_authenticate] service=[httpstkd] terminal=[<unknown>]
- Feb 18 12:17:58 fs3 /usr/sbin/namcd[10801]: Starting namcd..
- Feb 18 12:17:58 fs3 /usr/sbin/namcd[10801]: namcd populating the user hash tables
- Feb 18 12:17:58 fs3 /usr/sbin/namcd[10801]: User profile file cannot be opened/does not exist
- Feb 18 12:17:58 fs3 /usr/sbin/namcd[10801]: Failed to populate user hash tables from file, namcd populating the hash tables from eDir
- Feb 18 12:17:59 fs3 /usr/sbin/namcd[10801]:
[edit]
ldap_initconn: LDAP bind failed (error = [81]), trying to connect to alternative LDAP server
- Feb 18 12:17:59 fs3 /usr/sbin/namcd[10801]: Unknown error returned reading configuration parameter: alternative-ldap-server-list
- Feb 18 12:17:59 fs3 /usr/sbin/namcd[10801]: _nds_nss_struct_init: Error [226] in _nds_ldap_private_struct_init.
- Feb 18 12:17:59 fs3 /usr/sbin/namcd[10801]: Problem in namcd initialization, exiting...
- Feb 18 12:18:01 fs3 /usr/sbin/namcd[10801]: Deleted hash tables and flushed data into local files
- Feb 18 12:18:01 fs3 /usr/sbin/namcd[10801]: Deinitialized threads
[edit]
errors
- findUserWithoutUIDAndGID
- pam_warn(httpstkd:session): function=[pam_sm_open_session] service=[httpstkd] terminal=[<unknown>] user=
- monitorChangesInLDAP: LUM configuration points to non-replica LDAP server. Persistent search is not supported for this configuration.
- /usr/sbin/namcd[4278]: findUserWithoutUIDAndGID: Return code from the search: [32]
[edit]
documentation
- Documentation on LUM
- Using Iman to lum enable edir users
- OES 2 sp1 documentation on troubleshooting LUM
[edit]
troubleshooting LUM
- rpm -qa | grep lum
- rcnamcd status should be running
- rcnamcd was NOT starting because the ldap server (MUST have replica for LUM) we were talking to had its KMO/cert expired (pkidiag), once that was fixed, namcd would start.
- rcnscd status
- to re-download the keys, namconfig -k
- ensure /etc/nam.conf is pointing to the correct ip addr/etc
- see also http://wiki.novell.com/index.php/Migfilesauthenticationfailure
- find lumdiag and RUN LUMDIAG (not released yet)
- turn on ldap debug
- ldapconfig set “LDAP Screen Level=all”
- or on NW modify the ldap group object and enable all ldap options
- get a supportconfig and review the lum.txt
- ensure rcnscd is STOPPED/not running
- screen -a
- ctr A ' "^A"
- tail -f /var/log/messages
- ldapconfig get
- namgroupadd -A -P -x ou=is,o=novell templumgrp
- ndsrepair -P
- nameconfig get | grep -i prefe
- nameconfig get | grep -i persis requires user ID to have a replica copy
- namuseradd -a cn=admin,o=novell -x ou=is,o=novell -g cn=templumgrp2,ou=is,o=novell minime
- namuseradd -a $ADMINFDN -w $ADMINPWD -x $USERCONTEXT -d "$LUM_HOMEDIR" -g cn="$LUM_PRIMGROUP","$GRPCONTEXT" -s "$LUM_SHELL" -o -u "$LUM_UID" "$LUM_USERID"
[edit]
solution
- One CASE we had to REMOVE the server from edir - this is EXTREME and typically you don't need to do that.
- ndsconfig rm -a cn=admin.o=org
- scrub script novell-scrub.sh
- needed dos2unix novell-scrub.sh
