[Samba] SID

Michael Fernández M. michael at michael.cl
Wed Aug 22 16:37:40 GMT 2007


Hi, i`ve searched a lot, but i haven´t found a solution to it..

I have the this:

One Server with samba 3.0.14a-3sarge1 on Debian Sarge. This Samba use
Ldap as passdb backend... everything works great until this point. I
have other samba 3.0.24-6etch4 On Debian Etch.

The samba 3.0.14a-3sarge1 has:

security = user
passdb backend = ldapsam:ldap://127.0.0.1/


The Samba 3.0.24-6etch4 On Debian Etch

security = server
password server = name_of_the_other_samba_with_ldap

So the thing is that in the Samba 3.0.14a-3sarge1 i can map share
volumes from Windows Vista in other hand on Samba 3.0.24-6etch4  i
cannot map the share volumes with Windows vista..... it works great form
any other windows auntil windows 2003.

So i tried change the configuration in Samba 3.0.24-6etch4  to:

security = user
passdb backend = ldapsam:ldap://ip.of.samba.with.ldap/

and also add the other necesary stuff.... 

and after the changes when i try to map the shares on the Samba
3.0.24-6etch4  from windows vista i have this error:

User mf with invalid SID S-1-5-21-3688588122-661306053-2264363457-21150
in passdb

However in the linux box i try: smbclient -L //localhost -Umf it`s
connect and can see the shares...

but:

smbclient -L //localhost/dat -Umf i write the passwd and get the same
error.


so, tried to put the SID of the server samba with the ldap tree... with:

net setdomainsid S-1-5-21-3688588122-661306053-2264363457

net setdomainsid -W domain S-1-5-21-3688588122-661306053-2264363457

and when i do:

SID for domain LINUX_14NORTE is:
 S-1-5-21-4042076608-3156973157-4245816591

i still got the another one...


So, i read that some guys tried to modify the secrets.tdb... but it does
not work for me..

Somebody have any idea about how to put or change the SID?

Thanks in advance.!!!!!!!!!!!

Michael.-




















More information about the samba mailing list