Hey Guys, I have just upgraded to version 3.0.21rc1. I decided to re-populate the database and test if everything is working. ./smbldap-populate -a root -k 0 -m 0 -> ok ./smbldap-useradd -m -a username -> ok ./smbldap-passwd username -> ok smbpasswd username - > fail [root@node1 sbin]# smbpasswd asender New SMB password: Retype new SMB password: ldapsam_set_account_policy: Could not set account policy for sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute type (sambaPwdHistoryLength: attribute type undefined) ldapsam_set_account_policy: Could not set account policy for sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute type (sambaPwdHistoryLength: attribute type undefined) ldapsam_set_account_policy: Could not set account policy for sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute type (sambaPwdHistoryLength: attribute type undefined) ldapsam_set_account_policy: Could not set account policy for sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute type (sambaMaxPwdAge: attribute type undefined) ldapsam_set_account_policy: Could not set account policy for sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute type (sambaMinPwdAge: attribute type undefined) ldapsam_set_account_policy: Could not set account policy for sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute type (sambaPwdHistoryLength: attribute type undefined) ldapsam_set_account_policy: Could not set account policy for sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute type (sambaPwdHistoryLength: attribute type undefined) hmmmmm any ideas; is this a bug? Please CC me the reply as well as the list. Adrian Sender.
stephane.purnelle@corman.be
2005-Nov-15 10:40 UTC
RE [Samba] samba 3.0.21rc1 + ldap PDC - smbpasswd issue
I have upgraded the samba.schema in /etc/openldap/schema , ----------------------------------- St?phane PURNELLE stephane.purnelle@corman.be Service Informatique Corman S.A. Tel : 00 32 087/342467 samba-bounces+stephane.purnelle=corman.be@lists.samba.org a ?crit sur 15/11/2005 11:36:40 :> Hey Guys, > > I have just upgraded to version 3.0.21rc1. I decided to re-populate the > database and test if everything is working. > > ./smbldap-populate -a root -k 0 -m 0 -> ok > > ./smbldap-useradd -m -a username -> ok > > ./smbldap-passwd username -> ok > > smbpasswd username - > fail > > [root@node1 sbin]# smbpasswd asender > New SMB password: > Retype new SMB password: > ldapsam_set_account_policy: Could not set account policy for > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attributetype> (sambaPwdHistoryLength: attribute type undefined) > ldapsam_set_account_policy: Could not set account policy for > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attributetype> (sambaPwdHistoryLength: attribute type undefined) > ldapsam_set_account_policy: Could not set account policy for > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attributetype> (sambaPwdHistoryLength: attribute type undefined) > ldapsam_set_account_policy: Could not set account policy for > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attributetype> (sambaMaxPwdAge: attribute type undefined) > ldapsam_set_account_policy: Could not set account policy for > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attributetype> (sambaMinPwdAge: attribute type undefined) > ldapsam_set_account_policy: Could not set account policy for > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attributetype> (sambaPwdHistoryLength: attribute type undefined) > ldapsam_set_account_policy: Could not set account policy for > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attributetype> (sambaPwdHistoryLength: attribute type undefined) > > hmmmmm any ideas; is this a bug? > > > Please CC me the reply as well as the list. > Adrian Sender. > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba
adrian sender
2005-Nov-15 10:52 UTC
RE [Samba] samba 3.0.21rc1 + ldap PDC - smbpasswd issue
Thank you Stephane, Your responce time was less then 1 minute - truly amazing. Copying the new samba.schema and restarting ldap & samba fixed this problem. # cp/usr/share/doc/samba-3.0.21rc1/LDAP/samba.schema /etc/openldap/schema Many Thanks Adrian Sender.>From: stephane.purnelle@corman.be >To: samba@lists.samba.org >CC: "adrian sender" <adrian_au1@hotmail.com> >Subject: RE [Samba] samba 3.0.21rc1 + ldap PDC - smbpasswd issue >Date: Tue, 15 Nov 2005 11:36:15 +0100 > >I have upgraded the samba.schema in /etc/openldap/schema , > >----------------------------------- >Stéphane PURNELLE stephane.purnelle@corman.be >Service Informatique Corman S.A. Tel : 00 32 087/342467 > >samba-bounces+stephane.purnelle=corman.be@lists.samba.org a écrit sur >15/11/2005 11:36:40 : > > > Hey Guys, > > > > I have just upgraded to version 3.0.21rc1. I decided to re-populate the > > database and test if everything is working. > > > > ./smbldap-populate -a root -k 0 -m 0 -> ok > > > > ./smbldap-useradd -m -a username -> ok > > > > ./smbldap-passwd username -> ok > > > > smbpasswd username - > fail > > > > [root@node1 sbin]# smbpasswd asender > > New SMB password: > > Retype new SMB password: > > ldapsam_set_account_policy: Could not set account policy for > > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute >type > > (sambaPwdHistoryLength: attribute type undefined) > > ldapsam_set_account_policy: Could not set account policy for > > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute >type > > (sambaPwdHistoryLength: attribute type undefined) > > ldapsam_set_account_policy: Could not set account policy for > > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute >type > > (sambaPwdHistoryLength: attribute type undefined) > > ldapsam_set_account_policy: Could not set account policy for > > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute >type > > (sambaMaxPwdAge: attribute type undefined) > > ldapsam_set_account_policy: Could not set account policy for > > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute >type > > (sambaMinPwdAge: attribute type undefined) > > ldapsam_set_account_policy: Could not set account policy for > > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute >type > > (sambaPwdHistoryLength: attribute type undefined) > > ldapsam_set_account_policy: Could not set account policy for > > sambaDomainName=DDESIGN,dc=ddesign,dc=com, error: Undefined attribute >type > > (sambaPwdHistoryLength: attribute type undefined) > > > > hmmmmm any ideas; is this a bug? > > > > > > Please CC me the reply as well as the list. > > Adrian Sender. > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/listinfo/samba