[Samba] loosing connection to samba shares

2005-08-19 Thread Stumpfl Markus
hi list,


I have this curious problem:
When I connect to the server directly (i.e. \\server\share), everything is
working fine. I can copy as many files as I want, I can watch movies or
listen to MP3s without a problem.

But when I try to connect via mapped network drives (i.e. z:), these
things just don't work, because always after a view seconds I get an error
message like Specified Network Path no longer valid.

The only clue I have is this error message from 'log.smbd':
---
[2005/06/28 22:42:12, 1, pid=13714, effective(1000, 100), real(1000, 0)]
smbd/service.c:make_connection_snum(642)
  hotshot (192.168.0.2) connect to service Games initially as user hotshot
(uid=1000, gid=100) (pid 13714)
[2005/06/28 22:42:13, 0, pid=13714, effective(1000, 100), real(1000, 0)]
lib/fault.c:fault_report(36)
  ===
[2005/06/28 22:42:13, 0, pid=13714, effective(1000, 100), real(1000, 0)]
lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 13714 (3.0.13-1.1-SUSE)
  Please read the appendix Bugs of the Samba HOWTO collection
[2005/06/28 22:42:13, 0, pid=13714, effective(1000, 100), real(1000, 0)]
lib/fault.c:fault_report(39)
  ===
[2005/06/28 22:42:13, 0, pid=13714, effective(1000, 100), real(1000, 0)]
lib/util.c:smb_panic2(1495)
  PANIC: internal error
[2005/06/28 22:42:13, 0, pid=13714, effective(1000, 100), real(1000, 0)]
lib/util.c:smb_panic2(1503)
  BACKTRACE: 6 stack frames:
   #0 /usr/sbin/smbd(smb_panic2+0xe9) [0x59a6f9]
   #1 /usr/sbin/smbd(smb_panic+0xe) [0x59a87e]
   #2 /usr/sbin/smbd [0x5880bd]
   #3 /lib64/tls/libc.so.6 [0x2c0faf00]
   #4 /lib64/tls/libc.so.6(__getmntent_r+0x1b) [0x2c1814ab]
   #5 [0x7fffb9b0]
---


Client: WinXP SP2
Server: SuSe 9.3-64 w/ Samba 3.0.13


If someone could help me I would be extremely gratefull! Thanks in advance
for any help, hints, tipps or pointers.


/Markus

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


[Samba] Loosing connection to samba shares

2005-07-26 Thread Stumpfl Markus
hi list,


I've set up my server as standard fileserver and typically everything's
working as expected. But sometimes I have these weird connection losses when
copying onto the server AND reading from it. At least it seams as if it only
happens when there are multiple activities (especially when copying onto the
server while watching a DVD lying on another share).

The only thing I've seen in the logs so far concerning errors is this
Signal 11 error. It says to see the official Samba howto for more
information and help. But I couldn't find anything related to this error!

Server: SuSe9.3-64
samba-3.0.13-1.1.x86_64
Client: WinXP Pro SP2


Please, if someone could help me or point me to some docs I could read
through I would be very gratefull!

Thanks,
Markus


Config:
===
[global]
netbios name = server
server string = priv. Samba Server
workgroup = home
domain logons = no
domain master = yes
local master = yes
preferred master = yes
os level = 255
security = user
default service = homes
interfaces = eth0 lo
bind interfaces only = true
hosts allow = 192.168.0.0/255.255.255.0 127.0.0.1
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
deadtime = 10
lm announce = no

map to guest = Bad User


# logs
#---
log level = 1
syslog = 0
;   passwd chat debug = yes
debug timestamp = yes
debug pid = yes
debug uid = yes


# passwörter
#---
smb passwd file = /etc/samba/smbpasswd
encrypt passwords = yes
;   unix password sync = yes
;   passwd program = /usr/bin/passwd %u
;   passwd chat = *new*password* %n\n *retype*new*password* %n\n *pa


# freigaben
#---
[_upload]
path = /home/_upload
browseable = yes
read only = no


Log:

[2005/06/28 22:42:12, 1, pid=13714, effective(1000, 100), real(1000, 0)]
smbd/service.c:make_connection_snum(642)
  test (192.168.0.2) connect to service Upload initially as user test
(uid=1000, gid=100) (pid 13714)
[2005/06/28 22:42:13, 0, pid=13714, effective(1000, 100), real(1000, 0)]
lib/fault.c:fault_report(36)
  ===
[2005/06/28 22:42:13, 0, pid=13714, effective(1000, 100), real(1000, 0)]
lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 13714 (3.0.13-1.1-SUSE)
  Please read the appendix Bugs of the Samba HOWTO collection
[2005/06/28 22:42:13, 0, pid=13714, effective(1000, 100), real(1000, 0)]
lib/fault.c:fault_report(39)
  ===
[2005/06/28 22:42:13, 0, pid=13714, effective(1000, 100), real(1000, 0)]
lib/util.c:smb_panic2(1495)
  PANIC: internal error
[2005/06/28 22:42:13, 0, pid=13714, effective(1000, 100), real(1000, 0)]
lib/util.c:smb_panic2(1503)
  BACKTRACE: 6 stack frames:
   #0 /usr/sbin/smbd(smb_panic2+0xe9) [0x59a6f9]
   #1 /usr/sbin/smbd(smb_panic+0xe) [0x59a87e]
   #2 /usr/sbin/smbd [0x5880bd]
   #3 /lib64/tls/libc.so.6 [0x2c0faf00]
   #4 /lib64/tls/libc.so.6(__getmntent_r+0x1b) [0x2c1814ab]
   #5 [0x7fffb9b0]

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


[Samba] Linux - Samba Authentication

2005-07-08 Thread HTL Traun | Stumpfl Markus
Hi list,


since SuSe9.x it's possible to authenticate the linux-users not only via NIS
or LDAP, but also with a samba server.
The only thing left to do - besides enabling it in yast - is edit the
smb.conf:

[global]
workgroup = domain-name
security = domain
encrypt passwords = yes
idmap uid = 1-2 
idap gid = 1-2
template shell = /bin/bash
template homedir = /home/users/%u
template primary group = Domain Users


So, with this setup, linux login is possible but:

1. the uid/gid is not the real one! Typically it would be 100,101,... not

   1,10001,...
   Will this be a problem for the mounted samba-shares? Or do these numbers
   even correlate with each other? (linux - samba)?

2. the home-dir is not the right one (- /home/users/user-name), it should 
   be something like /home/users/goupe-name/user-name

3. How should Linux automatically mount the users samba shares? Without it, 
   there is no KDE login, nor can the user access his files or the 
   files from his group.
   So how to enable/configure automount?


thx in advance for any help or pointers,

Markus

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


AW: [Samba] logon script question

2004-03-15 Thread Stumpfl Markus
yes:

@echo Installing Printers ...
rundll32 printui.dll,PrintUIEntry /dn /n \\server\printer /q
rundll32 printui.dll,PrintUIEntry /in /n \\server\printer /q /u

Markus


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von Lukas Meyer
 Gesendet: Montag, 15. März 2004 12:20
 An: [EMAIL PROTECTED]
 Betreff: [Samba] logon script question
 
 Hi list
 
 I'm wondering if it and how it is possible to add printers to a
 workstation with a logon script like mounting shares. I can't find
 anything about this on the inetnet so is this possible?
 
 regards
 lm
 --
 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


AW: [Samba] No error on change to password below configured length

2004-03-11 Thread Stumpfl Markus
I would set the 'Minimum Password Length' in the 'Local Policy Settings' of
the Clients to the same value as in linux. So if in Linux your users need =
5 chars, set Minimum Password Length also to 5.

cheers,

Stumpfl Markus


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von Florian Thiel
 Gesendet: Donnerstag, 11. März 2004 11:43
 An: Samba Mailinglist
 Betreff: [Samba] No error on change to password below configured length
 
 Hello!
 
 Our users change their passwords using the original Win2K password
 change mechanisms (Ctrl+Alt+Del - Change Password). If one of the users
 changes his password and the new one is shorter then 5 characters it is
 rejected. This appears in the logfile and that's OK so far but the users
 don't get notified. They think the password has changed and use the new
 one.
 
 Why is that? Could it be this is a config thing?
 
 We're using Samba 2.2.3a on Debian GNU/Linux.
 
 Regards,
 Florian Thiel
 --
 Florian Thiel - Medienzentrum Kassel
 Systembetreuung Internet- und Kommunikationstechnik
 Kasseler Schulen am Netz - http://www.medienzentrum-kassel.de
 --
 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


AW: [Samba] samba document files

2004-03-11 Thread Stumpfl Markus
well, not really samba related but:

in OO, etc.: 'Save As...' -- and set the filetype to 'Microsoft *'

* = Excel, Word, etc.


Markus



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von geralds
 Gesendet: Donnerstag, 11. März 2004 12:34
 An: [EMAIL PROTECTED]
 Betreff: [Samba] samba document files
 
 Hi.
 
 On my Samba  machine i have word processors like OpenOffice org and
 Abiword
 that i use for preparing my documents .
 
 When i want to view these files on a microsoft windows machine i see
 complex
 text that is not readeable(not user friendly).
 What can i really do to see that these documents can be read on a micrsoft
 windows machine.
 
 Thanks
 Rgds,
Segie
 --
 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


AW: [Samba] Re: windows xp slow directory listing

2004-03-10 Thread Stumpfl Markus
What I know it's not samba related. This happens in a Win only
environment too!
I have the same problem at home (only 2-3 pcs) but in work with 50+ PCs
there is no problem whatsoever because:
it really helps if the samba server is the browse list master!
Normally that's any PC on the network, but the speed/uptime/...
controlls who will win the master election.
So if you set
os level = 255
preferred master = yes
domain master = yes
  local master = yes
the samba server should always win the election and be the browse list
master!

I hope this helps,

Markus

PS: For WinXP you really should have a working dns system (with the
reverse entries!)



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von Jeff Umbach
 Gesendet: Dienstag, 09. März 2004 20:22
 An: [EMAIL PROTECTED]
 Betreff: [Samba] Re: windows xp slow directory listing
 
 Are you on a domain?  I found this problem to be happening and after I
 went
 into the local security policies on WinXP and disabled autoenrollment
 things
 got faster.  Plus DNS was 'causing an issue as well.  Remember that
Win98
 prefers WINS but Win2k and WinXP prefer to use DNS.
 
 Ertan Kucukoglu [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 Dear All,
 
 I could not find a site to search for the mailing list archives. If my
 question is already asked, sorry for the inconvenience, but please
 provide me some link(s) for solving it.
 
 I have a FreeBSD 5.2-CURRENT server. Samba 2.2.8 is installed and
 running on it. I have no problems with Windows 98 machines in the LAN.
 My only problem is with Windows 2000, Windows XP machines.
 
 Directory listing is slow. If you click on a map drive in windows
 explorer, it takes 10-60 seconds for explorer to list the contents.
 After you can browse in directories as you are browsing your own C
 drive. If you do not use your mapped drive for sometime (did not
 counted) first listing is slow again.
 
 Until now, I could not find out the problem. If this is not a known
 problem, I captured my computer packets with etheral program. If
 somebody is interested, I can forward the capture file (85k). What I
did
 during capturing was to click on mapped drive and wait until it lists
 the contents of the drive. After I stopped capturing.
 
 Regards,
 
 --
 Ertan Küçükoðlu
 [EMAIL PROTECTED]
 Ozler Plastik San. ve Tic. A.S.
 Tel: +90.212.676.6767
 Fax: +90.212.676.8012
 
 --
 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


AW: [Samba] Disabling Machine Account password change

2004-03-10 Thread Stumpfl Markus
Hi,

what you could try (I've set it that way and works fine - for now ;-)):

open 'gpedit.msc'
\Computerconfiguration\Windows Settings\Security Settings\Local
Settings\Security Options\Domain Member: Maximum Age of Computer
Passwords
set that to 999 (maximum). So you should be fine for some time...

Normally in Windows if you set something like that to 0, than it would
be disabled and the Computer-Password would be never reset but because
Samba handles that otherwise... (at least what I know of)

Markus


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von Matthieu Le Corre
 Gesendet: Mittwoch, 10. März 2004 18:09
 An: [EMAIL PROTECTED]
 Betreff: Re: [Samba] Disabling Machine Account password change
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Le mercredi 10 Mars 2004 16:39, Florian Thiel a écrit :
  Hello!
 
 Hello ...
 i think i've the same problem 
 
 
  We have a school environment with Debian servers and Win2K clients.
  There are about 700 clients and 30 servers. There is piece of
hardware
  installed on all clients the resets the changes made to the local
disk
  at reboot.
 
 we are working with disk image ..but the problem is the same !
 
 
 
  This seems to be a problem with Win2K changing machine account
passwords
  every 30 days (according to MSDN). The server saves the password,
the
  client resets it and domain logon is impossible ever after.
 
 can you give me the URL reference where you see it ! i'm interested on
the
 subject !
 
 
 
 
  Now I want to disable this password changing. It is possible with a
  Windows PDC using group policy (at least that's what Windows Admins
told
  me). I found for Samba it's hardcoded in the sources. Would it be
  possible to make that an option for smb.conf? I'm not a C
programming
  professional so I'm afraid of hacking the Samba source (especially
with
 no
  similiar examples in the sources).
 
  Is there someone working on that kind of thing or are there any
  implications I do not know about?
 
 Can you give me the location on the source where you see that
 
 mayby i've two solution ...
 1) juste backup the old passwd on your samba server en reinject it
every
 night
 2) a more clean ways to do :P : use  gpedit.msc on your win2k
workstation
 ( mmc componant) go to windows parameter security setting local
 policies security options and enable  prevent system maintenance
of
 computer account password  .
 not sur of the result ... but you can try ;)
 
 
 
 
  Thanks in advance,
  Florian
  --
  Florian Thiel - Medienzentrum Kassel
  Systembetreuung Internet- und Kommunikationstechnik
  Kasseler Schulen am Netz - http://www.medienzentrum-kassel.de
 
 - --
 Matthieu Le Corre
   --
   CIE -- UFR sciences
   Université de Nantes
02-51-12-58-65
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (GNU/Linux)
 
 iD8DBQFAT0vDHj6Gj+ly9W4RAhjvAKDpvk2ygntMitwmbAvKcE7NtRGE7QCfahSG
 MwlbQ+Wrue8E5KXaa36y0xs=
 =XKFR
 -END PGP SIGNATURE-
 --
 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


AW: [Samba] Samba Update Newbie Problem

2004-03-09 Thread Stumpfl Markus
I too installed samba3 under the suse8.2-cli:
 - uninstalled every samba package
 - rpm -i all rpms (i.e.: rpm -i samba3-3.0.2a-30.i386.rpm
samba3-client-3.0.2a-30.i386.rpm samba3-doc-3.0.2a-30.i386.rpm
samba3-winbind-3.0.2a-30.i386.rpm)

So the dependencies are solved by rpm.

Markus



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von F. Zimmerbeutel
 Gesendet: Dienstag, 09. März 2004 09:02
 An: [EMAIL PROTECTED]
 Betreff: [Samba] Samba Update Newbie Problem
 
 Hi
 
 I'm quite new to Linux and now I've got a problem with installing the
 Samba
 3.0.2 RPMs on my SuSE 8.2 system.
 
 I deinstalled the older version of Samba and tried to install by using
the
 rpm -i command.
 After successfully installing the client and documentation RPMs i get
the
 following errors:
 
 pcy23:~ # rpm -i samba3-winbind-3.0.2a-30.i386.rpm
 error: failed dependencies:
 samba is needed by samba3-winbind-3.0.2a-30
 pcy23:~ # rpm -i samba3-3.0.2a-30.i386.rpm
 error: failed dependencies:
 samba3-winbind is needed by samba3-3.0.2a-30
 
 When checking on the client rpm i get the following:
 
 pcy23:~ # rpm -q  samba3-client-3.0.2a-30.i386.rpm
 package samba3-client-3.0.2a-30.i386.rpm is not installed
 pcy23:~ # rpm -i  samba3-client-3.0.2a-30.i386.rpm
 package samba3-client-3.0.2a-30 is already installed
 
 The package is not installed error comes up for every other RPM,
too.
 
 Please help me... I just dont know where my mistake might be.
 
 Bye
 Felix
 
 
 
 
 --
 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


AW: AW: [Samba] WinXP Profiles

2004-03-09 Thread Stumpfl Markus
Hi,

Yeah, I too had that one :-)

The problems are access rights!

So, what I did was the following:

1. I created the standard profile in WinXP (Admin)
installed the progs
set the docs and outlook-paths
started the progs (to check they are working)
set all the desktop settings (for the users!)
played A LOT with gpedit.msc ;-)
2. I created a 2nd admin and logged in
3. in “System\Advanced\User Profile” I selected the Administrator
profile, “copy to” and set the baccess rights to “everyone”/b and
copied it onto the samba server
4. I then I logged in as Admin and deleted everything I didn't need and
changed the desktop setting to admin like

After that I had the profile on the server with the correct rights set
:-)
Then - if you didn't copy the profile as 'root' - I did chown -R
root:root users.man.

directory
---

server:/home/profiles#
drwxr-xr-x   10 root root 4096 Mar  5 11:38 users.man

smb.conf
 

[global]
logon path = \\%L\profiles\users.man

[profiles]
path = /home/profiles


-

Well, that should do the trick.

cheers,

Markus



 -Ursprüngliche Nachricht-
 Von: Derrick Seymour [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 09. März 2004 16:30
 An: Stumpfl Markus
 Betreff: Re: AW: [Samba] WinXP Profiles
 
 First off let me thank you for your helpNext, I have one more
 question,
 well really a problemI have set everything up like you described
but
 I'm
 receiving an error message upon logon:
 
 Windows cannot log you on because your roaming mandatory profile is
not
 available, this may be cause by incorrect file system permissions or
 network
 problems.  Contact  you network administrator.
 
 The profile I created has read permissions for everyone...
 
 I am currently troublshooting this, but I was wondering if you ran
into
 this
 when you first set this up
 
 Thanx again
 
 


--
 --
 
 Derrick Seymour
 Administrative Services
 Northeastern Regional Information Center
 Capital Region BOCES
 


--
 --
 
 


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


AW: [Samba] WinXP Profiles

2004-03-08 Thread Stumpfl Markus
Create a so called mandatory profile:
Copy you perfect user profile into a new directory (of course in the
profiles path) with the name 'users.man' and rename the 'ntuser.dat'
to 'ntuser.man'.
And of course you have to change the smb.conf like
'logon path = \\%L\profiles\users.man'

Now the users CAN configure the desktop and everything but it will not
be saved!
It's working perfectly for me (up to now at least :-))

Beware though: I don't know what happens with the My Documents Folder,
so I would let it point into the 'real' users home directory. In Windows
I've created the profile it should look like, pointed the Outlook-file
and the home-dir. to the users path (i.e. 'z:'), copied this profile
onto the server and now hopefully all important data will be stored,
except the profile.

cheers

Markus



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von Derrick Seymour
 Gesendet: Montag, 08. März 2004 17:34
 An: [EMAIL PROTECTED]
 Betreff: [Samba] WinXP Profiles
 
 Does anyone know how to edit smb.conf so that a users profile won't be
 saved
 upon log out?  Or how to get it done any other way?
 
 
 


--
 --
 
 Derrick Seymour
 Administrative Services
 Northeastern Regional Information Center
 Capital Region BOCES
 


--
 --
 
 
 --
 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


AW: [Samba] SAMBA 3 as PDC - W2K/WXP Pro logon trouble

2004-03-03 Thread Stumpfl Markus
Oh, so you are using ldap..., well I'm still working with smbpasswd as
backend :-(

Anyway, I tried 'net getlocalsid' for the domain-sid - ok
Next 'net usersidlist' which should show me the user-sids - didn't
work: [2004/03/04 06:40:05, 0, pid=31232, effective(0, 0), real(0, 0)]
utils/net_rpc.c:net_usersidlist(2158)
  Could not get the user/sid list

So used 'net user' instead, which then gave me the user list!?

What am I missing here? And is there a way to see the machine sids too?
Or are they included in the users?

Thanks in advance,

Markus



 -Ursprüngliche Nachricht-
 Von: Scott Gross [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 03. März 2004 18:29
 An: Stumpfl Markus
 Betreff: RE: [Samba] SAMBA 3 as PDC - W2K/WXP Pro logon trouble
 Wichtigkeit: Hoch
 
 I use a little windows gui program called LDAP browser to look at my
LDAP
 entries and I was just looking through the entries at the SID's since
 someone suggested it might be an SID problem and noticed the
discrepancy
 on
 the domain name entry.  I changed it to match all the others just to
see
 if
 it would have any effect and wallah it worked.
 
  -Original Message-
  From: Stumpfl Markus [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, March 02, 2004 10:52 PM
  To: 'Scott Gross'
  Subject: AW: [Samba] SAMBA 3 as PDC - W2K/WXP Pro logon trouble
 
  Thx, but how did you find out? With what commands? Sry for the
stupid
  questions, but I'm kinda knew to samba.
 
  Thanks in advance,
 
  Stumpfl Markus
 
 
 
   -Ursprüngliche Nachricht-
   Von: Scott Gross [mailto:[EMAIL PROTECTED]
   Gesendet: Dienstag, 02. März 2004 18:14
   An: Stumpfl Markus; Scott Gross
   Betreff: RE: [Samba] SAMBA 3 as PDC - W2K/WXP Pro logon trouble
  
   I got mine working it was SID mismatch. The Domain name SID was
  different
   from the server and the users.
  
  
-Original Message-
From: Stumpfl Markus [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 11:22 PM
To: 'Scott Gross'
Subject: AW: [Samba] SAMBA 3 as PDC - W2K/WXP Pro logon trouble
   
Do you get the problem (when trying domain logon): invalid
password
  or
domain?
I've got the same prob...
   
I'll tell you, when it's working and vice versa, hopefully ;-)
   
Stumpfl Markus
   
   
   
 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED]
  Im
 Auftrag von Scott Gross
 Gesendet: Freitag, 27. Februar 2004 18:25
 An: [EMAIL PROTECTED]
 Betreff: [Samba] SAMBA 3 as PDC - W2K/WXP Pro logon trouble

 I have a Samba 3 PDC running with an LDAP backend on Red Hat
8.
  All
 authentication appears to be working correctly but I can't
login
  to
the
 domain from a W2K or WXP Pro workstation after I have
successfully
joined
 them to the domain.  If I login locally to the workstation I
can
browse
 the
 Samba shares just fine.  I have checked the schannel and sign
or
  seal
 settings on both the workstations and the server and made sure
  they
were
 set
 to disable but still no luck.  Can anyone give me any ideas on
how
  to
 solve
 this problem.



 TIA

 Scott



 Smb.conf

 # Samba config file created using SWAT

 # from 0.0.0.0 (0.0.0.0)

 # Date: 2003/11/25 10:42:04



 # Global parameters

 [global]

 workgroup = FIFEDEV

 netbios name = Dev

 null passwords = Yes

 passdb backend = ldapsam

 passwd program = /usr/local/bin/smbldap-passwd.pl -o
%u

 passwd chat = *new*password* %n\n *new*password:* %n\
 *successfully*

 passwd chat debug = Yes

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

 socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192

 add user script = /usr/local/sbin/smbldap-useradd.pl
-a
  %u

 delete user script =
/usr/local/sbin/smbldap-useradd.pl -d
%u

 add group script = /usr/local/sbin/smbldap-useradd.pl
-a
  -g
%g%

 delete group script =
/usr/local/sbin/smbldap-useradd.pl
  -d -g
 %g

 add user to group script =
  /usr/local/sbin/smbldap-useradd.pl
-j -
 u
 %u -g %g

 delete user from group script =
/usr/local/sbin/smbldap-useradd.pl
 -j -u %u -g %g

 set primary group script =
  /usr/local/sbin/smbldap-useradd.pl
-m -
 u
 %u -gid %g

 add machine script =
/usr/local/sbin/smbldap-useradd.pl -a
  -w
%m

 logon script = logon.bat

 logon path =

 logon drive =

 domain logons = Yes

 os level = 22

 preferred master = Yes

 domain master = Yes

 wins support = Yes

AW: [Samba] Login-problem samba 3.0.2.a Win XP Prof

2004-03-02 Thread Stumpfl Markus
Hi list,

I too have this 'problem': this desktop.ini - typically for saving
directory/desktop settings - is visible in about every directory on the
roaming profiles: desktop, autostart, quickstart, etc.

Does anyone know why this happens?

Thx,

Stumpfl Markus


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von Uwe Bering
 Gesendet: Dienstag, 02. März 2004 09:31
 An: [EMAIL PROTECTED]
 Betreff: [Samba] Login-problem samba 3.0.2.a Win XP Prof
 
 Hi there,
 
 WinXP Prof-Client on a samba 3.0.2a-Domain
 
 The domain-login ist ok in general. But when a user logs in, he gets
 an editor-window with a desktop.ini.
 
 content:
  [.ShellClassInfo]
 [EMAIL PROTECTED] ,-21787 )
 
 i think, this ist desktop.ini in
 //%L/profiles/%u/startmenu/autostart.
 
 Do you have an idea how to ban this editor window from desktop after
 a login?
 
 thanx and excuse my bad english
 
 Uwe
 --
 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] PDU schannel errors

2004-02-24 Thread Stumpfl Markus
I extracted the following weird error from the sys-log regarding pdu and
schannel (have the same PID):

Feb 24 10:40:37 s-svr01 smbd[31833]: [2004/02/24 10:40:37, 0, pid=31833,
effective(65534, 65533), real(65534, 0)]
rpc_server/srv_pipe.c:api_pipe_netsec_process(1371)
Feb 24 10:40:37 s-svr01 smbd[31833]:   failed to decode PDU
Feb 24 10:40:37 s-svr01 smbd[31833]: [2004/02/24 10:40:37, 0, pid=31833,
effective(65534, 65533), real(65534, 0)]
rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
Feb 24 10:40:37 s-svr01 smbd[31833]:   process_request_pdu: failed to do
schannel processing.


I also sometimes get this error. Does someone know, what this means?

Feb 24 10:41:57 s-svr01 smbd[31573]: [2004/02/24 10:41:57, 0, pid=31573,
effective(1137, 505), real(1137, 0)]
rpc_server/srv_util.c:get_domain_user_groups(372)
Feb 24 10:41:57 s-svr01 smbd[31573]:   get_domain_user_groups: primary
gid of user [pichle.a] is not a Domain group !
Feb 24 10:41:57 s-svr01 smbd[31573]:   get_domain_user_groups: You
should fix it, NT doesn't like that
Feb 24 10:42:24 s-svr01 smbd[31573]: [2004/02/24 10:42:24, 0, pid=31573,
effective(1137, 505), real(1137, 0)]
smbd/posix_acls.c:create_canon_ace_lists(1481)
Feb 24 10:42:24 s-svr01 smbd[31573]:   create_canon_ace_lists: malformed
ACL in file ACL ! Deny entry after Allow entry. Failing to set on file
jfdf/hp.bmp.


Server: Samba 3.0.2a-SuSE
Client: WinXP-SP1 w/ SignOrSeal-patch

If you need more information (syslogs, config, ...), please mail me!

Thanks in advance,

Stumpfl Markus




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


[Samba] [Old] Clients cannot login into Samba-Domain

2004-02-18 Thread Stumpfl Markus
I had a working Samba-2.2.7a-SuSE domain (with roaming profiles,etc.)
but this server crashed. So I copied the samba directory with the config
files (including secrets.tdb, passwd, ...) from my backup to the second
server and started nmb and smb, but the Clients could'nt log onto the
domain. The error was something like: You couldn't log on. Please check
username and domain and try to reenter the password
So I tried Samba3.0.2a-SuSE, changed the config somewhat and started
the deamon but no luck either.

What's working:
- connecting to the shares of the samba server (using usr/pwd)
- re-insert the PC into the domain
= domain logon is working again

So I figured this must be a SID problem. Like domain-SID != machine-SID.
To test, whether this is the problem, I used the following commands but
the SID was always the same:
net getlocalsid ,domain'

net rpc getsid

rpclient ,server' -U ,user' 
  lsaquery

pdbedit -Lv ,user'

For Windows I downloaded the program getsid, which compares two
account-SIDs.
getsid \\server 'user-account' \\server 'machine-account'

- with that I checked, if the PC SID was the same as an User SID -
true

Summary:
 - Same Server  Clients as befor the crash.
 - that includes the configs and SIDs
 - same SID everywhere (at least the ones I could figure out)
 - domain logon only functioning, after REJOINING the domain

Now, I could of course go to every PC and rejoin the domain, but that's
not very funny nor productive.
So what do I have to change on the server to allow the existing PCs to
login?


mfg. Stumpfl Markus
===
mail: [EMAIL PROTECTED]



 setup -
Clients: WinXP-SP1  (with reg-patch)

Server: SuSe 8.2 w/ Samba 3.0.2a

 config - 
[global]
netbios name = 'server'
server string = Samba %v
workgroup = 'domain'
interfaces = eth0
bind interfaces only = true
hosts allow = 'network'
follow symlinks = no
wide links = no
hide dot files = yes
hide special files = yes
max disk size = 800
invalid users = bin daemon lp mail games wwwrun ftp man news
uucp sshd ntp at postfix named irc squid ldap pop mailman
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
deadtime = 15
lm announce = no
unix charset = LOCALE
unix extensions = no

syslog = 1
debug timestamp = yes
debug pid = yes
debug uid = yes

smb passwd file = /etc/samba/smbpasswd
encrypt passwords = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *new*password* %n\n *retype*new*password* %n\n
*password*changed*

load printers = no

os level = 128
security = user
preferred master = yes
domain master = yes
domain logons = yes
default service = homes
logon script = logon.bat
time server = yes
username map = /etc/samba/smbusers


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