Hola Camaleón, gracias por responder y perdón por el retraso pero me pasó igual que antes y me meti a ver otro problemita por ahi y deje en pausa este problema de la caducidad del password que aún no resuelvo. Aqui el resultado del comando que he utilizado Gracias por su ayuda. Bayardo ============================================ # pdbedit -P "maximum password age" INFO: Current debug levels: all: True/65 tdb: False/0 printdrivers: False/0 lanman: False/0 smb: False/0 rpc_parse: False/0 rpc_srv: False/0 rpc_cli: False/0 passdb: False/0 sam: False/0 auth: False/0 winbind: False/0 vfs: False/0 idmap: False/0 quota: False/0 acls: False/0 locking: False/0 msdfs: False/0 dmapi: False/0 doing parameter domain logons = Yes doing parameter domain master = Yes doing parameter preferred master = Yes doing parameter printcap name = CUPS doing parameter show add printer wizard = No doing parameter printing = cups doing parameter template shell = /bin/false doing parameter winbind use default domain = no doing parameter dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd doing parameter case sensitive = no doing parameter short preserve case = yes doing parameter hosts allow = 127., 192.168.0. doing parameter ldap delete dn = Yes doing parameter add user script = /usr/local/sbin/smbldap-useradd -m "%u" doing parameter add machine script = /usr/local/sbin/smbldap-useradd -w "%u" doing parameter add group script = /usr/local/sbin/smbldap-groupadd -p "%g" doing parameter add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g" doing parameter delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u" "%g" doing parameter set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u" doing parameter delete user script = /usr/local/sbin/smbldap-userdel "%u" doing parameter delete group script = /usr/local/sbin/smbldap-groupdel "%g" doing parameter logon script = scripts\logon.bat doing parameter logon path = \\%L\profiles\%U doing parameter logon drive = X: pm_process() returned Yes lp_servicenumber: couldn't find homes set_server_role: role = ROLE_DOMAIN_PDC Attempting to register new charset UCS-2LE Registered charset UCS-2LE Attempting to register new charset UTF-16LE Registered charset UTF-16LE Attempting to register new charset UCS-2BE Registered charset UCS-2BE Attempting to register new charset UTF-16BE Registered charset UTF-16BE Attempting to register new charset UTF8 Registered charset UTF8 Attempting to register new charset UTF-8 Registered charset UTF-8 Attempting to register new charset ASCII Registered charset ASCII Attempting to register new charset 646 Registered charset 646 Attempting to register new charset ISO-8859-1 Registered charset ISO-8859-1 Attempting to register new charset UCS2-HEX Registered charset UCS2-HEX Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Attempting to register passdb backend ldapsam Successfully added passdb backend 'ldapsam' Attempting to register passdb backend ldapsam_compat Successfully added passdb backend 'ldapsam_compat' Attempting to register passdb backend NDS_ldapsam Successfully added passdb backend 'NDS_ldapsam' Attempting to register passdb backend NDS_ldapsam_compat Successfully added passdb backend 'NDS_ldapsam_compat' Attempting to register passdb backend smbpasswd Successfully added passdb backend 'smbpasswd' Attempting to register passdb backend tdbsam Successfully added passdb backend 'tdbsam' Attempting to find an passdb backend to match ldapsam:"ldap://192.168.0.1" (ldapsam) Found pdb backend ldapsam smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=MiDominio))] smbldap_search_ext: base => [dc=MiDominio,dc=org,dc=ni], filter => [(&(objectClass=sambaDomain)(sambaDomainName=MiDominio))], scope => [2] The connection to the LDAP server was closed smb_ldap_setup_connection: ldap://192.168.0.1 smbldap_open_connection: connection opened ldap_connect_system: Binding to ldap server ldap://192.168.0.1 as "cn=Manager,dc=MiDominio,dc=org,dc=ni" ldap_connect_system: successful connection to the LDAP server ldap_connect_system: LDAP server does support paged results The LDAP server is successfully connected smbldap_get_single_attribute: [sambaAlgorithmicRidBase] = [<does not exist>] pdb backend ldapsam:"ldap://192.168.0.1" has a valid init Netbios name list:- my_netbios_names[0]="SACUANJOCHE" Attempting to find an passdb backend to match ldapsam:"ldap://192.168.0.1" (ldapsam) Found pdb backend ldapsam smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=MiDominio))] smbldap_search_ext: base => [dc=MiDominio,dc=org,dc=ni], filter => [(&(objectClass=sambaDomain)(sambaDomainName=MiDominio))], scope => [2] The connection to the LDAP server was closed smb_ldap_setup_connection: ldap://192.168.0.1 smbldap_open_connection: connection opened ldap_connect_system: Binding to ldap server ldap://192.168.0.1 as "cn=Manager,dc=MiDominio,dc=org,dc=ni" ldap_connect_system: successful connection to the LDAP server ldap_connect_system: LDAP server does support paged results The LDAP server is successfully connected smbldap_get_single_attribute: [sambaAlgorithmicRidBase] = [<does not exist>] pdb backend ldapsam:"ldap://192.168.0.1" has a valid init Opening cache file at /var/cache/samba/gencache.tdb Returning valid cache entry: key = ACCT_POL/maximum password age, value = 4294967295 , timeout = Sat Mar 20 10:00:28 2010 ldapsam_get_account_policy: got valid value from cache account policy "maximum password age" description: Maximum password age, in seconds (default: -1 => never expire passwords) account policy "maximum password age" value is: 4294967295
Es que "pdbedit" debería funcionar, que para eso está y es la herramienta recomendaba e integrada en el propio paquete de Samba :-?
¿Qué te devuelve "pdbedit -P "maximum password age"?
Saludos,