[Samba] Can't get past login window

David Ackerman dackerman at apnts.org
Sun May 21 14:33:03 GMT 2006


I worked with the smb.conf for "several" hours and got it so I can access
the server and workgroup.  I can access the public folder because I set file
permissions to 777.  I cannot access user folders.  I set file permission to
700.  If I set to 775 or whatever, there is no password protection.  How can
I make it so that a person must login with user name and password to access
his or her folder in the /home directory?

 

My global settings look like this:

[global]

      log file = /var/log/samba/log.%m

      load printers = no

      passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .

      obey pam restrictions = yes

      socket options = TCP_NODELAY

      encrypt passwords = yes

      public = yes

      passdb backend = tdbsam

      dns proxy = no

      netbios name = XX name here deleted for now

      server string = XX name here deleted for now

      invalid users = root

      path = /home

      workgroup = Students

      os level = 20

      comment = Home Directories

      security = share

      syslog = 0

      create mode = 700

      panic action = /usr/share/samba/panic-action %d

      max log size = 1000

      directory mode = 700

 

My Home directory looks like this:

[Home Folders]

      comment = Home Folders

      path = /home

      public = yes

      create mask = 0700

      directory mask = 0700

      force user = nobody

      force user = nogroup

      writeable = yes

 

And my Public folder looks like this:

[Public Folder]

      comment = Public Access Folder

      path = /home/Public

 

Ideally, I would like a user to login and have access to his/her own folder
and also the public folder.  If the user sees other folders, that is
alright, as long as he/she cannot access these folders.

 

I have been working mostly from the terminal window to edit the smb.conf but
have also used webmin some.  I used webmin to make all system users to be
samba users.

 

Thanks for any help!!

 

David

 

 

  _____  

From: c p tiwari [mailto:cptiwarijbp at rediffmail.com] 
Sent: Friday, May 19, 2006 6:13 PM
To: David Ackerman
Cc: samba at lists.samba.org
Subject: Re: [Samba] Can't get past login window

 


dear
          First u make it sure that you are accessing it with correct alias
share name.And you try this with cmd line from any linux machine

#smbclient -L //<server-ip> -N
Above cmd will display the share name (alias name).
now
#smbclient //<server-ip>/<sharename> -U <username>

If you are not able to access then verify the path of your samba share in
configuration .

regards

cp tiwari






  


On Fri, 19 May 2006 David Ackerman wrote :
>I am new at Samba.  I just about have it working.  From my windows XP
>client, I can access the workgroup and then see the server.  When I click
on
>server to access network folders, the login pops up.  I put in the username
>and password (both of which are already in Samba).  The login window
>refreshes and I get in the login screen:  XXX/username, with XXX being the
>name of my local Windows XP computer.  I put in password and the window
just
>refreshes the same and I can't get past it.  My /home directory is 777 and
>the user's directory is 700.  I am using Webmin as much as possible.  Any
>help will be great.  The answer is probably simple.  Thanks.
>
>
>
>David
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba



 
<http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signa
ture-home.htm/1507191490 at Middle5?PARTNER=3> 



More information about the samba mailing list