[Samba] after switching to ldap, cannot net groupmap stuff

John H. mrmailer at myway.com
Mon Jan 26 08:28:29 GMT 2004

        passdb backend = ldapsam:ldap://
        ldap suffix = "dc=INTRANET"
        ldap machine suffix = ou=People,dc=INTRANET
        ldap passwd sync = yes
        ldap user suffix = ou=People,dc=INTRANET
        ldap group suffix = ou=Group,dc=INTRANET
        ldap admin dn = "cn=Manager,dc=INTRANET"
        ldap ssl = no
        idmap backend = ldapsam:ldapsam://
        passwd chat debug = Yes
        passwd program =/usr/local/sbin/smbldap-passwd -o %u
        passwd chat = *new*password* %n\n *new*password:* %n\ *successfully*
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        add machine script = /usr/local/sbin/smbldap-useradd -w %m
add user script = /usr/local/sbin/smbldap-useradd -a %u
        delete user script = /usr/local/sbin/smbldap-userdel %u
        add group script = /usr/local/sbin/smbldap-groupadd %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 $        set primary group script = /usr/local/sbin/smbldap-usermod -G %g %u

 --- On Mon 01/26, Andrew Bartlett < abartlet at samba.org > wrote:
From: Andrew Bartlett [mailto: abartlet at samba.org]
To: mrmailer at myway.com
     Cc: samba at lists.samba.org
Date: Mon, 26 Jan 2004 19:23:25 +1100
Subject: Re: [Samba] after switching to ldap, cannot net groupmap stuff

On Mon, 2004-01-26 at 18:48, John H. wrote:<br>> ok, i switched to ldap and my users can login and what not, but i cannot use net groupmap for groups anymore.  everything else seems to work ok?  if i cannot map groups like this(for instance, unix users group to Domain Power Users) anymore, how do i do it?<br>> <br>> If i do net groupmap list, I get<br>> <br>>  net groupmap list<br>> [2004/01/26 01:46:44, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(2048)<br>>   ldapsam_setsamgrent: LDAP search failed: Invalid DN syntax<br><br>What is in your smb.conf for ldap settings?<br><br>Andrew Bartlett<br><br>-- <br>Andrew Bartlett                                 abartlet at pcug.org.au<br>Manager, Authentication Subsystems, Samba Team  abartlet at samba.org<br>Student Network Administrator, Hawker College   abartlet at hawkerc.net<br>http://samba.org     http://build.samba.org     http://hawkerc.net<br>Attachment: signature.asc  (0.19KB)<br>

No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com

More information about the samba mailing list