[Samba] multiple domain and winbind use default domain

BLINDAUER Emmanuel e.blindauer at gmail.com
Fri Aug 19 08:24:12 UTC 2016



Le 19/08/2016 à 09:46, Rowland Penny via samba a écrit :
> try removing 'winbind use default domain = Yes', I think this could be
> your problem.
>
> Rowland
>
>

I've tried, the problem is now present for both domains!

example:

smbclient  -k //server/e.blindauer
Domain=[AD] OS=[Windows 6.1] Server=[Samba 4.2.14-SerNet-Debian-11.jessie]
tree connect failed: NT_STATUS_ACCESS_DENIED

in the log:

   Adding homes service for user 'AD+e.blindauer' using home directory: 
'/adhome/e/eb/e.blindauer'
   adding home's share [e.blindauer] for user 'AD+e.blindauer' at 
'/adhome/e/eb/e.blindauer'
   smb_pam_start: PAM: Init user: AD+e.blindauer
   smb_pam_start: PAM: Init passed for user: AD+e.blindauer
   connect to service IPC$ initially as user AD+e.blindauer (uid=49531, 
gid=9999) (pid 3098)
   string_to_sid: SID e.blindauer is not in a valid format
   user 'AD+e.blindauer' (from session setup) not permitted to access 
this share (e.blindauer)
   create_connection_session_info failed: NT_STATUS_ACCESS_DENIED



More information about the samba mailing list