Samba 4 Howto observations

Steve French smfrench at gmail.com
Mon Sep 26 20:41:48 MDT 2011


Going through the Samba 4 howto, made some minor updates to the howto
wiki on the Samba web site, but noticed that there is a slightly
bigger problem.  The Howto says to do:


----------------------------------------------------------

 $ smbclient -L localhost -U%

That should show you a list of shares available on your server. For example:

       Sharename       Type       Comment
       ---------       ----       -------
       test            Disk
       netlogon        Disk
       sysvol          Disk
       IPC$            IPC        IPC Service (Samba 4.0.0alpha12-GIT-5e755e9)
       ADMIN$          Disk       DISK Service (Samba 4.0.0alpha12-GIT-5e755e9)

-------------------------------------------------------------------------------



We should be calling the binary which is now named bin/smbclient3 here
- since the smbclient from source4 returns an error on NetServerEnum
(see below) and the smbclient3 from the source3 side is slightly more
functional (smb2 etc.)

---------------------------------------
stevef at stevef-laptop:~/samba$ /usr/local/samba4/bin/smbclient -L localhost -U%

	Sharename       Type       Comment
	---------       ----       -------
	netlogon        Disk
	sysvol          Disk
	IPC$            IPC        IPC
REWRITE: list servers not implemented

-------------------------------------------------------------


So smbclient should be smbclient4 and smbclient3 should be smbclient

-- 
Thanks,

Steve


More information about the samba-technical mailing list