View Single Post
Old 22nd January 2008, 15:40
o.meyer o.meyer is offline
Senior Member
Join Date: Aug 2007
Posts: 167
Thanks: 2
Thanked 24 Times in 23 Posts

Hi agarcia71,

please try this global section:

        workgroup = DDISCOVERY
        netbiosname = PDC-SRV-DDISCOVERY
        preferred master = yes
        os level = 65
        wins support = yes
        enable privileges = yes
        timeserver = yes
        log level = 3
        null passwords = yes
        # unix charset = ISO8859-1
        name resolve order = bcast host
        domain logons = yes
        domain master = yes
        printing = cups
        printcap name = cups
        logon path = \\%N\profiles\%u
        logon script = logon.bat
	logon drive = H:
        map acl inherit = yes
        nt acl support = yes
        passdb backend = ldapsam:ldap://
        obey pam restrictions = no

        ldap admin dn = cn=admin,dc=ddiscovery,dc=local
        ldap suffix = dc=ddiscovery,dc=local
        ldap group suffix = ou=Groups
        ldap user suffix = ou=Users
        ldap machine suffix = ou=Computers
        ldap idmap suffix = ou=Users
        ldap passwd sync = yes
        ldap delete dn = yes

        passwd program = /usr/sbin/smbldap-passwd -u %u
        passwd chat = "Changing password for*\nNew password*" %n\n "*Retype new password*" %n\n

        add user script = /usr/sbin/smbldap-useradd -m "%u"
        add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
        set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
        add group script = /usr/sbin/ambldap-groupadd -p "%g"
        add machine script = /usr/sbin/smbldap-useradd -w "%u"

        delete user script = /usr/sbin/smbldap-userdel "%u"
        delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
        delete group script = /usr/sbin/smbldap-groupdel "%g"
Best regards,

Reply With Quote