[Samba] Samba, Winbind and AD. Nearly there but not quite

Vincent Commarieu vcommarieu at gmail.com
Thu Mar 9 20:25:34 GMT 2006


Thanks Thomas.

Here is the info required. I have modified some names for privacy reasons!

Hope it helps!

Regards


[root at hydra samba]# more smb.conf
[global]
workgroup = MYDOMAIN
netbios name = HYDRA
winbind separator = +
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
template homedir = /files/home/%U
template shell = /bin/bash
realm = MYDOMAIN.CO.NZ
unix charset = LOCALE
ldap ssl = no
server string = Hydra Server
printcap name = /etc/printcap
load printers = yes
cups options = raw
guest account = pcguest
log file = /var/log/samba/smbd.log
max log size = 50
security = ads
encrypt passwords = yes
password server = 10.64.2.1
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
[public]
path = /files
read only = no
user = @"MYDOMAIN+domain users"

#grep winbind /etc/nsswitch.conf
passwd:     files winbind
shadow:     files winbind
group:      files winbind


On 3/9/06, Thomas Limoncelli <limoncelli at web.de> wrote:
> Vincent Commarieu wrote:
> > I am at the point where I wbinfo -t, wbinfo -u, wbinfo -g and wbinfo
> > -ausername%password work, but I cannot get getent passwd and getent
> > group to gather any AD info.
>
> We'd need to see your global smb.conf settings (especially those related
> to winbind and idmap) as well as the output of 'grep winbind
> /etc/nsswitch.conf'.
>
>
> -TL
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list