Dear All,

I turned ON the Samba Policy Control "user must logon to change password"=
by runing below pdbedit command

[root@samba samba]# pdbedit -P "user must logon to change password"
account policy value for user must logon to change password is 0

[root@samba samba]# pdbedit -P "user must logon to change password" -C 1
account policy value for user must logon to change password was 0
account policy value for user must logon to change password is now 1

[root@samba samba]# pdbedit -P "user must logon to change password"
account policy value for user must logon to change password is 1

I created user1

[root@samba samba]# pdbedit -a user1
new password:
retype new password:
Unix username: user1
NT username:
Account Flags: [U ]
User SID: S-1-5-21-2389550245-4160606791-3118586259-2004
Primary Group SID: S-1-5-21-2389550245-4160606791-3118586259-2005
Full Name:
Home Directory: \\samba\user1
HomeDir Drive: H:
Logon Script: logon.bat
Profile Path: \\samba\user1\profile
Domain: LINUX
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: Sat, 14 Dec 1901 03:45:51 GMT
Kickoff time: Sat, 14 Dec 1901 03:45:51 GMT
Password last set: Sat, 04 Feb 2006 11:19:58 GMT
Password can change: Sat, 04 Feb 2006 11:19:58 GMT
Password must change: Sat, 14 Dec 1901 03:45:51 GMT
[root@samba samba]# pdbedit -Lv -u user1
Unix username: user1
NT username:
Account Flags: [U ]
User SID: S-1-5-21-2389550245-4160606791-3118586259-2004
Primary Group SID: S-1-5-21-2389550245-4160606791-3118586259-2005
Full Name:
Home Directory: \\samba\user1
HomeDir Drive: H:
Logon Script: logon.bat
Profile Path: \\samba\user1\profile
Domain: LINUX
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: Sat, 14 Dec 1901 03:45:51 GMT
Kickoff time: Sat, 14 Dec 1901 03:45:51 GMT
Password last set: Sat, 04 Feb 2006 11:19:58 GMT
Password can change: Sat, 04 Feb 2006 11:19:58 GMT
Password must change: Sat, 14 Dec 1901 03:45:51 GMT
[root@samba samba]#

when login from Windows 2000 Prof as user1 .. why it did not ask me to=
change my password .. ? .. please advise

Many thanks in advance

Regards
Winanjaya






***********************
Our outgoing mail has been scanned by MSS.
***********************
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba