Samba 3.6.22 on AIX 7.1 with Windows AD (Kerberos and winbind)


 
Thread Tools Search this Thread
Operating Systems AIX Samba 3.6.22 on AIX 7.1 with Windows AD (Kerberos and winbind)
# 1  
Old 06-26-2014
Samba 3.6.22 on AIX 7.1 with Windows AD (Kerberos and winbind)

Hi all,

I have installed samba 3.6.22 on AIX 7.1 and join a windows AD with success.

All seem to work fine, I have configured smb.conf, methods.cfg, kerberos, user .... the following command work fine wbinfo -u, wbinfo -g, wbinfo -i, wbinfo -s, wbinfo -S, lsuser, id...

The unique issue i have is that le file.txt (see below) don't display owner and group.
Code:
 -rw-r--r--    1 10042    10010             7 Jun 26 08:50 file.txt

Can anyone help me ?

Thank in advance.
Philippe

Last edited by rbatte1; 10-13-2014 at 08:59 AM.. Reason: Added CODE tags for output
# 2  
Old 06-26-2014
Hi Philippe,

Are the UID and GID's owned by a user or group locally on the system?
# 3  
Old 06-27-2014
Hi,

The UID and GID's are not owned by a user or group locally on the system, the UID and GID are only on my AD.
# 4  
Old 10-09-2014
Philippe,

Could you please post your config file's contents? Specially methods.cfg and user.
# 5  
Old 10-10-2014
Hi,

Here is the

1) /etc/methods.cfg
Code:
WINBIND:
        program = /usr/lib/security/WINBIND
        program_64 = /usr/lib/security/WINBIND_64

NIS:
        program = /usr/lib/security/NIS
        program_64 = /usr/lib/security/NIS_64

DCE:
        program = /usr/lib/security/DCE

KRB5A:
        program = /usr/lib/security/KRB5A
 options = authonly

KRB5files:
        options = db=BUILTIN,auth=KRB5A


/etc/security/user (in particular SYSTEM and registry option)
Code:
default:
        admin = false
        login = true
        su = true
        daemon = true
        rlogin = truesugroups = ALL
        admgroups =
        ttys = ALL
        auth1 = SYSTEM
        auth2 = NONE
        tpath = nosak
        umask = 022
        expires = 0
        SYSTEM = "WINBIND or compat"
        registry = WINBIND
        logintimes =
        pwdwarntime = 0
        account_locked = false
        loginretries = 0
        histexpire = 0
        histsize = 0
        minage = 0
        maxage = 0
        maxexpired = -1
        minalpha = 0
        minloweralpha = 0
        minupperalpha = 0
        minother = 0
        mindigit = 0
        minspecialchar = 0
        minlen = 0
        mindiff = 0
        maxrepeats = 8
        dictionlist =
        pwdchecks =
        default_roles =

....

Regards

Last edited by rbatte1; 10-13-2014 at 09:02 AM.. Reason: Added CODE tags for file contents
# 6  
Old 11-03-2014
Thanks for the info!

Where did you get the file /usr/lib/security/WINBIND from? I have installed Sambra from perlz.org and I cannot find it anywhere.

How did you install Samba?
# 7  
Old 11-05-2014
Hello,

I'm not sure where i get the file WINBIND... From my documentation i have installed the following package :
  • rpm -ivh samba*.rpm
    • samba-winbind-clients-3.6.22-1
    • samba-winbind-3.6.22-1
    • samba-swat-3.6.22-1
    • samba-common-3.6.22-1
    • samba-client-3.6.22-1
    • samba-3.6.22-1
It seems that my packages are a recompiled form...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. UNIX and Linux Applications

WINBIND module missing in AIX 7.1

I have installed following packages from perzl samba-winbind-clients-3.6.22-1 samba-client-3.6.22-1 samba-domainjoin-gui-3.6.22-1 samba-winbind-devel-3.6.22-1 samba-3.6.22-1 samba-common-3.6.22-1 samba-winbind-krb5-locator-3.6.22-1 samba-doc-3.6.22-1 samba-swat-3.6.22-1... (7 Replies)
Discussion started by: laxtnog
7 Replies

3. AIX

AIX 7.1 integrate AD with winbind

I have joined an AIX 7.1 into a 2012 AD domain sucesfully. I can get ouput from wbinfo -u but when I try to access a share I get the following error : check_ntlm_password: Authentication for user -> FAILED with error NT_STATUS_NO_SUCH_USER I have found that I'm missing... (0 Replies)
Discussion started by: laxtnog
0 Replies

4. HP-UX

HP-UX SSH and Active Directory Kerberos with Samba

The situation: i have a AD server with samba4,all clients ssh-kerberos works fine,except hpux :p wich works only for few days..then i must re-export(sic!) the keys with samba-tool domain exportkeytab 11.keytab --principal=host/hpux.fqdn Why after few days ssh return error "server not found... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

5. UNIX for Advanced & Expert Users

Cannot login using WINBIND in AIX 5.3

I configured AIX5.3 to use kerberos and winbind so user can login and authenticate via AD. I was able to join my AIX server to domain and can execute wbinfo -u/g. However when I login, It says unknown user. I already edit /etc/secuirty/user and then method.cfg. On the log.winbindd it says ... (0 Replies)
Discussion started by: lhareigh890
0 Replies

6. Red Hat

Samba/Winbind issue - Can't get user and group info from sub domains

Hi, We now have a Samba or Winbind issue. The Linux client under RHEL6 can not get Windows' AD sub-domain info. See the following output please. The main domain 'Global' is shown online, but the sub-domain 'Europe' and 'Asia' are shown offline although they are online. Commands 'wbinfo -u' and... (0 Replies)
Discussion started by: aixlover
0 Replies

7. Red Hat

Winbind and pam - restrict all services except for samba access

Hi, I have recently taken control of a number of RHEL5.3 servers that have samba shares setup on them and are authenticating using pam and winbind. My issue is that any user that has an active directory account can currently log in to the linux boxes using their ad credentials. I need to... (0 Replies)
Discussion started by: klyne
0 Replies

8. UNIX for Advanced & Expert Users

Compiling Samba from Source on AIX, Active Directory, LDAP, Kerberos

Hello, I asked this question in the AIX subforum but never received an answer, probably because the AIX forum is not that heavily trafficked. Anyway, here it is.. I have never had any issues like this when compiling applications from source. When I try to compile samba-3.5.0pre2, configure runs... (9 Replies)
Discussion started by: raidzero
9 Replies

9. SCO

Authentication problems with Active Directory/Samba/Winbind/Pam

Hi all. I'm having real trouble authenticating users against active directory for my SCO UnixWare 7.1.4 box running samba 3.0.24 (installed via Maintenance pack 4). I can list AD users/groups (after overcoming several hiccups) with wbinfo -g / wbinfo -u. I can use id to get a view an ad user ie:... (0 Replies)
Discussion started by: silk600
0 Replies

10. Linux

Enable sudo for Win AD users authenticated with Linux samba winbind service

Hi everyone, I wonder if anyone ever came across the idea of unifying AD and Linux user accounts We have a Linux machine with 'samba' 'winbind' service configured to let Windows AD users to logon locally using their AD accounts and passwords. I can use 'su' to get to the local user privilege... (0 Replies)
Discussion started by: will_mike
0 Replies
Login or Register to Ask a Question