Re: [Samba] Group creation and ldap
This only happens when I try to create a new group from the User Manager for Domains - This search is in the test to see if the posixGroup exists (right after it calls out to the group creation script). I have several groupMappings in operation and they all work correctly; Do I understand your correctly that you've got working groups, or is it that you're able to create them as well? Ahh... I don't use User Manager for Domains. Initially I created my group mappings using the net groupmap add command from the command line of my samba server. However, I now create the group mappings at the time when the group is created in LDAP by simply adding the Samba attributes. Regards, Neil -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Group creation and ldap
(This is a repost of a question I sent a while ago - I'm still looking for an answer...) I'm using samba 3.0.4 with ldapsam as a pdc. When I try to create a group, samba correctly runs the add group script, which creates an LDAP entry with objectClass set to posixGroup and gidNumber set to the gid I want to use and cn set to the group name. The next thing samba does is look for the posix group with the following filters: [((objectClass=sambaGroupMapping)(gidNumber=0))] [((|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=0))] [((objectClass=sambaIdmapEntry)(gidNumber=0))] In all cases they fail because the gidNumber is set to something non-zero. Why is it searching on objectClass and gidNumber, not objectClass and cn? Is there a way to change this behavior or let samba know what the gidNumber should be? I've tried having the add group script return the gidNumber instead of zero, but the behavior is the same. -- Michael D. Jurney [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Group creation and ldap
[((objectClass=sambaGroupMapping)(gidNumber=0))] [((|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=0))] [((objectClass=sambaIdmapEntry)(gidNumber=0))] In all cases they fail because the gidNumber is set to something non-zero. Why is it searching on objectClass and gidNumber, not objectClass and cn? Is there a way to change this behavior or let samba know what the gidNumber should be? I've tried having the add group script return the gidNumber instead of zero, but the behavior is the same. Hi Mike - not a resolution to your problem, but just to let you know that I'm running the same version in the same configuration and don't see this behaviour. My samba group mappings appear to be working as intended. Regards, Neil -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Group creation and ldap
On Wed, 18 Aug 2004, Neil Robst wrote: [((objectClass=sambaGroupMapping)(gidNumber=0))] [((|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=0))] [((objectClass=sambaIdmapEntry)(gidNumber=0))] In all cases they fail because the gidNumber is set to something non-zero. Why is it searching on objectClass and gidNumber, not objectClass and cn? Is there a way to change this behavior or let samba know what the gidNumber should be? I've tried having the add group script return the gidNumber instead of zero, but the behavior is the same. Hi Mike - not a resolution to your problem, but just to let you know that I'm running the same version in the same configuration and don't see this behaviour. My samba group mappings appear to be working as intended. This only happens when I try to create a new group from the User Manager for Domains - This search is in the test to see if the posixGroup exists (right after it calls out to the group creation script). I have several groupMappings in operation and they all work correctly; Do I understand your correctly that you've got working groups, or is it that you're able to create them as well? -- Michael D. Jurney [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Group creation and ldap
I'm using samba 3.0.4 with ldapsam as a pdc. When I try to create a group, samba correctly runs the add group script, which creates an LDAP entry with objectClass set to posixGroup and gidNumber set to the gid I want to use and cn set to the group name. The next thing samba does is look for the posix group with the following filters: [((objectClass=sambaGroupMapping)(gidNumber=0))] [((|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=0))] [((objectClass=sambaIdmapEntry)(gidNumber=0))] In all cases they fail because the gidNumber is set to something non-zero. Why is it searching on objectClass and gidNumber, not objectClass and cn? Is there a way to change this behavior or let samba know what the gidNumber should be? I've tried having the add group script return the gidNumber instead of zero, but the behavior is the same. -- Michael D. Jurney [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba