Re: [Samba] FreeBSD 7.2 domain member problem - partially SOLVED

2009-11-23 Thread Daniel O'Connor
On Mon, 23 Nov 2009, Diego Zuccato wrote: The problem with not working pw user / group show -a or getent passwd / group was that nss_winbind.so was not where it supposed to. To correct this I used: ln -s /usr/local/lib/nss_winbind.so.1 /usr/lib/ ln -s /usr/local/lib/nss_winbind.so.1

Re: [Samba] FreeBSD 7.2 domain member problem - partially SOLVED

2009-11-23 Thread Ivo Karabojkov
Without links (maybe just 1 is enough, I'll test) no resolution to the OS occurred at all - users and groups were visible via wbinfo, but not with getent or pw. With RID I tried a lot of combinations (including shown by you or just idmap backend = rid:DOMAIN:1-2) with totally no success.

Re: [Samba] FreeBSD 7.2 domain member problem - partially SOLVED

2009-11-23 Thread Ivo Karabojkov
I am sure it should work without these strange links I've made. I don't know what is the problem. I use ports, just to keep my installations more standard. May you point me a good manual how to set up nss/ldap with Samba? Daniel O'Connor-2 wrote: Indeed, that certainly shouldn't be

Re: [Samba] FreeBSD 7.2 domain member problem - partially SOLVED

2009-11-23 Thread Daniel O'Connor
On Mon, 23 Nov 2009, Ivo Karabojkov wrote: I am sure it should work without these strange links I've made. I don't know what is the problem. I use ports, just to keep my installations more standard. May you point me a good manual how to set up nss/ldap with Samba? I used the samba how to

Re: [Samba] FreeBSD 7.2 domain member problem - partially SOLVED

2009-11-22 Thread Ivo Karabojkov
So I kept hitting my head in the wall and here is my partial but satisfying solution: I was totally unable to get idmap_rid working! So I am using the default IDMAP backend - tdb. The problem with not working pw user / group show -a or getent passwd / group was that nss_winbind.so was not where

Re: [Samba] FreeBSD 7.2 domain member problem - partially SOLVED

2009-11-22 Thread Diego Zuccato
Ivo Karabojkov wrote: I was totally unable to get idmap_rid working! So I am using the default IDMAP backend - tdb. Not good if you need that the same user receives the same UID on different machines. The problem with not working pw user / group show -a or getent passwd / group was that

Re: [Samba] FreeBSD 7.2 domain member problem

2009-11-14 Thread Ivo Karabojkov
Thank you very much for your reply! I commented the correct line in my tries to get this working. I have partial success WITHOUT idmap backend, with following smb.conf: [global] netbios name = SERVER workgroup = DOMAIN realm = DOMAIN.LOCAL server string = Samba Server security = ADS username

Re: [Samba] FreeBSD 7.2 domain member problem

2009-11-14 Thread Ivo Karabojkov
Sorry for my triple answer, the message was rejected by the mailing list last few days and I tried to resend it over and over again. -- View this message in context: http://old.nabble.com/FreeBSD-7.2-domain-member-problem-tp26204285p26354107.html Sent from the Samba - General mailing list

Re: [Samba] FreeBSD 7.2 domain member problem

2009-11-12 Thread Ivo Karabojkov
Sorry I don't know what caused everyone to lose interest in my previous post... What may be the reason for the error: winbindd/idmap.c:idmap_init_passdb_domain(438) Could not init passdb idmap domain Do I have to use LDAP backend for IDMAP? Is there something with rid? Any help or advice

Re: [Samba] FreeBSD 7.2 domain member problem

2009-11-12 Thread Dale Schroeder
Ivo Karabojkov wrote: Sorry I don't know what caused everyone to lose interest in my previous post... What may be the reason for the error: winbindd/idmap.c:idmap_init_passdb_domain(438) Could not init passdb idmap domain I have another problem too:

Re: [Samba] FreeBSD 7.2 domain member problem

2009-11-05 Thread Ivo Karabojkov
Yes, FreeBSD supports nsswitch and I tried getent passwd - the result is the same. Maybe I should show my config files in my previous post, sorry: smb.conf: (very similar to Chapter 7, example 7.7 and 7.8 of the Samba Guide) [global] # unix charset = LOCALE workgroup = DOMAIN realm =

Re: [Samba] FreeBSD 7.2 domain member problem

2009-11-05 Thread Daniel O'Connor
On Thu, 5 Nov 2009, Ivo Karabojkov wrote: group: files winbind group_compat: nis hosts: files dns networks: files passwd: files winbind passwd_compat: nis shells: files services: compat services_compat: nis protocols: files Can you try commenting out group_compat and passwd_compat? The

[Samba] FreeBSD 7.2 domain member problem

2009-11-04 Thread Ivo Karabojkov
Hi! I am trying to set a FreeBSD 7.2, Samba 3.3.8 as an AD domain member server. I am not using LDAP, but idmap_rid. I have properly configured nsswitch.conf. Joining to domain and wbinfo -u work OK, but when I try pw show user -a I get only user accounts of FreeBSD. So, I cannot set owners,