ldap back-end database development
authorLuke Leighton <lkcl@samba.org>
Mon, 11 May 1998 15:56:01 +0000 (15:56 +0000)
committerLuke Leighton <lkcl@samba.org>
Mon, 11 May 1998 15:56:01 +0000 (15:56 +0000)
commit673ab50c4c2c25db355d90efde3a6bfbb4d8369e
treefa7573a32ed323d7bafb5455d9ee3fbdf26455bd
parent1386c6e25a2cf05c5c48b7a5094db3b2a6f5a5b3
ldap back-end database development

Makefile:

created PASSBD_OBJ group

includes.h:

added #ifdef USE_LDAP to #include <ldap> headers

ldap.c:

- renamed "_machine" to "_trust" everywhere.
- added sam_passwd support routines
- removed get_ldappwd_entry function: replaced with get_sampwd_entry
- removed getldappwnam/uid: replaced with getsampwnam/uid
- other messing about bits which are probably going to annoy the
  hell out of jean-francois (sorry!)

mkproto.awk:

- added stuff to wrap ldap.c protos with #ifdef USE_LDAP
- added uid_t and gid_t return results to the prototype generation

passdb.c:

- created getsam21pwent, add_sam21pwd_entry, mod_sam21pwd_entry.
- modified getsampwnam/uid and created getsam21pwnam/rid functions
  to replace the local get_smbpwd_entry() and get_ldappwd_entry()
  functions, which jeremy didn't like anyway because they were
  dual-purpose.
- added utility routines which are or may be useful to all the
  password database routines.

password.c:

- renamed "machine_" to "trust_" everywhere.

smbpass.c:

- removed get_smbpwd_entry function: replaced it with get_sampwd_entry
  functions in passdb.c
- moved code that decoded acct_ctrl into passdb.c
- moved encode_acct_ctrl into passdb.c
- removed getsmbpwnam/uid: replaced with getsampwnam/uid
- renamed "machine_" to "trust_" everywhere.

smbpasswd.c:

- renamed "machine_" to "trust_" everywhere.

util.c:

- moved gethexpwd function into passdb.c

lib/rpc/server/srv_util.c:

- moved user_rid_to_uid, group_rid_to_rid etc etc into passdb.c
source/include/includes.h
source/include/proto.h
source/lib/util.c
source/passdb/ldap.c
source/passdb/passdb.c
source/passdb/smbpass.c
source/rpc_server/srv_util.c
source/script/mkproto.awk
source/smbd/password.c
source/utils/smbpasswd.c