[Fwd: [Samba] Still having groupmap problems]

2003-12-18 Thread Robert Rati
I turned on debug level 10 (by adding -d 10 to the net command), and I 
see this over and over again in the syslog:

Dec 18 13:35:36 wdselab-a-1-100 net:   ldapsam_search_one_group: Problem 
during the LDAP search: LDAP error: invalid DN (Invalid DN 
syntax)ldapsam_search_one_group: Query was: ou=Groups,dc=domain, 
((objectClass=sambaGroupMapping)(gidNumber=4294967295))

So why is that gidNumber being used?  I can't find a way to change this 
search query in any way.  I manually added the 
objectClass=sambaGroupMapping and it's corresponding entries to my LDAP 
database before I did this.  Would that cause a problem?

Rob

 Original Message 
Subject: [Samba] Still having groupmap problems
Date: Wed, 17 Dec 2003 14:00:19 -0600
From: Robert Rati[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
I have two samba servers on two separate subnets that are comprising a
single domain, and one of the samba servers is also the LDAP server.
I've gotten everything configured except that I can't use the groupmap
command.  When I run:
net groupmap add sid=SID-512 ntgroup=Domain Admins
unixgroup=dom_admin type=domain
I get this error over and over again (and increasing the log level via
smbcontrol doesn't seem to provide any more information):
ldapsam_search_one_group: Problem during the LDAP search: LDAP error:
invalid DN (Invalid DN syntax)
I also see this message every so often in the syslogs of both samba servers:

passdb/pdb_ldap.c:ldapsam_search_one_group(1612)
ldapsam_search_one_group: Problem during the LDAP search: LDAP error:
invalid DN (Invalid DN syntax)ldapsam_search_one_group: Query was:
ou=Groups,dc=domain,
((objectClass=sambaGroupMapping)(gidNumber=65534))
Are the samba servers trying to get group mappings from each other?  Is
gidNumber=65534 being used because the group mapping isn't setup?  Can
someone give me any advice on things to try to find the problem with my
group map actions?  Any help would be appreciated.
Rob
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Fwd: [Samba] Still having groupmap problems]

2003-12-18 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert Rati wrote:

| Dec 18 13:35:36 wdselab-a-1-100 net:   ldapsam_search_one_group: Problem
| during the LDAP search: LDAP error: invalid DN (Invalid DN
| syntax)ldapsam_search_one_group: Query was: ou=Groups,dc=domain,
| ((objectClass=sambaGroupMapping)(gidNumber=4294967295))
(gdb) print (int)4294967295
$1 = -1
Did you see the other message about not using quotes
surrounding the ldap suffixes in smb.conf?
cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/4hA0IR7qMdg1EfYRAqHBAKCWdybrn95u0RHol8qVUBKoBtJ6DgCfajBU
3wkZIguo9U1r3NHo78W4+gs=
=uOPh
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Fwd: [Samba] Still having groupmap problems]

2003-12-18 Thread Robert Rati
Gerald (Jerry) Carter wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert Rati wrote:

| Dec 18 13:35:36 wdselab-a-1-100 net:   ldapsam_search_one_group: Problem
| during the LDAP search: LDAP error: invalid DN (Invalid DN
| syntax)ldapsam_search_one_group: Query was: ou=Groups,dc=domain,
| ((objectClass=sambaGroupMapping)(gidNumber=4294967295))
(gdb) print (int)4294967295
$1 = -1
Did you see the other message about not using quotes
surrounding the ldap suffixes in smb.conf?
cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/4hA0IR7qMdg1EfYRAqHBAKCWdybrn95u0RHol8qVUBKoBtJ6DgCfajBU
3wkZIguo9U1r3NHo78W4+gs=
=uOPh
-END PGP SIGNATURE-
I missed that message.  I removed the quotes from my smb.conf file and 
now I can do a groupmap list (whereas before I couldn't) and groupmap 
add, so the quotes appear to be the problem.  Thanks!

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