[Samba] Question about Samba 3.0.10 + OpenLDAP 2.1.29

Craig White craigwhite at azapple.com
Thu Feb 24 20:22:33 GMT 2005


On Thu, 2005-02-24 at 11:46 -0800, Steve Zeng wrote:
> Paul,
> 
> Sorry. I started SMB server and tried smbclient as follows:
> 
> % smbclient -N -L //enzo
> Anonymous login successful
> Domain=[TESTDM] OS=[Unix] Server=[Samba 3.0.10-1.fc2]
> 
>          Sharename       Type      Comment
>          ---------       ----      -------
>          IPC$            IPC       IPC Service (Samba 3.0.10-1.fc2)
>          ADMIN$          IPC       IPC Service (Samba 3.0.10-1.fc2)
> Anonymous login successful
> Domain=[TESTDM] OS=[Unix] Server=[Samba 3.0.10-1.fc2]
> 
>          Server               Comment
>          ---------            -------
>          ENZO                 Samba 3.0.10-1.fc2
> 
>          Workgroup            Master
>          ---------            -------
>          TESTDM
> 
> 
> % smbclient //enzo/szeng -U
----
the username would probably help here - a valid smbuser of some
sort...did you add any users with smbpasswd -a "USER" ?

a normal way to start things...

useradd szeng      # creates posix user account
passwd szeng       # sets password for szeng
smbpasswd -a szeng # creates samba user szeng
smbpasswd szeng    # sets password for samba user szeng

of course, this is the short course - lots of documentation on samba
site about creating users/integrating with Linux/Unix system, etc.

smbclient //enzo/szeng -U szeng
or
smbclient //enzo/szeng -U szeng%SMB_PASSWD_FOR_SZENG

Craig



More information about the samba mailing list