[Samba] Samba 3.0 and LDAP
cstamas at digitus.itk.ppke.hu
Sun Dec 7 18:25:30 GMT 2003
On Sun, Dec 07, 2003 at 07:44:35PM +0700, Theewara Vorakosit wrote:
> Dear All,
> I use fedora. I want to use LDAP with samba. I follow samba 3.0 howto
> collection. How can I add samba to my system? Is there a program like
> 'smbpasswd -a'? If I must create LDIF file to add user, how can I know value
> of some fields, for example, SID?
Read the smb + ldap howto:
I think you can generate SID from: $(net getlocalsid)-$(2*userid+1000)
pgroupsid is the same +1.
At least this works for me.
You can also add users to /etc/passwd and use smbpasswd for them,
if you want samba only.
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba