RE: [Samba] Sudden domain login problems from XP-pro sp2 clients, Please help!

2005-01-19 Thread Daniel Gapinski
I have been having the same problem, except that it is not limited to
XP. What seems to happen in my case is that a I can rejoin a computer
and then another computer exhibits the same problem. I never had these
issues when I was using Samba 2.2.7a (I had other minor issues, but
nothing as weird as this). I have sometimes removed entries from
smbpasswd before rejoining, which might help the rejoining, but does not
help the problem of other computers getting kicked off the domain. 

I run a small 13 computer network off a Samba server made by a mere
P2-233, 256MB ram, 4GB HD (2GB free).

Where does one start with this?

Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of henry
Sent: Wednesday, January 19, 2005 10:51 AM
To: samba@lists.samba.org
Subject: Re: [Samba] Sudden domain login problems from XP-pro sp2
clients,Please help!


The windows firewall is off. I have viewed the installation history and 
no windows updates have been installed in the past month.

Tomasz Chmielewski wrote:
 henry wrote:
 
 3. Tried leaving and rejoining the domain. When I do this, I am able
 to rejoin fine, it says Welcome to the domain domain. Upon
reboot, 
 the message becomes The system cannot log you on because the domain 
 DOMAIN is not available
 
 
 don't you have any firewall problems etc.? it might happen during
 windows update without you doing anything on Samba side.
 
 
 Tomek
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Slow update time for Desktop icons

2004-11-15 Thread Daniel Gapinski
Check out this article: http://techrepublic.com.com/5102-6270-5164407.html
My boss was having the same too much crap problem and this helped a lot.

-Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Misty Stanley-Jones
Sent: Monday, November 15, 2004 4:06 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Slow update time for Desktop icons


I've got one user that I just put onto the new Samba 3.0.8 server.  He's on 
WinXP SP1.  He has a ton of icons and things on his desktop (39M worth of 
data according to his profile) but I'm not sure if that is a problem.  When 
he logs in, a few of his icons which point to network applications have only

the default Windows shortcut image.  If he right-clicks the Desktop and 
clicks Refresh the pictures become what they are supposed to be.  I do not

see this problem with other systems, but this is the only XP SP1 box I have.

We can't upgrade him because we are waiting on some hardware compatibility 
issues to be resolved.

Is it just that he has too much on his desktop, or is there something I can
do 
on either his side or the server side to fix this issue?  It seems somewhat 
similar to other refresh problems of the print queue and Explorer windows.

Thanks,
Misty
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Intermittent failed logon for one computer

2004-10-18 Thread Daniel Gapinski
Hello, 
 
We have been using Samba 3.0.7 for almost a month now, and today marks
the second time that I see a machine (one out of twelve on our network
that gives this error when I log in:
 
 The system cannot log you on to this domain because the system's
computer account in its primary domain is missing or the password on
that account is incorrect.
 
Last time this happened, I thought it might be a problem with that
computer needing to be removed and then rejoined to the domain, which
didn't work (the user still was not able to log on), and then half an
hour later, the user could log on again. 
 
Can anybody tell me what might be wrong - on other posts it looks like a
problem with the guest account (nobody), but specifying the nobody
account as guest doesn't seem to help (though I did check to make sure
that a nobody account in fact existed). 
 
I should mention that the 2 computers that had this problem are on a
subnet (192.168.1.0). I am sending my smb.conf as a post script. Thanks
for your help!!!
 
My best, 
Dan Gapinski
 
[global]
;
;+ Server Settings  +
;
 workgroup = QUASAR
 netbios name = Jupiter
 server string = QSI Office Server %v
 hosts allow = 192.168.1. 192.168.0. 192.168.2. 192.168.3. 192.168.4.
127.0.0.1
 log level = 2
 log file = /var/log/samba/%m.log
 max log size = 0
 time server = yes
 
;
;+ Domain Settings  +
;
 os level = 35
 domain logons = yes
 
;
;+ Browse Settings  +
;
 domain master = yes
 local master = yes
 preferred master = yes
 remote browse sync = 192.168.1.255 192.168.2.255 192.168.3.255
192.168.4.255
 remote announce = 192.168.1.255 192.168.2.255 192.168.3.255
192.168.4.255
 
;
;+ WINS Settings  +
;
 wins support = yes
 guest ok = yes
 dns proxy = no
 
;
;+ User and Security Settings   +
;
 logon drive = z:
 logon home = 
 logon path = 
 encrypt passwords = yes
 smb passwd file = /etc/samba/smbpasswd
 username map = /etc/samba/smbusers
 min password length = 3
 guest account = nobody
 
;++
;+ added 10-Sep-2003 for file server support  +
;++
# admin users = @public
 nt acl support = yes
 security mask = 0777
 force security mode = 0
 directory security mask = 0777
 force directory security mode = 0
 
;++
;+ Management Scripts   +
;++
 add user script = /usr/sbin/useradd -m %u
 delete user script = /usr/sbin/userdel -r %u
 add group script = /usr/sbin/groupadd %g
 delete group script = /usr/sbin/groupdel %g
 add user to group script = /usr/sbin/usermod -G %g %u
 add machine script = /usr/sbin/useradd -d /dev/null -g machines -s
/bin/false -M %u
 
;++
;+ Logon Scripts   +
;++
# NOTE: SAMBA CAN ONLY RUN ONE SCRIPT AT A TIME!
# run a general logon batch file for everyone
 logon script = logon.bat
# run a specific logon batch file per workstation (machine)
#logon script = %m.bat
# run a specific logon batch file per username
#logon script = %U.bat
 
;++
;+ General Share Settings +
;++
 preserve case = yes
 short preserve case = no
 default case = lower
 case sensitive = no
 
(then the share settings...)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Just a quick suggestion for backup solution, please???

2004-09-20 Thread Daniel Gapinski
I backup our RedHat linux server over our network to tape every night
via Retrospect Server 6.5. While it does not offer decent support for
other linux flavors, you can try to install the client rpm using alien
or something like that. I've never gotten it to work on Debian, but I am
a mere grasshopper at Linux.

Dan Gapinski



On Friday 17 September 2004 19:14, Mark Jones wrote:
 Hi everybody,

 Ive been using samba for a while, but I have no backups... Ive just 
 added a 160Gb IDE disk to the server, so Im going to use it as a 
 online backup. Does anybody have a suggestion for a backup solution? 
 Im a litte desperate, things like Amanda or Bacula seems a little too 
 much for me...

 Id just like something simple and effective, with some easy way to 
 Restore files...

 My Samba file storage uses a 140Gb scsi - raid-5.

 Any quick suggestion, please?

 Thanks a lot!
 []s,
 Mark Jones

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO  Reference Guide, ISBN: 0131453556 Samba-3
by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 OpenLDAP
by Example, ISBN: 0131488732 Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Re: Ran into a problem upgrading to Samba 3.0.7

2004-09-16 Thread Daniel Gapinski
Thanks - I got it after studying the manpage. 

Appreciate your help though!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Igor Belyi
Sent: Wednesday, September 15, 2004 9:47 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Re: Ran into a problem upgrading to Samba 3.0.7


Daniel Gapinski wrote:
 That doesn't seem to work. Here is how I used it -(where I put [sid], 
 that means the whole alphanumeric sid with dashes, by itself without 
 the
 brackets):
 
 net groupmap delete [sid]
 net groupmap delete [sid]
 net groupmap delete ([sid])
 net groupmap delete ([sid])
 
 What am I doing wrong in trying to delete this double Domain Admins 
 group?

net groupmap delete sid=[sid]

Igor

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] deprecated entries?

2004-09-15 Thread Daniel Gapinski
Hello,
 
I just upgraded to Samba 3.0.7 from 2.2.7a, and think I have most of the
bugs worked out now. But I have to wonder if some of my smb.conf entries
have deprecated or morphed into other newer entries. Would anybody care
to point me to where I could evaluate that myself?
 
Thanks,
Dan
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Ran into a problem upgrading to Samba 3.0.7

2004-09-14 Thread Daniel Gapinski
Hi everybody,

I am almost done with my migration to Samba 3 using smb passwd, and I
have to say I like the tools a lot. I did run into a problem though, and
I think it is because I used the domain admin group line in smb.conf,
not knowing it had deprecated. I removed it, but now when I run net
groupmap list, I have 2 entries for the Domain Admins group. 1 entry
maps to my UNIX admin group, and the other maps to root. The practical
downside of this is that when I log onto my account (a member of
admin/Domain Admins), I have no administrative privilege. 

I think that the double entry is causing the problem, but when I run
'net groupmap delete Domain Admins', it will not allow me to delete
the account so as to recreate it.

Any suggestions?

Thanks,
Dan Gapinski

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Ran into a problem upgrading to Samba 3.0.7

2004-09-14 Thread Daniel Gapinski
Right, but for which one - root or Domain Admins? I assume root, but I
have assumed wrongly before.

Thanks for the help!
Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Misty Stanley-Jones
Sent: Tuesday, September 14, 2004 8:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Ran into a problem upgrading to Samba 3.0.7


 I think that the double entry is causing the problem, but when I run 
 'net groupmap delete Domain Admins', it will not allow me to delete 
 the account so as to recreate it.

 Any suggestions?


Delete using the SID, not the group name.

Cheers,
Misty

 Thanks,
 Dan Gapinski
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Ran into a problem upgrading to Samba 3.0.7

2004-09-14 Thread Daniel Gapinski
That doesn't seem to work. Here is how I used it -(where I put [sid],
that means the whole alphanumeric sid with dashes, by itself without the
brackets):

net groupmap delete [sid]
net groupmap delete [sid]
net groupmap delete ([sid])
net groupmap delete ([sid])

What am I doing wrong in trying to delete this double Domain Admins
group?

Thanks a lot for your help!
Dan


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Misty Stanley-Jones
Sent: Tuesday, September 14, 2004 8:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Ran into a problem upgrading to Samba 3.0.7


 I think that the double entry is causing the problem, but when I run 
 'net groupmap delete Domain Admins', it will not allow me to delete 
 the account so as to recreate it.

 Any suggestions?


Delete using the SID, not the group name.

Cheers,
Misty

 Thanks,
 Dan Gapinski
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Ran into a problem upgrading to Samba 3.0.7

2004-09-14 Thread Daniel Gapinski
Ok, I figured it out by doing:

net groupmap delete sid=[sid]

The group with that sid still appears when I run the 'net groupmap list'
command, but with an ending of - -1 in its line. Does that mean it is
a disabled group specifically?

-Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Daniel Gapinski
Sent: Tuesday, September 14, 2004 11:11 AM
To: 'Misty Stanley-Jones'; [EMAIL PROTECTED]
Subject: RE: [Samba] Ran into a problem upgrading to Samba 3.0.7


That doesn't seem to work. Here is how I used it -(where I put [sid],
that means the whole alphanumeric sid with dashes, by itself without the
brackets):

net groupmap delete [sid]
net groupmap delete [sid]
net groupmap delete ([sid])
net groupmap delete ([sid])

What am I doing wrong in trying to delete this double Domain Admins
group?

Thanks a lot for your help!
Dan


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Misty Stanley-Jones
Sent: Tuesday, September 14, 2004 8:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Ran into a problem upgrading to Samba 3.0.7


 I think that the double entry is causing the problem, but when I run
 'net groupmap delete Domain Admins', it will not allow me to delete 
 the account so as to recreate it.

 Any suggestions?


Delete using the SID, not the group name.

Cheers,
Misty

 Thanks,
 Dan Gapinski
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Ran into a problem upgrading to Samba 3.0.7

2004-09-14 Thread Daniel Gapinski
I thought I might have removed the wrong mapping. Great! That is fixed
now. The only real problem that remains is that I log into my
workstations as a user that I had added to my unix group admin. I
mapped admin to Domain Admins by using the command:

net groupmap modify ntgroup=Domain Admins unixgroup=admin

Did I miss anything? When I run 'net groupmap list' it does have the
correct mapping. I just don't know what else to check.

Really appreciating the feedback,
Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of John H Terpstra
Sent: Tuesday, September 14, 2004 11:55 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Ran into a problem upgrading to Samba 3.0.7


On Tuesday 14 September 2004 10:40, Daniel Gapinski wrote:
 Ok, I figured it out by doing:

 net groupmap delete sid=[sid]

 The group with that sid still appears when I run the 'net groupmap 
 list' command, but with an ending of - -1 in its line. Does that 
 mean it is a disabled group specifically?

Yes, but apparently you tried to delete a default group. The -1 means
that it 
is not mapped to a group on your UNIX system. ie: It  can not be used to

assign privileges in UNIX.

- John T.


 -Dan

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf

 Of Daniel Gapinski
 Sent: Tuesday, September 14, 2004 11:11 AM
 To: 'Misty Stanley-Jones'; [EMAIL PROTECTED]
 Subject: RE: [Samba] Ran into a problem upgrading to Samba 3.0.7


 That doesn't seem to work. Here is how I used it -(where I put [sid], 
 that means the whole alphanumeric sid with dashes, by itself without 
 the
 brackets):

 net groupmap delete [sid]
 net groupmap delete [sid]
 net groupmap delete ([sid])
 net groupmap delete ([sid])

 What am I doing wrong in trying to delete this double Domain Admins 
 group?

 Thanks a lot for your help!
 Dan


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf

 Of Misty Stanley-Jones
 Sent: Tuesday, September 14, 2004 8:50 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [Samba] Ran into a problem upgrading to Samba 3.0.7

  I think that the double entry is causing the problem, but when I run

  'net groupmap delete Domain Admins', it will not allow me to 
  delete the account so as to recreate it.
 
  Any suggestions?

 Delete using the SID, not the group name.

 Cheers,
 Misty

  Thanks,
  Dan Gapinski

 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO  Reference Guide, ISBN: 0131453556 Samba-3
by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 OpenLDAP
by Example, ISBN: 0131488732 Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Migrating to a new PDC

2004-09-13 Thread Daniel Gapinski
Hello,

I don't know if my last message went through to the list. If so, kindly
ignore it. I do have a question though.

I am trying to migrate a Samba 2.2.7a PDC to another computer, as it
shows signs of dying HW. I am using my copy of the How-To to adapt the
NT4-style migration to Samba 3. 

I joined the new server to the domain, but when I run net rpc vampire, I
get a message saying that the current domain conflicts with the local
domain. The SIDs displayed are indeed different, so I thought it might
help to run the net rpc getsid command. That doesn't seem to change the
SID in such a way as to have run net rpc vampire successfully.

Any thoughts on where I can go from here?

Thanks,

Dan

 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba