RE: [Samba] Samba PDC = Expire passwords

2004-07-26 Thread Rafael Paris
I changed that back to 0 but the problem persists...
Is there a patch available for this problem?

Cheers,
Rafael Paris
Gerente de Sistemas Casino
e-mail: [EMAIL PROTECTED]
pagina web/page: www.hotelmaruma.com
Telefono/Phone: 0058 261 730 27 70
Fax: 0058 261 730 28 10

 

-Mensaje original-
De: Andrew Bartlett [mailto:[EMAIL PROTECTED] 
Enviado el: Domingo, 25 de Julio de 2004 08:14 p.m.
Para: Rafael Paris
CC: [EMAIL PROTECTED]
Asunto: Re: [Samba] Samba PDC = Expire passwords

On Mon, 2004-07-26 at 02:00, Rafael Paris wrote:
 Hi everyone...
 
 Since I'm running samba I haven't been able to implement pdbedit 
 policies like password expiration time, lockout attempts, etc...
 I'm running samba-3.0.5 in RedHat enterprise 3 I read pdbedit manual I 
 also tried to force users to change their password at first logon 
 running this command:
 pdbedit -P user must logon to change password -C 1

That policy is not only unused by Samba, it would defeat what you want.

 I set the account to last a week for testing purposes only and the 
 minimum password age for 3 days.
 
 This is the account information for a user.
 
 [EMAIL PROTECTED] ]# pdbedit -c [L] -u xx
 Unix username:xx
 NT username:
 Account Flags:[U  ]
 User SID: S-1-5-21-4146764868-x-xx-2002
 Primary Group SID:S-1-5-21-4146764868-x-xx-512
 Full Name:Antonio Prado
 Home Directory:   \\\aprado
 HomeDir Drive:
 Logon Script: aprado.bat
 Profile Path:
 Domain:   CASINO
 Account desc:
 Workstations:
 Munged dial:
 Logon time:   0
 Logoff time:  lun, 18 ene 2038 23:14:07 GMT
 Kickoff time: lun, 18 ene 2038 23:14:07 GMT
 Password last set:dom, 11 jul 2004 13:21:16 GMT
 Password can change:  dom, 11 jul 2004 13:21:16 GMT

 Password must change: lun, 18 ene 2038 23:14:07 GMT

If this is set to 0, then it the 'must change at first logon' is flagged.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


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


RE: [Samba] Samba PDC = Expire passwords

2004-07-26 Thread Andrew Bartlett
On Mon, 2004-07-26 at 20:19, Rafael Paris wrote:
 I changed that back to 0 but the problem persists...
 Is there a patch available for this problem?

I work with LDAP, I'm not quite sure what you can do via pdbedit.  In
any case, the way to flag 'must change at next login' is to set the
'must change time' to 0.

You must use either ldapsam or tdbsam.

There is no bug here - it works at my site quite happily.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Samba PDC = Expire passwords

2004-07-25 Thread Rafael Paris
Hi everyone...

Since I'm running samba I haven't been able to implement pdbedit policies
like password expiration time, lockout attempts, etc...
I'm running samba-3.0.5 in RedHat enterprise 3
I read pdbedit manual
I also tried to force users to change their password at first logon running
this command: 
pdbedit -P user must logon to change password -C 1

I set the account to last a week for testing purposes only and the minimum
password age for 3 days.

This is the account information for a user.

[EMAIL PROTECTED] ]# pdbedit -c [L] -u xx
Unix username:xx
NT username:
Account Flags:[U  ]
User SID: S-1-5-21-4146764868-x-xx-2002
Primary Group SID:S-1-5-21-4146764868-x-xx-512
Full Name:Antonio Prado
Home Directory:   \\\aprado
HomeDir Drive:
Logon Script: aprado.bat
Profile Path:
Domain:   CASINO
Account desc:
Workstations:
Munged dial:
Logon time:   0
Logoff time:  lun, 18 ene 2038 23:14:07 GMT
Kickoff time: lun, 18 ene 2038 23:14:07 GMT
Password last set:dom, 11 jul 2004 13:21:16 GMT
Password can change:  dom, 11 jul 2004 13:21:16 GMT 
Password must change: lun, 18 ene 2038 23:14:07 GMT
Last bad password   : 0
Bad password count  : 0

Thanks in advanced,

Rafael Paris
Gerente de Sistemas Casino
e-mail: [EMAIL PROTECTED]
pagina web/page: www.hotelmaruma.com
Telefono/Phone: 0058 261 730 27 70
Fax: 0058 261 730 28 10


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


Re: [Samba] Samba PDC = Expire passwords

2004-07-25 Thread Andrew Bartlett
On Mon, 2004-07-26 at 02:00, Rafael Paris wrote:
 Hi everyone...
 
 Since I'm running samba I haven't been able to implement pdbedit policies
 like password expiration time, lockout attempts, etc...
 I'm running samba-3.0.5 in RedHat enterprise 3
 I read pdbedit manual
 I also tried to force users to change their password at first logon running
 this command: 
 pdbedit -P user must logon to change password -C 1

That policy is not only unused by Samba, it would defeat what you want.

 I set the account to last a week for testing purposes only and the minimum
 password age for 3 days.
 
 This is the account information for a user.
 
 [EMAIL PROTECTED] ]# pdbedit -c [L] -u xx
 Unix username:xx
 NT username:
 Account Flags:[U  ]
 User SID: S-1-5-21-4146764868-x-xx-2002
 Primary Group SID:S-1-5-21-4146764868-x-xx-512
 Full Name:Antonio Prado
 Home Directory:   \\\aprado
 HomeDir Drive:
 Logon Script: aprado.bat
 Profile Path:
 Domain:   CASINO
 Account desc:
 Workstations:
 Munged dial:
 Logon time:   0
 Logoff time:  lun, 18 ene 2038 23:14:07 GMT
 Kickoff time: lun, 18 ene 2038 23:14:07 GMT
 Password last set:dom, 11 jul 2004 13:21:16 GMT
 Password can change:  dom, 11 jul 2004 13:21:16 GMT 

 Password must change: lun, 18 ene 2038 23:14:07 GMT

If this is set to 0, then it the 'must change at first logon' is
flagged.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Samba PDC = Expire passwords

2004-07-24 Thread Rashaad S. Hyndman
Hi all,

I have a Samba PDC setup and i was wondering if anyone knows how i can
force the users to change passwords ever x days.  My network consists of
windows type machines as was as linux based machines. 

Any help would greatly be apprecitated.


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


Re: [Samba] Samba PDC = Expire passwords

2004-07-24 Thread Craig White
On Sat, 2004-07-24 at 16:47, Rashaad S. Hyndman wrote:
 Hi all,
 
 I have a Samba PDC setup and i was wondering if anyone knows how i can
 force the users to change passwords ever x days.  My network consists of
 windows type machines as was as linux based machines. 
 
 Any help would greatly be apprecitated.

man pdbedit

Craig

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