Web lists-archives.com

[Samba] [samba] Winbindd without RFC2307 question

Hi all,

I'm trying to set up some Samba files server retrieving users from AD. This
AD has no RFC2307 installed yet.

The Linux system hosting this files server is Debian 9.0.

The issue is system side commands as "getent passwd some_user" or "id
some_user" are not working, not showing any result.

Here is my whole smb.conf (shares will come later) :

   workgroup = DOMAIN
   realm = DOMAIN.TLD
   security = ads

   winbind use default domain = true
   winbind offline logon = false

   winbind nss info = template
   template shell = /bin/bash
   template homedir = /home/%U

   idmap config * : backend = tdb
   idmap config * : range = 10000-999999

   idmap config DOMAIN:backend = ad
   idmap config DOMAIN:schema_mode = template
   idmap config DOMAIN:range = 16777216-33554431

   log level = 6

Using that smb.conf "wbinfo -u" or -g are working, as is working "wbinfo -t

/etc/nsswitch.conf has been modified as follow:
# grep winbind /etc/nsswitch.conf
passwd:         compat winbind
group:          compat winbind

PAM configuration has been auto-altered as follow:
account    [success=1 new_authtok_reqd=done default=ignore]
pam_winbind.so use_first_pass
auth  [success=1 default=ignore]      pam_winbind.so krb5_auth
krb5_ccache_type=FILE cached_login try_first_pass
password  [success=1 default=ignore]      pam_winbind.so use_authtok
session    optional                        pam_winbind.so
session     optional                        pam_winbind.so

Logs in log.winbindd:
[2017/07/19 15:30:58.122017,  6]
  accepted socket 32
[2017/07/19 15:30:58.122240,  3]
  [ 8727]: request interface version (version = 28)
[2017/07/19 15:30:58.122475,  3]
  [ 8727]: request location of privileged pipe
[2017/07/19 15:30:58.122767,  6]
  accepted socket 34
[2017/07/19 15:30:58.122918,  6]
  closing socket 32, client exited
[2017/07/19 15:30:58.123104,  3]
  getpwnam agasmi
[2017/07/19 15:30:58.123546,  5]
  Could not convert sid S-1-5-21-123456789-0123456789-123456789-1234:
[2017/07/19 15:30:58.123827,  6]
  closing socket 34, client exited

If anyone has an idea of what I missed, that would be great.


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba