Problems configuring Samba PDC + FDS error "Username not found"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am having trouble getting samba-3.0.24-11 setup as a PDC with an
ldap backend using FDS on a FC6 test box.  I have installed the
1.0.4-1 version of the directory server accepting the defaults except
for the server name without any problems.  I can query the directory
server and it is populated with the proper objects.  I am using the
instructions in the Howto:Samba documentation on the FDS Wiki site
<http://directory.fedoraproject.org/wiki/Howto:Samba>.  I am able to
perform all of the tasks without any problems until I get to the part
of the install that has me run the following command:

pdbedit -U S-1-5-21-3420770344-727635258-2597706457-500 -u Administrator -r

I receive the following error:

smbldap_search_domain_info: Searching
for:[(&(objectClass=sambaDomain)(sambaDomainName=DOMAIN))]
smbldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
smbldap_search_domain_info: Searching
for:[(&(objectClass=sambaDomain)(sambaDomainName=DOMAIN))]
smbldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
Username not found!

I can query the directory successfully with the following output:

ldapsearch -b dc=test,dc=com -x 'Administrator'

# extended LDIF
#
# LDAPv3
# base <dc=test,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: Administrator
#

# test.com
dn: dc=test,dc=com

# Directory Administrators, test.com
dn: cn=Directory Administrators, dc=test,dc=com

# Groups, test.com
dn: ou=Groups, dc=test,dc=com

# People, test.com
dn: ou=People, dc=test,dc=com

# Special Users, test.com
dn: ou=Special Users,dc=test,dc=com

# Accounting Managers, groups, test.com
dn: cn=Accounting Managers,ou=groups,dc=test,dc=com

# HR Managers, groups, test.com
dn: cn=HR Managers,ou=groups,dc=test,dc=com

# QA Managers, groups, test.com
dn: cn=QA Managers,ou=groups,dc=test,dc=com

# PD Managers, groups, test.com
dn: cn=PD Managers,ou=groups,dc=test,dc=com

# DOMAIN, test.com
dn: sambaDomainName=DOMAIN,dc=test,dc=com

# Domain Admins, Groups, test.com
dn: cn=Domain Admins,ou=Groups,dc=test,dc=com

# Domain Users, Groups, test.com
dn: cn=Domain Users,ou=Groups,dc=test,dc=com

# Domain Guests, Groups, test.com
dn: cn=Domain Guests,ou=Groups,dc=test,dc=com

# Domain Computers, Groups, test.com
dn: cn=Domain Computers,ou=Groups,dc=test,dc=com

# IS, Groups, test.com
dn: cn=IS,ou=Groups,dc=test,dc=com

# Administrator, People, test.com
dn: uid=Administrator,ou=People,dc=test,dc=com

# search result
search: 2
result: 0 Success

# numResponses: 17
# numEntries: 16

Here is a copy of my smb.conf:

[global]
  workgroup = DOMAIN
  security = user
  passdb backend = ldapsam:ldap://vandread.test.com
  ldap admin dn = cn=Directory Manager
  ldap suffix = dc=test,dc=com
  ldap user suffix = ou=People
  ldap machine suffix = ou=People
  ldap group suffix = ou=Groups
  log file = /var/log/samba/%m.log
  log level = 3
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  os level = 33
  domain logons = yes
  domain master = yes
  local master = yes
  preferred master = yes
  wins support = yes
  logon home = \\%L\%u\profiles
  logon path = \\%L\profiles\%u
  logon drive = H:
  template shell = /bin/false
  winbind use default domain = no

  winbind nested groups = no
  enable privileges = yes

#============================ Share Definitions ==============================
[homes]
  comment = Home Directories
  browseable = no
  writable = yes

[netlogon]
  comment = Network Logon Service
  path = /var/lib/samba/netlogon
  admin users = +sysadmin
  guest ok = no
  browseable = no
  writable = no

[profiles]
  path = /var/lib/samba/profiles
  admin users = +sysadmin
  read only = no
  guest ok = no
  create mask =0600
  directory mask = 0700

I am sure that there is something I am doing wrong but I can't find
it.  Nothing shows up in slapd-server/logs/access or errors or the
samba log.




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux