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

Ken Kleiner ken at cs.uml.edu
Tue Jun 10 20:11:50 GMT 2003


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 (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 account information, but not if I want to just delete the windows
> info.  
> 
>   I assume it is because the ldap dn I connect with from samba has write
> access to the ldap branch and just deletes the entire entry.  Can I make
> it just delete the samba related fields in the record, or do the samba
> accounts need to be in a seperate branch?
> 
>   Thanks....
> 
> -- 
> <><  ><> <><  ><> <><  ><> <><  ><> <><  ><> <><  
> 
> Ken Kleiner
> System Manager
> Computer Science Department
> Umass Lowell
> 
> voice : 978 934 3645
> fax : 978 934 3551
> 
> cell : 603 930 5582 (emergencies only, please)
> 
> ken at cs.uml.edu
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> 
>  E3-I: This message has been scanned for viruses and dangerous content by UML's antivirus scanning services.
> 
> 
> 
> 


-- 
<><  ><> <><  ><> <><  ><> <><  ><> <><  ><> <><  

Ken Kleiner
System Manager
Computer Science Department
Umass Lowell

voice : 978 934 3645
fax : 978 934 3551

cell : 603 930 5582 (emergencies only, please)

ken at cs.uml.edu



More information about the samba mailing list