[Samba] Question to the Samba-Developer

Tony Earnshaw tonye at billy.demon.nl
Wed Apr 27 15:49:48 GMT 2005

ons, 27.04.2005 kl. 15.59 skrev Holger Wesser:

> as mentioned in a thread before, I'm in trouble when trying to add a
> local group via NT-Usermanager. I think the problem is the following
> line in the smb.conf:
> add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
> In this case, the only parameter that is handed over to the
> smbldap-groupadd script is the name of the group ("%g"). Unfortunately
> the script doesn't know, which type of group it has to create. By
> default, it creates a global group. So is there a variable available,
> that specifies the type of group?
> I hope, you understand what I mean.

I think that local groups can only be added on local machines. By
definition a Samba (P|B)DC is not a local machine, at any rate the Samba
people never designed it as such.

The regular Samba tools, plus the official Samba documentation, plus
diverse idiot "HOWTO"s, only make mention of sambaGroupType 2.

The reason for that is, that one can't add local groups to a site-wide
DOMAIN database. Reasonable, when one thinks about it.

Why the smbldap scripts should infer that one can I dunno. They do other
useless things, too, that prohibit me from using them at all.


Nothing sucksseeds like a pigeon without a beak ...

mail: tonye at billy.demon.nl
They'll love us, won't they? They feed us, don't they? ...

More information about the samba mailing list