Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Samba] Sambauser can't use his homeshare but other shares..

 
   Linux (Home) -> Samba RSS
Next:  [PATCH 1/1] md: drivers/md/unroll.pl replaced wit..  
Author Message
Mario Constanti

External


Since: Oct 06, 2009
Posts: 2



(Msg. 1) Posted: Tue Oct 06, 2009 3:25 am
Post subject: [Samba] Sambauser can't use his homeshare but other shares - smb.conf
Archived from groups: linux>samba (more info?)

Ok, here is my smb.conf-File.



If i use the [homes]-Section,
I can mount my home-share only if
I first connected to an other share.



If I use the [Mario]-Section,
I can mount it on the first run.





[global]



workgroup = example

netbios name = mounteverest

password server = 192.168.2.200

security = ads

realm = EXAMPLE.LOCAL

encrypt passwords = yes



local master =no

os level = 20

domain master = no

preferred master = no



time server = Yes

keepalive = 30

create mask = 0740

directory mask = 0750

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

log level = 3 passdb:5 auth:10 winbind:2

nt acl support = yes



winbind separator = +

idmap backend = idmap_rid:example=10000-19999

idmap gid = 10000-19999

idmap uid = 10000-19999

template shell = /bin/bash

winbind use default domain = yes

winbind enum users = yes

winbind enum groups = yes

# von mario hinzugefuegt um 18:42 am 19.09.09

winbind nested groups = yes

wins server = 192.168.2.200



# von mario hinzugefuegt um 18:42 am 19.09.09

template homedir = /data/shares/home/%U

template shell = /bin/bash



#[homes]

# comment = Home Directories

# path = /data/shares/home/%U

# force group = @EXAMPLE+dir_home

# read only = No

# create mask = 0600

# directory mask = 0700

# browseable = No



[mario]

path = /data/shares/home/mario

valid users = EXAMPLE+mario

force group = @EXAMPLE+dir_home

read only = No

create mask = 0600

force create mode = 0700





[nobackup]

path = /data/shares/nobackup

valid users = @EXAMPLE+dir_nobackup

force group = @EXAMPLE+dir_nobackup

read only = No

create mask = 0750

force create mode = 0770

force directory mode = 0770



[public]

path = /data/shares/public

valid users = @EXAMPLE+dir_public

force group = @EXAMPLE+dir_public

read only = No

create mask = 0750

force create mode = 0770

force directory mode = 0770



[security]

path = /data/shares/security

valid users = @EXAMPLE+dir_security

force group = @EXAMPLE+dir_security

read only = No

create mask = 0750

force create mode = 0770

force directory mode = 0770







--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Mario Constanti

External


Since: Oct 06, 2009
Posts: 2



(Msg. 2) Posted: Wed Oct 07, 2009 2:25 am
Post subject: Re: [Samba] Sambauser can't use his homeshare but other shares - smb.conf [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Dale,
Hi Samba-List,

i have tried your suggestion but it doesn't work.
I've got the same error.

My posix permissions on the filesystem are correct.
Here is my #ls -lha output:

root@mounteverest:/data/shares# ls -lah
total 53K
drwxr-xr-x 14 administrator root 4.0K 2009-10-01 09:40 .
drwxr-xr-x 4 root root 4.0K 2009-09-19 09:32 ..
drwxr-x--- 3 root root 4.0K 2009-09-18 11:45 admin
drwxr-x--- 4 root root 4.0K 2009-09-19 09:07 backup
drwx------ 3 administrator root 1.0K 2009-04-22 17:17 ebs
drwxr-s--- 24 administrator dir_home 4.0K 2009-10-01 11:30 home
drwxrws--- 25 administrator dir_nobackup 4.0K 2009-10-05 16:49 nobackup
drwxrws--- 11 administrator dir_public 4.0K 2009-03-17 08:20 public
drwxrws--- 19 administrator dir_security 4.0K 2007-05-19 08:06 security

administrator und the dir_*-Groups are from the Active Directory.

Here something from my logfile:

[2009/10/07 07:22:37, 3] smbd/password.c:register_vuid(304)
User name: nobody Real name: nobody
[2009/10/07 07:22:37, 3] smbd/password.c:register_vuid(325)
UNIX uid 65534 is UNIX user nobody, and will be vuid 101
....
[2009/10/07 07:22:37, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/10/07 07:22:37, 3] smbd/service.c:make_connection_snum(1033)
winxpnotebook (192.168.2.26) connect to service IPC$ initially as user nobody (uid=65534, gid=65534) (pid 8613)

Any other ideas?




-----Ursprüngliche Nachricht-----
Von: Dale Schroeder [mailto:dale@BriannasSaladDressing.com]
Gesendet: Dienstag, 6. Oktober 2009 15:32
An: Mario Constanti
Betreff: Re: [Samba] Sambauser can't use his homeshare but other shares - smb.conf

Mario,

I would try this in [homes]
1. Do not use the "force group" parameter.
2. Add valid users = EXAMPLE+%S

You shouldn't have to declare the path again because you already set it
in "template homedir",
but you can leave it if desired.

Your other settings appear to be quite reasonable, and should not cause
any problems.
I have assumed that your posix permissions are correct for EXAMPLE+mario and
EXAMPLE+dir_home to navigate the entire /data/shares/home path.

Dale

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[Samba] Samba 3.0.22-11 as PDC with openLDAP 2.3.19 => Pro.. - Hi there! To set up a samba PDC with openLDAP on my openSUSE 10.1 x86_64 I followed this howto: http://en.opensuse.org/Howto_setup_SUSE_10.1_as_Samba_PDC Every service seems to be running now but now I'm stuck. I was able to join a clean Windows XP Pro...

[Samba] Problem accessing Samba shares simultaneously by m.. - Hello All! I am using Samba Version 2.2.7a on a RedHat linux 9 box.Some .php files are stored on the Samba server and Users are accessing these files from windows system.They are using EditPlus to work on these .php files.Problem is that when more than..

[Samba] Browsing Samba shares slow when server has no DNS .. - Hi all, I've got a problem where the browsing of shares is very slow (30 sec to open a share) if the Samba server has no access to dns servers. The result is every time the internet goes down, no one can do any work on their local network files. How....

[Samba] Cannot access/write to shares, samba appears not t.. - Hi All, I cannot access/write to shares so I turned the logging level up to 3. This is the error from the 'test' share while attempting to create a new folder: [2009/09/29 09:57:45, 3] lib/util_sid.c:string_to_sid(223) string_to_sid: Sid @domain user...

[Samba] Samba+Ldap: Properties Dialog doesn't show owner, .. - Hi all, I have a samba PDC on linux (kernel 2.6.16-gentoo-r3, amd64, 2cpu's, samba 3.0.22). My passdb backend is an ldap-server on a different machine. I did an update from a slower machine. The configuration files on the old and new machines are equal...
       Linux (Home) -> Samba All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact