Edmundo Valle Neto escribió:

If your users are Windows users you should add an '-a' here, and add the users with the '-a' flag. Like this:

    add user script = /usr/sbin/smbldap-useradd -m -a "%u"

Not really, theres nothing wrong with that. If you use the "User Manager" windows application, the posix account is created and samba creates the rest. If you are using the shell, then yes, -a is needed (but typing it IN THE SHELL not inside smb.conf). You can consult the samba documentation or idealx documentation about setting those options.

I don't use the "User Manager" app: I create the users from the shell with some home-made scripts.

        delete user script = /usr/sbin/smbldap-userdel -r "%u"
        add group script = /usr/sbin/smbldap-groupadd "%g"

You should add '-a -p' here:

         add group script = /usr/sbin/smbldap-groupadd -m -a "%g"

Same thing. And I dont know what "-m" means to smbldap-groupadd script.

Ooops, "Fat fingers"! It should be '-p'

Then... which'd be the problem? If this settings are not related to the errors, perhaps it's a DNS-related question.

Thanks for the explanation.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to