Samba Winbind Issue

From: Tux (jacksone_at_seas.upenn.edu)
Date: 12/13/03


Date: Fri, 12 Dec 2003 21:36:59 -0500

Problem Overview:

    The problem is that I cannot resolve Windows Domain Groups or Windows
Domain Users properly using getent, but I have no problem using wbinfo. I
am trying to set permissions using setfacl and chown/chgrp for Windows
Domain Accounts and get errors when attempting to resolve the Windows Domain
Accounts.

Environment:

    - Red Hat Enterprise Linux 3.0 ES
    - Samba 2.2.8a complied from source using --with-acl-support option
    - Windows 2000 Domain in Native Mode

Expanded Details:

    - I installed Redhat with the Development Tools, X Server options,
Admin Tools and pretty much nothing else.
    - I am using LVM for /home and /groups partitions.
    - I installed the SGI XFS kernel and kernel source, along with the XFS
rpm to provide mkfs.xfs "rpm --force -ivh
kernel-2.4.20-20.9.XFS1.3.1.i386.rpm
kernel-source-2.4.20-20.9.XFS1.3.1.i386.rpm", "rpm -Uvh
xfsprogs-2.5.6-1.i386.rpm"
    - /home and /groups were reformated to be XFS and set to mount that way
in the fstab file
    - The server is set to boot into the XFS kernel in grub.conf
    - Samba source was configured with "./configure--with-acl-support" and
installed using "make && make install".
    - I added the system to the domain using smbpasswd -j <domain> -r
'*' -U<domainadmin>".
    - edited nnswitch.conf to use passwd and groups with winbind.
    - smb.conf file is from another working system, with only the machine
name edited, so it should be fine.
    - start winbindd, smbd and nmbd.
    - I can get a listing of the Windows Domain Users and Groups by running
the following command "wbinfo -u" or "wbinfo -g"
    - I cannot get a listing of the Windows Domain Users by running "getent
passwd" and "getent groups", they just list the unix users and groups. I am
assuming that this is the breakdown that is causing the resulting problems
below.
    - Samba is installed in /usr/local/samba and all of my configuration
files reside in the /usr/local/samba/lib directory. I am using all of
samba's bin files from /usr/local/samba/bin like winbindd, smbd, smbpasswd,
nmbd, wbinfo instead of the client files that redhat provides. The getent
command, however, is from a redhat package.

Resulting Problems:

    - I cannot set ACLs with Windows Domain Groups or Users using the
setfacl command.
    - I cannot set Windows Domain users or Groups using the chown ro chgrp
command

Can anybody help me troubleshoot this issue? Maybe something simple I am
overlooking. Thanks in advance.



Relevant Pages

  • Problem joing RHEL4 to Windows Server 2003 Active Directory using winbind
    ... I have been trying to get my RHEL4 client to join on a Windows domain, ... i still cant retrieve a list of domain users from the domain ... passwd: files winbind ...
    (RedHat)
  • Windows Media Player Crashes on Web Access with Domain User accoun
    ... Media player crashes with the text "Opening..." ... If I remove the user from the Power Users group, ... domain users unrestricted read/write access to C: ... Windows XP Pro SP2 with all updates applied, ...
    (microsoft.public.windowsmedia.player)
  • Samba Winbind Issue
    ... Domain Users properly using getent, but I have no problem using wbinfo. ... am trying to set permissions using setfacl and chown/chgrp for Windows ... Domain Accounts and get errors when attempting to resolve the Windows Domain ...
    (alt.os.linux)
  • Re: Local Machine Rights in a Domain
    ... > machine's administrator group, sometimes it works, and sometimes it ... You should be able to add Domain Users or any domain group to the local ...
    (microsoft.public.windows.server.setup)