The Samba-Bugzilla – Bug 886
Cannot create group using smbldap-groupadd tool
Last modified: 2005-11-14 09:30:10 UTC
I was using Samba 3.0 rc1, and smbldap tools version 0.8.1, and the LDAP server
is IBM Directory Server 5.1.
The problem is when I tried to create a group by issued the command at the shell
prompt: #smbldap-groupadd.pl nwgrp, I got the error said: Invalid syntax at
/usr/local/sbin/smbldap_tools.pm line 180. I opened the smbldap_tools.pm, and
saw an issue with the code.
First of all, the code is:
According to the LDAP schema gidNumber is numeric only. But the value which
passed from smbldap-groupadd is alpha-nummeric (in this case the value is
nwgrp). Eventhough there is the OR sign "!", but the value will always assign to
gidNumber when the users try to create a new group.
newer version of tools available. please reopen if still an issue.
originally reported against one of the 3.0.0rc[1-4] releases.
Cleaning up non-production versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.