[Samba] Chown

April 02nd, 2012 - 02:30 pm ET by sandy.napoles | Report spam
Hello list, I solved my problem.



1- run as root in samba4 server
ln -s /usr/local/samba/lib/libnss_winbind.so.2 /lib/libnss_winbind.so
ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2

2- Edit nsswitch.con y put only the follow line
passwd: files winbind
group: files winbind
shadow: files

3- run this command /usr/local/samba/bin/wbinfo -p
you can watch
Ping to winbindd succeeded

when i run chown pepe Trabajo/ everything is ok, where pepe is a users in
the active directory

To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 steve
April 03rd, 2012 - 01:00 am ET | Report spam
El 02/04/12 21:27, escribió:
Hello list, I solved my problem.



1- run as root in samba4 server
ln -s /usr/local/samba/lib/libnss_winbind.so.2 /lib/libnss_winbind.so
ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2

2- Edit nsswitch.con y put only the follow line
passwd: files winbind
group: files winbind
shadow: files

3- run this command /usr/local/samba/bin/wbinfo -p
you can watch
Ping to winbindd succeeded

when i run chown pepe Trabajo/ everything is ok, where pepe is a users in
the active directory



Hi

That's interesting. Can pepe also log into a Linux account? Does winbind
allocate him a gid/uid?

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

Similar topics