[Samba] ldapsam:editposix

Matt Skerritt matt.skerritt at agrav.net
Sun Oct 12 04:29:29 GMT 2008

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 at agrav.net

More information about the samba mailing list