pcpatch user in LDAP

Antworten
pav5088
Beiträge: 31
Registriert: 12 Jun 2009, 03:49

pcpatch user in LDAP

Beitrag von pav5088 »

I would like to have the pcpatch user inside LDAP. This is because my Samba server gets account information from LDAP. Unfortunately in this scenario opsi can't maintain the pcpatch user because :

opsi-admin -d task setPcpatchPassword

...doesn't work. This is because opsi-admin seems to use chpasswd internally, and this command does not work with LDAP users. Is there a way of keeping pcpatch in LDAP (perhaps by maintaining the pcpatch user in a more manual way)? Will I also need to maintain the opsiconfd user in LDAP also - I noticed that files created during imaging are owned by opsiconfd?
pav5088
Beiträge: 31
Registriert: 12 Jun 2009, 03:49

Re: pcpatch user in LDAP

Beitrag von pav5088 »

I worked around this problem by :
1) shutting down slapd to make the LDAP pcpatch user inaccessible
2) creating a local pcpatch user
3) opsi-admin -t task setPcpatchPassword
4) deleting the pcpatch user
5) recreating and repopulating the pcpatch group, and restarting slapd to make the LDAP pcpatch user accessible.
Antworten