Converting des to dh640-0; the nisauthconf should be run as root and the nisaddcred should be run as any principal that has Create rights in the principal's home directory. The server is named server1 and the user principal is named morena. User morena has UID 11177.
client# nisauthconf des dh640-0 client% nisaddcred -P server1.doc.com. -p firstname.lastname@example.org dh640-0 (screen notices not shown) client% nisaddcred -P morena.doc.com. -p email@example.com -ldummy-password dh640-0 (screen notices not shown)