[Samba] Re: Samba-3.0 groupmapping problem

2003-12-16 Thread vtux
Hi, first thank for this answer :o)

What do you meen by : 

You must have the posixAccount LDAP definition in the LDAP directory. 
Having it /etc/group won't help at all... That's why you have a «No such 
object» error in Samba logs.

I've just used your example :

dn: cn=domusers, ou=Group, dc=bpinet,dc=com
cn: domusers
gidNumber: 513
displayName: Domain Users
memberUid: firstmember
memberUid: secondmember
description: Utilisateurs du domaine
objectClass: posixGroup

by replacing variables with mind and the result is still the same :o(
when entering command : net groupmap add ntgroup=Domain Users unixgroup=users
even if i'm using Domain Users or domusers

argh don't know where looking for

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


[Samba] Samba-3.0 groupmapping problem

2003-12-15 Thread vtux
Hi,

I'm newbie with Samba.
I'm using Samba-3.0 directly installed with Fedora core.
I've made a PDC linux server with Samba-3.0, openldap-2.1.22 with pam_ldap

everything seems to be good but not with net groupmap.
when using command: net groupmap list I have the following error :

[2003/12/15 17:52:15, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(2048)
  ldapsam_setsamgrent: LDAP search failed: No such object
[2003/12/15 17:52:15, 0] passdb/pdb_ldap.c:ldapsam_enum_group_mapping(2113)
  ldapsam_enum_group_mapping: Unable to open passdb

bye the way it's also impossible to run command : net groupmap add
ntgroup=Domain Users Unixgroup=domuser rid=513 the error is :

passdb/pdb_ldap.c:ldapsam_search_one_group(1612)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No
such object)ldapsam_search_one_group: Problem during the LDAP search: LDAP
error: (No such object)

I've a dn: cn=Domain Users in my ldif file and a manually group created
domuser in my /etc/group

Do I need to re-compile samba with particular options to use net groupmap
command. Do I need to declare windbind in my smb.conf ? Is there something wrong
in my ldap files, I really don't know how to correct this problem

If someone got any idea it would be wonderful

Thanks

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