docker-openldap
docker-openldap copied to clipboard
How to import Samba scheme?
Hi,
my QNAP NAS box is connected to my OpenLDAP docker container. The OpenLDAP users can login on the web interface.
Now I want that the users can login via Samba. The QNAP documentation says that I have to import the Samba schema to the LDAP server.
How can I do this with the docker image?
Thank you.
axoze
Any update on this? I am also interested.
I've found out that the docker image already contains the Samba scheme. So my users have got their regular OpenLDAP password and a Samba password. Everything works as I wanted it to.
What did you do? I have my qnap it authenticating correctly linux users, but I'm unable to browse windows shares (only nfs/afp). Any hint @axoze ??
@danielporto @axoze sorry for resurrecting this, but did you ever find a solution?
I've found out that the docker image already contains the Samba scheme. So my users have got their regular OpenLDAP password and a Samba password. Everything works as I wanted it to. @axoze how to configure it? do you have examples
The entry for a person is something like that:
dn: uid=TestAccount,ou=people,dc=mydomain,dc=lokal
objectclass: inetOrgPerson
objectclass: sambaSamAccount
objectclass: posixAccount
sn: lastname
cn: firstname lastname
uid: TestAccount
userPassword: {SHA}shapassword
sambaNTPassword: password
uidNumber: 1211
gidNumber: 2001
homeDirectory: /homes/TestAccount
sambaAcctFlags: [UX]
sambaSID: S-1-5-21-47631656-1402335825-551341023-3422
Is that of any help?