Problems with smbpasswd
Auteria Wally Winzer Jr.
wally.winzer at ChampUSA.COM
Fri Apr 10 07:50:11 GMT 1998
Another note, I do have a [homes] section within smb.conf.
It looks like the following:
[homes]
comment = Home Directories
browseable = no
guest ok = no
read only = no
create mask = 0700
printable = no
available = yes
I looked at example smb.conf files and noticed that "browseable = no"
and "read only = no" is standard. This was taken from tridge's sample
smb.conf file. Even though the homes section did not show up within
the smbclient's output, the entry does exist.
- Wally Winzer Jr.
Auteria Wally Winzer Jr. wrote:
> I've compiled the latest version of samba (1.9.18p4) and set up password
> encryption (per instructions in the ENCRYPTIONS.txt file). Setting root's
> smbpasswd worked with no problems. I set another user (me) with an
> smbpasswd. Tried "smbclient -L '\\hostname\wwinzer'". The output is the
> following:
>
> 68 wwinzer at Sun-E3000:~ ==> smbclient '\\champusa.com\wwinzer'
> Added interface ip=207.21.123.4 bcast=207.21.123.255 nmask=255.255.255.0
> Server time is Fri Apr 10 00:28:40 1998
> Timezone is UTC-7.0
> Password:
> Session setup failed for username=WWINZER myname=SUN-E3000
> destname=CHAMPUSA.COM ERRSRV - ERRbadpw (Bad password - name/password pair in
> a Tree Connect or Session Setup are invalid.)
> You might find the -U, -W or -n options useful
> Sometimes you have to use `-n USERNAME' (particularly with OS/2)
> Some servers also insist on uppercase-only passwords
>
> I looked in the /usr/local/samba/private/smbpasswd and the 32-bit
> encryption is in place.
>
> This is root's output of "smbclient -L champusa.com":
>
> 112 root at Sun-E3000:/usr/local/samba/private ==> smbclient -L champusa.com.
> Added interface ip=207.21.123.4 bcast=207.21.123.255 nmask=255.255.255.0
> Server time is Fri Apr 10 00:34:26 1998
> Timezone is UTC-7.0
> Password:
> Domain=[CHAMPION] OS=[Unix] Server=[Samba 1.9.18p4]
> security=user
>
> Server=[CHAMPUSA] User=[root] Workgroup=[CHAMPION] Domain=[CHAMPION]
>
> Sharename Type Comment
> --------- ---- -------
> champusa Disk ChampUSA SysAdmin Directory
> IPC$ IPC IPC Service (ChampUSA.COM)
> okips1 Printer
> root Disk Root Dir
> staff Disk ChampUSA Employee Directory
> tmp Disk The Garbage Dump
>
> This machine has a browse list:
>
> Server Comment
> --------- -------
> SUN-E3000 ChampUSA.COM
>
> This machine has a workgroup list:
>
> Workgroup Master
> --------- -------
> CHAMPION SUN-E3000
>
> It only works for user "root" and no other user. The goal is to have
> all users the ability to use SAMBA.
>
> Thanks in Advance.
>
> - Wally Winzer Jr.
More information about the samba
mailing list