#ldap
        passdb backend = ldapsam:ldap://127.0.0.1
        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://127.0.0.1
        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 < [EMAIL PROTECTED] > wrote:
From: Andrew Bartlett [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
     Cc: [EMAIL PROTECTED]
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                         
        [EMAIL PROTECTED]<br>Manager, Authentication Subsystems, Samba Team  [EMAIL 
PROTECTED]<br>Student Network Administrator, Hawker College   [EMAIL 
PROTECTED]<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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to