Sent this direct to the poster again, and not to the list. Here it is
for the list.
On 12/10/2008, at 3:53 AM, Norberto Bensa wrote:
> Hello list,
>
> I'm trying to setup Samba to use:
>
> ldapsam:editposix = yes
>
> but I'm having problems to add users via "smbpasswd -a". It
seems
> smbpasswd tries to modify an existing entry (and falling of course)
> instead of adding a new entry.
>
> Is that a bug, a configuration problem, or intended behavior?
>
> Do I need to create a postixaccount entry prior to use "smbpasswd
-a"?
Yes, you do. Or, at least, that's the way I've always had to do it. I
have a small script with an LDAP template that makes the minimal
entries in the ldap for a posixAccount and shadowAccount for the user,
then create the samba account.
--
Matt Skerritt
matt.skerritt@agrav.net