[Samba] BDC

Márcio Luciano Donada mdonada at auroraalimentos.com.br
Wed Jan 4 15:25:08 GMT 2006

Hi People,
My configuration of the samba (smb.conf) is below.  It would like to
change some email with staff who has the BDC in functioning with the PDC
using in both the LDAP.

        workgroup = AURORA
        netbios name = CPD-Aurora-Marcio
        passdb backend = ldapsam:ldap://
        username map = /usr/local/etc/smbusers
        security = user

        add user script = /usr/local/sbin/smbldap-useradd -m "%u"
        delete user script = /usr/local/sbin/smbldap-userdel "%u"
        add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
        delete group script = /usr/local/sbin/smbldap-groupdel "%g"
        add user to group script = /usr/local/sbin/smbldap-groupmod -m
"%u" "%g"
        delete user from group script = /usr/local/sbin/smbldap-groupmod
-x "%u" "%g"
        set primary group script = /usr/local/sbin/smbldap-usermod -g
"%g" "%u"
        add machine script = /usr/local/sbin/smbldap-useradd -w "%u"

        # The following specifies the default logon script
        # Per user logon scripts can be specified in the
        # user account using pdbedit
        logon script = scripts\logon.bat
        # This sets the default profile path.
        # Set per user paths with pdbedit
        logon path = \\%L\Profiles\%U
        logon drive = H:
        logon home = \\%L\%U
        domain logons = Yes
        os level = 35
        preferred master = Yes
        domain master = No
        ldap suffix = dc=auroraalimentos,dc=com,dc=br
        ldap machine suffix = ou=Usuarios,dc=auroraalimentos,dc=com,dc=br
        ldap user suffix =
        ldap group suffix =
        ldap idmap suffix =
        ldap admin dn =
        ldap ssl = no
        ldap passwd sync = yes
        idmap uid = 15000-20000
        idmap gid = 15000-20000


Márcio Luciano Donada
T.I. Aurora Alimentos - Chapecó(SC)
Cooperativa Central Oeste Catarinense 
mdonada at auroraalimentos dot com dot br

More information about the samba mailing list