RE [Samba] samba 3.0.21rc1 + ldap PDC - smbpasswd issue

2005-11-15 Thread stephane . purnelle
I have upgraded the samba.schema in /etc/openldap/schema ,

---
Stéphane PURNELLE [EMAIL PROTECTED]
Service Informatique   Corman S.A.   Tel : 00 32 087/342467

[EMAIL PROTECTED] 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
 
 [EMAIL PROTECTED] 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)
 
 hm 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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: RE [Samba] samba 3.0.21rc1 + ldap PDC - smbpasswd issue

2005-11-15 Thread adrian sender

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: [EMAIL PROTECTED]
To: samba@lists.samba.org
CC: adrian sender [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
Service Informatique   Corman S.A.   Tel : 00 32 087/342467

[EMAIL PROTECTED] 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

 [EMAIL PROTECTED] 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)

 hm 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



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba