Hi, I'm having an issue trying to make a Windows machine sambaserveroin a Samba domain. Samba is running with LDAP backend (OpenLDAP). When I try to join the domain, Windows says that the machine account does not exist. The machine account, however, is successfully created in the LDAP directory after the join fails. When I try to join again, Windows says that the account already exists. Has anyone here already experienced such problem? This is a fresh install of Samba + OpenLDAP. I already ran smbldap-populate, all initial accounts and groups are present in the database. Some info: OpenLDAP 2.4.32 Samba 3.6.3-2ubuntu2.3 (amb64) smb.conf: [global] workgroup = RTS server string = %h map to guest = Bad User passdb backend = ldapsam:ldap://127.0.0.1 passwd program = /usr/sbin/smbldap-passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 add user script = /root/smbldap-tools-0.9.9/smbldap-useradd.cmd -a %u delete user script = /root/smbldap-tools-0.9.9/smbldap-userdel.cmd %u add group script = /root/smbldap-tools-0.9.9/smbldap-groupadd.cmd -p %g delete group script = /root/smbldap-tools-0.9.9/smbldap-groupdel.cmd %g add user to group script = /root/smbldap-tools-0.9.9/smbldap-groupmod.cmd -m "%u" "%g" delete user from group script = /root/smbldap-tools-0.9.9/smbldap-groupmod.cmd -x "%u" "%g" set primary group script = /root/smbldap-tools-0.9.9/smbldap-usermod.cmd -g "%g" "%u" add machine script = /root/smbldap-tools-0.9.9/smbldap-useradd.cmd -i -t 0 "%u" domain logons = Yes preferred master = Yes domain master = Yes wins support = Yes ldap admin dn = cn=Manager,dc=rtsbrasil,dc=com,dc=br ldap delete dn = Yes ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap machine suffix = ou=Computers ldap passwd sync = yes ldap suffix = dc=rtsbrasil,dc=com,dc=br ldap ssl = no ldap user suffix = ou=Users panic action = /usr/share/samba/panic-action %d idmap config * : backend = tdb smbldap.conf: SID="S-1-5-21-2940977410-1091208426-162815782" sambaDomain="RTS" masterLDAP="localhost" masterPort="389" ldapTLS="0" ldapSSL="0" verify="none" cafile="/etc/ssl/certs/cacert.pem" suffix="dc=rtsbrasil,dc=com,dc=br" usersdn="ou=Users,${suffix}" computersdn="ou=Computers,${suffix}" groupsdn="ou=Groups,${suffix}" idmapdn="ou=Idmap,${suffix}" sambaUnixIdPooldn="sambaDomainName=${sambaDomain},${suffix}" scope="sub" hash_encrypt="SSHA" crypt_salt_format="%s" userLoginShell="/bin/bash" userHome="/home/%U" userHomeDirectoryMode="700" userGecos="System User" defaultUserGid="513" defaultComputerGid="515" skeletonDir="/etc/skel" defaultMaxPasswordAge="45" userSmbHome="\\D0-SMBDOM\%U" userProfile="\\D0-SMBDOM\profiles\%U" userHomeDrive="H:" userScript="logon.bat" mailDomain="itfor.it" with_smbpasswd="0" smbpasswd="/usr/bin/smbpasswd" with_slappasswd="0" slappasswd="/usr/sbin/slappasswd" samba's log: [2012/10/08 21:54:37.044857, 0] rpc_server/srv_pipe.c:1254(api_pipe_bind_auth3) Auth failed (NT_STATUS_NO_SUCH_USER) [2012/10/08 21:54:37.115070, 0] rpc_server/netlogon/srv_netlog_nt.c:931(_netr_ServerAuthenticate3) _netr_ServerAuthenticate3: no challenge sent to client PROJETOS [2012/10/08 21:54:37.146424, 0] rpc_server/srv_pipe.c:1254(api_pipe_bind_auth3) Auth failed (NT_STATUS_NO_SUCH_USER) Use of qw(...) as parentheses is deprecated at /usr/share/perl5/smbldap_tools.pm line 1423, <DATA> line 522. Use of uninitialized value $pass in string ne at /root/smbldap-tools-0.9.9/smbldap-useradd.cmd line 349. Use of uninitialized value $pass2 in string ne at /root/smbldap-tools-0.9.9/smbldap-useradd.cmd line 349. slapd's log: Oct 8 21:54:29 sambaserver slapd[2572]: conn=1000 op=315 SRCH base="" scope=2 deref=0 filter="(objectClass=sambaTrustedDomainPassword)" Oct 8 21:54:29 sambaserver slapd[2572]: conn=1000 op=315 SRCH attr=sambaDomainName sambaSID Oct 8 21:54:29 sambaserver slapd[2572]: conn=1000 op=315 SEARCH RESULT tag=101 err=32 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 fd=25 ACCEPT from IP=127.0.0.1:60893 (IP=0.0.0.0:389) Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=0 BIND dn="cn=Manager,dc=rtsbrasil,dc=com,dc=br" method=128 Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=0 BIND dn="cn=Manager,dc=rtsbrasil,dc=com,dc=br" mech=SIMPLE ssf=0 Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=0 RESULT tag=97 err=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=1 SRCH base="" scope=0 deref=0 filter="(objectClass=*)" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=1 SRCH attr=supportedControl Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=1 SEARCH RESULT tag=101 err=0 nentries=1 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=2 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(uid=root)(objectClass=sambaSamAccount))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=2 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNumber homeDirectory loginShell gecos Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=2 SEARCH RESULT tag=101 err=0 nentries=1 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=3 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=0 filter="(objectClass=sambaDomain)" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=3 SRCH attr=sambaPwdHistoryLength Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=3 SEARCH RESULT tag=101 err=0 nentries=1 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=4 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=0 filter="(objectClass=sambaDomain)" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=4 SRCH attr=sambaMaxPwdAge Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=4 SEARCH RESULT tag=101 err=0 nentries=1 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=5 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(gidNumber=0))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=5 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=5 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=6 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=0 filter="(objectClass=sambaDomain)" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=6 SRCH attr=sambaMinPwdAge Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=6 SEARCH RESULT tag=101 err=0 nentries=1 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=7 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-545))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=7 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=7 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=8 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-545))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=8 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=8 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=9 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaGroupType=4)(|(sambaSIDList=s-1-5-21-2940977410-1091208426-162815782-500)(sambaSIDList=s-1-5-21-2940977410-1091208426-162815782-513)(sambaSIDList=s-1-22-2-0)(sambaSIDList=s-1-1-0)(sambaSIDList=s-1-5-2)(sambaSIDList=s-1-5-11)))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=9 SRCH attr=sambaSID Oct 8 21:54:37 sambaserver slapd[2572]: <= bdb_equality_candidates: (sambaGroupType) not indexed Oct 8 21:54:37 sambaserver slapd[2572]: <= bdb_equality_candidates: (sambaSIDList) not indexed Oct 8 21:54:37 slapd[2572]: last message repeated 5 times Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=9 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=10 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-1-0))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=10 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=10 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=11 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-2))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=11 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=11 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=12 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-11))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=12 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=12 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=13 SRCH base="sambaDomainName=PROJETOS,sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaTrustedDomainPassword)(sambaDomainName=projetos))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=13 SEARCH RESULT tag=101 err=32 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=14 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(uid=administrador)(objectClass=sambaSamAccount))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=14 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNumber homeDirectory loginShell gecos Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=14 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=15 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=0 filter="(objectClass=sambaDomain)" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=15 SRCH attr=sambaRefuseMachinePwdChange Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=15 SEARCH RESULT tag=101 err=0 nentries=1 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=16 SRCH base="sambaDomainName=PROJETOS,sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaTrustedDomainPassword)(sambaDomainName=projetos))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=16 SEARCH RESULT tag=101 err=32 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=17 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(uid=administrador)(objectClass=sambaSamAccount))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=17 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNumber homeDirectory loginShell gecos Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=17 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=18 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(uid=projetos$)(objectClass=sambaSamAccount))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=18 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNumber homeDirectory loginShell gecos Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=18 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=19 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(|(displayName=projetos$)(cn=projetos$)))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=19 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=19 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 fd=29 ACCEPT from IP=127.0.0.1:60894 (IP=0.0.0.0:389) Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=0 BIND dn="cn=Manager,dc=rtsbrasil,dc=com,dc=br" method=128 Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=0 BIND dn="cn=Manager,dc=rtsbrasil,dc=com,dc=br" mech=SIMPLE ssf=0 Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=0 RESULT tag=97 err=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=1 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=posixAccount)(uid=projetos$))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=1 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=2 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=2 filter="(objectClass=sambaUnixIdPool)" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=2 SRCH attr=uidNumber Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=2 SEARCH RESULT tag=101 err=0 nentries=1 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=3 MOD dn="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=3 MOD attr=uidNumber Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=3 RESULT tag=103 err=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=4 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=posixAccount)(uidNumber=1023))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=4 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=5 SRCH base="ou=Groups,dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=posixGroup)(gidNumber=513))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=5 SEARCH RESULT tag=101 err=0 nentries=1 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=6 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=sambaDomain)(sambaDomainName=rts))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=6 SRCH attr=sambaAlgorithmicRidBase sambaNextRid Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=6 SEARCH RESULT tag=101 err=0 nentries=1 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=7 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=sambaDomain)(sambaDomainName=rts))" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=7 SRCH attr=sambaNextRid Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=7 SEARCH RESULT tag=101 err=0 nentries=1 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=8 MOD dn="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=8 MOD attr=sambaNextRid Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=8 RESULT tag=103 err=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=9 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(sambaSID=s-1-5-21-2940977410-1091208426-162815782-1024)" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=9 SEARCH RESULT tag=101 err=0 nentries=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=10 ADD dn="uid=projetos$,ou=Computers,dc=rtsbrasil,dc=com,dc=br" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=10 RESULT tag=105 err=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=11 MOD dn="uid=projetos$,ou=Computers,dc=rtsbrasil,dc=com,dc=br" Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=11 MOD attr=objectClass sambaLogonTime sambaLogoffTime sambaKickoffTime sambaPwdCanChange sambaPwdMustChange sambaPwdLastSet sambaAcctFlags sambaLMPassword sambaNTPassword sambaSID sambaPrimaryGroupSID Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=11 RESULT tag=103 err=0 textOct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=12 UNBIND Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 fd=29 closed
I'm curious as to what modules you're using for NSS lookups? SSSD, or NSLCD and pam_ldap? I'd make sure you aren't using scope filters as this has caused me similar headaches in the past. On Oct 8, 2012, at 9:04 PM, "Celio Cidral Jr" <ccidral at gmail.com> wrote:> Hi, > > I'm having an issue trying to make a Windows machine sambaserveroin a Samba domain. Samba is running with LDAP backend (OpenLDAP). When I try to join the domain, Windows says that the machine account does not exist. The machine account, however, is successfully created in the LDAP directory after the join fails. When I try to join again, Windows says that the account already exists. > > Has anyone here already experienced such problem? This is a fresh install of Samba + OpenLDAP. I already ran smbldap-populate, all initial accounts and groups are present in the database. > > Some info: > > > > OpenLDAP 2.4.32 > Samba 3.6.3-2ubuntu2.3 (amb64) > > > > smb.conf: > > [global] > workgroup = RTS > server string = %h > map to guest = Bad User > passdb backend = ldapsam:ldap://127.0.0.1 > passwd program = /usr/sbin/smbldap-passwd %u > passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . > syslog = 0 > log file = /var/log/samba/log.%m > max log size = 1000 > add user script = /root/smbldap-tools-0.9.9/smbldap-useradd.cmd -a %u > delete user script = /root/smbldap-tools-0.9.9/smbldap-userdel.cmd %u > add group script = /root/smbldap-tools-0.9.9/smbldap-groupadd.cmd -p %g > delete group script = /root/smbldap-tools-0.9.9/smbldap-groupdel.cmd %g > add user to group script = /root/smbldap-tools-0.9.9/smbldap-groupmod.cmd -m "%u" "%g" > delete user from group script = /root/smbldap-tools-0.9.9/smbldap-groupmod.cmd -x "%u" "%g" > set primary group script = /root/smbldap-tools-0.9.9/smbldap-usermod.cmd -g "%g" "%u" > add machine script = /root/smbldap-tools-0.9.9/smbldap-useradd.cmd -i -t 0 "%u" > domain logons = Yes > preferred master = Yes > domain master = Yes > wins support = Yes > ldap admin dn = cn=Manager,dc=rtsbrasil,dc=com,dc=br > ldap delete dn = Yes > ldap group suffix = ou=Groups > ldap idmap suffix = ou=Idmap > ldap machine suffix = ou=Computers > ldap passwd sync = yes > ldap suffix = dc=rtsbrasil,dc=com,dc=br > ldap ssl = no > ldap user suffix = ou=Users > panic action = /usr/share/samba/panic-action %d > idmap config * : backend = tdb > > > > smbldap.conf: > > SID="S-1-5-21-2940977410-1091208426-162815782" > sambaDomain="RTS" > masterLDAP="localhost" > masterPort="389" > ldapTLS="0" > ldapSSL="0" > verify="none" > cafile="/etc/ssl/certs/cacert.pem" > suffix="dc=rtsbrasil,dc=com,dc=br" > usersdn="ou=Users,${suffix}" > computersdn="ou=Computers,${suffix}" > groupsdn="ou=Groups,${suffix}" > idmapdn="ou=Idmap,${suffix}" > sambaUnixIdPooldn="sambaDomainName=${sambaDomain},${suffix}" > scope="sub" > hash_encrypt="SSHA" > crypt_salt_format="%s" > userLoginShell="/bin/bash" > userHome="/home/%U" > userHomeDirectoryMode="700" > userGecos="System User" > defaultUserGid="513" > defaultComputerGid="515" > skeletonDir="/etc/skel" > defaultMaxPasswordAge="45" > userSmbHome="\\D0-SMBDOM\%U" > userProfile="\\D0-SMBDOM\profiles\%U" > userHomeDrive="H:" > userScript="logon.bat" > mailDomain="itfor.it" > with_smbpasswd="0" > smbpasswd="/usr/bin/smbpasswd" > with_slappasswd="0" > slappasswd="/usr/sbin/slappasswd" > > > > samba's log: > > [2012/10/08 21:54:37.044857, 0] rpc_server/srv_pipe.c:1254(api_pipe_bind_auth3) > Auth failed (NT_STATUS_NO_SUCH_USER) > [2012/10/08 21:54:37.115070, 0] rpc_server/netlogon/srv_netlog_nt.c:931(_netr_ServerAuthenticate3) > _netr_ServerAuthenticate3: no challenge sent to client PROJETOS > [2012/10/08 21:54:37.146424, 0] rpc_server/srv_pipe.c:1254(api_pipe_bind_auth3) > Auth failed (NT_STATUS_NO_SUCH_USER) > Use of qw(...) as parentheses is deprecated at /usr/share/perl5/smbldap_tools.pm line 1423, <DATA> line 522. > Use of uninitialized value $pass in string ne at /root/smbldap-tools-0.9.9/smbldap-useradd.cmd line 349. > Use of uninitialized value $pass2 in string ne at /root/smbldap-tools-0.9.9/smbldap-useradd.cmd line 349. > > > > slapd's log: > > Oct 8 21:54:29 sambaserver slapd[2572]: conn=1000 op=315 SRCH base="" scope=2 deref=0 filter="(objectClass=sambaTrustedDomainPassword)" > Oct 8 21:54:29 sambaserver slapd[2572]: conn=1000 op=315 SRCH attr=sambaDomainName sambaSID > Oct 8 21:54:29 sambaserver slapd[2572]: conn=1000 op=315 SEARCH RESULT tag=101 err=32 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 fd=25 ACCEPT from IP=127.0.0.1:60893 (IP=0.0.0.0:389) > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=0 BIND dn="cn=Manager,dc=rtsbrasil,dc=com,dc=br" method=128 > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=0 BIND dn="cn=Manager,dc=rtsbrasil,dc=com,dc=br" mech=SIMPLE ssf=0 > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=0 RESULT tag=97 err=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=1 SRCH base="" scope=0 deref=0 filter="(objectClass=*)" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=1 SRCH attr=supportedControl > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=2 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(uid=root)(objectClass=sambaSamAccount))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=2 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNumber homeDirectory loginShell gecos > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=3 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=0 filter="(objectClass=sambaDomain)" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=3 SRCH attr=sambaPwdHistoryLength > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=3 SEARCH RESULT tag=101 err=0 nentries=1 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=4 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=0 filter="(objectClass=sambaDomain)" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=4 SRCH attr=sambaMaxPwdAge > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=4 SEARCH RESULT tag=101 err=0 nentries=1 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=5 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(gidNumber=0))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=5 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=5 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=6 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=0 filter="(objectClass=sambaDomain)" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=6 SRCH attr=sambaMinPwdAge > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=6 SEARCH RESULT tag=101 err=0 nentries=1 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=7 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-545))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=7 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=7 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=8 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-545))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=8 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=8 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=9 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaGroupType=4)(|(sambaSIDList=s-1-5-21-2940977410-1091208426-162815782-500)(sambaSIDList=s-1-5-21-2940977410-1091208426-162815782-513)(sambaSIDList=s-1-22-2-0)(sambaSIDList=s-1-1-0)(sambaSIDList=s-1-5-2)(sambaSIDList=s-1-5-11)))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=9 SRCH attr=sambaSID > Oct 8 21:54:37 sambaserver slapd[2572]: <= bdb_equality_candidates: (sambaGroupType) not indexed > Oct 8 21:54:37 sambaserver slapd[2572]: <= bdb_equality_candidates: (sambaSIDList) not indexed > Oct 8 21:54:37 slapd[2572]: last message repeated 5 times > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=9 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=10 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-1-0))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=10 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=10 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=11 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-2))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=11 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=11 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=12 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-11))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=12 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=12 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=13 SRCH base="sambaDomainName=PROJETOS,sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaTrustedDomainPassword)(sambaDomainName=projetos))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=13 SEARCH RESULT tag=101 err=32 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=14 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(uid=administrador)(objectClass=sambaSamAccount))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=14 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNumber homeDirectory loginShell gecos > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=14 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=15 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=0 filter="(objectClass=sambaDomain)" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=15 SRCH attr=sambaRefuseMachinePwdChange > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=15 SEARCH RESULT tag=101 err=0 nentries=1 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=16 SRCH base="sambaDomainName=PROJETOS,sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaTrustedDomainPassword)(sambaDomainName=projetos))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=16 SEARCH RESULT tag=101 err=32 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=17 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(uid=administrador)(objectClass=sambaSamAccount))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=17 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNumber homeDirectory loginShell gecos > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=17 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=18 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(uid=projetos$)(objectClass=sambaSamAccount))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=18 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNumber homeDirectory loginShell gecos > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=18 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=19 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(|(displayName=projetos$)(cn=projetos$)))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=19 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=19 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 fd=29 ACCEPT from IP=127.0.0.1:60894 (IP=0.0.0.0:389) > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=0 BIND dn="cn=Manager,dc=rtsbrasil,dc=com,dc=br" method=128 > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=0 BIND dn="cn=Manager,dc=rtsbrasil,dc=com,dc=br" mech=SIMPLE ssf=0 > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=0 RESULT tag=97 err=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=1 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=posixAccount)(uid=projetos$))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=2 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=2 filter="(objectClass=sambaUnixIdPool)" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=2 SRCH attr=uidNumber > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=3 MOD dn="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=3 MOD attr=uidNumber > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=3 RESULT tag=103 err=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=4 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=posixAccount)(uidNumber=1023))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=4 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=5 SRCH base="ou=Groups,dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=posixGroup)(gidNumber=513))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=5 SEARCH RESULT tag=101 err=0 nentries=1 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=6 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=sambaDomain)(sambaDomainName=rts))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=6 SRCH attr=sambaAlgorithmicRidBase sambaNextRid > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=6 SEARCH RESULT tag=101 err=0 nentries=1 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=7 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=sambaDomain)(sambaDomainName=rts))" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=7 SRCH attr=sambaNextRid > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=7 SEARCH RESULT tag=101 err=0 nentries=1 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=8 MOD dn="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=8 MOD attr=sambaNextRid > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=8 RESULT tag=103 err=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=9 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(sambaSID=s-1-5-21-2940977410-1091208426-162815782-1024)" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=9 SEARCH RESULT tag=101 err=0 nentries=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=10 ADD dn="uid=projetos$,ou=Computers,dc=rtsbrasil,dc=com,dc=br" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=10 RESULT tag=105 err=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=11 MOD dn="uid=projetos$,ou=Computers,dc=rtsbrasil,dc=com,dc=br" > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=11 MOD attr=objectClass sambaLogonTime sambaLogoffTime sambaKickoffTime sambaPwdCanChange sambaPwdMustChange sambaPwdLastSet sambaAcctFlags sambaLMPassword sambaNTPassword sambaSID sambaPrimaryGroupSID > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=11 RESULT tag=103 err=0 text> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=12 UNBIND > Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 fd=29 closed > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Hi Michael, thanks for the reply. I'm not sure if I have correctly checked the things you asked. I've installed Samba via apt-get, and I had to compile OpenLDAP by hand (I failed miserably trying to make it work from the apt packages). The NSLCD and SSSD packages are not installed, and there is no occurrence of "nslcd" nor "sssd" under the /usr directory. Regarding the scope filter, the only configuration I found (that I think is related to scope) is the following line from the smbldap.conf file: scope="sub" C?lio Em 08/10/2012, ?s 23:25, Michael Starling <mlstarling31 at hotmail.com> escreveu:> I'm curious as to what modules you're using for NSS lookups? SSSD, or NSLCD and pam_ldap? > > I'd make sure you aren't using scope filters as this has caused me similar headaches in the past. > > > > On Oct 8, 2012, at 9:04 PM, "Celio Cidral Jr" <ccidral at gmail.com> wrote: > >> Hi, >> >> I'm having an issue trying to make a Windows machine sambaserveroin a Samba domain. Samba is running with LDAP backend (OpenLDAP). When I try to join the domain, Windows says that the machine account does not exist. The machine account, however, is successfully created in the LDAP directory after the join fails. When I try to join again, Windows says that the account already exists. >> >> Has anyone here already experienced such problem? This is a fresh install of Samba + OpenLDAP. I already ran smbldap-populate, all initial accounts and groups are present in the database. >> >> Some info: >> >> >> >> OpenLDAP 2.4.32 >> Samba 3.6.3-2ubuntu2.3 (amb64) >> >> >> >> smb.conf: >> >> [global] >> workgroup = RTS >> server string = %h >> map to guest = Bad User >> passdb backend = ldapsam:ldap://127.0.0.1 >> passwd program = /usr/sbin/smbldap-passwd %u >> passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . >> syslog = 0 >> log file = /var/log/samba/log.%m >> max log size = 1000 >> add user script = /root/smbldap-tools-0.9.9/smbldap-useradd.cmd -a %u >> delete user script = /root/smbldap-tools-0.9.9/smbldap-userdel.cmd %u >> add group script = /root/smbldap-tools-0.9.9/smbldap-groupadd.cmd -p %g >> delete group script = /root/smbldap-tools-0.9.9/smbldap-groupdel.cmd %g >> add user to group script = /root/smbldap-tools-0.9.9/smbldap-groupmod.cmd -m "%u" "%g" >> delete user from group script = /root/smbldap-tools-0.9.9/smbldap-groupmod.cmd -x "%u" "%g" >> set primary group script = /root/smbldap-tools-0.9.9/smbldap-usermod.cmd -g "%g" "%u" >> add machine script = /root/smbldap-tools-0.9.9/smbldap-useradd.cmd -i -t 0 "%u" >> domain logons = Yes >> preferred master = Yes >> domain master = Yes >> wins support = Yes >> ldap admin dn = cn=Manager,dc=rtsbrasil,dc=com,dc=br >> ldap delete dn = Yes >> ldap group suffix = ou=Groups >> ldap idmap suffix = ou=Idmap >> ldap machine suffix = ou=Computers >> ldap passwd sync = yes >> ldap suffix = dc=rtsbrasil,dc=com,dc=br >> ldap ssl = no >> ldap user suffix = ou=Users >> panic action = /usr/share/samba/panic-action %d >> idmap config * : backend = tdb >> >> >> >> smbldap.conf: >> >> SID="S-1-5-21-2940977410-1091208426-162815782" >> sambaDomain="RTS" >> masterLDAP="localhost" >> masterPort="389" >> ldapTLS="0" >> ldapSSL="0" >> verify="none" >> cafile="/etc/ssl/certs/cacert.pem" >> suffix="dc=rtsbrasil,dc=com,dc=br" >> usersdn="ou=Users,${suffix}" >> computersdn="ou=Computers,${suffix}" >> groupsdn="ou=Groups,${suffix}" >> idmapdn="ou=Idmap,${suffix}" >> sambaUnixIdPooldn="sambaDomainName=${sambaDomain},${suffix}" >> scope="sub" >> hash_encrypt="SSHA" >> crypt_salt_format="%s" >> userLoginShell="/bin/bash" >> userHome="/home/%U" >> userHomeDirectoryMode="700" >> userGecos="System User" >> defaultUserGid="513" >> defaultComputerGid="515" >> skeletonDir="/etc/skel" >> defaultMaxPasswordAge="45" >> userSmbHome="\\D0-SMBDOM\%U" >> userProfile="\\D0-SMBDOM\profiles\%U" >> userHomeDrive="H:" >> userScript="logon.bat" >> mailDomain="itfor.it" >> with_smbpasswd="0" >> smbpasswd="/usr/bin/smbpasswd" >> with_slappasswd="0" >> slappasswd="/usr/sbin/slappasswd" >> >> >> >> samba's log: >> >> [2012/10/08 21:54:37.044857, 0] rpc_server/srv_pipe.c:1254(api_pipe_bind_auth3) >> Auth failed (NT_STATUS_NO_SUCH_USER) >> [2012/10/08 21:54:37.115070, 0] rpc_server/netlogon/srv_netlog_nt.c:931(_netr_ServerAuthenticate3) >> _netr_ServerAuthenticate3: no challenge sent to client PROJETOS >> [2012/10/08 21:54:37.146424, 0] rpc_server/srv_pipe.c:1254(api_pipe_bind_auth3) >> Auth failed (NT_STATUS_NO_SUCH_USER) >> Use of qw(...) as parentheses is deprecated at /usr/share/perl5/smbldap_tools.pm line 1423, <DATA> line 522. >> Use of uninitialized value $pass in string ne at /root/smbldap-tools-0.9.9/smbldap-useradd.cmd line 349. >> Use of uninitialized value $pass2 in string ne at /root/smbldap-tools-0.9.9/smbldap-useradd.cmd line 349. >> >> >> >> slapd's log: >> >> Oct 8 21:54:29 sambaserver slapd[2572]: conn=1000 op=315 SRCH base="" scope=2 deref=0 filter="(objectClass=sambaTrustedDomainPassword)" >> Oct 8 21:54:29 sambaserver slapd[2572]: conn=1000 op=315 SRCH attr=sambaDomainName sambaSID >> Oct 8 21:54:29 sambaserver slapd[2572]: conn=1000 op=315 SEARCH RESULT tag=101 err=32 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 fd=25 ACCEPT from IP=127.0.0.1:60893 (IP=0.0.0.0:389) >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=0 BIND dn="cn=Manager,dc=rtsbrasil,dc=com,dc=br" method=128 >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=0 BIND dn="cn=Manager,dc=rtsbrasil,dc=com,dc=br" mech=SIMPLE ssf=0 >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=0 RESULT tag=97 err=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=1 SRCH base="" scope=0 deref=0 filter="(objectClass=*)" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=1 SRCH attr=supportedControl >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=2 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(uid=root)(objectClass=sambaSamAccount))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=2 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNumber homeDirectory loginShell gecos >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=3 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=0 filter="(objectClass=sambaDomain)" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=3 SRCH attr=sambaPwdHistoryLength >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=3 SEARCH RESULT tag=101 err=0 nentries=1 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=4 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=0 filter="(objectClass=sambaDomain)" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=4 SRCH attr=sambaMaxPwdAge >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=4 SEARCH RESULT tag=101 err=0 nentries=1 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=5 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(gidNumber=0))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=5 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=5 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=6 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=0 filter="(objectClass=sambaDomain)" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=6 SRCH attr=sambaMinPwdAge >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=6 SEARCH RESULT tag=101 err=0 nentries=1 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=7 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-545))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=7 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=7 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=8 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-545))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=8 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=8 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=9 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaGroupType=4)(|(sambaSIDList=s-1-5-21-2940977410-1091208426-162815782-500)(sambaSIDList=s-1-5-21-2940977410-1091208426-162815782-513)(sambaSIDList=s-1-22-2-0)(sambaSIDList=s-1-1-0)(sambaSIDList=s-1-5-2)(sambaSIDList=s-1-5-11)))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=9 SRCH attr=sambaSID >> Oct 8 21:54:37 sambaserver slapd[2572]: <= bdb_equality_candidates: (sambaGroupType) not indexed >> Oct 8 21:54:37 sambaserver slapd[2572]: <= bdb_equality_candidates: (sambaSIDList) not indexed >> Oct 8 21:54:37 slapd[2572]: last message repeated 5 times >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=9 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=10 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-1-0))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=10 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=10 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=11 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-2))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=11 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=11 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=12 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(sambaSID=s-1-5-11))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=12 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=12 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=13 SRCH base="sambaDomainName=PROJETOS,sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaTrustedDomainPassword)(sambaDomainName=projetos))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=13 SEARCH RESULT tag=101 err=32 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=14 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(uid=administrador)(objectClass=sambaSamAccount))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=14 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNumber homeDirectory loginShell gecos >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=14 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=15 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=0 filter="(objectClass=sambaDomain)" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=15 SRCH attr=sambaRefuseMachinePwdChange >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=15 SEARCH RESULT tag=101 err=0 nentries=1 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=16 SRCH base="sambaDomainName=PROJETOS,sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaTrustedDomainPassword)(sambaDomainName=projetos))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=16 SEARCH RESULT tag=101 err=32 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=17 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(uid=administrador)(objectClass=sambaSamAccount))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=17 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNumber homeDirectory loginShell gecos >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=17 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=18 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(uid=projetos$)(objectClass=sambaSamAccount))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=18 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNumber homeDirectory loginShell gecos >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=18 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=19 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=sambaGroupMapping)(|(displayName=projetos$)(cn=projetos$)))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=19 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=19 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 fd=29 ACCEPT from IP=127.0.0.1:60894 (IP=0.0.0.0:389) >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=0 BIND dn="cn=Manager,dc=rtsbrasil,dc=com,dc=br" method=128 >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=0 BIND dn="cn=Manager,dc=rtsbrasil,dc=com,dc=br" mech=SIMPLE ssf=0 >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=0 RESULT tag=97 err=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=1 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=posixAccount)(uid=projetos$))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=2 SRCH base="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" scope=0 deref=2 filter="(objectClass=sambaUnixIdPool)" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=2 SRCH attr=uidNumber >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=3 MOD dn="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=3 MOD attr=uidNumber >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=3 RESULT tag=103 err=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=4 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=posixAccount)(uidNumber=1023))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=4 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=5 SRCH base="ou=Groups,dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=posixGroup)(gidNumber=513))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=5 SEARCH RESULT tag=101 err=0 nentries=1 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=6 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=sambaDomain)(sambaDomainName=rts))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=6 SRCH attr=sambaAlgorithmicRidBase sambaNextRid >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=6 SEARCH RESULT tag=101 err=0 nentries=1 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=7 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(&(objectClass=sambaDomain)(sambaDomainName=rts))" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=7 SRCH attr=sambaNextRid >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=7 SEARCH RESULT tag=101 err=0 nentries=1 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=8 MOD dn="sambaDomainName=RTS,dc=rtsbrasil,dc=com,dc=br" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=8 MOD attr=sambaNextRid >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=8 RESULT tag=103 err=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=9 SRCH base="dc=rtsbrasil,dc=com,dc=br" scope=2 deref=2 filter="(sambaSID=s-1-5-21-2940977410-1091208426-162815782-1024)" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=9 SEARCH RESULT tag=101 err=0 nentries=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=10 ADD dn="uid=projetos$,ou=Computers,dc=rtsbrasil,dc=com,dc=br" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=10 RESULT tag=105 err=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=11 MOD dn="uid=projetos$,ou=Computers,dc=rtsbrasil,dc=com,dc=br" >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=11 MOD attr=objectClass sambaLogonTime sambaLogoffTime sambaKickoffTime sambaPwdCanChange sambaPwdMustChange sambaPwdLastSet sambaAcctFlags sambaLMPassword sambaNTPassword sambaSID sambaPrimaryGroupSID >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=11 RESULT tag=103 err=0 text>> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 op=12 UNBIND >> Oct 8 21:54:37 sambaserver slapd[2572]: conn=1116 fd=29 closed >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba