I have successfully installed Fedora DS 1.0.4 on an Ubuntu 804 server. I
am trying to setup samba integration and keep running into the same
problem over and over at this step
# net groupmap add rid=2512 ntgroup=''Domain Admins''
unixgroup=''Domain
Admins''
I have searched the net, and this message list for a week trying to find
an answer and haven''t been successful. I made sure PAM was working and
communicating with the LDAP server, as well as created the required
groups in FDS (not in /etc/groups). What else do I need to do?? Our
company would like to eliminate AD and go with something different. I am
hoping the FDS will fulfill our needs. Below is the debug from the
command.
sanga@ubuntu-fds:~$ sudo net -debuglevel=10 groupmap add rid=2512
ntgroup=''Domain Admins'' unixgroup=''Domain
Admins''
[sudo] password for sanga:
[2008/05/16 10:36:14, 5] lib/debug.c:debug_dump_status(391)
INFO: Current debug levels:
all: True/10
tdb: False/0
printdrivers: False/0
lanman: False/0
smb: False/0
rpc_parse: False/0
rpc_srv: False/0
rpc_cli: False/0
passdb: False/0
sam: False/0
auth: False/0
winbind: False/0
vfs: False/0
idmap: False/0
quota: False/0
acls: False/0
locking: False/0
msdfs: False/0
dmapi: False/0
[2008/05/16 10:36:14, 3] param/loadparm.c:lp_load(5063)
lp_load: refreshing parameters
[2008/05/16 10:36:14, 3] param/loadparm.c:init_globals(1448)
Initialising global parameters
[2008/05/16 10:36:14, 3] param/params.c:pm_process(572)
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
[2008/05/16 10:36:14, 3] param/loadparm.c:do_section(3802)
Processing section "[global]"
doing parameter workgroup = facility
doing parameter security = user
doing parameter passdb backend = ldapsam:ldap://ubuntu-fds.it-mgt.com
doing parameter ldap admin dn = cn=Directory Manager
doing parameter ldap suffix = dc=it-mgt,dc=com
doing parameter ldap user suffix = ou=People
doing parameter ldap machine suffix = ou=Computers
doing parameter ldap group suffix = ou=Groups
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
[2008/05/16 10:36:14, 4] param/loadparm.c:lp_load(5094)
pm_process() returned Yes
[2008/05/16 10:36:14, 7] param/loadparm.c:lp_servicenumber(5232)
lp_servicenumber: couldn''t find homes
[2008/05/16 10:36:14, 10] param/loadparm.c:set_server_role(4338)
set_server_role: role = ROLE_DOMAIN_PDC
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UCS-2LE
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UCS-2LE
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UTF-16LE
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UTF-16LE
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UCS-2BE
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UCS-2BE
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UTF-16BE
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UTF-16BE
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UTF8
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UTF8
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UTF-8
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UTF-8
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset ASCII
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(113)
Registered charset ASCII
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset 646
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(113)
Registered charset 646
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset ISO-8859-1
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(113)
Registered charset ISO-8859-1
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UCS2-HEX
[2008/05/16 10:36:14, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UCS2-HEX
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/charcnv.c:charset_name(82)
Substituting charset ''UTF-8'' for LOCALE
[2008/05/16 10:36:14, 5] lib/util.c:init_names(287)
Netbios name list:-
my_netbios_names[0]="UBUNTU-FDS"
[2008/05/16 10:36:14, 2] lib/interface.c:add_interface(81)
added interface ip=10.160.4.145 bcast=10.160.4.255 nmask=255.255.255.0
[2008/05/16 10:36:14, 10] intl/lang_tdb.c:lang_tdb_init(138)
lang_tdb_init: /usr/share/samba/en_US.UTF-8.msg: No such file or
directory
Can''t lookup UNIX group Domain Admins
[2008/05/16 10:36:14, 2] utils/net.c:main(1046)
return code = -1
sanga@ubuntu-fds:~$
Sanga M. Collins
Network Engineering
~~~~~~~~~~~~~~~~~~~~~~~
IT Management LLC
6491 Sunset Strip #5,
Sunrise Fl, 33313
Tel: (954) 572 7411,
Fax: (435) 578 7411
On Fri, May 16, 2008 at 10:36:59AM -0400, Sanga M. Collins wrote:> I have successfully installed Fedora DS 1.0.4 on an Ubuntu 804 server. I > am trying to setup samba integration and keep running into the same > problem over and over at this step > > > > # net groupmap add rid=2512 ntgroup=''Domain Admins'' unixgroup=''Domain > Admins'' > > > > I have searched the net, and this message list for a week trying to find > an answer and haven''t been successful. I made sure PAM was working and > communicating with the LDAP server, as well as created the required > groups in FDS (not in /etc/groups). What else do I need to do?? Our > company would like to eliminate AD and go with something different. I am > hoping the FDS will fulfill our needs. Below is the debug from the > command. > > > > sanga@ubuntu-fds:~$ sudo net -debuglevel=10 groupmap add rid=2512 > ntgroup=''Domain Admins'' unixgroup=''Domain Admins''[snip debug]> Can''t lookup UNIX group Domain Admins > > [2008/05/16 10:36:14, 2] utils/net.c:main(1046) > > return code = -1 > > sanga@ubuntu-fds:~$Are you sure you''ve added a unix group called "Domain Admins"? What does the following command return? getent group "Domain Admins" -- Jonathan Barber High Performance Computing Analyst Tel. +44 (0) 1382 386389
Sanga M. Collins
2008-May-16 17:06 UTC
RE: [Fedora-directory-users] cant lookup unix group
I had manually added the groups into the directory server, but now realized I need to import the LDIF to create them properly with the posix attributes. I had been running the getent group without specifying what to look for and that probably threw me off. Thanks for the quick reply! Sanga M. Collins Network Engineering ~~~~~~~~~~~~~~~~~~~~~~~ IT Management LLC 6491 Sunset Strip #5, Sunrise Fl, 33313 Tel: (954) 572 7411, Fax: (435) 578 7411 -----Original Message----- From: fedora-directory-users-bounces@redhat.com [mailto:fedora-directory-users-bounces@redhat.com] On Behalf Of Jonathan Barber Sent: Friday, May 16, 2008 11:46 AM To: General discussion list for the Fedora Directory server project. Subject: Re: [Fedora-directory-users] cant lookup unix group On Fri, May 16, 2008 at 10:36:59AM -0400, Sanga M. Collins wrote:> I have successfully installed Fedora DS 1.0.4 on an Ubuntu 804 server.I> am trying to setup samba integration and keep running into the same > problem over and over at this step > > > > # net groupmap add rid=2512 ntgroup=''Domain Admins'' unixgroup=''Domain > Admins'' > > > > I have searched the net, and this message list for a week trying tofind> an answer and haven''t been successful. I made sure PAM was working and > communicating with the LDAP server, as well as created the required > groups in FDS (not in /etc/groups). What else do I need to do?? Our > company would like to eliminate AD and go with something different. Iam> hoping the FDS will fulfill our needs. Below is the debug from the > command. > > > > sanga@ubuntu-fds:~$ sudo net -debuglevel=10 groupmap add rid=2512 > ntgroup=''Domain Admins'' unixgroup=''Domain Admins''[snip debug]> Can''t lookup UNIX group Domain Admins > > [2008/05/16 10:36:14, 2] utils/net.c:main(1046) > > return code = -1 > > sanga@ubuntu-fds:~$Are you sure you''ve added a unix group called "Domain Admins"? What does the following command return? getent group "Domain Admins" -- Jonathan Barber High Performance Computing Analyst Tel. +44 (0) 1382 386389 -- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users