[Samba] samba doesnt change shadowLastChange

2007-09-11 Thread empirium

Hello
I have a samba 3 working as a PDC with Ldap as a authentication backend.
I have a such problem, when user in windows try to change password to 
samba by ctr+alt+delete, password is changing (password is also sync and 
it works fine ), but the ldap attribute shadowLastChange doesnt change.

What is wrong?
thanks in advance

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


Re: [Samba] samba doesnt change shadowLastChange

2007-09-11 Thread empirium

Marc Muehlfeld napisaƂ(a):

Hi,

empirium schrieb:

I have a samba 3 working as a PDC with Ldap as a authentication backend.
I have a such problem, when user in windows try to change password to 
samba by ctr+alt+delete, password is changing (password is also sync 
and it works fine ), but the ldap attribute shadowLastChange doesnt 
change.

What is wrong?


Maybe the user you use to connect to LDAP is not allowed to write this 
attribute. Have a look to your LDAP configuration.



Regards
Marc


is slapd.conf I have
access to *
   by self write
   by users read
   by anonymous auth

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


[Samba] samba 3 logon hours

2007-06-28 Thread empirium
I have a samba 3.0.2 working as a PDC with ldap as a authentication 
backend, how to setup logon hours for users?

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


[Samba] samba Default user

2007-06-21 Thread empirium
I have a samba 3 workina as a PDC I would like to configure Default User 
for roaming profiles.
I modified Default User and I put it to netlogon share. Everything works 
well, when user first login it get the default profile.
But how to automatically configure email program (outlook express) for 
new user, that when user first login it will be automatically configured.
The problem is with names and email accounts, beacause of course every 
user has other names.
The email server names I configured allready in registry (ntuser.dat in 
default user ), because of course every user has the same email server.

Do you know how to do that
thanks in advance
luk
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] smbldap-tools - ssl - problem

2007-06-19 Thread empirium

hello
It is possible to configure smbldap-tools to work with ssl, not tls??
because when I put :
masterPort=636
I've got : Can't contact LDAP server at /usr/sbin/smbldap_tools.pm line 353.
And my LDAP server is corectly working on that port.
Thanks in advance
Luk



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


[Samba] samba, ldap changing password

2007-06-12 Thread empirium

HEllo
I have a samba 3 with ldap working as a PDC,my mail server also using 
LDAP database as a authentication.
Do you know any web application, script  (working with apache) that 
allow users to change their ldap passwords (smaba passwords and passwd 
passwords).
Usually users can do that from windows clients which log in to domain, 
but I have also a lot of users using laptops and they dont log in to domain.

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


[Samba] shares problem

2007-06-04 Thread empirium
Hello I have a samba 3 working as a PDC. When I logged in windows 
computer to the domain i have a such problem.
when I run \\samba\public windows say that* shares is unavailable*, but 
when I run \\samba and after that i click folder public everything is ok,
and when I have mapped shares public and i run \\samba\public everything 
is also ok, somebody knows what is wrong?

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


[Samba] logon drive problem

2007-05-31 Thread empirium
I have samba 3 with ldap as a auth backend. And I have a problem with 
logon drive, when user is loging to domain the logon drive isnt mapped.

I dont know where is a problem
in smb.con I have
   logon drive = Z:
   logon home = \\%L\%u
   logon script = login.cmd


somebody knows whereis problem?
thanks in advance
luk

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


[Samba] how to get SID from samba 2

2007-05-28 Thread empirium

How to get SID from samba 2 working as PDC.
I try to use smbpasswd -S DOMAIN
but my smbpasswd doesnt have such option -S


smbpasswd: invalid option -- S
smbpasswd [options] [username] [password]
options:
 -s   use stdin for password prompt
 -D LEVEL debug level
 -U USER  remote username
 -r MACHINE   remote machine
 -L   local mode (must be first option)
 -R ORDER name resolve order
 -j DOMAINjoin domain name
 -a   add user
 -x   delete user
 -d   disable user
 -e   enable user
 -n   set no password
 -m   machine trust account

Anybothy knows how can I do that?
Thanks in advance
Luk

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


[Samba] migrate smbpasswd to ldap

2007-05-25 Thread empirium
I have a samba 2.2 as a PDC, i would like to upgrade it to samba 3 with 
ldap as a backend, do you know how to migrate smbpasswd file to ldap

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


[Samba] problem with synchronize samba and unix password - ldap

2007-05-24 Thread empirium

I have a such problem.
I have samba 3 as a PDC  with ldap as a authentication backend.
When I use script  smbldap-passwd user, samba password and unix 
password is changing correct, but when i use Ctr+Alt+Del from windows 
computer samba is changing corectly its password, and I see that unix 
password is also changing but I cannot to log to system with that unix 
password.

Somebody knows why?

part of smb.conf

ldap password sync = Yes
#unix password sync = Yes
passwd program = /usr/sbin/smbldap-passwd -u %u
update encrypted = yes
encrypt passwords = yes


smbldap.conf

hash_encrypt=CRYPT
crypt_salt_format=%s


Thanks in advance
luk

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


[Samba] Can't contact LDAP server,

2007-05-23 Thread empirium
I have samba 3 with ldap as a authentication backend. When I use pdbedit 
-a user everything works ok and the user is adding to the ldap database.
But I have problem with exporting smbpasswd to ldap, when I try pdbedit 
-i smbpasswd:/etc/samba/smbpasswd -e ldapsam
I've got a problem that failed to bind to server ldap://localhost  
Error: Can't contact LDAP server,
but my ldap serwer is on the other host than localhost. I dont know why 
it choose localhost as a ldap server.

And it is strange because if I use pdbedit -a user everything works ok.
do you know anybody what is wrong?

part of my smb.conf
passdb backend = ldapsam:ldap://10.0.1.57
ldap suffix = dc=test,dc=pl
ldap machine suffix = ou=machines
ldap user suffix = ou=users
ldap group suffix = ou=groups
ldap admin dn = cn=admin,dc=test,dc=pl
ldap delete dn = no

  
--

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


[Samba] migrate smbpasswd to ldap (ldif format)

2007-05-21 Thread empirium
I have a samba 2.2 as a PDC, i would like to upgrade it to samba 3 with 
ldap as a backend, do you know how to migrate smbpasswd file to ldap 
(ldif fromat)

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


[Samba] meassure teh time of profile login

2005-11-30 Thread empirium

hello
I would like to ask you to help me how to meassure the time of user 
loadind profiles. Do you know how to meassure the time using some script 
or command.

I'm using samba 2 as domain controller and clients with win 2000
pleease help me
thanks in advance,
luk

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