search for: use_ldap

Displaying 2 results from an estimated 2 matches for "use_ldap".

Did you mean: user_ldap
2003 Jan 28
1
ldap_modify_s Insufficient access
Hi, we are running Samba 2.2.5 using LDAP und pam_ldap (pam_unix2 with auth+account+password=use_ldap) as PDC out of the SuSE 8.1 distribution. It runs very well: Login f?r Unix&Samba ok, Passwort-Change for Samba via smbpasswd Ok and we are able to manipulate the Linux Password in LDAP using the GQ Client. The only thing that doesn't work is "passwd" itself: venezuela:/home/tdm...
2006 Mar 30
0
design question - user data from two different sources
...elegant way of achieving this? I would appreciate a suggestion of some pattern of organising these models. What I''ve come up with so far are 3 classes - DbPerson and LDAPPerson, and a Person class which is supposed to be something like an interface. It has an if clause that checks the USE_LDAP constant. Depending on this test it sets a @my_class variable. Then it defines wrappers to all the common functions of the two models and calls the methods of the relevant model by using the @my_class var. This works but it seems clumsy to me so I''m looking for insights :) Thanks! --...