[Samba] password policy

2009-08-25 Thread Theodoro
hi,


How can I configure a policy for:

1 -  the password be diferent of login, name, phone

2 -  contain at least 3 character to 12,$%,ab,AB


sorry for my english


-- 
Daniel Theodoro
9399-3364

(LPIC-1) Junior Level Linux Professional
(LPIC-2) Advanced Level Linux Professional
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] password policy

2009-08-25 Thread Theodoro
yes

On Tue, Aug 25, 2009 at 10:33 AM, John Drescher dresche...@gmail.comwrote:

  How can I configure a policy for:
 
  1 -  the password be diferent of login, name, phone
 
  2 -  contain at least 3 character to 12,$%,ab,AB
 
 
  sorry for my english
 

 Are you using ldap?

 John




-- 
Daniel Theodoro
9399-3364

(LPIC-1) Junior Level Linux Professional
(LPIC-2) Advanced Level Linux Professional
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] problem with samba and ldap

2009-08-05 Thread Theodoro
hi,

I have a problem with samba and ldap, when I add a machine in a domain,
samba is not searching on *ou=machine*, but on *ou=users*.
But if i change in smbldap.conf *computersdn=ou=machine,${suffix}* to *
computersdn=ou=users,${suffix}* it works.

bellow is my smb.conf


[global]
workgroup = TEST
netbios name = PDC
server string = Samba Server
passdb backend = ldapsam:ldap://127.0.0.1
log file = /var/log/samba/log.%m
max log size = 500
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /opt/IDEALX/sbin/smbldap-useradd -m %u
delete user script = /opt/IDEALX/sbin/smbldap-userdel %u
add group script = /opt/IDEALX/sbin/smbldap-groupadd -p %g
delete group script = /opt/IDEALX/sbin/smbldap-groupdel %g
add user to group script = /opt/IDEALX/sbin/smbldap-groupmod -m %u
%g
delete user from group script = /opt/IDEALX/sbin/smbldap-groupmod -x
%u %g
set primary group script = /opt/IDEALX/sbin/smbldap-usermod -g %g
%u
add machine script = /opt/IDEALX/sbin/smbldap-useradd -w %u
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins proxy = Yes
wins support = Yes
ldap admin dn = cn=Manager,dc=test,dc=com,dc=br
ldap delete dn = Yes
ldap group suffix = ou=group
ldap idmap suffix = ou=users
ldap machine suffix = ou=machine
ldap passwd sync = yes
ldap suffix = dc=test,dc=com,dc=br
ldap ssl = no
idmap backend = ldap:ldap://127.0.0.1
idmap uid = 1-2
idmap gid = 1-2
admin users = root


Does anybody know what might be happening?

-- 
Daniel Theodoro

(LPIC-1) Junior Level Linux Professional
(LPIC-2) Advanced Level Linux Professional
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] problem with samba and ldap

2009-08-05 Thread Theodoro
hi,


On Wed, Aug 5, 2009 at 4:42 PM, Miguel Medalha miguelmeda...@sapo.ptwrote:

 In order to help you, I must know the following:

 Are you using nss with ldap?


yes



 What is your samba version?


I tried with 3.0.33 on RHEL5.3 and now with 3.3.7




 Your version of the smbldap scripts is too old. Version 0.9.5 resides here.


I'm using  0.9.5





 http://download.gna.org/smbldap-tools/0.9.2-1packages/http://download.gna.org/smbldap-tools/packages/

 The project page can be found here:

 https://gna.org/projects/smbldap-tools/




-- 
Daniel Theodoro
9399-3364

(LPIC-1) Junior Level Linux Professional
(LPIC-2) Advanced Level Linux Professional
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba