FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 11-16-2009, 03:31 PM
 
Default Samba server problem

I have a server and have attempted to make a share available to windows users. My problem is that a windows user "Janice" can login to her "home" share. But cannot log in to the "Windata" share.

Permissions for the share are below and smb.conf below that.

===============

patton@tome:~$ ls -l /raid/Windata
total 40
drwxrw-r-- 9 patton users 4096 2009-09-19 22:11 All Users
drwxrw-r-- 2 patton users 4096 2008-05-08 20:41 bin
drwxrw-r-- 2 patton users 4096 2009-04-15 22:47 Documents
drwxrw-r-- 30 patton users 4096 2009-07-25 12:28 photos
drwxrw-r-- 3 patton users 4096 2008-07-27 14:05 RECYCLER
drwxrw-r-- 3 patton users 4096 2008-01-30 23:09 System Volume Information
drwxrw-r-- 2 patton users 4096 2008-12-05 13:48 Tax
drwxrw-r-- 2 patton users 4096 2008-11-18 19:11 TiVo Recordings
drwxrw-r-- 17 patton users 4096 2009-09-19 21:37 user
drwxrw-r-- 12 patton users 4096 2009-02-15 14:30 Video

===============

One thing about this. When I created the user account, I did not add janice to the group "users". I did that and am able to connect from the "janice" account on the ubuntu desktop machine. But it still does not connect from her windows machine.

patton@tome:~$ cat /etc/samba/smb.conf
[global]
workgroup = HOME
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %n
*Retypesnews*spassword:* %n
*passwordsupdatedssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
printcap name = cups
dns proxy = No
wins support = Yes
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d

[homes]
comment = Home Directories
read only = No
browseable = No

[Windata]
comment = Home File Archives
path = /raid/Windata
read only = No
guest ok = Yes

[printers]
printable = Yes
browseable = No
available = No

[print$]
available = No

Thanks for any assistance / places to look.

--PE

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-16-2009, 08:51 PM
Karl Auer
 
Default Samba server problem

On Mon, 2009-11-16 at 16:31 +0000, p.echols@comcast.net wrote:
> I have a server and have attempted to make a share available to
> windows users. My problem is that a windows user "Janice" can login
> to her "home" share. But cannot log in to the "Windata" share.
> [...]
> One thing about this. When I created the user account, I did not add
> janice to the group "users". I did that and am able to connect from
> the "janice" account on the ubuntu desktop machine. But it still does
> not connect from her windows machine.

Could this be related to the difference between "Janice" and "janice"?

Create a test account "Janice" and see if she can access that.

Alternatively, see if she can log in by manually mounting the drive and
providing the name and password explicitly.

This is just a wild guess by the way, I've no idea whether it should be
a problem.

Regards, K.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer@biplane.com.au) +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/ +61-428-957160 (mob)

GPG fingerprint: 07F3 1DF9 9D45 8BCD 7DD5 00CE 4A44 6A03 F43A 7DEF

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-16-2009, 09:45 PM
 
Default Samba server problem

----- "Karl Auer" <kauer@biplane.com.au> wrote:

> On Mon, 2009-11-16 at 16:31 +0000, p.echols@comcast.net wrote:
> > I have a server and have attempted to make a share available to
> > windows users. My problem is that a windows user "Janice" can
> login
> > to her "home" share. But cannot log in to the "Windata" share.
> > [...]
> > One thing about this. When I created the user account, I did not
> add
> > janice to the group "users". I did that and am able to connect
> from
> > the "janice" account on the ubuntu desktop machine. But it still
> does
> > not connect from her windows machine.
>
> Could this be related to the difference between "Janice" and
> "janice"?

Actually that is a typo in my email. But I would think that if that was the reason, then she would not be able to access /home/janice on the server. And that does work without problem.

>
> Create a test account "Janice" and see if she can access that.
>
> Alternatively, see if she can log in by manually mounting the drive
> and
> providing the name and password explicitly.

Yeah I tried that. No joy.

Thanks for the thought.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-16-2009, 11:04 PM
Tom H
 
Default Samba server problem

> I have a server and have attempted to make a share available to windows users.
>*My problem is that a windows user "Janice" can login to her "home" share.
>*But cannot log in to the "Windata" share.

> patton@tome:~$ ls -l /raid/Windata
> total 40
> drwxrw-r-- *9 patton users 4096 2009-09-19 22:11 All Users
...

> One thing about this. When I created the user account,
> I did not add janice to the group "users".
>*I did that and am able to connect from the "janice" account
> on the ubuntu desktop machine.
>*But it still does not connect from her windows machine.

> patton@tome:~$ cat /etc/samba/smb.conf
> [global]
> * * * *workgroup = HOME
> * * * *server string = %h server (Samba, Ubuntu)
> * * * *map to guest = Bad User
> * * * *obey pam restrictions = Yes
> * * * *passdb backend = tdbsam
> * * * *passwd program = /usr/bin/passwd %u
> * * * *passwd chat = *Entersnews*spassword:* %n
*Retypesnews*spassword:* %n
*passwordsupdatedssuccessfully* .
> * * * *unix password sync = Yes
> * * * *syslog = 0
> * * * *log file = /var/log/samba/log.%m
> * * * *max log size = 1000
> * * * *printcap name = cups
> * * * *dns proxy = No
> * * * *wins support = Yes
> * * * *usershare allow guests = Yes
> * * * *panic action = /usr/share/samba/panic-action %d
>
> [homes]
> * * * *comment = Home Directories
> * * * *read only = No
> * * * *browseable = No
>
> [Windata]
> * * * *comment = Home File Archives
> * * * *path = /raid/Windata
> * * * *read only = No
> * * * *guest ok = Yes

Run "smbclient -L 127.0.0.1" to make sure that Windata is shared out.

Add "log level = 3" to your global section, remove "guest ok = Yes"
from your windata section, restart samba, and check /var/log/samba/
after a logon failure by janice.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-16-2009, 11:39 PM
 
Default Samba server problem

----- "Tom H" <tomh0665@gmail.com> wrote:

> > I have a server and have attempted to make a share available to
> windows users.
> >*My problem is that a windows user "Janice" can login to her "home"
> share.
> >*But cannot log in to the "Windata" share.
>
>
> Run "smbclient -L 127.0.0.1" to make sure that Windata is shared out.
>

I will try that this evening. But since janice can connect from the ubuntu desktop machine, wouldn't that tell us that windata is being shared?

> Add "log level = 3" to your global section, remove "guest ok = Yes"
> from your windata section, restart samba, and check /var/log/samba/
> after a logon failure by janice.
>


I'll reply again when I have additional data (fixed or not!) thanks for the thoughts.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 07:49 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org