#!/bin/bash

# Programs

perl=/usr/bin/perl
# add -x to each line for simple bind, 
#e.g. ldapsearch="/opt/openldap/bin/ldapsearch -x"
ldapsearch=/opt/openldap/bin/ldapsearch
ldapadd=/opt/openldap/bin/ldapadd
ldapdelete=/opt/openldap/bin/ldapdelete
ldapmodify=/opt/openldap/bin/ldapmodify
rpcclient=/opt/samba/bin/rpcclient

# rpcclient variables

rpcuser=root
rpcpassword=<secret>

# LDAP variables for an LDAP hierarchy, where unix and tng users live in 
# different subcontainers.

topsuffix="dc=mycompany,dc=com"
# tng
sambaorg="o=smb"
smbsuffix="$sambaorg,$topsuffix"
# unix
usersuffix="ou=People,$topsuffix"
groupsuffix="ou=Groups,$topsuffix"

binddn="cn=root,dc=mycompany,dc=com"
bindpassword=<secret>

# Domain Variables

domain=MYCOMPANY
sid=S-1-5-21-
