Hi all
I have just install Fedora 5 and installed Fedora Directory Server 1.0.2-1 and samba 3.0.21b-2
I went through the instruction on the provided link below
http://directory.fedora.redhat.com/wiki/Howto:Samba
When it came to
net groupmap add rid=512 ntgroup='Domain Admins'  unixgroup='Domain Admins'
 
I get the following error
Can't lookup UNIX group Domain Admins
Below is the net groupmap add rid=512 ntgroup='Domain Admins'  unixgroup='Domain Admins' -d 4 command
[2006/10/19 16:58:04, 3] param/loadparm.c:lp_load(4211)
  lp_load: refreshing parameters
[2006/10/19 16:58:04, 3] param/loadparm.c:init_globals(1385)
  Initialising global parameters
[2006/10/19 16:58:04, 3] param/params.c:pm_process(574)
  params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2006/10/19 16:58:04, 3] param/loadparm.c:do_section(3666)
  Processing section "[global]"
  doing parameter workgroup = GLENNIES
  doing parameter security = user
  doing parameter passdb backend = ldapsam:ldap://ldapserver.glennies.com.au
  doing parameter ldap admin dn = cn=Directory Manager
  doing parameter ldap suffix = dc=glennies,dc=com,dc=au
  doing parameter ldap user suffix = ou=People
  doing parameter ldap machine suffix = ou=Computers
  doing parameter ldap group suffix = ou=Groups
  doing parameter add group script = /usr/sbin/groupadd %g
  doing parameter log file = /var/log/%m.log
  doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  doing parameter os level = 33
  doing parameter domain logons = yes
  doing parameter domain master = yes
  doing parameter local master = yes
  doing parameter preferred master = yes
  doing parameter wins support = yes
  doing parameter logon home = \\%L\%u\profiles
  doing parameter logon path = \\%L\profiles\%u
  doing parameter logon drive = H:
  doing parameter template shell = /bin/false
  doing parameter winbind use default domain = no
[2006/10/19 16:58:04, 4] param/loadparm.c:lp_load(4242)
  pm_process() returned Yes
[2006/10/19 16:58:04, 2] lib/interface.c:add_interface(81)
  added interface ip=192.168.200.150 bcast=192.168.200.255 nmask=255.255.255.0
Can't lookup UNIX group Domain Admins
[2006/10/19 16:58:04, 2] utils/net.c:main(878)
  return code = -1
 
If I add Domain Admins to the file /etc/group
I get the following error
adding entry for group Domain Admins failed!
 
Below is the net groupmap add rid=512 ntgroup='Domain Admins'  unixgroup='Domain Admins' -d 4 command
[2006/10/19 16:56:26, 3] param/loadparm.c:lp_load(4211)
  lp_load: refreshing parameters
[2006/10/19 16:56:26, 3] param/loadparm.c:init_globals(1385)
  Initialising global parameters
[2006/10/19 16:56:26, 3] param/params.c:pm_process(574)
  params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2006/10/19 16:56:26, 3] param/loadparm.c:do_section(3666)
  Processing section "[global]"
  doing parameter workgroup = GLENNIES
  doing parameter security = user
  doing parameter passdb backend = ldapsam:ldap://ldapserver.glennies.com.au
  doing parameter ldap admin dn = cn=Directory Manager
  doing parameter ldap suffix = dc=glennies,dc=com,dc=au
  doing parameter ldap user suffix = ou=People
  doing parameter ldap machine suffix = ou=Computers
  doing parameter ldap group suffix = ou=Groups
  doing parameter add group script = /usr/sbin/groupadd %g
  doing parameter log file = /var/log/%m.log
  doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  doing parameter os level = 33
  doing parameter domain logons = yes
  doing parameter domain master = yes
  doing parameter local master = yes
  doing parameter preferred master = yes
  doing parameter wins support = yes
  doing parameter logon home = \\%L\%u\profiles
  doing parameter logon path = \\%L\profiles\%u
  doing parameter logon drive = H:
  doing parameter template shell = /bin/false
  doing parameter winbind use default domain = no
[2006/10/19 16:56:26, 4] param/loadparm.c:lp_load(4242)
  pm_process() returned Yes
[2006/10/19 16:56:26, 2] lib/interface.c:add_interface(81)
  added interface ip=192.168.200.150 bcast=192.168.200.255 nmask=255.255.255.0
[2006/10/19 16:56:26, 2] lib/smbldap_util.c:smbldap_search_domain_info(228)
  Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=GLENNIES))]
[2006/10/19 16:56:26, 2] lib/smbldap.c:smbldap_open_connection(722)
  smbldap_open_connection: connection opened
[2006/10/19 16:56:26, 3] lib/smbldap.c:smbldap_connect_system(905)
  ldap_connect_system: succesful connection to the LDAP server
[2006/10/19 16:56:26, 4] lib/smbldap.c:smbldap_open(969)
  The LDAP server is succesfully connected
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
[2006/10/19 16:56:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2305)
  ldapsam_getgroup: Did not find group
adding entry for group Domain Admins failed!
[2006/10/19 16:56:26, 2] utils/net.c:main(878)
  return code = -1
I have looked on the net for the good part of this week trying to find an answer to my problem,
It seems a few other people are having a similar issue, but real no concrete solutions to the problem.
If any one knows what the cause this error is and how to fix it, It would be appreciated.
 
 
 
Regards
CJ