[Samba] Firewall rules to block other's computers browse list

2009-07-27 Thread MargoAndTodd
Hi All, My Samba server/firewall has three (two real, one virtual) network cards: eth0.5: connects to a terminal server eth0: internal network with about 10 XP workstations eth1: the Internet Samba is set to talk to only 12.0.0.1, eth0.5 and eth0. I have my firewall iptables rules set so that

Re: [Samba] Samba on RHEL issue

2009-07-13 Thread MargoAndTodd
Shuaib Ilyas (shilyas) wrote: Hi, I am trying to install samba on the RHEL. The installation completes but after that I get the smbd dead message upon checking the status: [r...@usps-dc1-pc12 share]# [r...@usps-dc1-pc12 share]# service smb status smbd dead but pid file exists nmbd (pid 807

Re: [Samba] "No data on inotify fd" error

2009-06-27 Thread MargoAndTodd
Volker Lendecke wrote: On Fri, Jun 26, 2009 at 03:45:32PM -0700, MargoAndTodd wrote: My poor /var/log/messages is getting hammered with: smbd[16076]: No data on inotify fd?! smbd[16076]: [2009/06/25 13:21:18, 0] \ smbd/notify_inotify.c:inotify_handler(249

[Samba] Is "net groupmap add ntgroup" Volatile?

2009-06-26 Thread MargoAndTodd
Hi All, I have three of these command I use to map my UNIX groups to Windows: net groupmap add ntgroup="Remote Desktop Users" \ unixgroup=TermServ rid=5001 type=d Problem: I seem to have to re-enter this every so often. I am presuming after a kernel update and reboot. It may

[Samba] "No data on inotify fd" error

2009-06-26 Thread MargoAndTodd
Hi All, My poor /var/log/messages is getting hammered with: smbd[16076]: No data on inotify fd?! smbd[16076]: [2009/06/25 13:21:18, 0] \ smbd/notify_inotify.c:inotify_handler(249) Everything else seems to be working fine. Any idea what this is all about? Many thanks,

[Samba] Please translate M$ speak: create a new organizational unit

2009-05-17 Thread MargoAndTodd
Hi All, I am a bit new to Samba PDC. When a M$ tech article says: "Use Active Directory Users and Computers to create a new organizational unit (OU)". What does this mean in Samba PDC talk? Please translate. Many thanks, -T I have a lot of guesses, but I want to hear it from someone who h

Re: [Samba] group mapping question

2009-05-09 Thread MargoAndTodd
Peter Ulrich Kruppa wrote: Am Samstag, den 09.05.2009, 13:00 -0700 schrieb MargoAndTodd: Miguel Medalha wrote: net groupmap add ntgroup="Domain Admins" unixgroup=domadm rid=512 type=d Question 1: if my previous /etc/group names already match the ntgroup names, do I still need

Re: [Samba] group mapping question

2009-05-09 Thread MargoAndTodd
Miguel Medalha wrote: net groupmap add ntgroup="Domain Admins" unixgroup=domadm rid=512 type=d Question 1: if my previous /etc/group names already match the ntgroup names, do I still need to run the above command? Yes. Okay, Now I am really confused. I have three users in my PDC that

[Samba] group mapping question

2009-05-07 Thread MargoAndTodd
Hi All, Just a general question about groups. I am upgrading a Samba workgroup, server to a PDC. I have been reading: http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/groupmapping.html#id2589321 In this link, they tell of how to map a windows group to a Samba group net groupmap ad

[Samba] Win2008 TS and Samba question

2009-05-06 Thread MargoAndTodd
Hi All, I have a Samba PDC, a Win 2008 Terminal Server (TS), and a bunch of XP workstations. "Supposedly", all I have to do to enable "certain" users on my PDC to use my TS from their XP workstations is to create a group on my PDC, populate it with users, then go to the "Security" tab on my TS a

[Samba] PDC and "group" question

2009-05-06 Thread MargoAndTodd
Hi All, I just upgraded a workstation server to a PDC server. I am using tbdsam as my user database. Question 1: As a workgroup server, I created my groups in /etc/group (groupadd). Is this still the case? Do I also need to tell Samba about a different database for groups? Question 2: occas

Re: [Samba] Did I screw up my PDC on this Terminal Services problem?

2009-04-22 Thread MargoAndTodd
John Drescher wrote: On Wed, Apr 22, 2009 at 11:38 PM, MargoAndTodd wrote: Hi All, I am upgrading my samba server from a workgroup to PDC server. I am doing this to make a Windows 2008 Terminal server happy. Eventually there will be a bank of them (thank you Virtual Box). Anyway, in my

[Samba] Did I screw up my PDC on this Terminal Services problem?

2009-04-22 Thread MargoAndTodd
Hi All, I am upgrading my samba server from a workgroup to PDC server. I am doing this to make a Windows 2008 Terminal server happy. Eventually there will be a bank of them (thank you Virtual Box). Anyway, in my test bed, I have a Samba PDC (newly updated to PDC), a Windows 2008 server, and XP

[Samba] Administrator can not see network shaes

2009-04-22 Thread MargoAndTodd
Hi All, I am upgrading my Samba server to a PDC. On my test bed, I have a M$ Windows 2008 server (no *dc anything). This server can look at network shares with any user, except the Administrator. When I browse a file share as administrator, Windows asks me for my user name and password. It re

[Samba] With a PDC, is homes mapping automatic?

2009-04-22 Thread MargoAndTodd
Hi All, I am upgrading my Samba server to a PDC from a work group server. Question: when a client computer joins as a domain member, is his "My Documents" automatically mapped to his [homes} directory? Or, is it something I do optionally? (In my test bed, My Documents is getting mapped to his

[Samba] where is the machine name used?

2009-04-14 Thread MargoAndTodd
Hi All, Just a bit of PDC confusion on my part. 1) I do not give machine names a password. Am I correct? 2) I am presuming that machine names are used to limit what machine user names can have access to to the samba server. If Foo has an smb username and computer A has a machine name, but com

Re: [Samba] Re: nss_wins: create_builtin_users: Failed to create Users

2009-04-06 Thread MargoAndTodd
John Drescher wrote: To answer my own question, I severely misunderstood what "man smb.conf" was saying about "idmap uid" and "idmap uid". I was trying to match them up with my current user numbers and group numbers. Placing my idmaps in this range cured the error message. idmap uid = 1

[Samba] Re: winbindd: idmap_init: Ignoring domain

2009-04-06 Thread MargoAndTodd
MargoAndTodd wrote: Hi All, When I restart smbd and winbindd, I see the following error message: rn1 winbindd[8289]: Initializing idmap domains Apr 6 15:15:13 rn1 winbindd[8289]: [2009/04/06 15:15:13, 0] nsswitch/idmap.c:idmap_init(388) rn1 winbindd[8289]: idmap_init

[Samba] Re: nss_wins: create_builtin_users: Failed to create Users

2009-04-06 Thread MargoAndTodd
MargoAndTodd wrote: Hi All, I am getting the following error in /var/log/messages when an XP Pro client enters the network: nss_wins[8369]: [2009/04/06 15:17:23, 0] auth/auth_util.c:create_builtin_users(810) Apr 6 15:17:23 rn1 nss_wins[8369]: create_builtin_users: Failed to create Users

[Samba] nss_wins: create_builtin_users: Failed to create Users

2009-04-06 Thread MargoAndTodd
Hi All, I am getting the following error in /var/log/messages when an XP Pro client enters the network: nss_wins[8369]: [2009/04/06 15:17:23, 0] auth/auth_util.c:create_builtin_users(810) Apr 6 15:17:23 rn1 nss_wins[8369]: create_builtin_users: Failed to create Users I have been told in th

[Samba] winbindd: idmap_init: Ignoring domain

2009-04-06 Thread MargoAndTodd
Hi All, When I restart smbd and winbindd, I see the following error message: rn1 winbindd[8289]: Initializing idmap domains Apr 6 15:15:13 rn1 winbindd[8289]: [2009/04/06 15:15:13, 0] nsswitch/idmap.c:idmap_init(388) rn1 winbindd[8289]: idmap_init: Ignoring domain FOO How do I

[Samba] Is it permissible to file bugs on old versions?

2009-04-06 Thread MargoAndTodd
Hi All, I am using CentOS 5.3 (Red Hat Enterprise Linux 5.3 clone). CentOS and RHEL being what they are, they always use old stuff to maintain enterprise stability. $rpm -qa \*samba\* samba-common-3.0.33-3.7.el5 system-config-samba-1.2.41-3.el5 samba-3.0.33-3.7.el5 samba-client-3.0.33-3.7.el5 I

Re: [Samba] idmap uid range missing or invalid

2009-04-02 Thread MargoAndTodd
John Drescher wrote: On Thu, Apr 2, 2009 at 10:40 PM, MargoAndTodd wrote: Hi All, What causes this error in /var/log/messages when on XP-Pro client boots up? winbindd[4041]: idmap uid range missing or invalid winbindd[4041]: idmap will be unable to map foreign SIDs winbindd[4041]: [2009

Re: [Samba] idmap uid range missing or invalid

2009-04-02 Thread MargoAndTodd
John Drescher wrote: On Thu, Apr 2, 2009 at 10:40 PM, MargoAndTodd wrote: Hi All, What causes this error in /var/log/messages when on XP-Pro client boots up? winbindd[4041]: idmap uid range missing or invalid winbindd[4041]: idmap will be unable to map foreign SIDs winbindd[4041]: [2009

[Samba] nss_wins: Failed to create Users

2009-04-02 Thread MargoAndTodd
Hi All, What causes this error message in /var/log/messages when an XP-Pro client boots up? nss_wins[27722]: create_builtin_users: Failed to create Users Many thanks, -T CentOS 5.3 $ rpm -qa \*samba\* samba-common-3.0.33-3.7.el5 system-config-samba-1.2.41-3.el5 samba-3.0.33-3.7.el5 samba-cl

[Samba] idmap uid range missing or invalid

2009-04-02 Thread MargoAndTodd
Hi All, What causes this error in /var/log/messages when on XP-Pro client boots up? winbindd[4041]: idmap uid range missing or invalid winbindd[4041]: idmap will be unable to map foreign SIDs winbindd[4041]: [2009/04/02 19:38:22, 0] nsswitch/idmap.c:idmap_alloc_init(820) rn1 winbindd[4041]

Re: [Samba] failed to create users error

2009-03-30 Thread MargoAndTodd
Dale Schroeder wrote: Todd, If you haven't already, you should read this section of the Samba How-to: http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/ServerType.html Hi Dale, I had a feeling I was mixing server types. I will read your reference. Thank you for the tip, -T -- To un

[Samba] Re: failed to create users error

2009-03-29 Thread MargoAndTodd
MargoAndTodd wrote: MargoAndTodd wrote: Hi All, When I have my smb.conf set to "passdb backend = tdbsam", I get the following errors when "foo" tried to browse a share: [2009/03/29 19:44:02, 0] auth/auth_util.c:create_builtin_administrators(792) create_builtin_ad

[Samba] Re: failed to create users error

2009-03-29 Thread MargoAndTodd
MargoAndTodd wrote: Hi All, When I have my smb.conf set to "passdb backend = tdbsam", I get the following errors when "foo" tried to browse a share: [2009/03/29 19:44:02, 0] auth/auth_util.c:create_builtin_administrators(792) create_builtin_administrato

[Samba] Are tdbsam and smbpasswd linked?

2009-03-29 Thread MargoAndTodd
Hi All, I just added three users to my tdbsam with "pdbedit -a -u username" (had to do "useradd" first). All three appeared in tdbsam as they should, as verified with "pdbedit -L". But, all three also appeared in /etc/samba/smbpasswd. This is not a mistake, they were not there before. Are "

[Samba] What is the purpose of "add user script"?

2009-03-29 Thread MargoAndTodd
Hi All, I am confused. In one of the examples of a PDC, the following smb.conf parameter is given: add user script = /usr/sbin/useradd -m -G users '%u' If you have "passdb backend = tdbsam" and the way to add users to "tdbsam" is "pdbedit -a -u username", what is the purpose of the "add

[Samba] failed to create users error

2009-03-29 Thread MargoAndTodd
Hi All, When I have my smb.conf set to "passdb backend = tdbsam", I get the following errors when "foo" tried to browse a share: [2009/03/29 19:44:02, 0] auth/auth_util.c:create_builtin_administrators(792) create_builtin_administrators: Failed to create Administrators [2009/03/29 19:44:02,

[Samba] Is this subnet stated correctly?

2009-03-29 Thread MargoAndTodd
Hi All, When I reset smb (/etc/rc.d/init.d/smb restart), I notice the following im my /var/log/messages Mar 29 19:35:34 foo nmbd[11286]: Samba name server SERVER is now a local master browser for workgroup FOO on subnet 192.168.255.10 Should not it be stated as "192.16

Re: [Samba] need good tdbsam reference

2009-03-29 Thread MargoAndTodd
John H Terpstra - Samba Team wrote: Mar 27 22:12:03 rn1 nss_wins[6589]: [2009/03/27 22:12:03, 0] auth/auth_util.c:create_builtin_administrators(792) Mar 27 22:12:03 rn1 nss_wins[6589]: create_builtin_administrators: Failed to create Administrators By any chance does this mean someone tried t

Re: [Samba] need good tdbsam reference

2009-03-29 Thread MargoAndTodd
John H Terpstra - Samba Team wrote: MargoAndTodd wrote: MargoAndTodd wrote: I keep feeling like I am missing something. Like This too: I think I failed to set up the database that winbindd and wins wants to read. /var/log/messages: Mar 27 22:12:03 rn1 winbindd[6580]: [2009/03/27 22:12:03

Re: [Samba] Does WINS need to be populated or configured?

2009-03-28 Thread MargoAndTodd
. Original Message ... On Sat, 28 Mar 2009 20:51:37 -0700 "MargoAndTodd" wrote: Günter Kukkukk wrote: Am Sonntag, 29. März 2009 schrieb MargoAndTodd: Hi All, Now that I have winbind running and wins support = yes in my smb.conf, am I missing something? Like setti

[Samba] pdbedit's add machine option

2009-03-28 Thread MargoAndTodd
Hi All, I have been reading through "man pdedit". I came across the "-m" option: -m This option may only be used in conjunction with the -a option. It will make pdbedit to add a machine trust account instead of a user account (-u username will

Re: [Samba] Does WINS need to be populated or configured?

2009-03-28 Thread MargoAndTodd
Günter Kukkukk wrote: Am Sonntag, 29. März 2009 schrieb MargoAndTodd: Hi All, Now that I have winbind running and wins support = yes in my smb.conf, am I missing something? Like setting up WINS, configuring it, populating it, etc.? Can someone point me to documentation on what to do

[Samba] Does WINS need to be populated or configured?

2009-03-28 Thread MargoAndTodd
Hi All, Now that I have winbind running and wins support = yes in my smb.conf, am I missing something? Like setting up WINS, configuring it, populating it, etc.? Can someone point me to documentation on what to do (administrate) WINS? Many thanks, -T -- To unsubscribe from this list go to t

Re: [Samba] need good tdbsam reference

2009-03-27 Thread MargoAndTodd
John H Terpstra - Samba Team wrote: MargoAndTodd wrote: Hi All, Can someone point me to a good reference on how to configure "tdbsam" ? Many thanks, -T In your smb.conf [global] passdb backend = tdbsam Done! It's in my example in Chapter 3 of Samba3-ByExample.

Re: [Samba] need good tdbsam reference

2009-03-27 Thread MargoAndTodd
MargoAndTodd wrote: 1) how do I populate passdb.tdb with my old smbpasswd and 2) where is passdb.tdb located, so I can back it up? To answer question #2: /etc/samba/passdb.tdb And it is full of "B"'s. See no sign of a user name. It appeared after I had my first successful u

Re: [Samba] need good tdbsam reference

2009-03-27 Thread MargoAndTodd
MargoAndTodd wrote: I keep feeling like I am missing something. Like This too: I think I failed to set up the database that winbindd and wins wants to read. /var/log/messages: Mar 27 22:12:03 rn1 winbindd[6580]: [2009/03/27 22:12:03, 0] nsswitch/idmap.c:idmap_alloc_init(820) Mar 27 22:12

Re: [Samba] need good tdbsam reference

2009-03-27 Thread MargoAndTodd
MargoAndTodd wrote: I keep feeling like I am missing something. Like This too: I think I failed to set up the database that winbindd and wins wants to read. /var/log/messages: Mar 27 22:12:03 rn1 winbindd[6580]: [2009/03/27 22:12:03, 0] nsswitch/idmap.c:idmap_alloc_init(820) Mar 27 22:12

Re: [Samba] need good tdbsam reference

2009-03-27 Thread MargoAndTodd
John H Terpstra - Samba Team wrote: MargoAndTodd wrote: Hi All, Can someone point me to a good reference on how to configure "tdbsam" ? Many thanks, -T In your smb.conf [global] passdb backend = tdbsam Done! It's in my example in Chapter 3 of Samba3-ByExample.

[Samba] What are these failed to create errors?

2009-03-27 Thread MargoAndTodd
Hi All, What does these error message mean: Mar 27 22:38:44 rn1 nss_wins[7195]: create_builtin_administrators: Failed to create Administrators Mar 27 22:38:44 rn1 nss_wins[7195]: create_builtin_users: Failed to create Users Many thanks, -T -- To unsubscribe from this list go to the fol

[Samba] need good tdbsam reference

2009-03-27 Thread MargoAndTodd
Hi All, Can someone point me to a good reference on how to configure "tdbsam" ? Many thanks, -T -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba