LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Samba

[ILUG] Samba

Greg McRandal mcrandal at maths.tcd.ie
Thu Apr 1 13:00:47 IST 2004


On Thu, Apr 01, 2004 at 12:31:29PM +0100, John Allen wrote:
> On Thursday 01 April 2004 11:39, Greg McRandal wrote:
> > Hi,
> >
> [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




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell