Re: [Samba] sort-of fix for net rpc vampire account creation

2003-01-21 Thread Ronan Waide
Continuing the saga: Groups are not migrated by the ldap_nua backend, even if I create a posixGroup entry. After a bit of prodding, I found the latter was because Samba had set up group mappings in group_mapping.tdb, which my manually-created LDAP groups didn't agree with. Removing group_mapping.td

Re: [Samba] sort-of fix for net rpc vampire account creation

2003-01-21 Thread Ronan Waide
On January 21, [EMAIL PROTECTED] said: > sort of change in status. The only major caveat I've found is that > because net rpc vampire does a getpwnam_alloc() immediately after > account creation, which fails in my case because I'm using ldap_nua as > my backend so getpwnam_alloc() will /always/ fai

[Samba] sort-of fix for net rpc vampire account creation

2003-01-21 Thread Ronan Waide
This patch allows net rpc vampire to create accounts in the same way that smbpasswd does, i.e. it will attempt to use the appropriate account creation function for the backend in use. From reading the comments on the top of the local_password_change function, either I shouldn't be going this route