Re: [CentOS] Generating password string in /var/nis/passwd with Perl

2009-01-20 Thread Stephen Harris
On Tue, Jan 20, 2009 at 05:11:27PM +0100, Alexander Farber wrote: > I could skip one manual step (calling yppasswd) if I knew > how to generate the passwd string for /var/nis/passwd: > > farber:oav3dV4.Mnj/.:10154153:5725:Alexander > Has anybody already figured out, how to do it from Perl? cry

[CentOS] Generating password string in /var/nis/passwd with Perl

2009-01-20 Thread Alexander Farber
Hello, in our network we have AD (Win 2003) for user authentication under Windows and NIS (CentOS 5.2) for same under Linux: # rpm -qf /var/yp filesystem-2.4.0-1.el5.centos ypbind-1.19-8.el5 yp-tools-2.9-0.1 ypserv-2.19-3 I have written a CGI Script to add new users both to AD and NIS and also t