[Samba] changin Workgroupname

2006-05-08 Thread Arno Seidel

Hi list,

which is the best way to change a samba-workgroup (samba PDC + LDAP)
name from WorkgroupA to WorkgroupB?

Or is it possible to change the workgroupname without changing the SID ?


kind regards

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


[Samba] changing Workgroupname

2006-05-08 Thread Arno Seidel

Hi list,

which is the best way to change a samba-workgroup (samba PDC + LDAP)
name from WorkgroupA to WorkgroupB?

Or is it possible to change the workgroupname without changing the SID ?


kind regards

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


[Samba] changing Domain-Name

2006-05-08 Thread Arno Seidel

Hi list,

which is the best way to change a samba-workgroup (samba PDC + LDAP)
name from WorkgroupA to WorkgroupB?

Or is it possible to change the workgroupname without changing the SID ?


kind regards

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


[Samba] strange Problem

2005-10-24 Thread Arno Seidel

Hi list,

mybe there is someone who has / had the same problem like me.
this Problem does not realate direkt to samba but here are many people
with good / excelent knowledge in windows

I´ve here a samba 3.0.14a PDC and a member file server (samba 3.0.14a)
there are several windows 2k clients and xp pro in the office.

My Problem is:

a freshinstalled WinXP Pro Sp2 PC (already joined the domain and added 
some users) ... and a user tires to login the first time on that pc, he 
only get the Box Userdata will be loaded and then the PC reboots ...

it doesn´t matter if the user has data in his profile or just a empty one.
But if i install windows xp without sp2 it works, and installing the 
service pack 2 later it does not break.. but if then a new user is added 
to the client pc the same behavior as with the new installed pc occurs 
and no other user can´t logon this pc ... only the Administrator



hopefully there is a solution for that problem ...


kind regards

Arno Seidel

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


Re: [Samba] strange Problem

2005-10-24 Thread Arno Seidel

Hi there,

i think i´ve solved the problem, but i don´t understand why there was a 
problem:


i change in the useraccount following settings:
deleted attribute sambaDomainname blabla
deleted attribute sambahomedrive /home/xyz
deletet attribute sambahomepath /home/xyz

and now it works,
could someone explain how these three attributes could effect such a
behavior ???


kind regards
arno
Arno Seidel schrieb:

Hi list,

mybe there is someone who has / had the same problem like me.
this Problem does not realate direkt to samba but here are many people
with good / excelent knowledge in windows

I´ve here a samba 3.0.14a PDC and a member file server (samba 3.0.14a)
there are several windows 2k clients and xp pro in the office.

My Problem is:

a freshinstalled WinXP Pro Sp2 PC (already joined the domain and added 
some users) ... and a user tires to login the first time on that pc, he 
only get the Box Userdata will be loaded and then the PC reboots ...

it doesn´t matter if the user has data in his profile or just a empty one.
But if i install windows xp without sp2 it works, and installing the 
service pack 2 later it does not break.. but if then a new user is added 
to the client pc the same behavior as with the new installed pc occurs 
and no other user can´t logon this pc ... only the Administrator



hopefully there is a solution for that problem ...


kind regards

Arno Seidel




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


Re: [Samba] RPM Build error for Samba-3.0.10-1.src.rpm

2005-02-07 Thread Arno Seidel
Hi,
how is the exact line from your spec-file?
is it like in your mail with the spaces??
or ist it like that:
--with-acl-support
if there are the spaces between - - then is there the error
Mandar Kulkarni/PUN/IN/STTL schrieb:
Hi,
I am trying to install samba 3 on RH Enterprise Linux AS with LDAP and
SMBLDapTools. I hv downloaded the Samba-3.0.10-1.src.rpm from Samba site.
I want my samba to support ACLs, Profiles, LDAPSAM etc. To make it work i
edited the SPECS file and added the following entries
  - - with-acl-support
  - - with-profile
  - - disable-static
  - - with-msdfs
  - -with-ldapsam
After adding the above entries i tried to build the new rpm. While doing so
got the following error
Config,status:Creating include /config.h
+ - - with-acl-support  - - with-profile  - - disable-static  - -
with-msdfs  - -with-ldapsam ' '
/var/tmp/rpm-tmp.40956:line 69:  - - with-acl-support : command not found
error: Bad exit status from /var/tmp/rpm-tmp.40956
Can any one tell me where i am going wrong??
Thanks  Regards
Mandar Kulkarni
 

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


[Samba] Netlogon scripts

2005-01-21 Thread Arno Seidel
Hi List,
maybe i missed a hint on google, but i didnt find
a answer to following question:
is it possible to cascade the logon scripts...?
for example:
there is a standard script for all client-pcs called: netlogon.bat
and in addition there is for some client-pcs a
additional script called by the %m switch in smb.conf
kind regards
Arno
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] change SID in ntuser.dat

2005-01-21 Thread Arno Seidel
Hi Peter,
yes,
you can do this with the command: profiles -c old-sid -n new-sid ntuser.dat
to display the stored sid: profiles -v ntuser.dat
greets
arno
peter grotz schrieb:
Hi all,
I want to migrate from 2.2.6 to 3.0.10 (with ldap). Is it possible to change
the SID in the ntuser.dat on the server-saved profile?
-Peter
 

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


Re: [Samba] Netlogon scripts

2005-01-21 Thread Arno Seidel
Hi Simon,
thanks... for that hints...
arno
Simon Hobson schrieb:
Arno Seidel wrote:
maybe i missed a hint on google, but i didn´t find
a answer to following question:
is it possible to cascade the logon scripts...?
for example:
there is a standard script for all client-pc´s called: netlogon.bat
and in addition there is for some client-pc´s a
additional script called by the %m switch in smb.conf

No, but you can 'roll your own' ...
There are several techniques you can use :
1) Use pre-exec to run a server based script and generate a per-user 
(or per machine) logon script at each logon. You then have access to 
everything the host (Linux/Unix) system knows about the user/machine.

2) Use the basic batch file commands to test for various things and 
call other batch files as required - search the archives for 
ifmember.exe which is useful for this. You then have every 
machine/user use a common logon.bat and take runtime decisions on what 
to do.

3) Use a client side scripting environment such as Kixtart and write 
much more complex scripts.

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


Re: [Samba] Netlogon scripts

2005-01-21 Thread Arno Seidel
Hi Robert,
thanks a lot for that this is what i searched.
Arno
Robert Schetterer schrieb:
Hi Arno,
if you have a default.bat for all clients
you can do the cascade to groups  users or machine in this file itself
i.e. for the client machine itself
echo %COMPUTERNAME%
call %COMPUTERNAME%.bat
Regards
Arno Seidel schrieb:
Hi List,
maybe i missed a hint on google, but i didnt find
a answer to following question:
is it possible to cascade the logon scripts...?
for example:
there is a standard script for all client-pcs called: netlogon.bat
and in addition there is for some client-pcs a
additional script called by the %m switch in smb.conf
kind regards
Arno

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


Re: [Samba] LDAP+samba dc docs

2005-01-06 Thread Arno Seidel
Koenraad Lelong wrote:
Hans du Plooy wrote:
On Thursday 06 January 2005 09:22, Koenraad Lelong wrote:
I think there was a recent post of you, which says all authentication,
including Linux, should go through LDAP. If this is correct, I think
this should be stressed in all documents concerning Samba/LDAP.

Hi ,
I did post the LDAP athentication issue, but that was to a different 
list - post content was slightly different.  SUSE offers LDAP 
authentication but I had trouble getting it setup.  Apart from samba 
I need to have other things work with LDAP too.

Thanks for your reply and to John H Terpstra
Dankie
I didn't mean you, Hans. I was referring to a post of John (Re: 
[Samba] PDC + LDAP group mappings, of 30 dec) :
...

For the record:
=
If you use LDAP with Samba it is essential that ALL your UNIX (POSIX) 
accounts (both for users and for groups) are in the LDAP backend. 
Samba requires the SambaSAM account data also in LDAP. It is NOT 
possible with Samba to have only the SambaSAM account information in 
LDAP and not the UNIX accounts in LDAP.
...
P.S. If you succeeded in setting up an LDAP-server, did you use a 
how-to ? I'm trying to do the same, but I need to study a bit/lot 
more. I find it a shame that SuSE's Yast does not have an option (I 
know of) to setup an LDAP-server to authenticate. AFAIK you can only 
set it up to autenticate against one (i.e. a client), at installation 
time. But then, it would be too easy ;-), and maybe some finer points 
would be lost.
Hi Koenraad,
what Distribution of SuSe do you use??
in the Enterprise server of suse you can setup a ldap-server as 
authentification source with yast.
p.s. the latest Enterprise Server (SuSE) is available for free download 
on novell.com/linux ...

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


[Samba] Error Messages

2004-12-30 Thread Arno Seidel
Hi list,
after searching google and getting lost in to much results, maybe someone
can explain me the meaning of some error-messages:
1. [2004/12/30 14:10:03, 2] smbd/sesssetup.c:setup_new_vc_session(608)
 setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.

2. [2004/12/30 14:10:08, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2023)
 ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  
(No such object)

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


Re: [Samba] Error Messages

2004-12-30 Thread Arno Seidel
Hi,
thanks for that quick response,
for the 1.
what causes this message to appear???
2. this comes up every time a user logs in to the domain / server
i played arround with the log levels but i don´t found any information 
which group / object  is missing
net groupmap list returns following:

Domain Guests (S-1-5-21-4226538298-1610114045-865933353-514) - domain_guests
domain computers (S-1-5-21-4226538298-1610114045-865933353-515) - computers
Enterprise Admins (S-1-5-21-4226538298-1610114045-865933353-519) - root
Administrators (S-1-5-21-4226538298-1610114045-865933353-544) - root
Guests (S-1-5-21-4226538298-1610114045-865933353-546) - domain_guests
Account Operators (S-1-5-21-4226538298-1610114045-865933353-548) - 
account_operators
Server Operators (S-1-5-21-4226538298-1610114045-865933353-549) - 
server_operators
Print Operators (S-1-5-21-4226538298-1610114045-865933353-550) - 
print_operators
Backup Operators (S-1-5-21-4226538298-1610114045-865933353-551) - 
backup_operators
Replicator (S-1-5-21-4226538298-1610114045-865933353-552) - replicator
Domain Admins (S-1-5-21-4226538298-1610114045-865933353-512) - root
Users (S-1-5-21-4226538298-1610114045-865933353-1201) - users
Domain Users (S-1-5-21-4226538298-1610114045-865933353-513) - users
which looks to me ok
regards
arno
Prakash Velayutham wrote:
Hi,
On Dec 30, 2004, at 9:28 AM, Arno Seidel wrote:
Hi list,
after searching google and getting lost in to much results, maybe 
someone
can explain me the meaning of some error-messages:
1. [2004/12/30 14:10:03, 2] smbd/sesssetup.c:setup_new_vc_session(608)
 setup_new_vc_session: New VC == 0, if NT4.x compatible we would 
close all old resources.

According to what I know, this is not an error. It is just information.
2. [2004/12/30 14:10:08, 0] 
passdb/pdb_ldap.c:ldapsam_search_one_group(2023)
 ldapsam_search_one_group: Problem during the LDAP search: LDAP 
error:  (No such object)

This means that the group you are intending to login as does not exist 
in your LDAP tree. When does this happen. Can you give some background?

regards
Arno

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


[Samba] wbinfo works but getent not

2004-11-19 Thread Arno Seidel
) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=41737, ...}) = 0
old_mmap(NULL, 33716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401b3000
madvise(0x401b3000, 33716, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x401bb000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x8000) = 0x401bb000
close(3)= 0
munmap(0x4017c000, 67731)   = 0
open(/etc/passwd, O_RDONLY)   = 3
fcntl64(3, F_GETFD) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
_llseek(3, 0, [0], SEEK_CUR)= 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=844, ...}) = 0
mmap2(NULL, 844, PROT_READ, MAP_SHARED, 3, 0) = 0x4017c000
_llseek(3, 844, [844], SEEK_SET)= 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x4017d000
write(1, root:x:0:0:root:/root:/bin/bash\n, 32) = 32
write(1, bin:x:1:1:bin:/bin:/bin/bash\n, 29) = 29
write(1, daemon:x:2:2:Daemon:/sbin:/bin/b..., 36) = 36
write(1, lp:x:4:7:Printing daemon:/var/sp..., 50) = 50
write(1, mail:x:8:12:Mailer daemon:/var/s..., 61) = 61
write(1, games:x:12:100:Games account:/va..., 50) = 50
write(1, at:x:25:25:Batch jobs daemon:/va..., 57) = 57
write(1, wwwrun:x:30:8:WWW daemon apache:..., 59) = 59
write(1, ftp:x:40:49:FTP account:/srv/ftp..., 43) = 43
write(1, postfix:x:51:51:Postfix Daemon:/..., 61) = 61
write(1, sshd:x:71:65:SSH daemon:/var/lib..., 49) = 49
write(1, ntp:x:74:65534:NTP daemon:/var/l..., 50) = 50
write(1, nobody:x:65534:65533:nobody:/var..., 54) = 54
write(1, aseidel:x:500:100:Arno Seidel:/h..., 54) = 54
write(1, man:x:13:62:Manual pages viewer:..., 57) = 57
write(1, news:x:9:13:News system:/etc/new..., 44) = 44
write(1, uucp:x:10:14:Unix-to-Unix CoPy s..., 58) = 58
fstat64(3, {st_mode=S_IFREG|0644, st_size=844, ...}) = 0
open(/etc/ld.so.cache, O_RDONLY)  = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=67731, ...}) = 0
old_mmap(NULL, 67731, PROT_READ, MAP_PRIVATE, 4, 0) = 0x401bc000
close(4)= 0
open(/lib/libnss_winbind.so.2, O_RDONLY) = 4
read(4, [EMAIL PROTECTED]..., 512)
= 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=22366, ...}) = 0
old_mmap(NULL, 26588, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x401cd000
madvise(0x401cd000, 26588, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x401d1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0x4000) = 0x401d1000
old_mmap(0x401d2000, 6108, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401d2000
close(4)= 0
munmap(0x401bc000, 67731)   = 0
getpid()= 4996
getpid()= 4996
getpid()= 4996
lstat64(/tmp/.winbindd, {st_mode=S_IFDIR|0755, st_size=72, ...}) = 0
lstat64(/tmp/.winbindd/pipe, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0

socket(PF_UNIX, SOCK_STREAM, 0) = 4
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
connect(4, {sa_family=AF_UNIX, path=/tmp/.winbindd/pipe}, 110) = 0
getpid()= 4996
getpid()= 4996
select(5, [4], NULL, NULL, {0, 0})  = 0 (Timeout)
write(4,  \7\0\0\0\0\0\0\204\23\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 1824)
= 1824
select(5, [4], NULL, NULL, {5, 0})  = 1 (in [4], left {5, 0})
read(4, \24\5\0\0\1\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 1300)
= 1300
getpid()= 4996
getpid()= 4996
select(5, [4], NULL, NULL, {0, 0})  = 0 (Timeout)
write(4,  \7\0\0*\0\0\0\204\23\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 1824)
= 1824
select(5, [4], NULL, NULL, {5, 0})  = 1 (in [4], left {5, 0})
read(4, 7\5\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 1300)
= 1300
select(5, [4], NULL, NULL, {5, 0})  = 1 (in [4], left {5, 0})
read(4, /var/lib/samba/winbindd_privileg..., 35) = 35
lstat64(/var/lib/samba/winbindd_privileged, {st_mode=S_IFDIR|0750,
st_size=72, ...}) = 0
lstat64(/var/lib/samba/winbindd_privileged/pipe, {st_mode=S_IFSOCK|0777,
st_size=0, ...}) = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 5
fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
fcntl64(5, F_GETFD) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
connect(5, {sa_family=AF_UNIX,
path=/var/lib/samba/winbindd_privileged/pipe}, 110) = 0
close(4)= 0
select(6, [5], NULL, NULL, {0, 0})  = 0 (Timeout)
write(5,  \7\0\0\6\0\0\0\204\23\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 1824)
= 1824
select(6, [5], NULL, NULL, {5, 0})  = 1 (in [5], left {5, 0})
read(5, \24\5\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 1300)
= 1300
getpid()= 4996
getpid

AW: [Samba] Find who deleted a folder

2004-10-07 Thread Arno Seidel
Hi,

the possibility to do that, depends on the log-level in the smb.conf


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von
 Bart Hendrix
 Gesendet: Donnerstag, 7. Oktober 2004 11:21
 An: [EMAIL PROTECTED]
 Betreff: [Samba] Find who deleted a folder


 Hello
 We are using samba. Somebody in our company deleted two days ago
 a folder called 995
 Is it possible with samba to check who did this?


 Thank you very mucn,

 Bart Hendrix
 --
 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 and Windows XP

2004-09-16 Thread Arno Seidel
Hi,

did you changed the encryption-settings in windows xp?
just look under controll-panel - local security policies...

just a hint:
  [homes]
  comment = Home Directories
  path = /home
  read only = No
change the path to following: path = /home/%u
the %u will bei expanded to your account name ...then you can delete the
myshare section...

 -Ursprngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von
 Simone
 Gesendet: Donnerstag, 16. September 2004 11:06
 An: Jason Johnson
 Cc: [EMAIL PROTECTED]
 Betreff: Re: [Samba] Samba and Windows XP


 Just another easy try, did you install SP2 on XP? Is the firewall on?
 Cheers
 Simone

 Jason Johnson wrote:

  That gave me an invalid password error.  Even though my password is
  correct. This is the strangest thing I have ever seen
  - Original Message - From: Simone [EMAIL PROTECTED]
  To: Jason Johnson [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Thursday, September 16, 2004 1:23 AM
  Subject: Re: [Samba] Samba and Windows XP
 
 
  Hi, it could be a stupid thing to try, but I was thinking you could
  try to connect using net use.  This way you provide credential even
  if you're not prompted.
 
  net use Z: \\ipsambaserver\sharename /USER:jason password:yourpassword
 
  Have a nice day
  Simone
 
  Jason Johnson wrote:
 
  Samba appears to be up
 
  [EMAIL PROTECTED] samba]# /etc/init.d/smb status
  smbd (pid 1988) is running...
  nmbd (pid 1992) is running...
 
  Local file permissions on the directory appear to be fine
 
  [EMAIL PROTECTED] home]# ls -al /home/jason
  total 24
  drwxr-xr-x  2 jason jason 4096 Aug 31 15:05 .
  drwxr-xr-x  4 root  root  4096 Aug 31 13:20 ..
  -rw---  1 jason jason   34 Sep 15 21:07 .bash_history
  -rw-r--r--  1 jason jason   24 Aug 31 13:20 .bash_logout
  -rw-r--r--  1 jason jason  191 Aug 31 13:20 .bash_profile
  -rw-r--r--  1 jason jason  124 Aug 31 13:20 .bashrc
  [EMAIL PROTECTED] home]#
 
  My Windows XP account name is Jason with the same password that I
  use for samba.
 
  I do not see anywhere in windows where I can configure anything.
  When I go into My Network Places on Windows XP and choose View
  Workgroup Computers.  I see the samba server icon.  When I double
  click it it does not give me any prompt for a username and
  password.  It just pops up that error message that I pasted in my
  initial email.   If there is an area in Windows XP that I need to
  configure.  Please let me know
 
  Jason
 
  - Original Message - From: Slavisa Popravak
 [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, September 16, 2004 12:32 AM
  Subject: Re: [Samba] Samba and Windows XP
 
 
  Jason Johnson wrote:
 
  I just created the samba user 'jason' now.  However, it never
  prompts me to enter in a username or password.  Is there some
  security setting that I need to enable on the samba side to make
  it prompt me when I double click on the icon in Windows XP?
 
  Jason
  - Original Message - From: Slavisa Popravak
  [EMAIL PROTECTED]
  To: Jason [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Wednesday, September 15, 2004 11:48 PM
  Subject: Re: [Samba] Samba and Windows XP
 
 
  Jason wrote:
 
  I am trying to setup a samba server on Redhat Fedora 2 and
  trying to connect to it through Windows XP Professional.
  This samba server is a standalone server.  I can see it in the
  Network Places.  Every time I try to connect to it I get the
  following error in Windows.
 
  \\Samba is not accessible.  You might not have permission to
  use this network resource.  Contact the administrator of this
  server to find out if you have access permissions.  The network
  path was not found.
 
  Here is my smb.conf file that I created using SWAT.  Can anyone
  help me?
 
  Thank You
 
  Jason
 
  # Samba config file created using SWAT
  # from 192.168.1.2 (192.168.1.2)
  # Date: 2004/09/15 23:22:05
 
  # Global parameters
  [global]
  log file = /var/log/samba/%m.log
  max log size = 50
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  dns proxy = No
  ldap ssl = no
  idmap uid = 16777216-33554431
  idmap gid = 16777216-33554431
  hosts allow = 192.168.1., 192.168.2., 127.
 
  [homes]
  comment = Home Directories
  path = /home
  read only = No
 
  [printers]
  comment = All Printers
  path = /var/spool/samba
  printable = Yes
  browseable = No
 
  [myshare]
  comment = Jason Test Share
  path = /home/jason
  valid users = jason
  read only = No
  create mask = 0765
 
  Did you create username  jason  on server as a samba user??
 
  smbpasswd -a jason
 
  Then enter password, and when later try to connect to server
  suply that username and password.
 
 
 
  --
  Slavia Popravak
  inenjer informatike
 
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 
 
 
  I think that samba will allways ask you for username and
  password, when try to connect. Maybe you 

AW: [SPAM] AW: [Samba] Samba and Windows XP

2004-09-16 Thread Arno Seidel
Hi,

first i think that it is case sensitive...
just try to change the encryption settings
have a look at:
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/ClientConfig.html
#id2526010

myabe this helps you a little bit

 -Ursprngliche Nachricht-
 Von: Jason Johnson [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 16. September 2004 11:33
 An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Betreff: Re: [SPAM] AW: [Samba] Samba and Windows XP


 I went ahead and made that change to smb.conf as you suggested.
 As far as
 the encryption settings in windows, I have not made any changes to those.

 Just a thought.  I used smbpasswd to create the samba user 'jason'.
 however, my Windows XP user is 'Jason'   Is it case sensitive or
 would that
 even matter.


 - Original Message -
 From: Arno Seidel [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, September 16, 2004 2:17 AM
 Subject: [SPAM] AW: [Samba] Samba and Windows XP


  Hi,
 
  did you changed the encryption-settings in windows xp?
  just look under controll-panel - local security policies...
 
  just a hint:
   [homes]
   comment = Home Directories
   path = /home
   read only = No
  change the path to following: path = /home/%u
  the %u will bei expanded to your account name ...then you can delete the
  myshare section...
 
  -Ursprngliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]
 Auftrag von
  Simone
  Gesendet: Donnerstag, 16. September 2004 11:06
  An: Jason Johnson
  Cc: [EMAIL PROTECTED]
  Betreff: Re: [Samba] Samba and Windows XP
 
 
  Just another easy try, did you install SP2 on XP? Is the firewall on?
  Cheers
  Simone
 
  Jason Johnson wrote:
 
   That gave me an invalid password error.  Even though my password is
   correct. This is the strangest thing I have ever seen
   - Original Message - From: Simone [EMAIL PROTECTED]
   To: Jason Johnson [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Thursday, September 16, 2004 1:23 AM
   Subject: Re: [Samba] Samba and Windows XP
  
  
   Hi, it could be a stupid thing to try, but I was thinking you could
   try to connect using net use.  This way you provide
 credential even
   if you're not prompted.
  
   net use Z: \\ipsambaserver\sharename /USER:jason
 password:yourpassword
  
   Have a nice day
   Simone
  
   Jason Johnson wrote:
  
   Samba appears to be up
  
   [EMAIL PROTECTED] samba]# /etc/init.d/smb status
   smbd (pid 1988) is running...
   nmbd (pid 1992) is running...
  
   Local file permissions on the directory appear to be fine
  
   [EMAIL PROTECTED] home]# ls -al /home/jason
   total 24
   drwxr-xr-x  2 jason jason 4096 Aug 31 15:05 .
   drwxr-xr-x  4 root  root  4096 Aug 31 13:20 ..
   -rw---  1 jason jason   34 Sep 15 21:07 .bash_history
   -rw-r--r--  1 jason jason   24 Aug 31 13:20 .bash_logout
   -rw-r--r--  1 jason jason  191 Aug 31 13:20 .bash_profile
   -rw-r--r--  1 jason jason  124 Aug 31 13:20 .bashrc
   [EMAIL PROTECTED] home]#
  
   My Windows XP account name is Jason with the same password that I
   use for samba.
  
   I do not see anywhere in windows where I can configure anything.
   When I go into My Network Places on Windows XP and choose View
   Workgroup Computers.  I see the samba server icon.  When I double
   click it it does not give me any prompt for a username and
   password.  It just pops up that error message that I pasted in my
   initial email.   If there is an area in Windows XP that I need to
   configure.  Please let me know
  
   Jason
  
   - Original Message - From: Slavisa Popravak
  [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Thursday, September 16, 2004 12:32 AM
   Subject: Re: [Samba] Samba and Windows XP
  
  
   Jason Johnson wrote:
  
   I just created the samba user 'jason' now.  However, it never
   prompts me to enter in a username or password.  Is there some
   security setting that I need to enable on the samba side to make
   it prompt me when I double click on the icon in Windows XP?
  
   Jason
   - Original Message - From: Slavisa Popravak
   [EMAIL PROTECTED]
   To: Jason [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Wednesday, September 15, 2004 11:48 PM
   Subject: Re: [Samba] Samba and Windows XP
  
  
   Jason wrote:
  
   I am trying to setup a samba server on Redhat Fedora 2 and
   trying to connect to it through Windows XP Professional.
   This samba server is a standalone server.  I can see it in the
   Network Places.  Every time I try to connect to it I get the
   following error in Windows.
  
   \\Samba is not accessible.  You might not have permission to
   use this network resource.  Contact the administrator of this
   server to find out if you have access permissions.  The network
   path was not found.
  
   Here is my smb.conf file that I created using SWAT.  Can anyone
   help me?
  
   Thank You
  
   Jason
  
   # Samba config file created using SWAT
   # from 192.168.1.2 (192.168.1.2)
   # Date: 2004/09

[Samba] Errormessage

2004-09-01 Thread Arno Seidel
Hi List,

i get sometimes following error message on my Samba 3.0.2.a on SuSE 9.1 Prof.

Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
lib/util_sock.c:get_peer_addr(975)
Sep  1 11:01:53 nfs-1 smbd[18893]:   getpeername failed. Error was Transport endpoint 
is not connected
Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
lib/util_sock.c:write_socket_data(411)
Sep  1 11:01:53 nfs-1 smbd[18893]:   write_socket_data: write failure. Error = 
Connection reset by peer
Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
lib/util_sock.c:write_socket(436)
Sep  1 11:01:53 nfs-1 smbd[18893]:   write_socket: Error writing 4 bytes to socket 24: 
ERRNO = Connection reset by peer
Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
lib/util_sock.c:send_smb(628)
Sep  1 11:01:53 nfs-1 smbd[18893]:   Error writing 4 bytes to client. -1. (Connection 
reset by peer)

can someone tell me what there goes wrong... 

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


Re: [Samba] Errormessage

2004-09-01 Thread Arno Seidel
Am Mittwoch, 1. September 2004 18:29 schrieb ds_shadof:
  Hi List,
 
  i get sometimes following error message on my Samba 3.0.2.a on SuSE 9.1 Prof.
 
  Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
  lib/util_sock.c:get_peer_addr(975)
  Sep  1 11:01:53 nfs-1 smbd[18893]:   getpeername failed. Error was Transport 
  endpoint is not connected
  Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
  lib/util_sock.c:write_socket_data(411)
  Sep  1 11:01:53 nfs-1 smbd[18893]:   write_socket_data: write failure. Error = 
  Connection reset by peer
  Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
  lib/util_sock.c:write_socket(436)
  Sep  1 11:01:53 nfs-1 smbd[18893]:   write_socket: Error writing 4 bytes to socket 
  24: ERRNO = Connection reset by peer
  Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
  lib/util_sock.c:send_smb(628)
  Sep  1 11:01:53 nfs-1 smbd[18893]:   Error writing 4 bytes to client. -1. 
  (Connection reset by peer)
 
 
 In my case it was DNS misconfiguration

Hi,

what kind of DNS misconfiguration?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


AW: [Samba] Help Me Update to samba-3.0.6-1 from samba-3.0.3-5

2004-09-01 Thread Arno Seidel
Hi,
(B
(B
(Bthis is a depedency problem between the installed packages...
(Bif you have or can get the samba-client-3.0.6 package then you should start
(Bwith that
(Band then the samba-common package and after that you can install the
(Bsambapackage.
(B
(Bor use the --nodeps flag for rpm this turns the dependendcy-checks of
(B
(B -Ursprungliche Nachricht-
(B Von: [EMAIL PROTECTED]
(B [mailto:[EMAIL PROTECTED]
(B Auftrag von SES
(B Gesendet: Donnerstag, 2. September 2004 01:27
(B An: [EMAIL PROTECTED]
(B Betreff: [Samba] Help Me Update to samba-3.0.6-1 from samba-3.0.3-5
(B
(B
(B Dear Staff samba.org
(B I cannot do update to samba-3.0.6-1 from samba-3.0.3-5.
(B My personal computer OS is FedoraCore2.
(B The error message when trying update is the following.
(B Error information :
(B [EMAIL PROTECTED] i386]# rpm -Uvh samba-3.0.6-1.i386.rpm
(B $B7Y9p(B: samba-3.0.6-1.i386.rpm: V3 DSA signature: NOKEY, key ID
(B2f87af6f
(B $B%(%i!<(B: Failed dependencies:
(B samba-common = 3.0.6 is needed by samba-3.0.6-1
(B samba = 0:3.0.3 is needed by (installed) samba-swat-3.0.3-5
(B [EMAIL PROTECTED] i386]# rpm -Uvh samba-common-3.0.6-1.i386.rpm
(B $B7Y9p(B: samba-common-3.0.6-1.i386.rpm: V3 DSA signature: NOKEY, key
(BID
(B 2f87af6f
(B $B%(%i!<(B: Failed dependencies:
(B samba-common = 0:3.0.3 is needed by (installed) samba-3.0.3-5
(B samba-common = 0:3.0.3 is needed by (installed)
(B samba-client-3.0.3-5
(B
(B Please give me the advice.
(B
(B From:  Shimizu
(B
(B ___
(B Mailman mailing list
(B [EMAIL PROTECTED]
(B http://lists.samba.org/mailman/listinfo/mailman
(B --
(B To unsubscribe from this list go to the following URL and read the
(B instructions:  http://lists.samba.org/mailman/listinfo/samba
(B
(B
(B-- 
(BTo unsubscribe from this list go to the following URL and read the
(Binstructions:  http://lists.samba.org/mailman/listinfo/samba

AW: [Samba] Samba - LDAP - User cannot loginfrom 1workstation

2004-07-29 Thread Arno Seidel
Hi,

i?m wondering about that this behavior is only for one user..
why does another user in the same segment of the domain not behave similar?
How did you changed the users to try?? Did you just log of the user mschijva
and logged on with a diffrent user again..
or did you restart the computer and logged in as a diffrent user?
just a silly question: when this is the only one user with that behavior why
you don?t give him a new
username?
Did you checked the uid / samba-SID and any nurmeric value of that user in
his ldap-entry?

  -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Gesendet: Mittwoch, 28. Juli 2004 15:09
  An: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Betreff: Re: AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom
1workstation



  It becomes VERY weird...

  This afternoon I witnessed the following : the user logged on to his pc;
accessed his home directory on the PDC; no problema; accessed another share
on the PDC; no problema; accessed a share on the BDC : connection refused.
Going back to the PDC to access the home directory : connection refused.

  However; there were NO error entries in the logs on either Samba server.
Only entries like these :
  [2004/07/28 13:29:38, 1] smbd/service.c:make_connection_snum(619)
allier (192.168.0.190) connect to service cvs initially as user mschijva
(uid=1015, gid=100) (pid 22284)

  I'm completely lost now


  Bert De Ridder



Arno Seidel [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
28/07/2004 11:24 Please respond to
  [EMAIL PROTECTED]


   To [EMAIL PROTECTED]
  cc [EMAIL PROTECTED]
  Subject AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot
loginfrom1workstation







  Hi,

  what os does the client have? W98?

  in the system-controll folder there should be a icon (in german called
  Verwaltung) whre the local policies , the settings for odbc ...and mor
  are... there should be also an icon called
  eventmanager / display... maybe there is a log entry?

  Did you see some errrors on the samba side (instead of the connection
reset
  by peer) if you try a higher debug-/log-level?

  the other way is, that you back-up the users home-directory, and his
  roaming-profile and completely remove him and (from windows / ldap / samba
  ...) and readd him as a new
  user with a empty home and profile-directory... and then just put the
  saved-files (from the profile / homedirectory in the new created profile /
  home-directory in.
  it could be that there are some settings in the profile are wrong.




  -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Gesendet: Mittwoch, 28. Juli 2004 08:23
  An: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Betreff: Re: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
  workstation



   Yes, I have checked the LDAP entry; I even recreated it; I tried the
  user/pwd on 3 other machines : 2000 Prof. Wks; 2000 Server and XP Prof.
   The local permissions on the machine are OK; I can add the domain user to
  the local admin. group, so that should be ok.

   I agree that it is not a server-side issue; but where on the client can I
  start searching for errors ?


   Regards,

   Bert De Ridder

   PeopleWare NV - Head Office
   Cdt.Weynsstraat 85
   B-2660 Hoboken
   Tel: +32 3 448.33.38
   Fax: +32 3 448.32.66

   PeopleWare NV - Branch Office Geel
   Kleinhoefstraat 5
   B-2440 Geel
   Tel: +32 14 57.00.90
   Fax: +32 14 58.13.25

   http://www.peopleware.be
   http://www.mobileware.be


 Arno Seidel [EMAIL PROTECTED]
 Sent by: [EMAIL PROTECTED]
 27/07/2004 17:56 Please respond to
   [EMAIL PROTECTED]


To [EMAIL PROTECTED]
   cc
   Subject AW: AW: AW: [Samba] Samba - LDAP - User cannot
  loginfrom1workstation







   Hi,

   did you check the ldap-entry for that user?? maybe there is a mistake...
   are the other workstations you tried w2k too?
   are the local permissions on the workstation for that user correct???
   maybe there is a local-policy...
   maybe there is a user-workstation entry in the ldapaccount...

   i don?t think that it has something to do with the configuration of the
   samba /ldap servers, because other pc?s on the same segment have no
   problems.


-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von
[EMAIL PROTECTED]
Gesendet: Dienstag, 27. Juli 2004 16:51
An: Umberto Zanatta
Cc: [EMAIL PROTECTED]
Betreff: Re: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
workstation
   
   
Yes, but I hadn't included that in my previous post; I tried to trim
the
message
   
winbind uid = 100-2
winbind gid = 100-2
winbind separator = +
winbind use default domain = Yes
   
I am not using password server, because i want Samba

Re: [Samba] Samba - LDAP - User cannot loginfrom 1workstation

2004-07-29 Thread Arno Seidel
Hi,

but you can copy the local profile to another directroy and then create a
new user... log in first as this user...log out... log in as administrator
and copy the content of the
original profile in the new created profile... and then if everything
works...you can delete the old user... that doing would keep the specific
settings of the user...
the problem must be somewhere in the users-settings, because the username /
password works on other workstations, and on this workstation other users
/passwords work
correct.

Arno
  -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Gesendet: Donnerstag, 29. Juli 2004 14:06
  An: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Betreff: Re: AW: [Samba] Samba - LDAP - User cannot loginfrom 1workstation



  I have tried everything : logging of the user; rebooting machines...

  I have thought about giving a new username; but there are lots of programs
installed on his machine; all with registry dependencies (Delphi 5 for one)
and creating a new user would make him loose all his settings (we don't save
the profile on the servers)

  Samba sid et all are correct.

  Bert De Ridder




Arno Seidel [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
29/07/2004 11:01 Please respond to
  [EMAIL PROTECTED]


   To [EMAIL PROTECTED]
  cc
  Subject AW: [Samba] Samba - LDAP - User cannot loginfrom
1workstation







  Hi,

  i?m wondering about that this behavior is only for one user..
  why does another user in the same segment of the domain not behave
similar?
  How did you changed the users to try?? Did you just log of the user
mschijva
  and logged on with a diffrent user again..
  or did you restart the computer and logged in as a diffrent user?
  just a silly question: when this is the only one user with that behavior
why
  you don?t give him a new
  username?
  Did you checked the uid / samba-SID and any nurmeric value of that user in
  his ldap-entry?

   -Ursprungliche Nachricht-
   Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Gesendet: Mittwoch, 28. Juli 2004 15:09
   An: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Betreff: Re: AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom
  1workstation



   It becomes VERY weird...

   This afternoon I witnessed the following : the user logged on to his pc;
  accessed his home directory on the PDC; no problema; accessed another
share
  on the PDC; no problema; accessed a share on the BDC : connection refused.
  Going back to the PDC to access the home directory : connection refused.

   However; there were NO error entries in the logs on either Samba server.
  Only entries like these :
   [2004/07/28 13:29:38, 1] smbd/service.c:make_connection_snum(619)
 allier (192.168.0.190) connect to service cvs initially as user
mschijva
  (uid=1015, gid=100) (pid 22284)

   I'm completely lost now


   Bert De Ridder



 Arno Seidel [EMAIL PROTECTED]
 Sent by: [EMAIL PROTECTED]
 28/07/2004 11:24 Please respond to
   [EMAIL PROTECTED]


To [EMAIL PROTECTED]
   cc [EMAIL PROTECTED]
   Subject AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot
  loginfrom1workstation







   Hi,

   what os does the client have? W98?

   in the system-controll folder there should be a icon (in german called
   Verwaltung) whre the local policies , the settings for odbc ...and mor
   are... there should be also an icon called
   eventmanager / display... maybe there is a log entry?

   Did you see some errrors on the samba side (instead of the connection
  reset
   by peer) if you try a higher debug-/log-level?

   the other way is, that you back-up the users home-directory, and his
   roaming-profile and completely remove him and (from windows / ldap /
samba
   ...) and readd him as a new
   user with a empty home and profile-directory... and then just put the
   saved-files (from the profile / homedirectory in the new created profile
/
   home-directory in.
   it could be that there are some settings in the profile are wrong.




   -Ursprungliche Nachricht-
   Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Gesendet: Mittwoch, 28. Juli 2004 08:23
   An: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Betreff: Re: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
   workstation



Yes, I have checked the LDAP entry; I even recreated it; I tried the
   user/pwd on 3 other machines : 2000 Prof. Wks; 2000 Server and XP Prof.
The local permissions on the machine are OK; I can add the domain user
to
   the local admin. group, so that should be ok.

I agree that it is not a server-side issue; but where on the client can
I
   start searching for errors ?


Regards,

Bert De Ridder

PeopleWare NV - Head Office
Cdt.Weynsstraat 85
B-2660 Hoboken
Tel: +32 3 448.33.38
Fax: +32 3 448.32.66

AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1 workstation

2004-07-28 Thread Arno Seidel
Hi,

what os does the client have? W98?

in the system-controll folder there should be a icon (in german called
Verwaltung) whre the local policies , the settings for odbc ...and mor
are... there should be also an icon called
eventmanager / display... maybe there is a log entry?

Did you see some errrors on the samba side (instead of the connection reset
by peer) if you try a higher debug-/log-level?

the other way is, that you back-up the users home-directory, and his
roaming-profile and completely remove him and (from windows / ldap / samba
...) and readd him as a new
user with a empty home and profile-directory... and then just put the
saved-files (from the profile / homedirectory in the new created profile /
home-directory in.
it could be that there are some settings in the profile are wrong.




 -Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 28. Juli 2004 08:23
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: Re: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
workstation



  Yes, I have checked the LDAP entry; I even recreated it; I tried the
user/pwd on 3 other machines : 2000 Prof. Wks; 2000 Server and XP Prof.
  The local permissions on the machine are OK; I can add the domain user to
the local admin. group, so that should be ok.

  I agree that it is not a server-side issue; but where on the client can I
start searching for errors ?


  Regards,

  Bert De Ridder

  PeopleWare NV - Head Office
  Cdt.Weynsstraat 85
  B-2660 Hoboken
  Tel: +32 3 448.33.38
  Fax: +32 3 448.32.66

  PeopleWare NV - Branch Office Geel
  Kleinhoefstraat 5
  B-2440 Geel
  Tel: +32 14 57.00.90
  Fax: +32 14 58.13.25

  http://www.peopleware.be
  http://www.mobileware.be


Arno Seidel [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
27/07/2004 17:56 Please respond to
  [EMAIL PROTECTED]


   To [EMAIL PROTECTED]
  cc
  Subject AW: AW: AW: [Samba] Samba - LDAP - User cannot
loginfrom1workstation







  Hi,

  did you check the ldap-entry for that user?? maybe there is a mistake...
  are the other workstations you tried w2k too?
  are the local permissions on the workstation for that user correct???
  maybe there is a local-policy...
  maybe there is a user-workstation entry in the ldapaccount...

  i don?t think that it has something to do with the configuration of the
  samba /ldap servers, because other pc?s on the same segment have no
  problems.


   -Ursprungliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Auftrag von
   [EMAIL PROTECTED]
   Gesendet: Dienstag, 27. Juli 2004 16:51
   An: Umberto Zanatta
   Cc: [EMAIL PROTECTED]
   Betreff: Re: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
   workstation
  
  
   Yes, but I hadn't included that in my previous post; I tried to trim the
   message
  
   winbind uid = 100-2
   winbind gid = 100-2
   winbind separator = +
   winbind use default domain = Yes
  
   I am not using password server, because i want Samba to think it's on
the
   same server; however the LDAP on that server is a slave, so updates are
   sent to our master LDAP server. (and back to the slave via the
replicator
   off course)
  
   I can use the shares via smbclient on the server; I really don't think
   there is an error on the server; since everything works when changing
all
   other conditions (switch pc or another user on that pc); it's just that
   one user when working on that one machine.
  
  
   Bert De Ridder
  
  
  
  
  
   Umberto Zanatta [EMAIL PROTECTED]
   Sent by: [EMAIL PROTECTED]
   27/07/2004 15:28
  
   To
   [EMAIL PROTECTED]
   cc
   [EMAIL PROTECTED]
   Subject
   Re: AW: AW: [Samba] Samba - LDAP - User cannot login from   1
   workstation
  
  
  
  
  
  
   Have you tried configuring winbind? Of course, it's very important on
   Samba PDC+BDC+File Server.
  
   Perhaps, you've forgotten 'password server': it hasn't to be the ip of
   bdc, but the ip of pdc
   and 'security = domain';
  
   You should as well (for name resolver) add bcast to 'name resolve
   order'.
  
  
   Il mar, 2004-07-27 alle 15:15, [EMAIL PROTECTED] ha scritto:
  
Ok, so the getpeername was a coincidence; I haven't seen it more than
once, that's true.
   
smb.conf:
[global]
domain master = No
domain logons = Yes
map to guest = never
netbios name = FATTY
workgroup = PEOPLEWARE
server string = Linux BDC
encrypt passwords = Yes
log level = 2
name resolve order = lmhosts wins
time server = Yes
socket options = SO_SNDBUF=8192 SO_RCVBUF=8192
guest account = nobody
logon script = login.bat
logon path =
logon drive = H:
os level = 99
preferred master = No
wins support = Yes

AW: [Samba] Samba - LDAP - User cannot login from 1 workstation

2004-07-27 Thread Arno Seidel
Hi,

did you checked the users permissions??
group-entrys... share/directory permissions
which account flags does the user have.
did you rise the loglevel to get some more informations?
what error message do you receive on the windows-pc?

this is no a solution... but may bring you on the right way

 -Ursprungliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von
 [EMAIL PROTECTED]
 Gesendet: Dienstag, 27. Juli 2004 12:16
 An: [EMAIL PROTECTED]
 Betreff: [Samba] Samba - LDAP - User cannot login from 1 workstation


 Hello, everyone,

 This is the situation :

 We have 2 sites; one domain; 2 samba's on every site; one is PDC, the
 other is BDC.
 They both use LDAP; the LDAP has a master on the site where the PDC is;
 the slave LDAP is on the site where the BDC is.

 There is a user (ONE to be precise) that gives problems when working on a
 specific machine.

 When the user logs in using his machine; he can't access shares on either
 of the servers. When he logs in on any other machine, there is no problem
 whatsoever. When anybody else logs in using this user's machine, there is
 no problem either.
 It's only when the user logs in on that specific machine.
 The login is fine; I can see the user in the logs:

   allier (192.168.3.196) connect to service netlogon initially as user
 mschijva (uid=1015, gid=100) (pid 25065)
 [2004/07/26 14:34:29, 1] smbd/service.c:make_connection_snum(619)
   allier (192.168.3.196) connect to service cvs initially as user
 mschijva
 (uid=1015, gid=100) (pid 25065)

 From that point on, the shares can no longer be accessed.

 The machine HAS been used in the past in a domain with the same name, but
 with a different ID.
 The user receives the 'old' sambasid from the server to avoid local
 profile loss (deleting the user's local profile is NOT an option BTW).

 Where can I start looking for this ?
 Any ideas anyone ?

 Thanks in advance

 Bert De Ridder



 --
 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] Samba - LDAP - User cannot login from 1 workstation

2004-07-27 Thread Arno Seidel
Hi,

hm i don?t think that it has something to do with the trus-relationship if
it where so than every user on that pc would get a permision denied.
what does the error message exactly says?
example:
Access denied, the network path was not found...


  -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Gesendet: Dienstag, 27. Juli 2004 12:57
  An: [EMAIL PROTECTED]
  Betreff: Re: AW: [Samba] Samba - LDAP - User cannot login from 1
workstation



  I have checked the user's permissions; I am convinced that it is not a
server setting since the error 'Access denied' (on the client - Win2K) does
not happen when the user logs on to another workstation.
  I think it has something to do with the trust relationship; but I haven't
got a clue where to start looking for it.

  What loglevel would you suggest ?


  Bert





Arno Seidel [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
27/07/2004 12:30 Please respond to
  [EMAIL PROTECTED]


   To [EMAIL PROTECTED]
  cc
  Subject AW: [Samba] Samba - LDAP - User cannot login from 1
workstation







  Hi,

  did you checked the users permissions??
  group-entrys... share/directory permissions
  which account flags does the user have.
  did you rise the loglevel to get some more informations?
  what error message do you receive on the windows-pc?

  this is no a solution... but may bring you on the right way

   -Ursprungliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Auftrag von
   [EMAIL PROTECTED]
   Gesendet: Dienstag, 27. Juli 2004 12:16
   An: [EMAIL PROTECTED]
   Betreff: [Samba] Samba - LDAP - User cannot login from 1 workstation
  
  
   Hello, everyone,
  
   This is the situation :
  
   We have 2 sites; one domain; 2 samba's on every site; one is PDC, the
   other is BDC.
   They both use LDAP; the LDAP has a master on the site where the PDC is;
   the slave LDAP is on the site where the BDC is.
  
   There is a user (ONE to be precise) that gives problems when working on
a
   specific machine.
  
   When the user logs in using his machine; he can't access shares on
either
   of the servers. When he logs in on any other machine, there is no
problem
   whatsoever. When anybody else logs in using this user's machine, there
is
   no problem either.
   It's only when the user logs in on that specific machine.
   The login is fine; I can see the user in the logs:
  
 allier (192.168.3.196) connect to service netlogon initially as user
   mschijva (uid=1015, gid=100) (pid 25065)
   [2004/07/26 14:34:29, 1] smbd/service.c:make_connection_snum(619)
 allier (192.168.3.196) connect to service cvs initially as user
   mschijva
   (uid=1015, gid=100) (pid 25065)
  
   From that point on, the shares can no longer be accessed.
  
   The machine HAS been used in the past in a domain with the same name,
but
   with a different ID.
   The user receives the 'old' sambasid from the server to avoid local
   profile loss (deleting the user's local profile is NOT an option BTW).
  
   Where can I start looking for this ?
   Any ideas anyone ?
  
   Thanks in advance
  
   Bert De Ridder
  
  
  
   --
   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: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1 workstation

2004-07-27 Thread Arno Seidel
, should you post the smb.conf related to?
 
  Il mar, 2004-07-27 alle 14:46, [EMAIL PROTECTED] ha
  scritto:
 
   That's true...
  
   The message is :
  
   sharename is not accessible
   Network access is denied
OK
  
   Even if I navigate to the share CVS (which works during login - see
  my
   original mail) I get that message.
  
   I don't know whether it's related, but I now notice other messages
  in the
   log :
  
   [2004/07/26 14:24:32, 1] smbd/service.c:make_connection_snum(619)
   allier (192.168.3.196) connect to service cvs initially as user
  mschijva
   (uid=1015, gid=100) (pid 24964)
   [2004/07/26 14:24:48, 0] lib/util_sock.c:get_peer_addr(978)
 getpeername failed. Error was Transport endpoint is not connected
   [2004/07/26 14:24:48, 0] lib/util_sock.c:read_socket_data(367)
 read_socket_data: recv failure for 4. Error = Connection reset by
  peer
  
  
   Do you think it's related?
  
  
  
   Bert
  
  
  
  
   Arno Seidel [EMAIL PROTECTED]
   Sent by: [EMAIL PROTECTED]
   27/07/2004 13:15
   Please respond to
   [EMAIL PROTECTED]
  
  
   To
   Samba [EMAIL PROTECTED]
   cc
  
   Subject
   AW: AW: [Samba] Samba - LDAP - User cannot login from 1 workstation
  
  
  
  
  
  
   Hi,
  
   hm i don?t think that it has something to do with the
  trus-relationship if
   it where so than every user on that pc would get a permision denied.
   what does the error message exactly says?
   example:
   Access denied, the network path was not found...
  
  
 -Ursprungliche Nachricht-
 Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 27. Juli 2004 12:57
 An: [EMAIL PROTECTED]
 Betreff: Re: AW: [Samba] Samba - LDAP - User cannot login from 1
   workstation
  
  
  
 I have checked the user's permissions; I am convinced that it is
  not a
   server setting since the error 'Access denied' (on the client -
  Win2K)
   does
   not happen when the user logs on to another workstation.
 I think it has something to do with the trust relationship; but I
   haven't
   got a clue where to start looking for it.
  
 What loglevel would you suggest ?
  
  
 Bert
  
  
  
  
  
   Arno Seidel [EMAIL PROTECTED]
   Sent by:
   [EMAIL PROTECTED]
   27/07/2004 12:30 Please respond to
 [EMAIL PROTECTED]
  
  
  To [EMAIL PROTECTED]
 cc
 Subject AW: [Samba] Samba - LDAP - User cannot login
  from 1
   workstation
  
  
  
  
  
  
  
 Hi,
  
 did you checked the users permissions??
 group-entrys... share/directory permissions
 which account flags does the user have.
 did you rise the loglevel to get some more informations?
 what error message do you receive on the windows-pc?
  
 this is no a solution... but may bring you on the right way
  
  -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]
  Auftrag
   von
  [EMAIL PROTECTED]
  Gesendet: Dienstag, 27. Juli 2004 12:16
  An: [EMAIL PROTECTED]
  Betreff: [Samba] Samba - LDAP - User cannot login from 1
  workstation
 
 
  Hello, everyone,
 
  This is the situation :
 
  We have 2 sites; one domain; 2 samba's on every site; one is
  PDC, the
  other is BDC.
  They both use LDAP; the LDAP has a master on the site where the
  PDC
   is;
  the slave LDAP is on the site where the BDC is.
 
  There is a user (ONE to be precise) that gives problems when
  working
   on
   a
  specific machine.
 
  When the user logs in using his machine; he can't access shares
  on
   either
  of the servers. When he logs in on any other machine, there is
  no
   problem
  whatsoever. When anybody else logs in using this user's machine,
  there
   is
  no problem either.
  It's only when the user logs in on that specific machine.
  The login is fine; I can see the user in the logs:
 
allier (192.168.3.196) connect to service netlogon initially
  as user
  mschijva (uid=1015, gid=100) (pid 25065)
  [2004/07/26 14:34:29, 1]
  smbd/service.c:make_connection_snum(619)
allier (192.168.3.196) connect to service cvs initially as
  user
  mschijva
  (uid=1015, gid=100) (pid 25065)
 
  From that point on, the shares can no longer be accessed.
 
  The machine HAS been used in the past in a domain with the same
  name,
   but
  with a different ID.
  The user receives the 'old' sambasid from the server to avoid
  local
  profile loss (deleting the user's local profile is NOT an option
  BTW).
 
  Where can I start looking for this ?
  Any ideas anyone ?
 
  Thanks in advance
 
  Bert De Ridder
 
 
 
  --
  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.0.4 + ldap + heartbeat cluster

2004-07-12 Thread Arno Seidel
hi Pavel,

did you check the log files on the cluster / the main node where samba runs?

if heartbeat takes over services, did you included that the /var/lib/samba
directory is the same on the cluster-nodes



 -Ursprungliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von
 Pavel Hrozek
 Gesendet: Montag, 12. Juli 2004 10:47
 An: [EMAIL PROTECTED]
 Betreff: [Samba] Samba 3.0.4 + ldap + heartbeat cluster


 Hi,
 I have samba 3.0.4 with openldap and heartbeat. Everthing on Fedora Core 1
 Everything seems work fine, but after couple minutes work shares not
 available
 Message path not found  sometimes even appear message domain not
 available
 But ping on ipadress and name of PDC work fine.
 So, everything is one network one domain, dns atd...

 I check network mask, dns, wins, everything several times...
 I thing is it samba bug...

 Please have someone idea?

 Today evening i try install new samba 3.0.5, then disable cluster and then
 ldap



 --
 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.0.4 + ldap + heartbeat cluster

2004-07-12 Thread Arno Seidel
Hi Pavel,

you should check the samba-logs... and if there
is nothing try a higher debug-level in the smb.conf

do you use a seperate and dedicated network-connection / nic for the
heartbeat??


 -Ursprungliche Nachricht-
 Von: Pavel Hrozek [mailto:[EMAIL PROTECTED]
 Gesendet: Montag, 12. Juli 2004 12:15
 An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Betreff: RE: [Samba] Samba 3.0.4 + ldap + heartbeat cluster


 Yes, cfg on both nodes are same. But samba on secondary node runs
 only when
 primary fail.
 So i thing is not necessary (my opinion)

 Ldap run on both and i using
 passdb backend = ldapsam:ldap://10.107.189.6 ldap://10.107.189.7;

 I don't check log of heartbeat now, so i check this

 So thank fo now.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Arno Seidel
 Sent: Monday, July 12, 2004 11:01 AM
 To: Pavel Hrozek; [EMAIL PROTECTED]
 Subject: AW: [Samba] Samba 3.0.4 + ldap + heartbeat cluster

 hi Pavel,

 did you check the log files on the cluster / the main node where
 samba runs?

 if heartbeat takes over services, did you included that the /var/lib/samba
 directory is the same on the cluster-nodes



  -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Auftrag
  von Pavel Hrozek
  Gesendet: Montag, 12. Juli 2004 10:47
  An: [EMAIL PROTECTED]
  Betreff: [Samba] Samba 3.0.4 + ldap + heartbeat cluster
 
 
  Hi,
  I have samba 3.0.4 with openldap and heartbeat. Everthing on Fedora
  Core 1 Everything seems work fine, but after couple minutes work
  shares not available Message path not found  sometimes even appear
  message domain not available
  But ping on ipadress and name of PDC work fine.
  So, everything is one network one domain, dns atd...
 
  I check network mask, dns, wins, everything several times...
  I thing is it samba bug...
 
  Please have someone idea?
 
  Today evening i try install new samba 3.0.5, then disable cluster and
  then ldap
 
 
 
  --
  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] Proflies

2004-07-12 Thread Arno Seidel
hi,

if you want to create a new profile you have only to
add the domain-user to your user-list on the winxp box
and then log on as the new user... and the profile will be
after the next log off created

or copy the folder with the user settings (c:\documents\username) to
the samba-profile path 


 -Ursprungliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von
 B.Rumsey
 Gesendet: Montag, 12. Juli 2004 22:48
 An: [EMAIL PROTECTED]
 Betreff: [Samba] Proflies
 
 
 Hi all.
 Where on win xp can I find the profiles and which part do I need 
 to copy to 
 the samba profiles dir?
 
 thanks in advance
 Barry
 -- 
 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] Wishlist for v4.0 Integration / Setup of samba.

2004-07-07 Thread Arno Seidel
Hi,

and where can i find some rudimentary documentation for it??

regards
Arno

 -Ursprungliche Nachricht-
 Von: Guenther Deschner [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 7. Juli 2004 00:04
 An: Arno Seidel
 Cc: [EMAIL PROTECTED]
 Betreff: Re: [Samba] Wishlist for v4.0 Integration / Setup of samba.
 
 
 Hi,
 
 On Tue, Jul 06, 2004 at 10:34:51PM +0200, Arno Seidel wrote:
  Hi there,
  
  my wish for 4.0 is a deeper integration of ldap.
  maybe in that way, that share configurations could be stored direct
  in a ldap-entry.
 
 samba3 HEAD has code for that already since a long time (although 
 a feature
 probably not very well tested and obviously not very well known).
 
 Bye,
 Guenther
 -- 
 Guenther Deschner, SerNet Service Network GmbH
 Phone: +49-(0)551-37-0,  Fax: +49-(0)551-37-9
 
 

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


AW: [Samba] Wishlist for v4.0 Integration / Setup of samba.

2004-07-06 Thread Arno Seidel
Hi there,

my wish for 4.0 is a deeper integration of ldap.
maybe in that way, that share configurations could be stored direct
in a ldap-entry.

a an example the isc dhcpd can read its configuration out of a ldap-server
and the dhcpd.conf only consits of lines like ldap port ... ldap server ...
and so on.

this would let samba and ldap feel more like ads.

regards

Arno

 --
 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] How to use the profiles - command ?

2004-06-18 Thread Arno Seidel
Hi,
did you use -v to get more informations??


-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von
Dirk Hennrichs
Gesendet: Freitag, 18. Juni 2004 11:37
An: [EMAIL PROTECTED]
Betreff: [Samba] How to use the profiles - command ?


One problem when migrating from an NT-PDC to a 3.0.4SAMBA-PDC, the user ABC
has different SID's. So I want to change the SID of user ABC on the
SAMBA-PDC with the profiles-command.

Suggest:

User ABC in Domain NT has SID S-1-5-21-1234
User ABC in Domain LINUX has SID S-1-5-21-9876

So, on the Samba-Server I did:

Profiles -c S-1-5-21-9876 -n S-1-5-21-1234

I get the error message:
Could not open (null): Bad address


Can somebody tell me how to use the profiles-command 



Thanks a lot
Dirk

--
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] How to use the profiles - command ?

2004-06-18 Thread Arno Seidel
Hi,

hm you forgot the file to change

man profiles or profiles --usage

should help

nfs-1:/tmp/postfix-2.1.3 # profiles --usage
Usage: [-?v] [--usage] [-c ARG] [-n ARG] profilefile
nfs-1:/tmp/postfix-2.1.3 #

till then
arno

 -Ursprungliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von
 Dirk Hennrichs
 Gesendet: Freitag, 18. Juni 2004 11:37
 An: [EMAIL PROTECTED]
 Betreff: [Samba] How to use the profiles - command ?
 
 
 One problem when migrating from an NT-PDC to a 3.0.4SAMBA-PDC, 
 the user ABC
 has different SID's. So I want to change the SID of user ABC on the
 SAMBA-PDC with the profiles-command.
 
 Suggest:
 
 User ABC in Domain NT has SID S-1-5-21-1234
 User ABC in Domain LINUX has SID S-1-5-21-9876
 
 So, on the Samba-Server I did:
 
 Profiles -c S-1-5-21-9876 -n S-1-5-21-1234
 
 I get the error message:
 Could not open (null): Bad address
 
 
 Can somebody tell me how to use the profiles-command 
 
 
 
 Thanks a lot
 Dirk
 
 -- 
 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] How to use the profiles - command ?

2004-06-18 Thread Arno Seidel
Hi,

hm just try the ntuser.dat in the profile of the user

But the profiles does only support windows nt not 2k or xp (says the man
page)

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von
 Dirk Hennrichs
 Gesendet: Freitag, 18. Juni 2004 12:08
 An: [EMAIL PROTECTED]
 Betreff: AW: [Samba] How to use the profiles - command ?


 Which profilefile 
 Sorry, I'm frustrated, I have absolutely no idea ;-((


 -Ursprüngliche Nachricht-
 Von: Arno Seidel [mailto:[EMAIL PROTECTED]
 Gesendet: Freitag, 18. Juni 2004 12:00
 An: Dirk Hennrichs; [EMAIL PROTECTED]
 Betreff: AW: [Samba] How to use the profiles - command ?


 Hi,

 hm you forgot the file to change

 man profiles or profiles --usage

 should help

 nfs-1:/tmp/postfix-2.1.3 # profiles --usage
 Usage: [-?v] [--usage] [-c ARG] [-n ARG] profilefile
 nfs-1:/tmp/postfix-2.1.3 #

 till then
 arno

  -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Auftrag
  von Dirk Hennrichs
  Gesendet: Freitag, 18. Juni 2004 11:37
  An: [EMAIL PROTECTED]
  Betreff: [Samba] How to use the profiles - command ?
 
 
  One problem when migrating from an NT-PDC to a 3.0.4SAMBA-PDC,
  the user ABC
  has different SID's. So I want to change the SID of user ABC on the
  SAMBA-PDC with the profiles-command.
 
  Suggest:
 
  User ABC in Domain NT has SID S-1-5-21-1234
  User ABC in Domain LINUX has SID S-1-5-21-9876
 
  So, on the Samba-Server I did:
 
  Profiles -c S-1-5-21-9876 -n S-1-5-21-1234
 
  I get the error message:
  Could not open (null): Bad address
 
 
  Can somebody tell me how to use the profiles-command 
 
 
 
  Thanks a lot
  Dirk
 
  --
  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


[Samba] File-Permissions

2004-06-16 Thread Arno Seidel
Hi List,

i´ve a interesting problem on a samba share:

[data]

comment = Datas for al users
path = /space/data
read only = no
browse able = yes
create mask = 0777
force crate mask = 0777


whe i logon my samba-domain with any windows-client and create in that
share a file then the user-permisions are set to : rwx rw- rw-
and only the owner of the file can edit it. everyotherone just can read it.
the same is when on that share a folder will be createtd with a file in it.

but when i add following to lines to the share definition:

directory mask = 0777
force group = users

then all users can edit the file

i thought that the directory mask option is only for new folders (created by
loggedin users)

do i something wrong with my permissions?
i´ve tested it on my own selfcompiled samba 3.0.0
and the shipped version from SuSE 9.0 (2.??) and its the same behavior.


regards

Arno Seidel


--
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] interresting behavior

2004-06-15 Thread Arno Seidel
Hi List,

i´ve a interesting problem on a samba share:

[data]

comment = Datas for al users
path = /space/data
read only = no
browse able = yes
create mask = 0777
force crate mask = 0777


whe i logon my samba-domain with any windows-client and create in that
share a file then the user-permisions are set to : rwx rw- rw-
and only the owner of the file can edit it. everyotherone just can read it.
the same is when on that share a folder will be createtd with a file in it.

but when i add following to lines to the share definition:

directory mask = 0777
force group = users

then all users can edit the file

i thought that the directory mask option is only for new folders (created by
loggedin users)

do i something wrong with my permissions?
i´ve tested it on my own selfcompiled samba 3.0.0
and the shipped version from SuSE 9.0 (2.??) and its the same behavior.


regards

Arno Seidel


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


AW: [Samba] Samba just Slow with AutoCad?

2004-06-09 Thread Arno Seidel
Hi,

we had a similar problem with a reiserfs partition an
SGI´s FailSafe , it took to long to save a internal database of failsafe
because of this the ha services moved from one node to the other and back
again (until we stoped
failsafe) after we changed the partition to ext2 /ext3 this problem
dissapeared.

Maybe this could be the same reason. just a thought.

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von
 Brian Merrell
 Gesendet: Mittwoch, 9. Juni 2004 17:09
 An: [EMAIL PROTECTED]
 Betreff: Re: [Samba] Samba just Slow with AutoCad?


 Yes I am user reiserFS on the AutoCad Shares (Jerry, are you?)
 The older machine is running ext3.

 The CPU usage goes up, but I definately wouldn't call it a spike.
 It goes to about 1% which is probably normal.

 I did use the nolargeio=1 option and it did increase performance.. but..

 I tried timing the time it takes to save.  It takes the older
 machine about
 1.25 seconds
 to save a 606KB drawing and it takes ~3 seconds for the new
 fancy machine.

 Could this be due to ReiserFS?


 - Original Message -
 From: Rashkae [EMAIL PROTECTED]
 To: Brian Merrell [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, June 09, 2004 7:56 AM
 Subject: Re: [Samba] Samba just Slow with AutoCad?


  Hi.
 
  Does your new system use ReiserFS?
 
  When these ~20 second delays happen, can you see if there's a spike of
  System CPU time useage on the server?
 
  I've not heard of it happening over a network share, but some poorly
  behaved applications can trigger a 'feature', (actually, a
  performance optimization) with ReiserFS on Newer (2.6) kernels that
  will make the kernel spin it's wheels for a number of seconds.  If
  this might be the case for you, you can disable it by mounting a
  ReiserFS volume with a nolargeio=1 option.  (If you want to test this,
  it appears to to be safe to remount.  That is, mount /home -o
  remount,nolargeio=1 As an example.)
 
  On Tue, Jun 08, 2004 at 12:26:25PM -0600, Brian Merrell wrote:
   I just came across some very interesting information.
  
   We samba running on an old HP PIII 900.  I just plugged it back in and
 we
   opened some backup files we
   had on it.  It works just fine with AutoCad.
  
   Linux gatekeeper 2.4.26 #5 Mon Apr 19 07:15:24 MDT 2004 i686
 Pentium III
   (Coppermine) GenuineIntel GNU/Linux
  
   Samba Version 2.2.8a
  
   Our new machine is a Dual Opteron machine.
  
   Linux fileserv 2.6.5-gentoo-r1 #3 Sat May 29 13:32:03 MDT
 2004 x86_64 5
   GNU/Linux
  
   Samba Version Version 3.0.2a
  
   The difference is that I need the hard drive space on our new server
 versus
   the 40 gigs we have on the older machine.
  
   The smb.conf file on the old machine is very very basic:
  
   [global]
  
   workgroup = TRISTATE
   security = SHARE
  
   [backup]
  
   path = /usr/backup
   writeable = Yes
   guest ok = Yes
  
  
  
  
   - Original Message -
   From: Brian Merrell [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Tuesday, June 08, 2004 12:07 PM
   Subject: Re: [Samba] Samba just Slow with AutoCad?
  
  
Terry, Thanks a lot for your reply.  We're really trying to
 solve this
problem.
   
   
 Brian,


 1.   Which release of AutoCAD are you using?
   
Autodesk Land Desktop 2004
2004.0.0
Service Pack 1
   

 2.   Are the support files for AutoCAD on the client or
 the server?

   
On the clients.
   
 3.   Are you using cups?

   
No.
   
 4.   Is it true that your plotter settings are not being
 saved with
 the
 drawing?  Was this true when you were using a windows server?

   
They are being saved with the drawings.  They were also being saved
 with
the drawings on the windows server.  (the windows server
 was actually
 just
another client that shared it's HD).
   
 5.   Normally when AutoCAD is opening the print dialog box in an
   existing
 drawing, it is trying to find the printer that was used
 by the last
session
 of Autocad. If it can't find that printer, it produces the printer
   none.
 Are you loading your printers from the server such that
 each client
 has
the
 identical printer name?

   
First of all, you're right.  The print dialog only produces the
 printer
none when it's a new drawing.
Otherwise, it saves the print settings.  But we still experience a
 delay
independant of whether we
are printing from a new drawing or an existing one.  The printers
 aren't
   on
the server, and we do
not have identical printer name.
   
 6.   Are the network directories being used by AutoCAD the same as
 being
 used by the other programs that don't exhibit the long save times?

   
No.  AutoCad drawings are stored on a seperate harddrive and a
 different
directory.  However,
after reading this e-mail I moved a TIF image to the
 autocad directory
 and
opened them 

AW: [Samba] Sending message to connected users ?

2004-05-14 Thread Arno Seidel
Hi Mike,

there is a simple way for that.
you can use the smbclient on your linux system.

f.e. smbclient -M Computer
sends a message to the PC with the netbiosname Computer.


regards
Arno


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von
 Mike Stewart
 Gesendet: Freitag, 14. Mai 2004 10:54
 An: Samba
 Betreff: [Samba] Sending message to connected users ?


 Hi,

 Is there any simple way to send messages to all users who are
 connected to my Samba server.

 I've just a basic fileserver setup  (in a workgroup not Domain)
 all clients are using Win2k and mapping to shares.  I'd like to
 be able to send them a popup message from the Linux console (or
 my PC, or somewhere !) to let them know when I'm intending to
 reboot the server !

 Slackware Linux (8.0)
 Samba 2.2.8a


 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.680 / Virus Database: 442 - Release Date: 11/05/2004
 --
 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] Sending message to connected users ?

2004-05-14 Thread Arno Seidel
Hi Mike,

hm if you are good in Shell-Programming you could
write a script which excludes from the /var/lib/samba/browse.dat
(ascii-textfile)
the active pc´s and sends them a message.

regards
Arno

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von
 Mike Stewart
 Gesendet: Freitag, 14. Mai 2004 11:57
 An: Samba
 Betreff: Re: [Samba] Sending message to connected users ?


 Thanks Arno... I'd looked at smbclient and completely missed that
 command !

 Seems to work OK for some of the users but strangely it can't resolve my
 PC's netbios name !  I'll need to check some other settings I suppose.

 Is there a way of sending to ALL users at once ?

 ATB

 Mike

 - Original Message -
 From: Arno Seidel [EMAIL PROTECTED]
 To: Samba [EMAIL PROTECTED]
 Sent: Friday, May 14, 2004 10:25 AM
 Subject: AW: [Samba] Sending message to connected users ?


 Hi Mike,

 there is a simple way for that.
 you can use the smbclient on your linux system.

 f.e. smbclient -M Computer
 sends a message to the PC with the netbiosname Computer.


 regards
 Arno


  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Auftrag von
  Mike Stewart
  Gesendet: Freitag, 14. Mai 2004 10:54
  An: Samba
  Betreff: [Samba] Sending message to connected users ?
 
 
  Hi,
 
  Is there any simple way to send messages to all users who are
  connected to my Samba server.
 
  I've just a basic fileserver setup  (in a workgroup not Domain)
  all clients are using Win2k and mapping to shares.  I'd like to
  be able to send them a popup message from the Linux console (or
  my PC, or somewhere !) to let them know when I'm intending to
  reboot the server !
 
  Slackware Linux (8.0)
  Samba 2.2.8a
 
 
  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.680 / Virus Database: 442 - Release Date: 11/05/2004
  --
  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




 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.680 / Virus Database: 442 - Release Date: 11/05/2004


 --
 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] Strange Problem

2004-04-07 Thread Arno Seidel
Hi everyone,

i´m using samba (2.2.8a)with ldap under linux (SuSE 9.0) as PDC for a smal
network.
after the upgrade from samba (2.2.7a) i have a verry strange problem.

there are 2 workstations (ws_a / ws_b).
Both are members of the domain and can connect to the shares a.s.o.
ws_a has a own share of his hdd (C:)
Before the upgrade it was possible (without any confirmation) to connect
form ws_b to the share on ws_a.
After the upgrade it doesn´t work anymore / ws_a prompts for a password but
it does not
work with the users password.

Only one thing which can be seen in the logfile is:
that the uid is searched in capital letters but only if the user wants to
connect to the share of ws_a, if he connects to the server it is searched in
lowercase.

here the normal search:
Apr  5 10:07:11 server1 slapd[8196]: conn=64 op=1 SRCH
base=ou=people,dc=X scope=2
filter=((uid=paulke)(objectClass=sambaAccount))

here the other search:
Apr  5 10:08:37 server1 slapd[8197]: conn=66 op=1 SRCH
base=ou=people,dc=X scope=2
filter=((uid=PAULKE)(objectClass=sambaAccount))


about some hints where to start the search for the problem would be verry
helpfull.


best regards

Arno Seidel


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


AW: [Samba] Multi-homed Samba PDC problem

2004-04-07 Thread Arno Seidel
Hi Mike,

hope i understand everything right,

 Question: What type of problem is this?  and how serious?
It is a windows network problem and or a collision between two PDC´s.


 Question: Ok, how do I correct it?
There are some possible solutions for your problem:

a:

If there is allready a PDC (W2K/NT) then change on
the samba PDC the domain, and create on both sides an
interdomaintrust relationship

b:
Change the Samba config, that it is a Domainmember-Server.

Binding to the public interface only (via
bind interfaces, and bind interfaces only) .  The
examination of the log for NMBD indicates proper registration
of the Samba PDC as a Domain Master Browser as well
as Local Master browser on the segment.

However, adding the private backend interface to the
samba PDC interfaces statement, the NMBD logs are different.
Access to the WINS server is indicated as timing out.
Further, the PDC is unable to register itself as the
Domain Master Browser, but it does register itself as
the Local Master Browser.

The private network is on eth0 and the public on eth3.

The bind interfaces statement states the interfaces
in the following order eth3 then eth0.



with kind regards

Arno Seidel


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