From owner-freebsd-questions Thu Sep 26 14: 2:25 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 35C3937B401 for ; Thu, 26 Sep 2002 14:02:21 -0700 (PDT) Received: from mail.bg (dialup66.varna.spnet.net [213.169.38.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A7FF43E86 for ; Thu, 26 Sep 2002 13:58:31 -0700 (PDT) (envelope-from dpenev@mail.bg) Received: from mail.bg (localhost [127.0.0.1]) by mail.bg (8.12.5/8.12.5) with ESMTP id g8QNw4de000280 for ; Thu, 26 Sep 2002 23:58:20 GMT (envelope-from dpenev@mail.bg) Received: (from root@localhost) by mail.bg (8.12.5/8.12.5/Submit) id g8QNuf0S000271; Thu, 26 Sep 2002 23:56:41 GMT Date: Thu, 26 Sep 2002 23:56:41 +0000 From: "D. Penev" To: Peter Ulrich Kruppa <520023893678-0001@t-online.de> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: samba server as a PDC Message-ID: <20020926235641.GA242@earth.dpsca.bg> Mail-Followup-To: Peter Ulrich Kruppa <520023893678-0001@t-online.de>, freebsd-questions@FreeBSD.ORG References: <20020926223003.GA239@earth.dpsca.bg> <20020926224159.S32143-100000@small.pukruppa.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20020926224159.S32143-100000@small.pukruppa.de> User-Agent: Mutt/1.4i 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 On Thu, Sep 26, 2002 at 10:48:45PM +0000, Peter Ulrich Kruppa wrote: >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 > >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. What I don't saw is that /usr/local/samba is not world readable, but below suggestions that I gave are still valid for roaming profiles. >> >> >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 -- Regards, D. Penev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message