Re: [Samba] smbpasswd

2004-12-29 Thread Olivier Navas
If I have correctly understood what you want to do, the simple answer
is: you can't.

The passwords stored in shadow file and in smbpasswd, though they may be
the same (in clear text), are encrypted with two different one way hash
functions. In order to put in smbpasswd the same user passwords than in
shadow, you need to compute the hash string from the passwords in clear
text.

The only reasonable way to achieve this is to implement some solution
that keeps unix passwords and samba passwords synchronized (such as what
can be done in smb.conf with unix password sync and passwd program
but there are many other solutions) and to ask users to change their
passwords once, so that shadow and smbpasswd hash strings are computed
from the same password.


Le mer 29/12/2004 à 13:26, Rodrigo Noroaldo de Castro Fernandes a écrit
:
 --ms080602000709060800080902
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Dear all,
 
   How can I convert the Linux users password (/etc/shadow) to Samba users 
 password (.../private/smbpasswd)?
 
 Best Brazilian regards
-- 
Olivier Navas
Groupement Informatique et Télécommunications
SDIS 33

-
Humor in the Court:
Q: Are you qualified to give a urine sample?
A: Yes, I have been since early childhood.

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


[Samba] Replacement of a windows 2000 PDC with active directory by samba/LDAP

2004-12-24 Thread Olivier Navas
Hi

I'm currently working on a project aiming at replacing all windows
servers (about 20) in my company by linux servers. Some of these windows
servers are windows 2000 domain controlers (one PDC and few BDCs) with
active directory. We have about 900 client windows 2000 workstations and
about 2/3 of them are domain members.

Our goal is to replace the windows servers that are domain controlers by
samba servers, and of course, to avoid as much as possible a migration
of the windows workstations because that would be a very long and human
resource intensive task.

Reading the samba documentation, I understand that samba 3 can act
roughly like a windows NT 4 PDC, but not like an active directory
server. My first conclusion is that our windows domain will probably
have to downgrade to a NT 4 like domain, but I don't really know
what impact this will have on windows 2000 workstations.

So these are my questions:
- Will we be able to achieve the replacement of the windows 2000 PDC et
BDCs without any action on windows workstations ? Or should we prepare
for bad days of workstations migration ?

- Does anybody have a similar experience ? 

Thanks for your help.

-- 
Olivier Navas
Groupement Informatique et Télécommunications
SDIS 33


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