Travel

Categories

Windows 2008 R2 DC and samba

If you encountered the below error after you have joined your samba as a member to the Windows 2008R2 AD :

[2011/07/27 09:31:04, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790) rpc_api_pipe: Remote machine your_WINDOWS_DC pipe \NETLOGON fnum 0x4returned critical error. Error was NT_STATUS_PIPE_DISCONNECTED

It is a samba bug, upgradeto samba 3.4.x or above

MacOSX ignore samba create mode and directory mode

putting “unix extensions = no” in the [global] section of your smb.conf file.

Reference :

http://dossy.org/2010/07/annoying-change-in-macos-x-10-5-samba-clients/

Joining Samba 3 to Active directory as member using ADS security mode

1. The key config of smb.conf :

client use spnego = yes client signing = yes realm = YOUR.ADS.DOMAIN security = ADS

;only used if the ads user will login the samba member ;winbind uid = 10000-20000 ;winbind gid = 10000-20000 ;winbind enum groups = yes ;winbind enum users = yes

2. The /etc/krb5.conf

[libdefaults] […]