[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LDAP account status



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Julien,

Place a exclamation mark (!) in front of the userPassword field. This
disables the posixAccount usage.

Greetings,

Dennis

On 04/28/2014 02:56 PM, Julien Courtès wrote:
> Hi, I want to disable an account without deleting informations
> about it. This account is linked with some services such as
> Owncloud, ftp authentification, samba, linux auth and ssh auth. 
> Does it exists a way to disable the account for all the services? I
> know that I can disable the account for samba with sambaAcctFlags
> but I don't know an easy way for other services.
> 
> I thinked to create a new field called "AccountStatus" and filter
> on each service accounts which have AccountStatus=active like that
> 
> /(&(objectClass=inetOrgPerson)(AccountStatus=active))
> 
> /Is it a good way to do it or no?
> 
> Thanks
> 
> Julien Courtès
> 
> 


- -- 
ICT Medewerker
Divisie Biomedische Genetica
UMC Utrecht
Heidelberglaan 100 STR2.126
3584 CX  Utrecht
The Netherlands
06 27744048
intern: 64048
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTXllVAAoJEMVYYpdbQscoqAEH/1wsvw1pBpIG0sXbfG0dWFFY
B1wdWNcjoZtGGdGGnfuc+so4FgMy17GsIFz9tNKjJj+sy7tzMHudN5lOfBRDnVDZ
eYm3HPm1gm0BvUWXM4MLhdDrxSwWrnOFmTHphCvPa9YrkSacKDQTeuH8wnatVSej
PMUr/IM4EdoFW5b31WELoQTtc9Tu0Yd3SidxHsujTpGFnCDsExbhiI0AVsuvZ7lY
c6ZvY107vVzy1h3nwVFgJx45WwOFhoVIioLDOfZnvaoZHHtARLcdLtEa2er0OQgr
TNSFdZinIwHTvr1hJPXYKjGUcFnrl9J+C5cXzryWCzh/yu70buNGCclXMWGPVSs=
=UUrv
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------

De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is
uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht
ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct
te informeren door het bericht te retourneren. Het Universitair Medisch
Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de W.H.W.
(Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd bij
de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197.

Denk s.v.p aan het milieu voor u deze e-mail afdrukt.

------------------------------------------------------------------------------

This message may contain confidential information and is intended exclusively
for the addressee. If you receive this message unintentionally, please do not
use the contents but notify the sender immediately by return e-mail. University
Medical Center Utrecht is a legal person by public law and is registered at
the Chamber of Commerce for Midden-Nederland under no. 30244197.

Please consider the environment before printing this e-mail.