[Samba] Winbind and user-mapping
Josh Konkol
susesambaboy at yahoo.com
Mon Feb 25 06:39:09 GMT 2002
Did you update your /etc/pam.d/samba file ??
Here's what mine looks like:
#%PAM-1.0
auth required /lib/security/pam_winbind.so
auth required pam_unix.so
account requried /lib/security/pam_winbind.so
account required pam_unix.so
When you say samba can't work withthe NT-user what do you mean ?? Does it ask
you for username/password??
Josh
On Monday 25 February 2002 06:27, you wrote:
> Winbindd can see the NT-user, but samba can't work with the NT-user.
>
> My System: SuSE Linux 7.2 Enterprise Server
> Samba-2.2.3a
>
> I have install samba by the following steps:
>
> 1. ./configure --prefix=/opt/samba-2.2.3a --with-winbind
> 2. make
> 3. make install
> 4. cp /tmp/samba-2.2.3a/source/nsswitch/libnss_winbind.so /lib
> 5. ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2
> 6. vi /etc/nsswitch.conf
>
> passwd: compat winbind
> group: compat winbind
>
> 7. /sbin/ldconfig -v | grep winbind --> I can see it!
> 8. vi /opt/samba-2.2.3a/lib/smb.conf
>
> [global]
> workgroup = test
> netbios name = SAMBA
> encrypt passwords = yes
> server string = SAMBA %v
> load printers = no
> security = DOMAIN
> password server = *
> keepalive = 30
> winbind uid = 1000-2000
> winbind gid = 3000-8000
> winbind enum users = yes
> winbind enum groups = yes
> template shell = /bin/bash
> winbind separator = +
> winbind cache time = 10
>
> [all]
> comment = For all users
> path = /all
> guest ok = Yes
> writeable = Yes
> create mode = 0770
> directory mode = 0770
> browseable = Yes
> write ok = Yes
>
> 9. smbpasswd -j test -r pdc -U admin --> It works
>
> And now the Problem:
> With /opt/samba-2.2.3a/bin/wbinfo -u, i can see the DOMAIN-USERS
> With /opt/samba-2.2.3a/bin/wbinfo -g, i can see the DOMAIN-GROUPS
>
> If a Windows-user creates a file at the "all"-share, the owner of the file
> is nobody and the group is nogroup.
> Why ??
> What is wrong ??
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
More information about the samba
mailing list