Samba and nis question
Alaa Alamood
aaa at netman.dk
Fri Nov 9 02:46:02 GMT 2001
Hi
I have tried the first par, I still have problem to sync. password. Is any
way to aviod having root passwrod on the smb.conf file, there is some
security issues here
thanks in advance
Alaa
Shekhar wrote:
> 1.
> passwd program = /usr/bin/yppasswd %u
> unix password sync = Yes
> passwd chat = *root*password* urpasswdhere\n \
> *new*password* %n\n *new*password* %n\n *NIS*
>
> 2. My addmachine script.
>
> Usage addmachine machinename
> eg. addmahine comp1
> __________________________________________
> /usr/sbin/adduser $1$ -d /dev/null -s /bin/false
> smbpasswd -a -m $1$
> echo "Added Machine Account $1 to SMB DataBase."
> __________________________________________
>
> Shekhar
> System Administrator, VIIT
> Telefax: +91-2112-43476 to 79 Ext: 216
> Email: webmaster at viitindia.org
> Web: www.viitindia.org
> -----------------------------------------
> Check out viitindia.org
> for new Career services
> ----- Original Message -----
> From: "Alaa Alamood" <aaa at netman.dk>
> To: <samba-ntdom at lists.samba.org>
> Sent: Friday, November 09, 2001 12:45 AM
> Subject: Samba and nis question
>
> > Hi
> >
> > Thanks for this nice product
> >
> > I have samba 2.2.2 running on alpha server (tru64 5.1), samba configured
> > to be PDC, and I have yppasswd on my server, my questions are
> >
> > 1- How is possible to sync. smbpasswd with yppasswd
> > when I enable sync passwd like the following
> >
> > passwd program = /usr/bin/yppasswd
> > unix password sync = yes
> > passwd chat = *New*SMB*password* %n\n *Retype*new*SMB*password:*
> > %n\n *Password*changed*for*user*
> >
> > and try to change the password from the user I got the following
> > error
> >
> > machine 127.0.0.1 rejected the password chang: Error was: the
> > specified password is ivalid
> >
> >
> > 2- I have made scripte to register the machines into yppasswd and
> > smbpasswd and I add the following in smb.conf file
> >
> > add user scripte /usr/local/bin/addmachine -a %m
> >
> > when I try to join the domain from win2k no thing happen
> >
> > any body know why
> >
> >
> > thanks in advanc
> >
> > Alaa
> >
> >
> >
More information about the samba-ntdom
mailing list