From owner-freebsd-questions Thu Sep 26 12:48:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E7D937B401 for ; Thu, 26 Sep 2002 12:48:41 -0700 (PDT) Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A98343E42 for ; Thu, 26 Sep 2002 12:48:40 -0700 (PDT) (envelope-from 520023893678-0001@t-online.de) Received: from fwd00.sul.t-online.de by mailout08.sul.t-online.com with smtp id 17uecj-0006Yd-0E; Thu, 26 Sep 2002 21:48:33 +0200 Received: from pD90172DD.dip.t-dialin.net (520023893678-0001@[217.1.114.221]) by fwd00.sul.t-online.com with esmtp id 17uecQ-0tdvaiC; Thu, 26 Sep 2002 21:48:14 +0200 Date: Thu, 26 Sep 2002 22:48:45 +0000 (GMT) From: 520023893678-0001@t-online.de (Peter Ulrich Kruppa) To: "D. Penev" Cc: Peter Ulrich Kruppa <520023893678-0001@t-online.de>, Subject: Re: samba server as a PDC In-Reply-To: <20020926223003.GA239@earth.dpsca.bg> Message-ID: <20020926224159.S32143-100000@small.pukruppa.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 520023893678-0001@t-dialin.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yes, thanks to *everybody* ! I think I mixed up chown chgrp and chmod somehow. Now # ls -al /usr/local/samba/profiles delivers total 4 drwxr-xr-x 4 root samba 512 26 Sep 20:48 . drwxr-xr-x 4 root samba 512 26 Sep 21:05 .. drwxr-xr-x 15 lukas_mueller samba 512 26 Sep 22:41 lukas_mueller drwxr-xr-x 13 root samba 512 26 Sep 20:24 root and everything works. His is just in time because we are going to set up a second computer room in our school during the next weeks. Regards, Uli. On Thu, 26 Sep 2002, D. Penev wrote: > On Thu, Sep 26, 2002 at 09:09:08PM +0000, Peter Ulrich Kruppa wrote: > >Date: Thu, 26 Sep 2002 21:09:08 +0000 (GMT) > >From: 520023893678-0001@t-online.de (Peter Ulrich Kruppa) > >To: "D. Penev" > >cc: Peter Ulrich Kruppa <520023893678-0001@t-online.de>, > > > >Subject: Re: samba server as a PDC > > > >On Wed, 25 Sep 2002, D. Penev wrote: > > > >> On Wed, Sep 25, 2002 at 10:10:34PM +0000, Peter Ulrich Kruppa wrote: > >> >Date: Wed, 25 Sep 2002 22:10:34 +0000 (GMT) > >> >From: 520023893678-0001@t-online.de (Peter Ulrich Kruppa) > >> >To: freebsd-questions@FreeBSD.ORG > >> >Subject: samba server as a PDC > >> > > >> >Hi, > >> > > >> >I am trying to set up a samba server as a primary domain > >> >controller for about 30 NT and Win2000 machines (and about 800 > >> >users). Password administration and homes services seem to work > >> >ok. > >> >But the machines should also be able to read the user's profile > >> >from the server when logging on and write them back when logging > >> >off("roaming profiles"). This only works for users with root > >> >access to the server. > >> >"Ordinary" users can read their profile when starting up, but > >> >logging off they receive an "access denied" message. > >> >I guess, I have to set permissions correctly, but I have no idea > >> >how. > >> >My users belong to group called samba, their profiles are stored > >> >in a directory /usr/local/samba/profiles . > >> > >> What ls -al /usr/local/samba/profiles show? My is : > >> > >> # ls -al profiles > >> total 4 > >> drwxr-xr-x 4 DomainAdmin DomainAdmins 512 Jul 15 23:04 . > >> drwxr-xr-x 5 root wheel 512 Jul 15 21:16 .. > >> drwx------ 13 DomainAdmin DomainAdmins 512 Jul 19 23:32 DomainAdmin > >> drwx------ 13 DomainUser DomainUsers 512 Jul 26 22:15 DomainUser > >> [snip] > > > >Hmm ... I have got > > > > --------------------------- > >total 4 > >drwxr-xr-x 4 root samba 512 26 Sep 20:48 . > >drwxrwx--- 4 root 1111 512 26 Sep 21:02 .. > > I don't think that this causing the problem. > > >drwxr-xr-x 14 lukas_mueller samba 512 26 Sep 20:33 lukas_mueller > > Is this user have problems with write permission ? I don't see any incorrect > permissions, and hi must save his profile without any problems but users that > haven't profiles cannot create them because they haven't write permission to > /usr/local/samba/profiles. I see two sollutions: > > 1. chmod 775 /usr/local/samba/profiles > 2. manualy create users directories as root and each of them chown to user > > >drwxr-xr-x 13 root samba 512 26 Sep 20:24 root > > > > ----------------------------- > >... and I have to admit, I don't know who group 1111 is. I don't > >have it in my /etc/group. > >How do I change permissions for .. then? > > > > > >Uli. > > > > > > > > > >> > >> > > >> >Any idea what could be done? > >> > > >> >Thanks for your answers. > >> > > >> > > >> >Uli. > >> > > >> >*-----------------------------------* > >> >* Peter Ulrich Kruppa * > >> >* - Wuppertal - * > >> >* Germany * > >> >*-----------------------------------* > >> > > >> > > >> >To Unsubscribe: send mail to majordomo@FreeBSD.org > >> >with "unsubscribe freebsd-questions" in the body of the message > >> > >> -- > >> Regards, > >> D. Penev > >> > >> To Unsubscribe: send mail to majordomo@FreeBSD.org > >> with "unsubscribe freebsd-questions" in the body of the message > >> > > > >*-----------------------------------* > >* Peter Ulrich Kruppa * > >* - Wuppertal - * > >* Germany * > >*-----------------------------------* > > -- > Regards, > D. Penev > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > *-----------------------------------* * Peter Ulrich Kruppa * * - Wuppertal - * * Germany * *-----------------------------------* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message