[ILUG] Samba
John Allen
john.allen at orbiscom.com
Thu Apr 1 13:47:50 IST 2004
On Thursday 01 April 2004 13:00, Greg McRandal wrote:
> On Thu, Apr 01, 2004 at 12:31:29PM +0100, John Allen wrote:
> > On Thursday 01 April 2004 11:39, Greg McRandal wrote:
> > > Hi,
> >
see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=110675
> > [snipped]
> >
> > > [homes]
> > > comment = Home Directories
> > > browseable = no
> > > writable = yes
> >
> > Try commenting out the lines below.
> >
> > > valid users = %S
> > > create mode = 0664
> > > directory mode = 0775
> > >
> > > # If you want users samba doesn't recognize to be mapped to a guest
> > > user ; map to guest = bad user
>
> No joy with this. Though I did crank the logging level up to 10
>
> I'm not really sure what to look for in the log, but I'll paste in what
> looks like the interesting bits... The account gregmc should map to "Greg
> McRandal" (thats what I have in smbusers)
>
> Thanks,
>
> Greg
>
>
> [2004/04/01 12:49:09, 3] smbd/negprot.c:reply_nt1(185)
> using password server validation
> [2004/04/01 12:49:09, 3] smbd/negprot.c:reply_negprot(432)
> Selected protocol NT LM 0.12
>
>
> [2004/04/01 12:49:09, 4] lib/username.c:map_username(134)
> Scanning username map /etc/samba/smbusers
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(450)
> user_in_list: checking user gregmc in list administrator admin
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(454)
> user_in_list: checking user |gregmc| in group |administrator|
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(454)
> user_in_list: checking user |gregmc| in group |admin|
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(450)
> user_in_list: checking user gregmc in list guest pcguest smbguest
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(454)
> user_in_list: checking user |gregmc| in group |guest|
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(454)
> user_in_list: checking user |gregmc| in group |pcguest|
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(454)
> user_in_list: checking user |gregmc| in group |smbguest|
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(450)
> user_in_list: checking user gregmc in list "Greg McRandal"
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(454)
> user_in_list: checking user |gregmc| in group |Greg McRandal|
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(450)
> user_in_list: checking user gregmc in list Aishling
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(454)
> user_in_list: checking user |gregmc| in group |Aishling|
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(450)
> user_in_list: checking user gregmc in list aishling
> [2004/04/01 12:49:09, 10] lib/username.c:user_in_list(454)
> user_in_list: checking user |gregmc| in group |aishling|
> [2004/04/01 12:49:09, 6] lib/util_sock.c:write_socket(518)
> write_socket(22,200)
>
>
>
> [2004/04/01 12:49:16, 1] smbd/password.c:server_validate(1191)
> password server 10.0.1.60 rejected the password
> [2004/04/01 12:49:16, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1344)
> pdb_getsampwnam: search by name: gregmc
> [2004/04/01 12:49:16, 10] passdb/pdb_smbpasswd.c:startsmbfilepwent(167)
> startsmbfilepwent_internal: opening file /etc/samba/smbpasswd
> [2004/04/01 12:49:16, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(485)
> getsmbfilepwent: end of file reached.
> [2004/04/01 12:49:16, 7] passdb/pdb_smbpasswd.c:endsmbfilepwent(256)
> endsmbfilepwent_internal: closed password file.
> [2004/04/01 12:49:16, 1] smbd/password.c:pass_check_smb(555)
> Couldn't find user 'gregmc' in passdb.
> [2004/04/01 12:49:16, 2] smbd/reply.c:reply_sesssetup_and_X(962)
> NT Password did not match for user 'gregmc'!
> [2004/04/01 12:49:16, 2] smbd/reply.c:reply_sesssetup_and_X(972)
> Defaulting to Lanman password for gregmc
> [2004/04/01 12:49:16, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1344)
> pdb_getsampwnam: search by name: gregmc
> [2004/04/01 12:49:16, 10] passdb/pdb_smbpasswd.c:startsmbfilepwent(167)
> startsmbfilepwent_internal: opening file /etc/samba/smbpasswd
> [2004/04/01 12:49:16, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(485)
> getsmbfilepwent: end of file reached.
> [2004/04/01 12:49:16, 7] passdb/pdb_smbpasswd.c:endsmbfilepwent(256)
> endsmbfilepwent_internal: closed password file.
> [2004/04/01 12:49:16, 1] smbd/password.c:pass_check_smb(555)
> Couldn't find user 'gregmc' in passdb.
> [2004/04/01 12:49:16, 1] smbd/reply.c:reply_sesssetup_and_X(988)
> Rejecting user 'gregmc': authentication failed
> [2004/04/01 12:49:16, 3] smbd/error.c:error_packet(99)
> error packet at smbd/reply.c(990) cmd=115 (SMBsesssetupX)
> NT_STATUS_LOGON_FAILURE [2004/04/01 12:49:16, 5] lib/util.c:show_msg(268)
>
>
> [2004/04/01 12:49:22, 1] smbd/password.c:server_validate(1191)
> password server XXXX rejected the password
--
John Allen, mailto:john.allen at orbiscom.com
Orbiscom Ireland Ltd, Web: http://www.orbiscom.com/
Orbiscom House, Direct: +353-1-2178610
3 Arkle Road, Office: +353-1-2945111
Sandyford Ind Est, Fax: +353-1-2945119
Dublin 18,
Ireland.
MandrakeClub Silver Member. http://www.dublinux.net
Mandrake Linux release 10.0 (Community) for i586, kernel 2.4.22-28mdk
13:47:34 up 22:33, 1 user, load average: 0.15, 0.03, 0.01
Disclaimer: The information contained in this message is confidential and is intended for the addressee(s) only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use disclosure copying or alteration of this message is strictly forbidden. This message and any attachments have been scanned for viruses. Orbiscom Ltd. will not be liable for direct special indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on. www.orbiscom.com
More information about the ILUG
mailing list