[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with Samba on Squeeze



On Tue, May 3, 2011 at 9:41 AM, Camaleón <noelamac@gmail.com> wrote:
> El 2011-05-03 a las 02:50 -0700, Roger Morgan escribió:


> (resending to the list, no sensible data on it)

I think that you mean "sensitive." :)


>> > From: Camaleón <noelamac@gmail.com>
>> > Make  a quick test. Try "smbclient -L servername" but when asked for the
>> > user's  password just press [enter] to log anonymously and check if you
>> > get any  output differenet than the first one.
>> >
>> Yes, it is different:
>>
>> ~$ smbclient -L lyra
>> Enter roger's password:
>> Anonymous login successful
>
> Wow. It logs just fine. So in the end there must be something with
> authentication which does not like samba but dunno "what" nor "why" :-?
>
> Sorry, I'm out of ideas :-( and the full logs you sent was not showing
> any specific error or warning on the authentication side. Let's see if
> someone here can suggest another thing to test...
>
>> Domain=[GALAXY] OS=[Unix] Server=[Samba 3.5.6]
>>
>>         Sharename       Type      Comment
>>         ---------       ----      -------
>>         print$          Disk      Printer Drivers
>>         Samsung1510     Printer   lyra smbshare
>>         common          Disk      lyra smbshare
>>         IPC$            IPC       IPC Service (lyra server)
>>         Samsung_ML-1510_700 Printer   Samsung ML-1510_700
>> Anonymous login successful
>> Domain=[GALAXY] OS=[Unix] Server=[Samba 3.5.6]
>>         Server               Comment
>>         ---------            -------
>>         LYRA                 lyra server
>>         Workgroup            Master
>>         ---------            -------
>>         GALAXY               LYRA

0. (Unrelated to your problem)
If this is your only samba server, you might want to have
preferred master = yes
local master = yes
domain master = yes
os level = 65
in smb.conf to prevent master browser election

1. Does running "smblient -L 127.0.1.1" make a difference?

2. Does restricting the smb ports to either 139 or 445 with "smb ports
= ..."in smb.conf make a difference?

3. Does "testparm -s" flag any problems?

4. Does "pdbedit -Lv" out output the users that you want to have in
samba? Are the samba users' passwords the same in the system and for
samba?


Reply to: