[Samba] (no subject)

Mimic Mimicmike mimicmike at hotmail.com
Sat Sep 6 03:43:20 GMT 2003


>On Fri, Sep 05, 2003 at 08:49:01AM +0000, Mimic Mimicmike wrote:
>>I config admin dn: like that,It work,and I can use ldap with samba for 
>>store account for users computers groups but id map is still locate on 
>>my ldap is on
>>passdb backend = ldapsam, guest

>it strange to use security=domain (or ads) and configuring your own
>passdb-backend. anyway, shouldn't that look like:

>	passdb backend = ldapsam:ldap://myldaphost, guest

I use security=user ,but I need to trust with other domain.

Before and I will move they to samba PDC,  My Servers are  NT4PDC and
win2kPDC Active domain (Native mode) and samba file servers , I will move by 
small group of client to
new samba domain, but file server is still in old domain until last client 
move to new domain
,if no ploblem, servers will move to samba domain and NT4PDC&W2kPDC will 
system down forever.

>>passdb backend = ldapsam, guest
> >and log file of winbind is
>>[2003/09/03 09:27:37, 0] lib/module.c:smb_load_module(40)
>>  Error loading module '/usr/lib/samba/idmap/ldapsam.so': 
>>/usr/lib/samba/idmap/ldapsam.so: cannot open shared object file: No such 
>>file or directory
>>[2003/09/03 09:27:37, 0] sam/idmap.c:idmap_init(136)
>>  idmap_init: could not load remote backend 'ldapsam'

>are you sure you have

>	idmap backend = ldap:ldap://yourldaphost

>and not

>	idmap backend = ldapsam..

>in smb.conf.

>this should fix it, i hope.

My id map backend is

passdb backend = ldapsam://172.xx.x.xxx, guest
idmap backend = ldap:ldap//172.xx.x.xxx:xxx
ldap idmap suffix = ou=idmap,dc=xxx,dc=xxx

I try to config by your sugguest but it still not store idmap on ldap.

>From this error I check to '/usr/lib/samba/' it not contain 'idmap' 
directory some thing wrong!!
>>/usr/lib/samba/idmap/ldapsam.so: cannot open shared object file: No such 
>>file or directory

thank you


Help STOP SPAM with the new MSN 8 and get 2 months FREE*  

More information about the samba mailing list