[Samba] LDAP Filter Problem

Peak, John John.Peak at McKesson.com
Fri Jan 24 21:31:01 GMT 2003


I am sure there are some extraneous parameters in it from all the things
I've tried, but here it is.... 

# Samba config file created using SWAT 
# from 192.168.1.8 (192.168.1.8) 
# Date: 2003/01/20 21:34:50 

# Global parameters 
[global] 
        realm = ELUCIDATION 
        workgroup = ELUCIDATION 
        netbios name = Boo 
        server string = %h server (Samba %v) 
        security = USER 
        obey pam restrictions = Yes 
        guest account = guest 
        passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u 
        passwd chat = *new*password* %n\n *new*password* %n\n
*successfully* 
        unix password sync = Yes 
        encrypt passwords = Yes 
        log level = 5 
        log file = /var/log/samba/%m.log 
        max log size = 1000 
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 
        domain logons = No 
        logon script = startup.bat 
        os level = 80 
        preferred master = Yes 
        domain master = Yes 
        local master = Yes 
        dns proxy = No 
        wins support = Yes 
        ldap suffix = dc=ELUCIDATION 
        ldap machine suffix = dc=ELUCIDATION 
        ldap user suffix = dc=ELUCIDATION 
        ldap admin dn = cn=Manager,dc=ELUCIDATION 
        ldap ssl = Yes 
        ldap filter = "(&(uid=%u)(objectclass=ixAccount))" 
        printing = lprng 
        add user script = /usr/local/sbin/smbldap-useradd.pl -w %u 
        panic action = /usr/share/samba/panic-action %d 
        invalid users = root 
        hosts allow = 192.168.1.0/255.255.255.0 
        logon drive = H: 
        logon home = \\boo\%u 
        domain admin group = " @"Domain Admins" " 

[homes] 
        comment = Home Directories 
        valid users = %S 
        read only = No 
        create mask = 0664 
        directory mask = 0775 
        browseable = No 

[netlogon] 
        comment = Network Logon Service 
        path = /opt/samba/netlogon 
        guest ok = Yes 

[doc] 
        path=/usr/share/doc 
        public=yes 
        writable=no 
        read only=no 
        create mask = 0750 
        guest ok = Yes 

[profiles] 
        path = /opt/samba/profiles 
        read only = Yes 
        create mask = 0644 
        directory mask = 0775 
        guest ok = Yes 
        browseable = No 

[printers] 
        comment = All Printers 
        path = /tmp 
        create mask = 0700 
        printable = Yes 
        browseable = No 

[tmp] 
        comment = Temporary file space 
        path = /tmp 
        read only = No 
        guest ok = Yes 

~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
John Peak 
Revenue Cycle Solutions 
McKesson Corp. 
john.peak at mckesson.com 
404.338.2701 

 -----Original Message----- 
From:   Bradley W. Langhorst [ mailto:brad at langhorst.com
<mailto:brad at langhorst.com> ] 
Sent:   Friday, January 24, 2003 4:16 PM 
To:     Peak, John 
Cc:     samba at lists.samba.org 
Subject:        Re: [Samba] LDAP Filter Problem 

On Fri, 2003-01-24 at 13:15, Samba Newsgroups wrote: 
> I was wondering if anyone could help me with this one.  I am having
trouble 
> getting LDAP and samba working properly on my Debian Woody box.  I am
using 
> OpenLDAP 2.0.27-3 and the unsable packaged Samba version 2.999+3.0 and
am 
> using the samba.schema for my LDAP database. 
> 
> Whenever I try to join the network using either W2K or smbclient the
LDAP 
> debug log shows that the following filter is being used: 
> .... 
> Jan 24 12:32:01 boo slapd[14586]:     filter: 
> (&(objectClass=posixAccount)(uid=ELUCIDATION\5CROOT)) 
you'd better show your smb.conf... 


brad 
-- 
Bradley W. Langhorst <brad at langhorst.com> 

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list