[Samba] ldap smbpasswd automation (anyway around smbpasswd)

2006-07-21 Thread oly
okay managed to get accounts working by running smbpasswd username then entering there password, is there anyway i can make it use ldap or fill in the list from ldap, i have about 80 users in there and need to add about 800 more i do not want to sit and enter the password for around 900 users

Re: [Samba] ldap smbpasswd automation (anyway around smbpasswd)

2006-07-21 Thread Logan Shaw
On Fri, 21 Jul 2006, oly wrote: okay managed to get accounts working by running smbpasswd username then entering there password, is there anyway i can make it use ldap or fill in the list from ldap, i have about 80 users in there and need to add about 800 more i do not want to sit and enter the

Re: [Samba] ldap smbpasswd

2005-02-01 Thread synrat
what in that case do I do with an account that already exists in ldap but only needs samba attributes added to it ? Alex Satrapa wrote: On 1 Feb 2005, at 03:12, synrat wrote: ... when trying smpasswd -a to add samba attributes to ldap account. it seems like smbpasswd is trying to add an entry ...

Re: [Samba] ldap smbpasswd

2005-02-01 Thread Alexei Monastyrnyi
I'm using script smbldap-usermod -a username, which creates SAMBA attrs for existing POSIX account... It is from smbldap-tools kit. After that smbldap-passwd username is good for syncing UNIX and SAMBA passwords. Had to tweak the script a bit cause it creates displayName attribute as System

Re: [Samba] ldap smbpasswd

2005-02-01 Thread Steve Feehan
On Tue, Feb 01, 2005 at 09:26:42AM -0500, synrat wrote: what in that case do I do with an account that already exists in ldap but only needs samba attributes added to it ? Actually, this works OK for me. I don't use the smbldap-tools for account management. I create the posixAccount by hand

Re: [Samba] ldap smbpasswd

2005-01-31 Thread synrat
I think I got passed this by uncommenting a lot of stuff in samba.schema ( smbpasswd error messages were informative enough, thank you ). Now I'm stuck with this when trying smpasswd -a to add samba attributes to ldap account. it seems like smbpasswd is trying to add an entry, instead of

Re: [Samba] ldap smbpasswd UH???

2005-01-31 Thread synrat
PROTECTED] On Behalf Of synrat Sent: 31 January 2005 16:13 To: samba@lists.samba.org Subject: Re: [Samba] ldap smbpasswd I think I got passed this by uncommenting a lot of stuff in samba.schema ( smbpasswd error messages were informative enough, thank you ). Now I'm stuck with this when trying

Re: [Samba] ldap smbpasswd

2005-01-31 Thread Alex Satrapa
On 1 Feb 2005, at 03:12, synrat wrote: ... when trying smpasswd -a to add samba attributes to ldap account. it seems like smbpasswd is trying to add an entry ... That is what the '-a' option does - tells smbpasswd to add the account, as documented in the man page. In my setup, if I add a user

[Samba] ldap smbpasswd

2005-01-29 Thread synrat
freebsd 5.3, samba 3.10 I get this far with LDAP/Samba integrationg. Stuck on creating users/machines with smbpasswd -a (-m) username command. schema files weren't modified, everything else is pretty much at defaults. First the relevant config parts: passdb backend =

[Samba] LDAP + smbpasswd

2003-09-09 Thread Sean Kellogg
an easy questions (hopefully) 1) When using ldapsam as the password backend, do machine accounts have to have posix accounts as well? There are pieces of documentation that seem to indicate that they are not needed... and for a while running rc1 it worked for me... but now under rc2, not so

[Samba] LDAP smbpasswd help needed

2003-06-16 Thread Derek J. Balling
Hopefully, you can help me out. I'm trying to figure out why I'm getting the error I get. From the debug output, it looks like it's adding the objectClass to the user (so they can get the sambaSID attribute attached to them), but it's not actually happening. The schema is, obviously, in the

[Samba] samba/ldap - smbpasswd/userdelete

2003-06-10 Thread Ken Kleiner
Hi... I'm running samba and ldap (openldap). Using smbpasswd -a username adds the samba ldap info into the users ldap entry just fine. The problem is deletion. Running smbpasswd -x username deletes the ENTIRE user's ldap entry. This is good if I want to delete the unix and windows

SUMMARY: [Samba] samba/ldap - smbpasswd/userdelete

2003-06-10 Thread Ken Kleiner
Well, I think I have my answer. Instead of embedding the samba ldap entries into the same record that the posix/unix stuff is in, I created another ou for sambausers and point samba to that. Deleting the user now just deletes samba entry. Phew. Hi... I'm running samba and ldap

Re: [Samba] samba/ldap - smbpasswd/userdelete

2003-06-10 Thread Andrew Bartlett
On Wed, 2003-06-11 at 04:41, Ken Kleiner wrote: Hi... I'm running samba and ldap (openldap). Using smbpasswd -a username adds the samba ldap info into the users ldap entry just fine. The problem is deletion. Running smbpasswd -x username deletes the ENTIRE user's ldap entry. This