RE: [Samba] quota support on AIX

2002-10-31 Thread Tsutomu Miyashita
 On Thu, Oct 31, 2002 at 01:40:16PM +0900, Tsutomu Miyashita wrote:
  Hellow, members
  
  I want to use SAMBA with disk quota support on AIX machine,
   but have not succeeded yet. Are there any members who could
  succeeded setting up SAMBA on that environment?
  
  OS:AIX4.3.3
  SAMBA:2.2.5
  configure option:--with-quotas
  
  First, I configured AIX's quota environment, and confirmed quota
  worked fine. And I accessed to SAMBA, but disk size displayed
  on Windows explorer did not match with quota size. Imformed disk
  size is filesystem size of SAMBA server.
  I comfirmed this step on Redhat6.2, but informed disk size was 
  just quota size.
  I wonder SAMBA quota function does not support AIX. Is that true?
 
 I don't know about AIX in particular, but quota support is one of the 
 most platform dependent parts of Samba out there.  Even linux had
 Quota problems due to kernel interface changes.  
 
 In the meantime you might be able to use the 'df command' smb.conf
 option to your advantage.
I tried dfree command option, but shell script specified in dfree command option
was not invoked from SAMBA.
I think the cause of this is the same as quota problem.

Thanks
Tsutomu Miyashita

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



[Samba] Problems of groups accessing shared directory

2002-10-31 Thread Qonita
Hello,

I have problems with people having different groups who access a shared
directory via samba.
The requirements are:
1. There are people with group group1 and group group2 in /etc/passwd
2. 3 people from group group1 and 2 people from group group2 are allowed
to access a shared directory and have read/write access to that directory.

Our solutions are:
1. We made a special additional group called special to classify those
people, and add the entry in /etc/group like:
special:*:9000:person1,person2,person3,person4,person5

2. The name of the shared directory to be accessed via samba is ourdir,
the entry in smb.conf is like:
[ourdir]
comment = special group ourdir
path=/home/pub/ourdir
browseable=yes
writeable=yes
create mask=0664
directory mask=775
force directory mode=0511

3. In the linux system, the directory /home/pub/ourdir is chown to root and
chgrp to special. The permission is 775, so that anyone belong to the
special group has full control to the directory.
drwxrwxr-x 12 rootspecial4096  Oct 29 17:15  ourdir

Problems came when person1 put/edit a file via samba (Windows Explorer), the
ownership of the file is person1.group1, instead of person1.special. In this
case, person4.group2 cannot edit the file (doesn't belong to the same
group).
How to make all files written or edited always belonging to group special?
I have tried force group = special but it turned out anyone has access to
the directory, eventhough they're not listed as member of group special in
/etc/group.

Thank you very much for any replies.

-Qonita MS


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



Re: [Samba] Problems of groups accessing shared directory

2002-10-31 Thread Dimitrios Stergiou
On Thursday 31 October 2002 10:22 am, Qonita wrote:

 drwxrwxr-x 12 rootspecial4096  Oct 29 17:15  ourdir
 How to make all files written or edited always belonging to group
 special? I have tried force group = special but it turned out anyone
 has access to the directory, eventhough they're not listed as member of
 group special in /etc/group.

i would suggest here a:
chmod g+s ourdir

this will allow everything created under the ourdir directory to have the same 
group ownership as ourdir

-- 
Dimitrios Stergiou
System, Network and Security Administration Group
Intracom S.A

DISCLAIMER: Funny signature follows
---

Johnson's First Law:
When any mechanical contrivance fails, it will do so at the
most inconvenient possible time.

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



Re: [Samba] codepage-conversion for smbclient

2002-10-31 Thread Andreas Schlager
Hi Frank,

thanks for your reply! It helped a lot!

The problem was the 'user' parameter in the mount options. I think,
this was a valid parameter in a old version of smbmount, but now I
cant't find it in the documentation.

Maybe this is a tiny bug in smbmount. When omitting this parameter,
it works as expected!

Thanks a lot!

-Andreas.

Am 30 Oct 2002, um 17:04 Uhr schrieb Frank Matthieß:

 On Wed, Oct 30, 2002 at 04:26:54PM +0100, Andreas Schlager wrote:
  Hi list,
 
  I've browsed through the archives, but I didn't find a answer for
  this:
 
  I use smbclient to access a windowsNT 4.0 server.
  I get only '?' for filenames which contains Umlauts.
  F.e., a file called Verknüpfung is displayed as Verkn?pfung.
 
  I use following mount-string:
  mount.smbfs //SERVER/Share /home/xxx -o rw noexec nosuid nodev user
  codepage cp850 iocharset iso8859-1 credentials /etc/credentials

 You got no error messages with exactly this commandline?

 I try this between (2.4.18 on debian sid agains nt server 4.0)

 mount -t smbfs\
   //ntserver1b/C$ \
   -o rw,  \
   credentials=smbfs.credentials,  \
   codepage=cp850, \
   iocharset=iso8859-1 /mnt/tmp

 and have no Problems reading öäüÖÄÜß's in file and dirnames.

 
  I played around with the codepage and iocharset option, but without
  success.
 
  Version of mount.smbfs: 2.2.3a-6 for Debian
  Kernel: 2.4.18 (I386)

 smbmount Version 2.2.5-1 for Debian

 --
 Frank Matthieß[EMAIL PROTECTED]

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


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



Re: [Samba] segmentation fault

2002-10-31 Thread Florian Rauh
Am Donnerstag, 31. Oktober 2002 01:13 schrieb Pablo Rincon Ymaz:
 Dear Samba org.

 I have a problem when mounting a windows drive into my linux server, I have
 samba 2.2.3a and kernel 2.4.18 with SuSE 8.0

 The problem I have is that I get a segmentation fault message when I try
 to access some windows directories, after that samba gets frozen and I cant
 kill the process (looks to me it keeps running an endless cycle). This
 wasn't a problem with the earlier version of samba I had before

 The kernel is configured with msdos, win fat, etc file systems  and also
 with smb file systems to mount them.

 Can you help me with some clues to solve this problem

Please try to set Samba's log level to maximum and send the relevant parts of 
your log file (/var/log/message or /var/log/warn) to me mailing list. What 
are your Windows systems (Win2K SPx, WinXP or Win9x)?

greetings

Florian Rauh

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



Re: [Samba] Problems of groups accessing shared directory

2002-10-31 Thread Simon Hobson
Qonita wrote:


3. In the linux system, the directory /home/pub/ourdir is chown to root and
chgrp to special. The permission is 775, so that anyone belong to the
special group has full control to the directory.
drwxrwxr-x 12 rootspecial4096  Oct 29 17:15  ourdir

Problems came when person1 put/edit a file via samba (Windows Explorer), the
ownership of the file is person1.group1, instead of person1.special. In this
case, person4.group2 cannot edit the file (doesn't belong to the same
group).
How to make all files written or edited always belonging to group special?
I have tried force group = special but it turned out anyone has access to
the directory, eventhough they're not listed as member of group special in
/etc/group.


After setting the group ownership, also set the sticky bit, ie :

chmod g+s directory

This tells Linux to use the group name of that directory, rather than 
the primary group of the user, when creating new files.

Simon

--
Simon Hobson, Technical Services Engineer
Colony Gift Corporation Limited
Lindal in Furness, Ulverston, Cumbria, LA12 0LD
Tel 01229 461100, Fax 01229 461101

Registered in England No. 1499611
Regd. Office : 100 New Bridge Street, London, EC4V 6JA.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problems of groups accessing shared directory

2002-10-31 Thread Qonita
thx to Dimitrios  Simon.
What a prompt response. It really does work!
Never really thought of using sticky bit..

-Qonita
- Original Message -
From: Simon Hobson [EMAIL PROTECTED]
To: Qonita [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, October 31, 2002 15:33
Subject: Re: [Samba] Problems of groups accessing shared directory


 Qonita wrote:

 3. In the linux system, the directory /home/pub/ourdir is chown to root
and
 chgrp to special. The permission is 775, so that anyone belong to the
 special group has full control to the directory.
 drwxrwxr-x 12 rootspecial4096  Oct 29 17:15  ourdir
 
 Problems came when person1 put/edit a file via samba (Windows Explorer),
the
 ownership of the file is person1.group1, instead of person1.special. In
this
 case, person4.group2 cannot edit the file (doesn't belong to the same
 group).
 How to make all files written or edited always belonging to group
special?
 I have tried force group = special but it turned out anyone has access
to
 the directory, eventhough they're not listed as member of group special
in
 /etc/group.

 After setting the group ownership, also set the sticky bit, ie :

 chmod g+s directory

 This tells Linux to use the group name of that directory, rather than
 the primary group of the user, when creating new files.

 Simon

 --
 Simon Hobson, Technical Services Engineer
 Colony Gift Corporation Limited
 Lindal in Furness, Ulverston, Cumbria, LA12 0LD
 Tel 01229 461100, Fax 01229 461101

 Registered in England No. 1499611
 Regd. Office : 100 New Bridge Street, London, EC4V 6JA.


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



[Samba] PDC problems ....

2002-10-31 Thread Michele Santucci
I've got a big problem with my PDC (Mandrake 8.2 with samba 2.2.5):
when I try to join the domain from a W2KPRO (sp3) workstation the procedure
goes on well until it require
to create a local account for a Domain user ... the system let me browse all
the user account on the
domain controller but when I try to add it reports this error:
The trust relationship between this workstation and the primary domain is
failed
(probably the english text is different but this should be the meaning since
I'm traslating it from italian).

I already set the w2k workstations to send non encrypted password to third
parties smb server.
I checked /etc/passwd, group and /etc/samba/smbpasswd file and they're
correcly updated with machine and user accounts.

Anyway these are smb.conf, group,passwd and smbpasswd interested rows:

---
SMB.CONF -

# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2002/10/31 09:48:05

# Global parameters
[global]
 coding system =
 client code page = 850
 code page directory = /var/lib/samba/codepages
 workgroup = CCGM-DOM
 netbios name = SERVER-CCGM
 netbios aliases =
 netbios scope =
 server string = CCGM Samba Server
 interfaces = eth0
 bind interfaces only = No
 security = USER
 encrypt passwords = Yes
 update encrypted = No
 allow trusted domains = Yes
 hosts equiv =
 min passwd length = 5
 map to guest = Never
 null passwords = No
 obey pam restrictions = No
 password server =
 smb passwd file = /etc/samba/smbpasswd
 root directory =
 pam password change = No
 passwd program = /usr/bin/passwd
 passwd chat = *new*password* %n\n *new*password* %n\n *changed*
 passwd chat debug = No
 username map =
 password level = 0
 username level = 0
 unix password sync = Yes
 restrict anonymous = No
 lanman auth = Yes
 use rhosts = No
 admin log = No
 log level = 0
 syslog = 1
 syslog only = No
 log file = /var/log/samba/log.%m
 max log size = 50
 timestamp logs = Yes
 debug hires timestamp = No
 debug pid = No
 debug uid = No
 protocol = NT1
 large readwrite = No
 max protocol = NT1
 min protocol = CORE
 read bmpx = No
 read raw = Yes
 write raw = Yes
 nt smb support = Yes
 nt pipe support = Yes
 nt status support = Yes
 announce version = 4.5
 announce as = NT
 max mux = 50
 max xmit = 65535
 name resolve order = lmhosts host wins bcast
 max packet = 65535
 max ttl = 259200
 max wins ttl = 518400
 min wins ttl = 21600
 time server = No
 unix extensions = No
 change notify timeout = 60
 deadtime = 0
 getwd cache = Yes
 keepalive = 300
 lpq cache time = 10
 max smbd processes = 0
 max disk size = 0
 max open files = 1
 read size = 16384
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 stat cache size = 50
 use mmap = Yes
 total print jobs = 0
 load printers = Yes
 printcap name = lpstat
 disable spoolss = No
 enumports command =
 addprinter command =
 deleteprinter command =
 show add printer wizard = Yes
 os2 driver map =
 strip dot = No
 mangling method = hash
 character set =
 mangled stack = 50
 stat cache = Yes
 domain admin group = ccgm-admin
 domain guest group =
 machine password timeout = 604800
 # How can I encode the machine name in the -c param? ( -c 'Workstation %m')
 add user script = /usr/sbin/adduser -n -g machines -c Machine -d
/dev/null -s /bin/false %m$
 delete user script =
 logon script =
 logon path = \\%N\%U\profile
 logon drive =
 logon home = \\%N\%U
 domain logons = Yes
 os level = 65
 lm announce = Auto
 lm interval = 60
 preferred master = True
 local master = Yes
 domain master = True
 browse list = Yes
 enhanced browsing = Yes
 dns proxy = Yes
 wins proxy = Yes
 wins server =
 wins support = Yes
 wins hook =
 kernel oplocks = Yes
 lock spin count = 3
 lock spin time = 10
 oplock break wait time = 0
 add share command =
 change share command =
 delete share command =
 config file =
 preload =
 lock dir = /var/cache/samba
 pid directory = /var/run/samba
 utmp directory =
 wtmp directory =
 utmp = No
 default service =
 message command =
 dfree command =
 valid chars =
 remote announce =
 remote browse sync =
 socket address = 0.0.0.0
 homedir map = auto.home
 time offset = 0
 NIS homedir = No
 source environment =
 panic action =
 hide local users = No
 host msdfs = No
 winbind uid =
 winbind gid =
 template homedir = /home/%D/%U
 template shell = /bin/false
 winbind separator = \
 winbind cache time = 15
 winbind enum users = Yes
 winbind enum groups = Yes
 winbind use default domain = Yes
 comment =
 path =
 alternate permissions = No
 username = guest
 guest account = guest
 invalid users =
 valid users = ccgm-admin, ccgm, satya
 admin users = ccgm-admin
 read list =
 write list =
 printer admin =
 force user =
 force group =
 read only = Yes
 create mask = 0744
 force create mode = 00
 security mask = 0777
 force security mode = 00
 directory mask = 0755
 force directory mode = 00
 directory security mask = 0777
 force directory security mode = 00
 force 

Re: [Samba] codepage-conversion for smbclient

2002-10-31 Thread Urban Widmark
On Thu, 31 Oct 2002, Andreas Schlager wrote:

 The problem was the 'user' parameter in the mount options. I think, 
 this was a valid parameter in a old version of smbmount, but now I 
 cant't find it in the documentation.

No, smbmount has never understood the 'user' option.

It may be that the kernel you used then was configured so that smbfs by
default used cp850/is8859-1 characters. In the 2.2 kernel that was the
only supported way to set it (and is still available).

The 'user' option should be supported. But that's a different story ...

/Urban

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



[Samba] PDC Problems (read this the first one is incomplete)

2002-10-31 Thread Michele Santucci
Sorry but I've posted an incomplete message before that:

I've got a big problem with my PDC (Mandrake 8.2 with samba 2.2.5):
when I try to join the domain from a W2KPRO (sp3) workstation the procedure
goes on well until it require to create a local account for a Domain user
... the system let me browse all
the user account on the domain controller but when I try to add it reports
this error:
The trust relationship between this workstation and the primary domain is
failed (probably the english text is different but this should be the
meaning since
I'm traslating it from italian).

In the machine specific log file if found this:

[2002/10/31 10:14:32, 0] smbd/password.c:authorise_login(863)
  authorise_login: rejected invalid user guest
[2002/10/31 10:14:32, 0] smbd/password.c:authorise_login(863)
  authorise_login: rejected invalid user guest

I already set the w2k workstations to send non encrypted password to third
parties smb server.
I checked /etc/passwd, group and /etc/samba/smbpasswd file and they're
correcly updated with machine and user accounts.

Anyway these are smb.conf, group,passwd and smbpasswd interested rows:

---
SMB.CONF -


# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2002/10/31 10:15:15

# Global parameters
[global]
 coding system =
 client code page = 850
 code page directory = /var/lib/samba/codepages
 workgroup = CCGM-DOM
 netbios name = SERVER-CCGM
 netbios aliases =
 netbios scope =
 server string = CCGM Samba Server
 interfaces = eth0
 bind interfaces only = No
 security = USER
 encrypt passwords = Yes
 update encrypted = No
 allow trusted domains = Yes
 hosts equiv =
 min passwd length = 5
 map to guest = Never
 null passwords = No
 obey pam restrictions = No
 password server =
 smb passwd file = /etc/samba/smbpasswd
 root directory =
 pam password change = No
 passwd program = /usr/bin/passwd
 passwd chat = *new*password* %n\n *new*password* %n\n *changed*
 passwd chat debug = No
 username map =
 password level = 0
 username level = 0
 unix password sync = Yes
 restrict anonymous = No
 lanman auth = Yes
 use rhosts = No
 admin log = No
 log level = 0
 syslog = 1
 syslog only = No
 log file = /var/log/samba/log.%m
 max log size = 50
 timestamp logs = Yes
 debug hires timestamp = No
 debug pid = No
 debug uid = No
 protocol = NT1
 large readwrite = No
 max protocol = NT1
 min protocol = CORE
 read bmpx = No
 read raw = Yes
 write raw = Yes
 nt smb support = Yes
 nt pipe support = Yes
 nt status support = Yes
 announce version = 4.5
 announce as = NT
 max mux = 50
 max xmit = 65535
 name resolve order = lmhosts host wins bcast
 max packet = 65535
 max ttl = 259200
 max wins ttl = 518400
 min wins ttl = 21600
 time server = No
 unix extensions = No
 change notify timeout = 60
 deadtime = 0
 getwd cache = Yes
 keepalive = 300
 lpq cache time = 10
 max smbd processes = 0
 max disk size = 0
 max open files = 1
 read size = 16384
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 stat cache size = 50
 use mmap = Yes
 total print jobs = 0
 load printers = Yes
 printcap name = lpstat
 disable spoolss = No
 enumports command =
 addprinter command =
 deleteprinter command =
 show add printer wizard = Yes
 os2 driver map =
 strip dot = No
 mangling method = hash
 character set =
 mangled stack = 50
 stat cache = Yes
 domain admin group = ccgm-admin
 domain guest group = guest
 machine password timeout = 604800
 add user script = /usr/sbin/adduser -n -g machines -c Machine -d
/dev/null -s /bin/false %m$
 delete user script =
 logon script =
 logon path = \\%N\%U\profile
 logon drive =
 logon home = \\%N\%U
 domain logons = Yes
 os level = 65
 lm announce = Auto
 lm interval = 60
 preferred master = True
 local master = Yes
 domain master = True
 browse list = Yes
 enhanced browsing = Yes
 dns proxy = Yes
 wins proxy = Yes
 wins server =
 wins support = Yes
 wins hook =
 kernel oplocks = Yes
 lock spin count = 3
 lock spin time = 10
 oplock break wait time = 0
 add share command =
 change share command =
 delete share command =
 config file =
 preload =
 lock dir = /var/cache/samba
 pid directory = /var/run/samba
 utmp directory =
 wtmp directory =
 utmp = No
 default service =
 message command =
 dfree command =
 valid chars =
 remote announce =
 remote browse sync =
 socket address = 0.0.0.0
 homedir map = auto.home
 time offset = 0
 NIS homedir = No
 source environment =
 panic action =
 hide local users = No
 host msdfs = No
 winbind uid =
 winbind gid =
 template homedir = /home/%D/%U
 template shell = /bin/false
 winbind separator = \
 winbind cache time = 15
 winbind enum users = Yes
 winbind enum groups = Yes
 winbind use default domain = Yes
 comment =
 path =
 alternate permissions = No
 username =
 guest account = guest
 invalid users =
 valid users = ccgm-admin, ccgm, satya
 admin users = ccgm-admin
 read list =
 write list =
 printer admin =
 force user =
 

[Samba] Re: SMBMOUNT

2002-10-31 Thread Urban Widmark
On Tue, 29 Oct 2002, Tidu Nicola wrote:

 Can you give me an explanation about this error I get:
 
 when I give the command:
 
 mount -t smb -o username=name,password=pw //10.110.4.106/software /mnt/remote
 
 i receive these two lines:
 
 12500: session request to 10.110.4.106 failed (Called name not present)
 12500: session request to 10 failed (Called name not present)


When you specify the server name as 10.110.4.106 smbmount first tries to 
send that string as the server name (one of the parameters when connecting 
is that the client should give the name of the server).

Failing that it tries to use the name up to the first .

Failing that it tries to use *SMBSERVER, which works (else you would have 
had that error printed too).

Called name is the netbios name of the server.

In all cases it has attempted to connect to ip 10.110.4.106. The quiet way 
to do this is to use:
mount -t smb -o username=... //servername/software

Or if your machine doesn't know which ip matches 'servername':
mount -t smb -o username=...,ip=10.110.4.106 //servername/software


If you don't know the netbiosname of the server I guess you could try 
this:

mount -t smb -o username=...,ip=10.110.4.106 //*SMBSERVER/software

Or just live with the harmless errors.


/Urban

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



Re: [Samba] internal error: signal 11

2002-10-31 Thread Frank Matthieß
On Wed, Oct 30, 2002 at 11:35:42AM +, Gerhard Vögel wrote:
 Hello,
 
 we got the following error in the samba logs:
 
 Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0] 
 lib/fault.c:fault_report(38) 
 Oct 30 06:29:01 hornbill smbd[12783]:   
 === 
 Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0] 
 lib/fault.c:fault_report(39) 
 Oct 30 06:29:01 hornbill smbd[12783]:   INTERNAL ERROR: Signal 11 in pid 
 12783 (2.2.6-SuSE) 
 Oct 30 06:29:01 hornbill smbd[12783]:   Please read the file BUGS.txt in 
 the distribution 
 Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0] 
 lib/fault.c:fault_report(41) 
 Oct 30 06:29:01 hornbill smbd[12783]:   
 === 
 Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0] 
 lib/util.c:smb_panic(1094) 
 Oct 30 06:29:01 hornbill smbd[12783]:   PANIC: internal error 
 Oct 30 06:29:01 hornbill smbd[12783]: 
 
 The error is continuously repeated with increased pids until the machine 
 will be rebooted. Restart of smbd, nmbd and winbind has no effect.
 
 Clients can connect to samba but they cannot access files. File access on 
 NT clients is aborted with different messages. 
 
 Samba version is 2.2.6 (Suse RPM) and linux kernel is 2.4.19, but it 
 already happened with 2.2.4 and kernel 2.4.16. I cannot reproduce the 
 error, but it happens once in a week.
 
 I found similar errors discussed in the list archives but no explanation 
 or solution.
 
 Can anybody help.


The last timer i got this type of error, it was an hardware problem.
Some years ago i compiled e kernel on an 'stable' System, which runs
novell netware 3.1 for years. The gcc failes with internal error:
signal 11.

This was an hardware with PS/2 RAM. One module has another speed (70ns)
than the other (60ns), so this was an timing issue of the hardware and
not the os or software.

Take a look to the memory sub system. More than one module? Same Timing?

-- 
Frank Matthieß[EMAIL PROTECTED]

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



[Samba] smbclient nmblookup not behaving the same way

2002-10-31 Thread Ahmed RAHAL
Hello Samba list,

I lately noticed a strange behaviour :
nmblookup MyPC
returns the name  IP of the host
using MyPC as netbios name.
but,
smbclient -L MyPC
never connects as it returns an incoherent IP
(some fuzzy public IP nothing to with the local
network).

this is a fresh 2.2.3a install on RedHat 7.3.

I could workaround this problem by inserting
the netbios names into /etc/hosts, some sort
of netbios/hosts resolution getting it straight.
However I wonder why nmblookup gives
the right answer while smbclient can't get it :p

thanks for any suggestion/hint, 'caus I guess
it is just because I ignore the exact way smbclient
resolves netbios names.

Ahmed RAHAL.

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



Re: [Samba] internal error: signal 11

2002-10-31 Thread René Nieuwenhuizen
Hi,

I can reproduce this internal error. When I use rpcclient to do 
'deldriver' this panic is generated and the driver is not removed!

Is this of any help?

Frank Matthieß heeft geschreven:

On Wed, Oct 30, 2002 at 11:35:42AM +, Gerhard Vögel wrote:
 

Hello,

we got the following error in the samba logs:

Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0] 
lib/fault.c:fault_report(38) 
Oct 30 06:29:01 hornbill smbd[12783]:   
=== 
Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0] 
lib/fault.c:fault_report(39) 
Oct 30 06:29:01 hornbill smbd[12783]:   INTERNAL ERROR: Signal 11 in pid 
12783 (2.2.6-SuSE) 
Oct 30 06:29:01 hornbill smbd[12783]:   Please read the file BUGS.txt in 
the distribution 
Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0] 
lib/fault.c:fault_report(41) 
Oct 30 06:29:01 hornbill smbd[12783]:   
=== 
Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0] 
lib/util.c:smb_panic(1094) 
Oct 30 06:29:01 hornbill smbd[12783]:   PANIC: internal error 
Oct 30 06:29:01 hornbill smbd[12783]: 

The error is continuously repeated with increased pids until the machine 
will be rebooted. Restart of smbd, nmbd and winbind has no effect.

Clients can connect to samba but they cannot access files. File access on 
NT clients is aborted with different messages. 

Samba version is 2.2.6 (Suse RPM) and linux kernel is 2.4.19, but it 
already happened with 2.2.4 and kernel 2.4.16. I cannot reproduce the 
error, but it happens once in a week.

I found similar errors discussed in the list archives but no explanation 
or solution.

Can anybody help.
   



The last timer i got this type of error, it was an hardware problem.
Some years ago i compiled e kernel on an 'stable' System, which runs
novell netware 3.1 for years. The gcc failes with internal error:
signal 11.

This was an hardware with PS/2 RAM. One module has another speed (70ns)
than the other (60ns), so this was an timing issue of the hardware and
not the os or software.

Take a look to the memory sub system. More than one module? Same Timing?

 

René Nieuwenhuizen
Sysadmin
CPB Netherlands Bureau for Economic Policy Analysis

--

Aan dit bericht kunnen geen rechten worden ontleend.
Het bericht is alleen bestemd voor de geadresseerde.
Indien dit bericht niet voor u is bestemd, verzoeken wij u dit onmiddellijk aan
ons te melden en de inhoud van het bericht te vernietigen.

This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and
delete its contents.

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



Re: [Samba] internal error: signal 11

2002-10-31 Thread Andrew Bartlett
On Thu, Oct 31, 2002 at 10:52:25AM +0100, René Nieuwenhuizen wrote:
 Hi,
 
 I can reproduce this internal error. When I use rpcclient to do 
 'deldriver' this panic is generated and the driver is not removed!
 
 Is this of any help?

Can you setup a 'panic action' in your smb.conf?  

Set it to '/bin/sleep 9000' and attach to the process with gdb.

The grab a 'bt full' from gdb - this will help at lot in chasing 
it down.

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



Re: [Samba] Crontab ??

2002-10-31 Thread Frank Matthieß
On Wed, Oct 30, 2002 at 09:04:59PM +0100, Walter Mautner wrote:
   Hi!
  I need to make changes in crontab, but i have many servers to make
 this changes.
  Is there some way to do this remotely at the same time for all
 servers?
  (for example: replacing a file?)
 
 man /etc/crontab?

* cfengine
* ssh based remote access rsa/dsa auth and shellscripting

On my debian sid system the crontab files a in 

/var/spool/cron/crontabs

and there are plain textfiles.

It can be necessary to reload/SIGHUP  the crond, to give'm a hint of new
crontab's.

 
 begin 666 ATT00192.htm
 M/%$3T-465!%($A434P@4%53$E#((M+R]7,T,O+T141!(5$U,(#0N,!4
 
 
 B/CPO1D].5#XF;F)S#L\+U ^/]3T19/CPO2%1-3#X-@```
 end

Walter, please do not senmd uuencode html files with same content of
this text.

-- 
Frank Matthieß[EMAIL PROTECTED]

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



Re: [Samba] internal error: signal 11

2002-10-31 Thread René Nieuwenhuizen
At your service (as they used to say in the netherlands)

Andrew Bartlett heeft geschreven:


On Thu, Oct 31, 2002 at 10:52:25AM +0100, René Nieuwenhuizen wrote:
 

Hi,

I can reproduce this internal error. When I use rpcclient to do 
'deldriver' this panic is generated and the driver is not removed!

Is this of any help?
   


Can you setup a 'panic action' in your smb.conf?  

Set it to '/bin/sleep 9000' and attach to the process with gdb.

The grab a 'bt full' from gdb - this will help at lot in chasing 
it down.

Andrew Bartlett
 

Thanks Andrew for looking into it...

René Nieuwenhuizen
Sysadmin
CPB Netherlands Bureau for Economic Policy Analysis
--

Aan dit bericht kunnen geen rechten worden ontleend.
Het bericht is alleen bestemd voor de geadresseerde.
Indien dit bericht niet voor u is bestemd, verzoeken wij u dit onmiddellijk aan
ons te melden en de inhoud van het bericht te vernietigen.

This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and
delete its contents.


Script started on Thu Oct 31 10:19:13 2002
]0;rootproliant3:/var/cache/samba[rootproliant3 samba]# gdb /usr/sbin/smbd 21547
GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-redhat-linux...
(no debugging symbols found)...
Attaching to program: /usr/sbin/smbd, process 21547
Reading symbols from /usr/lib/libcups.so.2...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libcups.so.2
Reading symbols from /lib/libssl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libssl.so.2
Reading symbols from /lib/libcrypto.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypto.so.2
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libpam.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /usr/lib/libpopt.so.0...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libpopt.so.0
Reading symbols from /lib/i686/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...
done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols found)...
done.
Loaded symbols for /lib/libnss_nis.so.2
0x420b48a9 in wait4 () from /lib/i686/libc.so.6
(gdb) bt
#0  0x420b48a9 in wait4 () from /lib/i686/libc.so.6
#1  0x4213030c in __DTOR_END__ () from /lib/i686/libc.so.6
#2  0x4204a062 in system () from /lib/i686/libc.so.6
#3  0x081497e1 in smb_panic ()
#4  0x08137af0 in fault_report ()
#5  signal handler called
#6  0x08141ed0 in StrCaseCmp ()
#7  0x08158dac in get_short_archi ()
#8  0x0815f185 in delete_printer_driver ()
#9  0x080e5cc0 in _spoolss_deleteprinterdriver ()
#10 0x080e0f5c in api_spoolss_deleteprinterdriver ()
#11 0x080df224 in api_rpcTNP ()
#12 0x080e38e9 in api_spoolss_rpc ()
#13 0x080df038 in api_pipe_request ()
#14 0x080cea7c in process_request_pdu ()
#15 0x080cec45 in process_complete_pdu ()
#16 0x080cf005 in write_to_pipe ()
#17 0x08075b98 in api_fd_reply ()
#18 0x080765bc in reply_trans ()
#19 0x080a6279 in switch_message ()
#20 0x080a631e in construct_reply ()
#21 0x080a659e in process_smb ()
#22 0x080a6faa in smbd_process ()
#23 0x0806a948 in main ()
#24 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) n y
Detaching from program: /usr/sbin/smbd, process 21547



[Samba] Software para construccion WEB -Publicidad-

2002-10-31 Thread Soft2002
Title: Nota informativa - Publicidad





   
 
  
 
   



  
Con 
  nuestro nuevo software, solo hay que rellenar formularios, 
  nunca fu tan facil.
  Haga tambien sus catlogos en CD. (con autoarranque a partir 
  de la informacin ya introducida).
  
  DESCARGUESE NUESTRO programa demostracin gratuito.
  VEA 
  POSIBILIDADES EN...




  

  
  

  


BORRAR su e-mail automticamente 
CLICK 
AQUI
___
Mensaje publicitario.
Los datos que disponemos no tienen caracter personal de ningn tipo.
Este mensaje se enva en concordancia con la nueva legislacin sobre 
correo electrnico (LSSI)
(Articulos 18,19 y 21 titulo lll. Comunicaciones comerciales via electronica).





[Samba] 3000'ish Open Files - causes network connection to be reset from single machine

2002-10-31 Thread Gerald Drouillard
Samba_Version: 2.2.6
Server_OS: Mandrake 8.2
Client_OS: NT 4 workstation

There seems to be a issue on a Samba server when NT telnet sessions have
roughly
1500-1600 files open on a samba server.  The client has a Clipper database
application that opens roughly 150 file handles per session.  When logged
into
the NT4sp6a workstation machine locally, everything is fine.  I am able to
open
the application 20+ times with no issues at all.  The files and application
are
on the Samba network drive S.

When the application is executed from 10 or 11 telnet sessions (using
www.georgiasoftworks.com telnet server for NT) it appears that the network
connections get reset causing open file handles in the previous telnet
sessions to close.  The same application hosted by a Win2k workstation
instead
of a Samba server does not demonstrate this issue and everything runs fine.
Another hint would be that if logged on locally to the machine, and with 20
or
so application instances are open and running fine, the first telnet session
to
connect will cause the reset behavior causing all file handles to be lost.

The NT telnet server when booting up has roughly 1200 file handles open at a
time as reported by the task manager.

The server has no problems opening the application 20 times.  There seems to
be
no problems with running the program locally at all.  In other words I do
not
think there is a realistic limit on opening the application locally.  The
server
reports 4980 handles in use with 20 application windows open and everything
runs
fine.  The first telnet session will cause the network connections to
reset
causing any open DOS file handles to be closed.

I reboot the server.  If I start 10 telnet sessions I have 4214 handles.
When
the 11th session starts the network connections are reset.  When the 11th
session finishes loading the OS reports 4531 handles.  The other 10 telnet
sessions will get a read error when trying to access any previously opened
file handle.

The smb.conf and level 10 log are at:
http://www.ask-services.com/telnetsmbtest.tar


Regards
-
Gerald Drouillard
Owner and Consultant
Drouillard  Associates
http://www.Drouillard.ca

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



[Samba] SWAT display

2002-10-31 Thread Mike Stewart



Is there any way of modifying the SWAT pages shown 
by my browser ? I'd like to move the heading so that I don't have to 
scroll down every time the page refreshes.

Thanks

Mike


Re: [Samba] Unable to login with regular Linux accounts?

2002-10-31 Thread Frank Matthieß
On Wed, Oct 30, 2002 at 03:07:30PM -0500, Scott Wrosch wrote:
 Hello,
 
 This may be kind of a dumb question, as it's something I could easily
 be overlooking, but I'm confused anyways.
 
 My Samba server is part of the MA domain.  However, I want a couple of
 non-domain accounts to still be able to access Samba shares.  The
 machines trying to access the shares are Win2k machines, and whenever
 I try to access the server, it asks me for the username and password.
 
 I had it working before I joined the domain, and it could have been
 working after I joined it as well, but I honestly don't remember.
 Attached is my smb.conf file..  Any ideas?  I'm completely confused.
 
 smb.conf
 
 [global]
workgroup = MA
server string = Windows File Server/Local Web Server running on %L
log file = /var/log/samba/log.%m.%u
max log size = 5120
 
security = domain

Do auth against a domain pdc..

password server = ma-main
..namely ma-main.

I don't know, how it is possible to make diffrent kind of auth depending
on machine names or ip addresses.

-- 
Frank Matthieß[EMAIL PROTECTED]

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



Re: [Samba] Upgrading from 2.2.1a to 2.2.5 on RH 7.2

2002-10-31 Thread Frank Matthieß
On Wed, Oct 30, 2002 at 03:19:41PM -0500, Jacob Smith wrote:
 Hey Everyone,
  I am trying to upgrade to 2.2.5 from 2.2.1a and am having a
 problem.  When trying to install the samba-common rpm it says that I need
 the file libc.so.6.  I have this in 3 places:
 
 /var/ftp/lib/libc.so.6
 /lib/i686/libc.so.6
 /lib/libc.so.6
  ^^
  This is ther 'real' one.

You need a newer libc6 package for your rpm based system.
-- 
Frank Matthieß[EMAIL PROTECTED]

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



[Samba] SWAT display

2002-10-31 Thread Mike Stewart



Is there any way of modifying the SWAT pages shown 
by my browser ? I'd like to move the heading so that I don't have to 
scroll down every time the page refreshes.

Thanks

Mike


[Samba] Problems with Samba 2.0.7

2002-10-31 Thread Jürgen Teloo
The Problem is when working on the Windows side with the Explorer and deleting 
or copying files or directories,
sometimes it seems that the Explorer hangs for about 10-15 seconds. After that 
time it responses again. The problems
occur also with samba 2.2.5 on the Windows machines.

Can someone help me with that?

Thanks,

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



Re: [Samba] Cannot see the samba server in Network Neighbourhood

2002-10-31 Thread Mark Frayling
Noel

I have kept all the names the same on the new build as they were on the 
old build.  The new build is the same box, but a new physical disk,so i 
disconnect the one that i am not booting from.

I have copied in the list too, so someone may see this and twig it, 
hopefully.

Thanks again

--Mark

Noel Kelly wrote:

Ah right.
 
The netbios name of your new server is different from the old one 
right?  If they are as you say, identical, then that could be the 
basic problem - you need to give the new server a differnet name or 
disconnect the old one.
 
Yes that screen shot threw me!
 
Might be a good idea to copy in the list - there are guys out there 
who are far, far more experienced than me with this stuff.  Bu i'll 
keep chipping in as much as i can :)
 
 
 
Cheers
Noel
 

-Original Message-
*From:* Mark Frayling [mailto:mark.frayling;asa.co.uk]
*Sent:* 31 October 2002 10:36
*To:* Noel Kelly
*Subject:* Re: [Samba] Cannot see the samba server in Network
Neighbourhood

Hi Noel

Sorry to keep bothering you, please tell me if you would like me
to pass this on to the samba forum instead.

I have checked the /etc/passwd and /etc/shadow files on the old
build and compared against the new build.  There seems to be no
entries in either for any users or workstations.  It looks as
though it is only the smbpasswd that we use for authentication,
which i have copied across from the old build to the new build.

I think i may have confused you also as i cannot see the new build
machine in my Network Neighbourhood, ONLY the old build, which is
the screen shot i sent to you.

There appears to be no entry in either the /etc/passwd or
/etc/shadow files on either the old or the new build for anything
to do with security or domain.

I have printed the document you suggested, which i am currently
looking through.  I think what i am experiencing is a simple
fundamental error that i cannot help but overlook, and the fact
that my understanding od SAMBA is currently minimal

Thanks in advance for your help.

--Mark



Noel Kelly wrote:

OK so you can see it but cannot access the shares?
 
Your log file is set to log file = /var/log/smb and it show this:
 
[2002/10/28 14:27:58, 0] smbd/password.c:domain_client_validate(1517)
  domain_client_validate: could not fetch trust account password
for domain WORKGROUP
[2002/10/28 14:27:58, 0] smbd/service.c:make_connection(249)
  troy (193.195.233.14) couldn't find service janeth
[2002/10/28 14:27:58, 0] smbd/service.c:make_connection(249)
  troy (193.195.233.14) couldn't find service janeth
[2002/10/28 14:27:58, 0] smbd/service.c:make_connection(249)
  troy (193.195.233.14) couldn't find service janet
 
I think you need to copy more than just the smbpasswd -
'security=domain' requries an entry in the /etc/passwd file as
well so you might need to transpose the relevant bits of
/etc/passwd and /etc/shadow as well.   Each of the workstations
needs to have an account as well in the from 'workstation$'. 
Have a look at the /etc/passwd on the original server and you
will no doubt see such entries.
 
Try a 'man smb.conf' and look under the 'security' parameter.
 
I think there is some good info in this document -
http://samba.mirror.ac.uk/samba/docs/Samba-HOWTO-Collection.pdf
 
HTH
 
 
 
 
 
 
 

-Original Message-
*From:* Mark Frayling [mailto:mark.frayling;asa.co.uk]
*Sent:* 29 October 2002 15:05
*To:* Noel Kelly
*Subject:* Re: [Samba] Cannot see the samba server in Network
Neighbourhood

Noel
I have attached a current screen dump of my network
neighbourhood.  This on IS working ok as i have had to revert
back to the old build disk to keep users working.  I will
then change back to the new build the one not working this
evening to play around with it.

The machine 'cabi' is the samba server, which can be seen at
the moment.  With the new build though, cabi cannot be seen,
even though i can see it across the network via ping etc.

My workstation is currently set to workgroup called WORKGROUP
and is set to use cabi, the samba server, as a WINS server.

Not sure what you mean by the samba server being in its own
workgroup.  So if the default workgroup on samba is workgroup
i take it then that i do not have to add this in.

Thanks

--Mark


Noel Kelly wrote:

Mark,
 
Looking at it, your Samba server is configured to be the
Master Browser (ie all the other machines on the network
register with it and it is this list which is displayed in
the Network Neighbourhood.  Troubleshooting this stuff is

[Samba] Error joining Win2K domain: ads_connect: DSA is unavailable

2002-10-31 Thread Matt Sapp
I'm running 3.0alpha (both current CVS pull and alpha20 from dist) and trying to have 
my samba server join our already in place Win2K ADS domain.  I am able to 'kinit 
userDOMAIN' and auth successfully, but upon attempting 'net ads join', I get the 
following:

# net ads join -Uadministrator
administrator password:
[2002/10/31 05:11:19, 1] libsmb/clikrb5.c:krb5_mk_req2(63)
  krb5_get_credentials failed for mnu-server$MNU.EDU (No credentials found with 
supported encryption types)
[2002/10/31 05:11:19, 1] utils/net_ads.c:ads_startup(148)
  ads_connect: DSA is unavailable

Any suggestions?

-Matt
MNU Internet System Administrator
MNU Network Security Administrator
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Error joining Win2K domain: ads_connect: DSA is unavailable

2002-10-31 Thread Andrew Bartlett
On Thu, Oct 31, 2002 at 05:14:19AM -0500, Matt Sapp wrote:
 I'm running 3.0alpha (both current CVS pull and alpha20 from dist) and trying to 
have my samba server join our already in place Win2K ADS domain.  I am able to 'kinit 
userDOMAIN' and auth successfully, but upon attempting 'net ads join', I get the 
following:
 
 # net ads join -Uadministrator
 administrator password:
 [2002/10/31 05:11:19, 1] libsmb/clikrb5.c:krb5_mk_req2(63)
   krb5_get_credentials failed for mnu-server$MNU.EDU (No credentials found with 
supported encryption types)
 [2002/10/31 05:11:19, 1] utils/net_ads.c:ads_startup(148)
   ads_connect: DSA is unavailable

You have not got the latest MIT kerberos (you need a snapshot, the 
releases don't seem to support it) and your Administrator password
has not been changed since you upgraded to ADS.  As such the only
password is the MD4 based password from pre-ads, which MIT can't 
use.

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



Re: [Samba] PDC Problems (read this the first one is incomplete)

2002-10-31 Thread Mike Rambo
Michele Santucci wrote:
 
 I've got a big problem with my PDC (Mandrake 8.2 with samba 2.2.5):
 when I try to join the domain from a W2KPRO (sp3) workstation the procedure
 goes on well until it require to create a local account for a Domain user
 ... the system let me browse all
 the user account on the domain controller but when I try to add it reports
 this error:
 The trust relationship between this workstation and the primary domain is
 failed (probably the english text is different but this should be the
 meaning since
 I'm traslating it from italian).
 
  security = USER
  add user script = /usr/sbin/adduser -n -g machines -c Machine -d
 /dev/null -s /bin/false %m$

According to the smb.conf man page security has to be DOMAIN or SERVER
to use the add user script option.

man smb.conf

Search for add user script for details.


-- 
Mike Rambo
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Re: The Samba Team Releases Version 2.2.6

2002-10-31 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pramod, Indu wrote:
 Hi

 I am struggling with samba2.2.6. I have got old version of samba.  And I
 don't know how to install this new version. Can any one help me.



What Unix/distribution are you running?

There are binaries available for a number of linux distributions on
ftp.samba.org (and one or two other places), and some proprietary
Unices, however not all are up-to-date.

You can find binary packages for samba in South Africa here:
ftp://ftp.sun.ac.za/mirrorsites/samba.anu.edu.au/pub/samba/Binary_Packages/

If your unix does not have binary packages, you should reply on this
list listing your unix, and someone may be able to help, otherwise you
may have to build from source.

Here is the latest source on a local mirror:
ftp://ftp.sun.ac.za/mirrorsites/samba.anu.edu.au/pub/samba/samba-2.2.6.tar.gz
ftp://ftp.sun.ac.za/mirrorsites/samba.anu.edu.au/pub/samba/samba-2.2.6.tar.bz2

Regards from CAE

Buchan

- --
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9wPzlrJK6UGDSBKcRAhoVAKDDjTLYylrnPEDxFRPAqURJj0DogACgi2Ld
jzWzGI/gwjdB+FjbKxVnjBA=
=bug+
-END PGP SIGNATURE-

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



[Samba] Problem with samba2.2.6

2002-10-31 Thread Magnus Schelin
Hi, I´m new to this list and I have a little problem I hope someone
could help me with. 

I have a home network running Mendrake Linux 9.0rc3 and 2 clients each
running Winxp Pro. The problem is that when I try to copy files to the
server the client stops, after some time, to send the files to the
server. I get connection reset by peer on the server and the client
reports that the specified network name is no longer available. 
I have tried for some time now to figure this out but I only have this
problem on one of my clients, and they have identical setup, so it´s
been hard to find the source for this problem. When I have gone over
diffrent settings the only thing I have found to be reported differently
between them is when I do a nmblookup -B client '*', here the faulty
client reports not to be able to find name * where the other client
reports the ipadress as it should. 
I have also tried numberous different smb.conf settings with no luck.

I'm not sure exactly which information to send for you to be able to
solve this mystery for me, but if you let me know I will supply it. 

Thanks in advance!
Magnus

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



[Samba] nmb

2002-10-31 Thread Anna Varlese
I am having trouble starting my nmb.  I have tried to start it a number of times.  I 
tried via swat, using the shell, and it is set up to automatically start with smb.  It 
fails to shut down and start each time.  I'm very new at this, and don't have the 
trouble-shooting skills yet.

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



RE: [Samba] nmb

2002-10-31 Thread Ryan Mattfield
I'm relatively new to this myself, but I had a similar problem where my wins
server was conflicting with my samba wins server.  As soon as I disabled
Wins Support in smb.conf I was able to restart NMB.  I'm exploring the
specifics of Wins within Samba currently and hope to be able to enable this
in the future for my this subnet.

Ryan Mattfield
System Administrator
-Original Message-
From: Anna Varlese [mailto:anna;mail.georgetech.com] 
Sent: Thursday, October 31, 2002 7:36 AM
To: [EMAIL PROTECTED]
Subject: [Samba] nmb

I am having trouble starting my nmb.  I have tried to start it a number of
times.  I tried via swat, using the shell, and it is set up to automatically
start with smb.  It fails to shut down and start each time.  I'm very new at
this, and don't have the trouble-shooting skills yet.

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



Re: [Samba] sticky bit, etc.

2002-10-31 Thread daniel . jarboe



Problem is, with standard unix permissions, renaming a file is a matter of
writing to the directory. šYou can have a file owned by root:root and chmodded
to 000, and any non-priveledged user would still be able to rename that file
if they had write access to the directory. šIf a user has enough access to
create a file in the directory, they have enough access to rename files in
that directory... for more fine-tuning you need to bring ACL's into the mix.

~ Daniel

[EMAIL PROTECTED] wrote:

  jef dodson wrote:
  
ok, that works to disallow non-owners from renaming the file, but what I wouldlike to do is disallow EVERYONE ( including the owner of the file ) fromediting, moving, or changing the filename once it is created.  the only personwho should be able to make those changes is a special user.  any ideas abouthow to accomplish that?  Thanks.

Yeah, I realized that after I pressed Enter...To me it looks like it can be done with ACLs only.Or you can try postexec or cron script that will change ownership on thefiles.Looks kinda ugly, but it should work.

  --- Yura Pismerov [EMAIL PROTECTED] wrote:
  
Yura Pismerov wrote:

  jef dodson wrote:
  
I have a question about samba and sticky bits.  I have a share with thefollowing configuration:[documents]  comment = documents  path = /shares/documents  public = no  writeable = yes  printable = no  valid users = @lan1  force user = docadmin

^^^That is why.No matter what username is, it will be forced to docadmin, so thesticky bit does not make much sense since the user who is manipulatingthe file is the owner of the file form the OS point of view.To achieve what you want you need to remove "force user".

  Yeah, and create mode should be 0640 in this case.

  
  force group = lan1  create mode = 0440  force create mode = 0440  directory mode = 1770  force directory mode = 1770  delete read only = noI also have the sticky bit set on /shares/documents.Now, when I drop the file 'test.txt' in the directory, it has the


following

  
permissions:-r--r-1 docadmin lan14 Oct 29 17:45 test.txtNow, When I login to the server via ssh as jdodson, the sticky bit on thedirectory prevents me from renaming the test.txt file.  However, when I


login

  
to the server from windows as jdodson, I can change the filename and move


the

  
file to another directory.  So, it seems that samba is ignoring the


sticky bit

  
on the /shares/documents directory.The ultimate goal for the behavior of the directory is this:when someone drops a file in the directory or subdirectory, it becomesread-only so that it can't be edited, moved, or renamed by anyone except


for a

  
special user with admin priveleges.__Do you Yahoo!?HotJobs - Search new jobs daily nowhttp://hotjobs.yahoo.com/--To unsubscribe from this list go to the following URL and read theinstructions:  http://lists.samba.org/mailman/listinfo/samba

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


__Do you Yahoo!?HotJobs - Search new jobs daily nowhttp://hotjobs.yahoo.com/--To unsubscribe from this list go to the following URL and read theinstructions:  http://lists.samba.org/mailman/listinfo/samba







Re: [Samba] Blocking internet access to Samba

2002-10-31 Thread daniel . jarboe



Or maybe someone trying to netsend you some spam about cheap diplomas :)

[EMAIL PROTECTED] wrote:

  Brian Johnson schrieb:
  
My samba.smbd log shows multiple entries such as:[2002/10/30 10:30:04, 0] lib/access.c:check_access(323)  Denied connection from  (211.163.100.141)

this are viruses / hackertools / hacker...






Re: [Samba] PDC Problems (read this the first one is incomplete)

2002-10-31 Thread Michele Santucci
  The trust relationship between this workstation and the primary domain
is
  failed (probably the english text is different but this should be the
  meaning since
  I'm traslating it from italian).
 
   security = USER
   add user script = /usr/sbin/adduser -n -g machines -c Machine -d
  /dev/null -s /bin/false %m$

 According to the smb.conf man page security has to be DOMAIN or SERVER
 to use the add user script option.

I don't know what man page u're reading but mine says that the only security
option not useable for the adduser script is 'SHARE'
anyway the 'USER' option is compulsory since I have got to set the samba
server to act as a PDC.

Anyone else listening 



c'ya ... TUX

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



Re: [Samba] Problems with Samba 2.0.7

2002-10-31 Thread Bradley W. Langhorst
On Thu, 2002-10-31 at 05:54, Jürgen Teloo wrote:
 The Problem is when working on the Windows side with the Explorer and deleting 
 or copying files or directories,
 sometimes it seems that the Explorer hangs for about 10-15 seconds. After that 
 time it responses again. The problems
 occur also with samba 2.2.5 on the Windows machines.
 
 Can someone help me with that?
i don't know the answer to your problem -
but you could try looking in the log file to find out what is happening
during that delay..

Also 2.0.7 is rather old - try upgrading to 2.2.6

brad


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



[Samba] Samba and Solaris and Linux

2002-10-31 Thread Scott Wrosch








Hello everyone,



Just kind of a generalized question, and looking more for
caveats than anything else. Were
getting ready to implement the latest and greatest release of Samba on one of
our Sun servers. Unfortunately, we havent
determined which one yet, but we only have two, so its not a big deal.


Anyways, Ive set up Samba successfully on Linux on multiple occasions,
the most recent being on a domain with a Win2k Server as the domain controller.



Given that Linux is a UNIX clone (more or less), are there
any caveats I should perhaps take heed to when setting up Samba on
Solaris? It will be set up for the
domain here.



Thanks,



Scott Wrosch

desk 248.333.7700 x227

pager 248.806.7657

text [EMAIL PROTECTED]

email [EMAIL PROTECTED]



Our greatest glory is not in never
falling

but in rising every time we
fall.-- Confucius










Re: [Samba] nmb

2002-10-31 Thread Frank Matthieß
On Thu, Oct 31, 2002 at 08:35:54AM -0500, Anna Varlese wrote:
 I am having trouble starting my nmb.  I have tried to start it a
 number of times.  I tried via swat, using the shell, and it is set up
 to automatically start with smb.  It fails to shut down and start each
 time.  I'm very new at this, and don't have the trouble-shooting
 skills yet.

First you have to answer: 
You want to start samba as daemon?

If you plan to start it as daemon, make sure that in your
/etc/inet.conf is _no_ line to startup smbd/nmbd!

Second to answer:

Is there a already running wins server in your lan?

The samba doc told, that if you run an nt/w2k server, you have to use
_this_ wins service.

The nmbd of samba is able to communicate with them. Your smb.conf should
have this entry:
---schnipp---
[global]
wins server = ipadress_of_your_wins_server
---schnapp---
and everything should be ok.


If your samba is the preferred  wins server, than you have to make
this entries to your smb.conf:

---schnipp---
[global]
wins support = yes
---schnapp---

Both options exclude the other one!

Take a look in BROWSING.TXT of your samba setup.

-- 
Frank Matthieß[EMAIL PROTECTED]

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



RE: [Samba] Unable to login with regular Linux accounts?

2002-10-31 Thread Wieprecht, Karen M.
Did you try adding machinename\username to your list of valid users and/or
your write list as appropriate?  

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



[Samba] Partnership

2002-10-31 Thread Anne Kojo
Dear Sir,

With due respect and humility I write you this letter which I believe you would be of 
great assistance to my children and I.

I got your contact through my husband commercial address book and believed that you 
must be a trust worthy and reliable person that will not like to intimidate me or 
betray my trust after hearing this news. I am a native of KONOBO in the KEREMA local 
district of SIERRA LEONE in West Africa and the wife of Late DR. MUNDI A. KOJO who was 
assassinated by the rebel forced loyal to Major John Paul Koromah because he was the 
Director General National Gold and Diamond Mining Corporation of Sierra Leone. Few 
days before my husband was assassinated, he  instructed me and my children (Ibrahim 
and Amina) to move out of Sierra Leone immediately, before the powerful Economic 
community of West African States (ECOMOG) forces intervened, which eventually resulted 
into a brutal civil war. My children and I managed to escape to Cotonou Republic of 
Benin through the help of my husband’s friend. We came into (Cotonou) Republic of 
Benin with some valuables includin
 g a cash sum of $25MILLION(TWENTY FIVE MILLION UNITED STATES DOLLARS ONLY) in two 
trunks boxes which I have deposited with a Trust Company here in Cotonou and special 
arrangement has been made with the currier company who will freight the money out of 
this country.

Meanwhile, I want to leave Cotonou entirely with this money for investment in your 
country because of a stable political situation there and mostly for the future of my 
children. I want you to please assist us to claim this fund from the Trust Company in 
any of their branches, after which the fund will be deposited into your account for 
investment in your country. You should also help us to source for good investment 
opportunity so that we can invest wisely in your country when the fund is finally 
confirmed in your account.

We have it in mind to reward you handsomely for your assistance as we have resolved to 
give you 20% of the total sum for your help. But due to how I am being monitored by 
the Sierra Leonean Government Secret Agents, I will advice you to have the
deal concluded with my son (IBRAHIM KOJO). Please contact my son on this email: 
[EMAIL PROTECTED] , immediately you receive this letter to enable us proceed in 
earnest towards retrieving the consignments and transferring same into your account.
Your private Fax and Phone is needed in this transaction for private discussions.

Note: There is no risk involved in this business.

Remain Blessed,

MRS. ANNE  KOJO


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



Re: [Samba] PDC Problems (read this the first one is incomplete)

2002-10-31 Thread Mike Rambo
Michele Santucci wrote:
 
   The trust relationship between this workstation and the primary domain
 is
   failed (probably the english text is different but this should be the
   meaning since
   I'm traslating it from italian).
  
security = USER
add user script = /usr/sbin/adduser -n -g machines -c Machine -d
   /dev/null -s /bin/false %m$
 
  According to the smb.conf man page security has to be DOMAIN or SERVER
  to use the add user script option.
 
 I don't know what man page u're reading but mine says that the only security
 option not useable for the adduser script is 'SHARE'
 anyway the 'USER' option is compulsory since I have got to set the samba
 server to act as a PDC.
 
 Anyone else listening 
 
 c'ya ... TUX

Sorry - only tried to help...


SMB.CONF(5)   SMB.CONF(5)

NAME
   smb.conf - The configuration file for the Samba suite

SYNOPSIS
   The smb.conf file is a configuration file for the Samba suite.
smb.conf contains runtime config­
   uration information for the Samba programs. The smb.conf file is
designed to be  configured  and
   administered  by  the  swat(8) program. The complete description
of the file format and possible
   parameters held within are here for reference purposes.

SNIP

   add user script (G)
  This is the full pathname to a script that will be run AS
ROOT by smbd(8)  under  special
  circumstances described below.

  Normally,  a  Samba  server  requires that UNIX users are
created for all users accessing
  files on this server. For sites that use Windows NT
account databases  as  their  primary
  user  database creating these users and keeping the user
list in sync with the Windows NT
  PDC is an onerous task. This option allows smbdto  create 
the  required  UNIX  users  ON
  DEMAND when a user accesses the Samba server.

   In  order to use this option, smbd must be set to security = server or  
security = domain
  and add user script must be set to a full pathname for a
script that will create  a  UNIX
  user given one argument of %u, which expands into the UNIX
user name to create.

  When the Windows user attempts to access the Samba server,
at login (session setup in the
  SMB protocol) time,  smbdcontacts the password server and
attempts  to  authenticate  the
  given  user with the given password. If the authentication
succeeds then smbd attempts to
  find a UNIX user in the UNIX password database to map the 
Windows  user  into.  If  this
  lookup  fails,  and  add  user  script is set then smbd
will call the specified script AS
  ROOT, expanding any %u argument to be the user name to
create.

  If this script successfully creates the user then smbd
will continue  on  as  though  the
  UNIX  user  already  existed.  In  this  way, UNIX users
are dynamically created to match
  existing Windows NT accounts.

  See also  security,  password server, delete user script.

  Default: add user script = empty string

  Example: add user script = /usr/local/samba/bin/add_user
%u

This box has samba 2.2.2 - has it changed with newer/older versions?


-- 
Mike Rambo
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Going Then Other Way

2002-10-31 Thread Grant . September
Hi all, I am new to Samba and from what I understand Unix partitions can be
shared by NT machines how do I revers this that a NT drive is seen by Unix
as file system




Regards

Grant September
Oracle DBA
Norwich Union International
IFSC Dublin 1
Ireland
Phone : +353 1 8028466
FAX : +353 1 8028585





This E-mail transmission may contain confidential or legally privileged information 
that is intended for the addressee only. 
E-mail communications are not necessarily secure and may be intercepted or altered 
after they are sent. Norwich Union International does not accept liability for any 
such alterations. Any views or opinions presented are solely those of the author and 
do not necessarily represent those of Norwich Union International. If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, distribution 
or reliance upon the contents of this E-mail is strictly prohibited. If you have 
received this E-mail transmission in error, please notify the sender immediately, so 
that Norwich Union International may arrange for its proper delivery. Please then 
delete the message from your inbox. While steps have been taken to prevent computer 
viruses, we cannot guarantee that attachments are virus free and we would therefore 
advise that you make further checks as Norwich Union International are not liable to 
third parties for any damages resulting.

Norwich Union International Limited is supervised by the Regulatory Authorities of the 
Republic of Ireland.

Norwich Union International Limited 6 Georges Dock International Financial Services 
Centre Dublin 1 Republic of Ireland Registered No 303257
Telephone + 353 1 802 8494 Fax + 353 1 802 8400
www.nuinternational.com

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



[Samba] Re-Send - Non-HTML - (Sorry) Samba and Solaris and Linux

2002-10-31 Thread Scott Wrosch
Hello everyone,

Just kind of a generalized question, and looking more for caveats than anything else.  
We're getting ready to implement the latest and greatest release of Samba on one of 
our Sun servers.  Unfortunately, we haven't determined which one yet, but we only have 
two, so it's not a big deal.

Anyways, I've set up Samba successfully on Linux on multiple occasions, the most 
recent being on a domain with a Win2k Server as the domain controller.

Given that Linux is a UNIX clone (more or less), are there any caveats I should 
perhaps take heed to when setting up Samba on Solaris?  It will be set up for the 
domain here.

Thanks,

Scott Wrosch
desk 248.333.7700 x227
pager 248.806.7657
text [EMAIL PROTECTED]
email [EMAIL PROTECTED]
 
Our greatest glory is not in never falling
but in rising every time we fall. -- Confucius

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



Re: [Samba] Going Then Other Way

2002-10-31 Thread Frank Matthieß
On Thu, Oct 31, 2002 at 02:51:51PM +, [EMAIL PROTECTED] wrote:
 Hi all, I am new to Samba and from what I understand Unix partitions can be
 shared by NT machines how do I revers this that a NT drive is seen by Unix
 as file system

smbfs is your friend.

With that you are able to mount remote smb shares. Inside a windows
domain you have to make sure that the unix maschine ist also domain
member.

PS: I remove the annoying disclaimer.
-- 
Frank Matthieß[EMAIL PROTECTED]

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



Re: [Samba] Print Queue Management through windows Clients

2002-10-31 Thread Fernando Ruza
Write the following in the global section if you use
lpd:

printing = lprng

And all the lp* command parameters in smb.conf start
to work properly.
Look at the commands I have, they works perfect for
me:

## To print
print command = /usr/bin/lpr -P %p %s  rm %s
## To query the queue
lpq command = /usr/bin/lpq -P %p
## To remove jobs in the queue
lprm command = /usr/bin/lprm -P %p %j
## To pause a print job
lppause command = /usr/sbin/lpc hold %p %j
## To resume a print job paused
lpresume command = /usr/sbin/lpc release %p %j


Also it's important that you check the file
/etc/lpd.perms. My file has the following:

## You can make sure that connections come from a
privileged port.
## Default is to allow them from any port so that
non-setuid programs
#  can do printing.
#  Totally RFC1179
#REJECT SERVICE=X NOT PORT=1-1023
#REJECT SERVICE=X NOT PORT=1-1023
#  Privileged
#REJECT SERVICE=X NOT PORT=721-731
#
# allow root on server to control jobs
ACCEPT SERVICE=C SERVER REMOTEUSER=root
# allow anybody to get server, status, and printcap
ACCEPT SERVICE=C LPC=lpd,status,printcap
# reject all others
##REJECT SERVICE=C
#
# allow same user on originating host to remove a job
ACCEPT SERVICE=M SAMEHOST SAMEUSER
# allow root on server to remove a job
ACCEPT SERVICE=M SERVER REMOTEUSER=root
REJECT SERVICE=M
# all other operations allowed
DEFAULT ACCEPT



I hope all of this help you. Cheers,

Fernando.



 --- Nick [EMAIL PROTECTED] escribió:  I did
not have the printer admin = @users (users is
 the group all my 
 users are in) line in my smb.conf. I can now see the
 jobs that are 
 queued but non of my commands work here except the
 print and maybe the 
 lpq command. Also anyone know how to  say pause and
 resume to lpd?
 
 Here is my configuration:
 
 [global]
 print admin = @users
 
 # shares
 
 [HP_LaserJet_4000]
comment = Main Printer
path = /var/spool/lpd/HP_LaserJet_4000
guest ok = yes
public = yes
printer = HP_LaserJet_4000
;printing = bsd
printable = yes
browsable = yes
print command = /usr/bin/lpr -P%p %s  rm %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
 
 
 
 [HP_LaserJet_6P]
comment = Front Desk Printer
path = /var/spool/lpd/HP_LaserJet_6P
guest ok = yes
public = yes
printer = HP_LaserJet_6P
;printing = bsd
printable = yes
browsable = yes
print command = /usr/bin/lpr -P%p %s  rm %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
 
 Any advice would be greatly appreciated :)
 
 
 Nick wrote:
 
  Hi,
 
  Is it possible to manage print queue's via windows
 clients. I get 
  Access denied, unable to connect. I use the lp
 daemon to print via 
  JetDirect. I am beginning to think it is not
 possible. If someone out 
  there is doing this could you please share your
 configurations with us 
  so it can be added to the samba How-to
 documentation.
 
  Respectfully,
 
  Nick
 
 
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions: 
http://lists.samba.org/mailman/listinfo/samba 

=
Fernando Ruza Rodríguez
[EMAIL PROTECTED]

___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] PDC Problems (read this the first one is incomplete)

2002-10-31 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Message: 3
 From: Michele Santucci [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Thu, 31 Oct 2002 10:25:34 +0100
 Subject: [Samba] PDC Problems (read this the first one is incomplete)

 Sorry but I've posted an incomplete message before that:

 I've got a big problem with my PDC (Mandrake 8.2 with samba 2.2.5):
 when I try to join the domain from a W2KPRO (sp3) workstation the
procedure
 goes on well until it require to create a local account for a Domain user
 ... the system let me browse all
 the user account on the domain controller but when I try to add it reports
 this error:

Sorry, I just want to clarify, does it fail when adding a computer
account in the domain?

 The trust relationship between this workstation and the primary domain is
 failed (probably the english text is different but this should be the
 meaning since
 I'm traslating it from italian).

 In the machine specific log file if found this:

 [2002/10/31 10:14:32, 0] smbd/password.c:authorise_login(863)
   authorise_login: rejected invalid user guest
 [2002/10/31 10:14:32, 0] smbd/password.c:authorise_login(863)
   authorise_login: rejected invalid user guest


When you were trying to do what?

 I already set the w2k workstations to send non encrypted password to third
 parties smb server.
 I checked /etc/passwd, group and /etc/samba/smbpasswd file and they're
 correcly updated with machine and user accounts.


You cannot join a windows 2000 machine to a domain if you have set it to
use clear text passwords, and you smb.conf is set for encrypted passwords.

 Anyway these are smb.conf, group,passwd and smbpasswd interested rows:


Which show that you have successfully added machines with the name video
and gfx to the domain.

FYI, if you have any pre-sp3 machines, please test with those first ...

And, with the default smb.conf (such as
http://ranger.dnsalias.com/mandrake/samba/smb.conf), you only have to
uncomment about 10 lines to get a working smb.conf for a domain
controller (such as this file
http://ranger.dnsalias.com/mandrake/samba/smb-domain-controller.conf) on
any recent version of Mandrake linux.


Can you be more clear on exactly which procedure you are using?

And to answer Mike Rambo's replies, when samba runs in 'security =
user', add user script is used when samba creates a new machine account.
Mandrake ships with the following example for a domain controller not
using LDAP backend:

# Script for domain controller for adding machines:
; add user script = /usr/sbin/useradd -d /dev/null -g machines -c
'Machine Account' -s /bin/false -M %u

Regards,
Buchan

(PDC runs Mandrake 8.2 / samba-2.2.6).
- --
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9wVCnrJK6UGDSBKcRAkCVAKDG2nBdlKZa2fgDyYlmwgM1eGow1gCfRCfp
fNQBqm1r6+AMhgk25iRwy7g=
=YKzg
-END PGP SIGNATURE-

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



[Samba] bizarre issue with opening Quicktime files from a share

2002-10-31 Thread Frank Joerdens
Hello,

this would be one of the freakiest problems I've ever seen: If I open an
e.g. JPEG or Quicktime Movie with the Quicktime player application from
a share, it won't work if the file is inside a folder that has a name
which is longer than 12 characters. If I open the same file with e.g.
the Internet Explorer, no problem. If I put the folder on a local disk
or another Windows computer on the network (!), no problem either. 

I was able to reproduce the problem with both Samba 2.0.6 and 2.2.4.

Any ideas? Could someone check if they have the same problem (it might
be somthing I've configured identically on both Linux boxes).

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



[Samba] Samba wbinfo problems

2002-10-31 Thread SMITH Gregory C.
Hi Sean,

One side note first..

Please, PLEASE! stop using Word as your email editor!  What starts off as a
20-line message becomes 500+ lines of crap MS HTML code in a text-only
mailing list.

That being said, a couple of suggestions:

Make sure your WINS server parameter is set so that Samba can find the
Domain Controller

OR

Specifically name your Domain Controller in the Password Server = line
instead of using *.

If you have only one DC it's pointless to have it search for any available.

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



[Samba] PDC connect problem

2002-10-31 Thread Richard Fox
This is my second attempt to get some help.. maybe my first post was too
complex, so I will simplify it and if you need more information you will ask
me. I am quite stuck so I would really appreciate some help. I am trying to
connect an NT box, mercury, to a RedHat 7.3 PDC, thor. When I try to logon
to the domain from mercury I get an error msg on my NT box which says the
domain controller for this domain cannot be located.

My smb.conf global section is:

[global]
workgroup = MYGROUP
netbios name = THOR
server string = Samba PDC %v %h
max log size = 50
security = user
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 *Please*retype*new*password* %n\n
*password*successfully*updated*
os level = 65
domain master = yes
preferred master = yes
domain logons = yes
logon home = \\%L\%u
logon drive = H:
logon script = netlogon.bat
logon path = \\%L\Profiles\%u
hosts allow = 192.168.1., 127.


Mercury and thor are on their own private network, all other machines here
are on 192.168.0. I cannot pinpoint the problem. When I try to log in from
mercury, the samba log files on thor do not even register the attempt. It
should be something simple, but I have been tweaking for 3 days and no
success

Help!


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



[Samba] Samba 2.2.4 Printer Driver Issue

2002-10-31 Thread Dave Higgins
I'm having an issue with users on the network.  We replaced a printer with a 
newer HP model.  When someone tries to add that printer to their machine, it 
asks them to install a Win98 driver for an HP printer.

Initially, the setup was to have the drivers on the server and have them install 
automatically through printers.def.  There were a few issues about the various 
versions of Windows that prevented us from doing so, i.e. not a Samba issue.

I have removed the printer and recreated it.  I have removed the directives that 
point the the drivers share.

Where would driver information be stored and how can I have it ask for the 
printer driver when I have someone connect to it?  I'm assuming it has to do 
with the Master Browser retaining the information.

Here is the Normal View of the config.
# Global parameters
[global]
	workgroup = .COM
	netbios name = BRONCOS
	encrypt passwords = Yes
	passwd program = /usr/bin/passwd
	log file = /var/log/samba.log.%m
	max log size = 250
	name resolve order = host wins lmhosts bcast
	socket options = TCP_NODELAY IPTOS_LOWDELAY
	dns proxy = No
	wins server = 199.117.189.222
	invalid users = root
	printer admin = @users
	short preserve case = No
	mangle case = Yes

[phplj403]
	path = /tmp
	guest ok = Yes
	printable = Yes
	printer driver file =
	browseable = No

[research]
	path = /tmp
	printable = Yes
	printer name = phplj403

On phplj403, the printer driver file = appears only on that particular 
printer.  There is no driver information.

Any help would be greatly appreciated.

Thanks,
--
Dave Higgins
Littleton, Colorado
[EMAIL PROTECTED]
--
While it may be true that a watched pot never boils, the one you don't
keep an eye on can make an awful mess of your stove.
		-- Edward Stevenson

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


Re: [Samba] Winbind!

2002-10-31 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 28 Oct 2002, Jennifer Crusade wrote:

 winbind use default domain = yes

Do not use this parameter.




cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9wV0WIR7qMdg1EfYRAnlDAJ99cZ+DbXR6SWoK1oJqT8w5EdtIOwCgnY6I
u5CRkyMjtZgXoKcUHQy5wE8=
=xfZl
-END PGP SIGNATURE-

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



Re: [Samba] internal error: signal 11

2002-10-31 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 30 Oct 2002 [EMAIL PROTECTED] wrote:

 On Wed, Oct 30, 2002 at 11:35:42AM +, Gerhard Vögel wrote:
  Hello,
  
  we got the following error in the samba logs:
  
  Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0] 
  lib/fault.c:fault_report(38) 
  Oct 30 06:29:01 hornbill smbd[12783]:   
  === 
  Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0] 
  lib/fault.c:fault_report(39) 
  Oct 30 06:29:01 hornbill smbd[12783]:   INTERNAL ERROR: Signal 11 in pid 
  12783 (2.2.6-SuSE) 

Suggest you contact SuSE first to see if there is a bug in their RPM.  
They patched 2.2.6 IIRC with some new acl code.



cheers, jerry

 panic action = /bin/sleep 9




cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9wV8RIR7qMdg1EfYRAo61AJ9bnfnnxOAhMbdXTIRROsdli75q9ACfQuhM
cBgN3vSqsWN9HJ7wsH4Bgag=
=cB1e
-END PGP SIGNATURE-

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



[Samba] Winbindd not listing users/groups

2002-10-31 Thread Sean Patrick Ingles








Greetings from NY!



I am running SaMBa version 2.2.6
compiled from source on a RedHat 7.3 (Linux tux.#.net 2.4.19 #1 Fri Oct 25 15:39:52 EDT 2002 i686 unknown)
box.

I start smbd and nmbd as I usually do.

Then I start winbindd



I verified that they are running.



I run :

smbpasswd -j DOMAIN -r Windows2kDomainController -U
Administrator

Password:

Joined domain DOMAIN.



Ok, so Im in the domain



Then I run:

[root@tux src]#
wbinfo -t

Secret is good



Even better, my secret is good!



Then I try and list users/groups:

[root@tux src]#
wbinfo -u

Error looking up domain users

[root@tux src]#
wbinfo -g

Error looking up domain groups



And I sit there starting blankly at the screen, searching google, etc, then I join the SaMBa
mailing list and cross my fingers that there is someone out there who can help!

Im trying to integrate this Linux/SaMBa
server into my Microsoft-only Company, and so far the powers that be are up to
it, but I want to show them that the Linux fileserver can authenticate against
their current Windows 2000 Server domain controllers so we dont need 2
separate user databases.



Any assistance is much appreciated!



Regards,



-SP



===










\ /
/ / Sean Patrick Ingles
 \ /
/ / Jr. Network Engineer
 \ / ___
/ /






\ / / /Vision
Systems, Inc.
 __/ / _/142 State Street
Albany, NY 12207
 www.visionsys.comLandline: +1 518.434.4300 x1406
[EMAIL PROTECTED]Fax: +1 518.434.4304









==










Do not ever use winbind use default domain in 2.2.x [was Re:[Samba] Winbind unknown parameter]

2002-10-31 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I repeat (not to you personally of course), do not use this parameter.
It was merged it by only to merge other code from the HEAD branch (around 
2.2.5 release time). 




cheers, jerry



On Wed, 30 Oct 2002, bon wrote:

 
 Hi all, 
 
 I'm using winbind with PAM to create a mail server for private mails in my 
 company and I would like to use the 2000 DC to authenticate the user. 
 
 It seems to work fine except the users name I get are in the form 
 DOMAIN+user and I woul like my user to have mail address like [EMAIL PROTECTED] 
 and not [EMAIL PROTECTED] 
 
 There is an option named : winbind use default domain = yes wich seems to 
 be exactly what I search but winbind seems not to know this option.
 Her's what I got in log.winbindd : 
 
 [2002/10/30 18:25:30, 0] param/loadparm.c:map_parameter(1999)
  Unknown parameter encountered: winbind use default domain
 [2002/10/30 18:25:30, 0] param/loadparm.c:lp_do_parameter(2669)
  Ignoring unknown parameter winbind use default domain 
 
 By the way, there is two other options that winbind doesn't seem to 
 understand : winbind enum users and winbind enum group. 
 
 Here is an extract of my smb.conf : 
 
   security = domain
   password server = rha
   encrypt passwords = yes
   winbind separator = +
   winbind uid = 1-3
   winbind gid = 1-3
   winbind use default domain = yes
   template homedir = /var/home/%U
   template shell = /bin/false 
 
 
 I'm on debian woody, winbind (samba) v2.2.3a-6 (the one actual with woody) 
 
 Have you an idea of what could be wrong? 
 
 Thanks,
 Jean-Michel.
 

- -- 
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9wWD+IR7qMdg1EfYRAsh1AKDt9my6wb6RlYHdvTHFDg8CpgYWowCdGRU6
PI0FIN9ZnR2gxizn2gw33yg=
=Ir+u
-END PGP SIGNATURE-

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



[Samba] SMB as PDC and NIS on same machine

2002-10-31 Thread Jurgen Hart
hy all,

I want to install samba as PDC and a NIS server on the same machine both have 
to use the system usernames and password in the shadow format. I tried to 
install PAM to do the job but samba just refuses to get the system users.
The samba version is 2.2.6.

Can someone help me with this problem.

If there is no solution then why do they put shadow support into samba ??
-- 
Hart Jurgen
Media Link Srl.

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



RE: [Samba] PDC connect problem

2002-10-31 Thread Jacob Smith
First simplify your smb.conf file so you can elimanate anything else that
may conflict.  Start with the bare minimum needed for a pdc.

Try adding

wins support = yes

to have it act as a wins server.  Hope this helps.

-Original Message-
From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org]On
Behalf Of Richard Fox
Sent: Thursday, October 31, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: [Samba] PDC connect problem


This is my second attempt to get some help.. maybe my first post was too
complex, so I will simplify it and if you need more information you will ask
me. I am quite stuck so I would really appreciate some help. I am trying to
connect an NT box, mercury, to a RedHat 7.3 PDC, thor. When I try to logon
to the domain from mercury I get an error msg on my NT box which says the
domain controller for this domain cannot be located.

My smb.conf global section is:

[global]
workgroup = MYGROUP
netbios name = THOR
server string = Samba PDC %v %h
max log size = 50
security = user
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 *Please*retype*new*password* %n\n
*password*successfully*updated*
os level = 65
domain master = yes
preferred master = yes
domain logons = yes
logon home = \\%L\%u
logon drive = H:
logon script = netlogon.bat
logon path = \\%L\Profiles\%u
hosts allow = 192.168.1., 127.


Mercury and thor are on their own private network, all other machines here
are on 192.168.0. I cannot pinpoint the problem. When I try to log in from
mercury, the samba log files on thor do not even register the attempt. It
should be something simple, but I have been tweaking for 3 days and no
success

Help!


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



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



RE: [Samba] Winbindd not listing users/groups

2002-10-31 Thread Wieprecht, Karen M.
Title: Message



This 
may be an obvious question, but we had to add the machine to the domain 
with winbind and samba not running, I am assuming that you have 
started samba and winbind before trying the wbinfo tests?

 Karen Wieprecht

  


RE: [Samba] Winbind!

2002-10-31 Thread Wieprecht, Karen M.
Why not?  It does not affect whether or not my NT user gets matched to a
UNIX UID and GID (username.map does that part for me),  but for files
created by users with no corresponding UNIX account,  it makes the domain
username show up on an ls -l minus the domain prefix so I can see who owns
the file,  otherwise,  ls -l shows a truncated version of
DOMAINNAMEseparatorUSERNAME,  and I can't tell who owns anything ...  

What is the purpose of the parameter,  and why is it a bad idea to use it?  

Thanks,

Karen Wieprecht

From: Gerald (Jerry) Carter [mailto:jerry;samba.org] 
 winbind use default domain = yes

Do not use this parameter.




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



Re: [Samba] bizarre issue with opening Quicktime files from a share

2002-10-31 Thread jra
On Thu, Oct 31, 2002 at 05:10:12PM +0100, Frank Joerdens wrote:
 Hello,
 
 this would be one of the freakiest problems I've ever seen: If I open an
 e.g. JPEG or Quicktime Movie with the Quicktime player application from
 a share, it won't work if the file is inside a folder that has a name
 which is longer than 12 characters. If I open the same file with e.g.
 the Internet Explorer, no problem. If I put the folder on a local disk
 or another Windows computer on the network (!), no problem either. 
 
 I was able to reproduce the problem with both Samba 2.0.6 and 2.2.4.
 
 Any ideas? Could someone check if they have the same problem (it might
 be somthing I've configured identically on both Linux boxes).

Can you test on 2.2.6 please ? I fixed a long standing bug with
name mangling for folders for 2.2.6.

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



RE: [Samba] Winbindd not listing users/groups

2002-10-31 Thread Jennifer Fountain



Can you send me (the list) 
your smb.conf file?

  -Original Message-From: Sean Patrick Ingles 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, October 31, 2002 9:43 
  AMTo: [EMAIL PROTECTED]Subject: [Samba] Winbindd not 
  listing users/groups
  
  Greetings from 
  NY!
  
  I am running SaMBa version 2.2.6 compiled from source on a RedHat 7.3 (Linux tux.#.net 2.4.19 #1 Fri Oct 25 15:39:52 
  EDT 2002 i686 unknown) 
  box.
  I start smbd and nmbd as I usually 
  do.
  Then I start winbindd
  
  I verified that they are 
  running.
  
  I run 
  :
  smbpasswd -j DOMAIN -r Windows2kDomainController 
  -U Administrator
  Password:
  Joined domain DOMAIN.
  
  Ok, so Im in the 
  domain
  
  Then I 
  run:
  [root@tux src]# wbinfo 
  -t
  Secret is 
  good
  
  Even better, my secret is 
  good!
  
  Then I try and list 
  users/groups:
  [root@tux src]# wbinfo 
  -u
  Error looking up domain 
  users
  [root@tux src]# wbinfo 
  -g
  Error looking up domain 
  groups
  
  And I sit there starting blankly 
  at the screen, searching google, etc, then I join 
  the SaMBa mailing list and cross my fingers that 
  there is someone out there who can help!
  Im trying to integrate this 
  Linux/SaMBa server into my Microsoft-only Company, 
  and so far the powers that be are up to it, but I want to show them that the 
  Linux fileserver can authenticate against their current Windows 2000 Server 
  domain controllers so we dont need 2 separate user 
  databases.
  
  Any assistance is much 
  appreciated!
  
  Regards,
  
  -SP
  
  ===
  
  
  
   
  \ / 
  / / Sean Patrick Ingles 
  \ / 
  / / Jr. Network 
  Engineer \ / ___ 
  / /
  
   
  \ / / 
  /Vision Systems, Inc. __/ 
  / _/142 
  State StreetAlbany, 
  NY 
  12207 
  www.visionsys.comLandline: 
  +1 518.434.4300 x1406[EMAIL PROTECTED]Fax: 
  +1 518.434.4304
  
  
  ==
  


RE: [Samba] Re-Send - Non-HTML - (Sorry) Samba and Solaris and Linux

2002-10-31 Thread Skip Dobrin
Scott,

Make sure that you have either the complete C Libraries from Sun  or
download the complete GNU C compiler and libraries.   Otherwise you will get
failures in the configure script when attempting to compile the source code.

Skip :)

-Original Message-
From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org]On
Behalf Of Scott Wrosch
Sent: Thursday, October 31, 2002 10:22 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Re-Send - Non-HTML - (Sorry) Samba and Solaris and Linux

Hello everyone,

Just kind of a generalized question, and looking more for caveats than
anything else.  We're getting ready to implement the latest and greatest
release of Samba on one of our Sun servers.  Unfortunately, we haven't
determined which one yet, but we only have two, so it's not a big deal.

Anyways, I've set up Samba successfully on Linux on multiple occasions, the
most recent being on a domain with a Win2k Server as the domain controller.

Given that Linux is a UNIX clone (more or less), are there any caveats I
should perhaps take heed to when setting up Samba on Solaris?  It will be
set up for the domain here.

Thanks,

Scott Wrosch
desk 248.333.7700 x227
pager 248.806.7657
text [EMAIL PROTECTED]
email [EMAIL PROTECTED]

Our greatest glory is not in never falling
but in rising every time we fall. -- Confucius

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



Re: [Samba] Winbindd not listing users/groups

2002-10-31 Thread Gareth Davies
 Original Message -
From: Sean Patrick Ingles
To: [EMAIL PROTECTED]
Sent: Thursday, October 31, 2002 2:43 PM
Subject: [Samba] Winbindd not listing users/groups


Greetings from NY!

I am running SaMBa version 2.2.6 compiled from source on a RedHat 7.3 (Linux
tux.#.net 2.4.19 #1 Fri Oct 25 15:39:52 EDT 2002 i686 unknown) box.
I start smbd and nmbd as I usually do.
Then I start winbindd

I verified that they are running.

I run :
smbpasswd -j DOMAIN -r Windows2kDomainController -U Administrator
Password:
Joined domain DOMAIN.

Ok, so I'm in the domain

Then I run:
[root@tux src]# wbinfo -t
Secret is good

Even better, my secret is good!

Then I try and list users/groups:
[root@tux src]# wbinfo -u
Error looking up domain users
[root@tux src]# wbinfo -g
Error looking up domain groups




wbinfo -A Administrator%password

Please lose the HTML

 Shaolin - IT Systems
 WB Ltd.
.: http://www.security-forums.com :.

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



Re: [Samba] PDC connect problem

2002-10-31 Thread mark
On Thursday 31 October 2002 4:31 pm, Richard Fox wrote:
 This is my second attempt to get some help.. maybe my first post was too
 complex, so I will simplify it and if you need more information you will
 ask me. I am quite stuck so I would really appreciate some help. I am
 trying to connect an NT box, mercury, to a RedHat 7.3 PDC, thor. When I try
 to logon to the domain from mercury I get an error msg on my NT box which
 says the domain controller for this domain cannot be located.

 My smb.conf global section is:

...

 Help!
If this is a multi-homed machine then you might try

interfaces = xxx.xxx.xxx.xxx
bind interfaces only = yes

I only guess at this because your other internal network is 192.168.0.1 and 
you are only allowing 192.168.1.  Which makes me think that maybe your 
machine has two interfaces and samba's trying to bind to both.  


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



RE: [Samba] Winbindd not listing users/groups

2002-10-31 Thread Wieprecht, Karen M.
We have had better luck adding the machine account on the NT domain
controller,  then joining the domain with the smbpasswd command rather than
trying to do the whole thing from the smbpasswd command.  You could try
deleting the machine account, deleting your secrets.tdb file, and starting
that process over. 

Karen Wieprecht

-Original Message-
From: Sean Patrick Ingles [mailto:ingless;visionsys.com] 
Sent: Thursday, October 31, 2002 10:20 AM
To: Gareth Davies
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] Winbindd not listing users/groups


I entered wbinfo -A Administrator%password

And now wbinfo -t says:
Secret is bad
0xc001

Any thoughts?

-SP

-Original Message-
From: Gareth Davies [mailto:gdavies;willowbrook.co.uk] 
Sent: Thursday, October 31, 2002 10:05 AM
To: Sean Patrick Ingles; [EMAIL PROTECTED]
Subject: Re: [Samba] Winbindd not listing users/groups

 Original Message -
From: Sean Patrick Ingles
To: [EMAIL PROTECTED]
Sent: Thursday, October 31, 2002 2:43 PM
Subject: [Samba] Winbindd not listing users/groups


Greetings from NY!

I am running SaMBa version 2.2.6 compiled from source on a RedHat 7.3 (Linux
tux.#.net 2.4.19 #1 Fri Oct 25 15:39:52 EDT 2002 i686 unknown) box.
I start smbd and nmbd as I usually do. Then I start winbindd

I verified that they are running.

I run :
smbpasswd -j DOMAIN -r Windows2kDomainController -U Administrator
Password:
Joined domain DOMAIN.

Ok, so I'm in the domain

Then I run:
[root@tux src]# wbinfo -t
Secret is good

Even better, my secret is good!

Then I try and list users/groups:
[root@tux src]# wbinfo -u
Error looking up domain users
[root@tux src]# wbinfo -g
Error looking up domain groups




wbinfo -A Administrator%password

Please lose the HTML

 Shaolin - IT Systems
 WB Ltd.
.: http://www.security-forums.com :.

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



RE: [Samba] Winbindd not listing users/groups

2002-10-31 Thread Sean Patrick Ingles
Everyone - 

I have successfully solved my problem with help from Gareth!

I entered:

wbinfo -A Administrator%my long admin pw (with the quotes)

then I sent SIGHUP to winbindd and I can now list users and groups!

Thanks a million Gareth!

-SP

-Original Message-
From: Sean Patrick Ingles 
Sent: Thursday, October 31, 2002 10:20 AM
To: Gareth Davies
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] Winbindd not listing users/groups

I entered wbinfo -A Administrator%password

And now wbinfo -t says:
Secret is bad
0xc001

Any thoughts?

-SP

-Original Message-
From: Gareth Davies [mailto:gdavies;willowbrook.co.uk] 
Sent: Thursday, October 31, 2002 10:05 AM
To: Sean Patrick Ingles; [EMAIL PROTECTED]
Subject: Re: [Samba] Winbindd not listing users/groups

 Original Message -
From: Sean Patrick Ingles
To: [EMAIL PROTECTED]
Sent: Thursday, October 31, 2002 2:43 PM
Subject: [Samba] Winbindd not listing users/groups


Greetings from NY!

I am running SaMBa version 2.2.6 compiled from source on a RedHat 7.3
(Linux
tux.#.net 2.4.19 #1 Fri Oct 25 15:39:52 EDT 2002 i686 unknown)
box.
I start smbd and nmbd as I usually do.
Then I start winbindd

I verified that they are running.

I run :
smbpasswd -j DOMAIN -r Windows2kDomainController -U Administrator
Password:
Joined domain DOMAIN.

Ok, so I'm in the domain

Then I run:
[root@tux src]# wbinfo -t
Secret is good

Even better, my secret is good!

Then I try and list users/groups:
[root@tux src]# wbinfo -u
Error looking up domain users
[root@tux src]# wbinfo -g
Error looking up domain groups




wbinfo -A Administrator%password

Please lose the HTML

 Shaolin - IT Systems
 WB Ltd.
.: http://www.security-forums.com :.

-- 
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] getent not working correctly

2002-10-31 Thread Sean Patrick Ingles
Hello again!

Ok, I've gotten wbinfo -u and wbinfo -g working great

Now I try to run getent passwd and getent group I get my local users/groups but not 
the ones on the Windows 2k Server Domain Controller and it just hangs after listing 
the local ones.

I also tried authenticating a user and it worked I'm assuming

wbinfo -a DOMAIN+ingless@DOMAIN%password (The usernames here have user@domain due to 
some M$ Active-Directory thing...)
plaintext password authentication succeeded
challenge/response password authentication failed
Could not authenticate user DOMAIN+ingless@DOMAIN%password with challenge/response

Do I need getent working, or is it safe to assume everything is functioning normally 
now?

Thanks!

-SP

===
 
   \    /   /    / Sean Patrick Ingles
    \  /   /    / Jr. Network Engineer
 \    /   ___ /    / 
  \  /   /    / Vision Systems, Inc.
  __/   /   _/ 142 State Street
   Albany, NY 12207
    www.visionsys.com   Landline: +1 518.434.4300 x1406
  [EMAIL PROTECTED]  Fax: +1 518.434.4304
 
==

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



[Samba] Head Rotor VE 11/01

2002-10-31 Thread diesel fuel injection
Dear Sir,  

 *¡°ÖзͨÅä¼þ³§¡±×¨ÒµÉú²úVE±ÃÍ·(VE·ÖÅä±Ã±ÃÍ·×ܳÉ),Ö÷ÒªÐͺÅÓÐ
ÎåÊ®Áå4JB1,¿µÃ÷˹6BT,ÒÀά¿ÂµÍÅÅ·Å,ÎåÊ®ÁäƤ¿¨.



 * ÖзͨÅä¼þ³§ÓжàÄêÉú²úVE±ÃÍ·µÄ¾­Ñé, ×÷Ϊ½ÏÔç½øÈëÓͱÃÓÍ×ìÐÐ
   ÒµµÄרҵ³§,ÎÒÃÇʱ¿Ì¸ú×Ù¹ú¼Ê¸÷µØÆäËü²ñÓÍȼÓÍÅçÉäϵͳµÄÖÆ
   ÔìÉ̵ÄÉú²ú¹¤ÒÕ,²¢ÇÒ²»¶ÏÎüÊÕ¹ú¼ÊÉÏ×îÏȽøµÄ¼Ó¹¤,²âÊÔ¹¤.²úÆ·µÄ
   ÖÊÁ¿ºÍÍâ¹Ûͬ¹úÍâͬÀà²úÆ·Ï൱. 

 * Èç¶ÔÎÒÃǵIJúÆ·¸ÐÐËȤ,Çë֪ͨÎÒÃÇ.




 
   we have been in the field of diesel fuel injection 
systems for quite a few years.(CHINA)

  Recently we have developed a new kind of hr,
AM Bosch number HD90100A.Its unit price is USD120/pc.And 
we also adjust the unit price of Nozzle , Plunger to USD4~5/pc
respectively.

   We tell you that we will update our VE hr
(hydraulic heads for the VE distributor pump) list in our 

homepages.Thirty more models will be added.And the minimum
order will be 6pcs a model.We quote them as follows:
3-cyl:USD:55/1pcs
4-cyl:USD:45/1pcs
5-cyl:USD:55/1pcs
6-cyl:USD:50/1pcs

   We can ship the following three models to you within 8~10 weeks. after
we receive your payment.
  If you feel interested in our products,please advise the details about 
what you need,such model name,part number,quantity and so on.We are always
within your touch.
  Looking forward to our favorable cooperation.
  Hope to hear from you soon.
(NIPPON DENSO)
096400-0143
096400-0242
096400-0262
096400-0371
096400-0432
096400-1030
096400-1060
096400-1090
096400-1210
096400-1220
096400-1230
096400-1240
096400-1250
096400-1330
096400-1331
096400-1600
096540-0080 
146400-2220
145400-3320
146400-4520
146400-5521
146400-8821
146400-9720
146401-0520
146401-2120
146402-0820
146402-0920
146402-1420
146402-4020
146402-4320
146402-3820
146403-2820
146403-3120
146403-3520
146404-1520
146404-2200
146405-1920
146430-1420
1 468 333 320
1 468 333 323

1 468 334 313
1 468 334 327
1 468 334 565
1 468 334 337
1 468 334 378
1 468 334 424
1 468 334 475
1 468 334 485
1 468 334 494
1 468 334 496
1 468 334 580
1 468 334 590
1 468 334 564
1 468 334 565
1 468 334 575
1 468 334 592
1 468 334 595
1 468 334 596
1 468 334 603
1 468 334 604
1 468 334 606
1 468 334 617
1 468 334 675
1 468 334 678
1 468 334 720
1 468 334 780
1 468 334 798
1 468 334 859
1 468 334 874
1 468 334 899
1 468 334 946
1 468 335 345
2 468 335 022
1 468 336 335
1 468 336 352
1 468 336 364
1 468 336 403
1 468 336 423
1 468 336 464
1 468 336 480
1 468 336 528
1 468 336 608
1 468 336 614
1 468 336 626
1 468 336 632
2 468 334 050
2 468 334 021
2 468 336 013

 
 


C.Hua

Sales  purchasing director
http://WWW.China-LuTon.com 
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] samba passwords

2002-10-31 Thread Gurnish Anand
Can we set expire policy for samba passwords and make it work or appear 
on windows 98 side, and making the communication between samba and windows.
Please help...

Gurnish

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


Re: [Samba] 2 GB Filesize-limit?

2002-10-31 Thread Urban Widmark
On Thu, 31 Oct 2002, Andreas Schlager wrote:

 Hi list,
 
 I want to write a file larger than 2GB via a mounted windows-share 
 (debian unstable-version) from linux (2.4.18 i386) to a windows 
 fileserver.

You need patches to add large file support to smbfs:

http://www.hojdpunkten.ac.se/054/samba/index.html

/Urban

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



[Samba] Joining an NT domain using the smbpasswd command

2002-10-31 Thread Hewitt, Tom



I'm evaluating Linux 
(Redhat Linux 8.0), with a view to migrating from Windows but have been 
having a frustrating few days trying to configure Samba 2.2.5 via the terminal 
from within the Gnome GUI.

I can get Samba to 
work when it comes to Windows clients using the Linux box as a file server but 
am having no joy when I attempt to use the smbpasswd command to joinan NT 
domain.
I keep receiving the 
message - smbpasswd:command not found.
I have rigorously 
followed the instructions that came with Sambaregarding 
it'sinstallation and still I get this message.

Can anyone out there 
shed some light on this problem for me?

Many 
thanks,

Tom




RE: [Samba] Winbind!

2002-10-31 Thread Jennifer Fountain
How do you get the GID numbers to resolve to the domain names? i am having
an issue - when I type groups jfountain, i get all numbers. I need them to
be names. 


-Original Message-
From: Wieprecht, Karen M. [mailto:Karen.Wieprecht;jhuapl.edu]
Sent: Thursday, October 31, 2002 12:39 PM
To: 'Gerald (Jerry) Carter'; 'Jennifer Crusade'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [Samba] Winbind!


Why not?  It does not affect whether or not my NT user gets matched to a
UNIX UID and GID (username.map does that part for me),  but for files
created by users with no corresponding UNIX account,  it makes the domain
username show up on an ls -l minus the domain prefix so I can see who owns
the file,  otherwise,  ls -l shows a truncated version of
DOMAINNAMEseparatorUSERNAME,  and I can't tell who owns anything ...  

What is the purpose of the parameter,  and why is it a bad idea to use it?  

Thanks,

Karen Wieprecht

From: Gerald (Jerry) Carter [mailto:jerry;samba.org] 
 winbind use default domain = yes

Do not use this parameter.




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



Re: [Samba] PDC connect problem

2002-10-31 Thread Richard Fox
 If this is a multi-homed machine then you might try

 interfaces = xxx.xxx.xxx.xxx
 bind interfaces only = yes

I tried this an it had no effect on the problem, which is that the domain
controller for this domain cannot be located. In order to eliminate any
possible problem of multiple networks I deleted the other network device,
eth1, which was inactive anyway, from my PDC machine. Also all other hosts
on the 192.168.0. network have been removed from my /etc/hosts file. Now I
just have eth0 set to 192.168.1.10 and localhost, thor (RH 7.3 PDC) , and
mercury 192.168.1.7 (NT) in my /etc/hosts.

I also tried
  wins support = yes

and this also had no effect.

I do believe, from what I have read, that I have a minimal smb.conf file for
a PDC.  Here it is again:

[global]
workgroup = MYGROUP
netbios name = THOR
os level = 64
domain master = yes
preferred master = yes
local master = yes
security = user
encrypt passwords = yes
domain logons = yes
logon path = \\%L\Profiles\%u
logon drive = H:
logon home = \\%L\%u
logon script = netlogon.bat
[homes]
comment = Home Directories
path = %H
writeable = Yes
valid users = %S
create mode = 0664
directory mode = 0775
[netlogon]
comment = Network Logon Services
path = /home/samba/netlogon
read only = yes
   # list of all possible users who I could imagine would try to connect
during testing.
   # All have samba passwords = Unix passwords (or NT in case of
Administrator)
write list = Administrator, rfox, root
[Profiles]
path = /home/samba/profiles
browseable = No

I am very surprised that the log file shows no attempt to connect when I try
to join the domain MYGROUP from mercury. The log file does show that samba
initialized ok and is waiting for connections.

I don't know how to simplify things any further. My network is 2 machines
only, no additional interfaces. I did remove the DNS server IPs and gateway
IP from mercury's TCP/IP settings but this also made no difference so I put
them back.

Keep these ideas coming, I am completely stumped.
Thanks,
Rich

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



[Samba] samba stability, scalability in enviromentens with more then 200 clients?

2002-10-31 Thread earthtirol
hi

im would be interestet in your experense with samba in larger enviroments
with more than 200 clients

stability of samba?
stability of the logon and userdatabse?
and the scalability?

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



RE: [Samba] Winbind!

2002-10-31 Thread David Brodbeck
In nsswitch.conf, check your group line.  It should have winbind in it,
something like this:

group:  files winbind nisplus nis

In this case, when the system needs to look up a group name it'll check the
/etc/groups file first, then winbind, then nisplus, then nis.  If it still
can't find it it'll represent it numerically.

-Original Message-
From: Jennifer Fountain [mailto:JFountain;rbinc.com]
Sent: Thursday, October 31, 2002 2:02 PM
To: 'Wieprecht, Karen M.'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [Samba] Winbind!


How do you get the GID numbers to resolve to the domain names? i am having
an issue - when I type groups jfountain, i get all numbers. I need them to
be names. 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Which tree should I be barking up?

2002-10-31 Thread Steven S. Macfarlane
Running Samba 2.2.6 on RedHat 7.2 in a Microsoft NT4 Domain, trying to
create or copy a text file to a share from a MS Windows 2000 Professional
workstation (client2k) gives 'Access denied'

Reading the log file (level 3) for samba.client2k (not an activity I feel
much comfort in doing correctly) it looks like I am being recognized as a
'guest user' which is a problem but for testing purposes I have changed
smb.conf for this share to allow guest access, which it does not seem to.

I am also attempting to achieve a successful integration with winbind as I
don't want to manage users on two platforms.

wbinfo -u gives a list of domain users
wbinfo -g gives a list of domain groups
wbinfo -t gives 'secret is good'

Here is my smb.conf:

# Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2002/10/23 15:08:25

# Global parameters
[global]
workgroup = GPSC
netbios name = WILLIAM
server string = GPSC Application Samba Server
interfaces = lo eth0
bind interfaces only = Yes
security = DOMAIN
encrypt passwords = Yes
map to guest = Bad User
password server = *
log level = 3
log file = /var/log/samba.%m
max log size = 50
keepalive = 30
os level = 2
local master = No
dns proxy = No
wins server = 192.168.1.2
kernel oplocks = No
winbind uid = 1-2
winbind gid = 1-2
template homedir = /home/win/%D/%U
winbind separator = +
invalid users = root
printer admin = DOM+PRINTADMIN
hosts allow = 127. 192.168.
print command =
lpq command =
lprm command =

[homes]
comment = Home Directories
read only = No
create mask = 0750
browseable = No

[Apps]
comment = Where network apps are loaded
path = /home/apps
guest ok = Yes

Kind regards,

Steven S. Macfarlane

tel 712.204.8875

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



Re: [Samba] 2.2.5 burning from network share not possible

2002-10-31 Thread Thomas Bork
Hallo Gerald (Jerry) Carter,

you wrote:

 On Wed, 9 Oct 2002, Thomas Bork wrote:

 Is there a known bug in Samba 2.2.5 with burning images from
network
 shares with CloneCd, if files named like IMAGE(Install).CCD?
Samba
 will access

 Images2/IMAGE(Install).CCD

 but the files is here:

 Images2/abc/IMAGE(Install).CCD

 I have level 10 debug logs for this from a user with this problem.
 May be a locking issue, because I found a lot of

 [2002/10/09 18:54:45, 5] locking/posix.c:set_posix_lock(1063)
   set_posix_lock: Lock fail !: Type = READ: offset = 0, count =
 9223372036854775808. Errno = Value too large for defined data type

 in the logs. Or may be a hashing problem with hash2, because files
 named other then xyz.ccd were found with Samba ...
 Is there anybody interested in this problem/the logs?

 Yes.  We are interested.  But can you retest with 2.2.6rc2 (released
 yesterday)?  Thanks.

I retested with final release of 2.2.6, compiled on the target-system
(target-system is www.eisfair.org, version 2.2.5 was compiled on SuSE
7.3) and the locking failures are gone. May be this is the result of
Samba 2.2.6 or of compiling on the target-system...

Thanks a lot  :o)


tom

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



RE: [Samba] PDC connect problem

2002-10-31 Thread Jacob Smith
This is all you should need for a bare minimum PDC to work.

[global]
domain logons = yes
domain master = yes
security = user
workgroup = YOURDOMAIN
encrypt passwords = yes

[netlogon]
path=/usr/local/netlogon
writeable = no
guest ok = no

Make sure netlogon directory exists and then run the tesparm utility with
this config.

-Original Message-
From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org]On
Behalf Of Richard Fox
Sent: Thursday, October 31, 2002 2:14 PM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] PDC connect problem


 If this is a multi-homed machine then you might try

 interfaces = xxx.xxx.xxx.xxx
 bind interfaces only = yes

I tried this an it had no effect on the problem, which is that the domain
controller for this domain cannot be located. In order to eliminate any
possible problem of multiple networks I deleted the other network device,
eth1, which was inactive anyway, from my PDC machine. Also all other hosts
on the 192.168.0. network have been removed from my /etc/hosts file. Now I
just have eth0 set to 192.168.1.10 and localhost, thor (RH 7.3 PDC) , and
mercury 192.168.1.7 (NT) in my /etc/hosts.

I also tried
  wins support = yes

and this also had no effect.

I do believe, from what I have read, that I have a minimal smb.conf file for
a PDC.  Here it is again:

[global]
workgroup = MYGROUP
netbios name = THOR
os level = 64
domain master = yes
preferred master = yes
local master = yes
security = user
encrypt passwords = yes
domain logons = yes
logon path = \\%L\Profiles\%u
logon drive = H:
logon home = \\%L\%u
logon script = netlogon.bat
[homes]
comment = Home Directories
path = %H
writeable = Yes
valid users = %S
create mode = 0664
directory mode = 0775
[netlogon]
comment = Network Logon Services
path = /home/samba/netlogon
read only = yes
   # list of all possible users who I could imagine would try to connect
during testing.
   # All have samba passwords = Unix passwords (or NT in case of
Administrator)
write list = Administrator, rfox, root
[Profiles]
path = /home/samba/profiles
browseable = No

I am very surprised that the log file shows no attempt to connect when I try
to join the domain MYGROUP from mercury. The log file does show that samba
initialized ok and is waiting for connections.

I don't know how to simplify things any further. My network is 2 machines
only, no additional interfaces. I did remove the DNS server IPs and gateway
IP from mercury's TCP/IP settings but this also made no difference so I put
them back.

Keep these ideas coming, I am completely stumped.
Thanks,
Rich

--
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] where is smbmount??

2002-10-31 Thread Josh Hiner
Hello. I recently downloaded samba 2.2.6 compiled and installed (on Linux).
All is going great except that I cannot find smbmount. I see it in the
source dir (samba-2.2.6/source/client) but there is no Makefile and it is
not compiled. If somebody could tell me what happened or where to find it I
would be very grateful!!!

Thanks!!
-Josh

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



[Samba] My Apologies for the HTML!

2002-10-31 Thread Sean Patrick Ingles
Sorry everyone!

My Company forces us to use Outlook, and it was defaulting to HTML and
Edit Messages with Word
Thanks Bill.

I've changed it to good 'ol Plain Text


Cheers!

-SP



===
 
   \/   // Sean Patrick Ingles
\  /   // Jr. Network Engineer
 \/   ___ // 
  \  /   // Vision Systems, Inc.
  __/   /   _/ 142 State Street
   Albany, NY 12207
www.visionsys.com   Landline: +1 518.434.4300 x1406
  [EMAIL PROTECTED]  Fax: +1 518.434.4304
 
==
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] 2.2.6 leaking session ids?

2002-10-31 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 30 Oct 2002, William Jojo wrote:

 [2002/10/30 10:48:36, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer

The client disconnected.  Not Samba.  I'll have to look over the remainder 
of your mail.




jerry

 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9wV5kIR7qMdg1EfYRArykAJ9VdeB7EuyJC/q4N1n6dmPsQwNL0wCdH34Y
wXvWpObxPM9VIUujDLrPIMU=
=OQcG
-END PGP SIGNATURE-

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



[Samba] HELP!

2002-10-31 Thread Don Collins
I was previouslly getting read_socket_data and write_socket_data errors and
so I tried everything, I have now downgraded samba and get new errors


[2002/10/31 14:59:57, 0] smbd/nttrans.c:call_nt_transact_ioctl(2387)
  call_nt_transact_ioctl: Currently not implemented.

Repeatedlly which is disconnecting my clients...

Need help please, mission critical

Thanks

Don Collins
Unix Administrator
Orbital Sciences Corporation

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



[Samba] Re: Samba PDC and Kerberos(MIT or SEAM in Uinx, without microsoft ADS)

2002-10-31 Thread Yongjun Rong
Hi, Andrew, 
   Thank you very much for your answer.
   Now our case is as below:
   1, our client machine is the windows 2000 
   2, We want our Kerberos run in the Unix box.
   3, We also want the samba as PDC for all windows user and machine.
   4, We want integrate the Kerberos Authentication with samba authentication.
   So in this situation, can we get the kerberos login from the windows 2000 client 
because the windows 2000 is support kerberos authenctication. If it can, where can I 
start?
   I have already setup the environment for windows 2000 client auhtenticating 
himself to the Kerberos Realm in the Solaris and authenticate the samba domain user 
to the local windows 2k machine. But this two cases are seperated from each other 
which means the kerberos authentication use the kerberos password and samba PDC 
authentication use the smbpasswd. And I can also map(using Ksetup /mapuser) the 
kerberos user to the local or samba domain user and then do the authentication to 
the kerberos. So we really want is, when we do the samba PDC authentication we can 
use the kerberos password. I don't know if it right. PLS correct me .
  Thank you very much.
  John

 Original Message 
From:   Andrew Bartlett
Date:   Mon 10/28/02 17:24
To: Yongjun Rong
Cc: [EMAIL PROTECTED]
Subject:Re: Samba and Kerberos(MIT or SEAM, without microsoft ADS)

Yongjun Rong wrote:
 
 Hi, Andrew,
This is John from Texas Tech University.I have read your reply about samba and
 kerberos. May I ask you some question about samba and Kerberos.
1, Is the samba can use the kerberos(Not with ADS, Just MIT or SEAM in Solaris)
 as the authentication services and store samba user and passwd in the kerberos
 database directly but not using OpenLDAP?

If you can get the clients to send you a kerberos login without using
ADS, then the modification is realitivly simple, and is part of the work
towards an Active Directory replacement.

2, If it cannot, I know the samba has support the Kerberos with Microsoft ADS.
 Where can start to change the source to enable the support for MIT or SEAM in
 solaris? How can I do it? I have download the source of samba3.0alpha20. And I also
 have configure the samba as a PDC for my win2k client.

You can't do PDC stuff with this kind of setup, not until we get a *lot*
more Active Directory work done.

3, You said that samba should support the MIT kerberos. But not at this moment.
 Did it support keberos in the older version or not? which version? If it was not
 support. I wish I can do something for it.
Thank you very much for your help.
John.

In a very old version, we used the host keytab.  Now we use our own
secrets.tdb file, which we maintain.  This is becouse in an ADS
environment, we need to do both NT authentication and Kerberos.

Please put questions to the list, so that others may see the replies. 
CC me if you want me to actually read it however :-)

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net

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



RE: [Samba] Winbind!

2002-10-31 Thread Jennifer Fountain
Ok I made sure that it reads files, winbind. now i only get the number of
domain admins when i type groups and when i type groups jfountain, i get
domain admins. but i am a member of 10 groups :( 

-Original Message-
From: David Brodbeck [mailto:DavidB;mail.interclean.com]
Sent: Thursday, October 31, 2002 2:16 PM
To: 'Jennifer Fountain'; 'Wieprecht, Karen M.'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [Samba] Winbind!


In nsswitch.conf, check your group line.  It should have winbind in it,
something like this:

group:  files winbind nisplus nis

In this case, when the system needs to look up a group name it'll check the
/etc/groups file first, then winbind, then nisplus, then nis.  If it still
can't find it it'll represent it numerically.

-Original Message-
From: Jennifer Fountain [mailto:JFountain;rbinc.com]
Sent: Thursday, October 31, 2002 2:02 PM
To: 'Wieprecht, Karen M.'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [Samba] Winbind!


How do you get the GID numbers to resolve to the domain names? i am having
an issue - when I type groups jfountain, i get all numbers. I need them to
be names. 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Joining an NT domain using the smbpasswd command

2002-10-31 Thread mark
On Thursday 31 October 2002 4:26 pm, Hewitt, Tom wrote:
 I'm evaluating Linux (Redhat Linux 8.0), with a view to migrating from
 Windows but have been having a frustrating few days trying to configure
 Samba 2.2.5 via the terminal from within the Gnome GUI.

 I can get Samba to work when it comes to Windows clients using the Linux
 box as a file server but am having no joy when I attempt to use the
 smbpasswd command to join an NT domain.
 I keep receiving the message - smbpasswd:command not found.
 I have rigorously followed the instructions that came with Samba regarding
 it's installation and still I get this message.

 Can anyone out there shed some light on this problem for me?

 Many thanks,

 Tom
Have you tried locate smbpasswd  or find / -name smbpasswd in order to 
determine where it is on your machine?  Things get put in funky places, ie  
outside of your $PATH sometimes.  At least it looks to me like it's your 
shell saying it can't find smbpasswd.

I don't know how RedHat 8.0 installs samba.  They do tend to break it up into 
pieces and you may not have the rpm installed that contains smbpasswd.  I 
wouldn't think so, but it's a thought.  


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



Re: [Samba] bizarre issue with opening Quicktime files from a share

2002-10-31 Thread Frank Joerdens
On Thu, Oct 31, 2002 at 05:48:06PM +, [EMAIL PROTECTED] wrote:
 On Thu, Oct 31, 2002 at 05:10:12PM +0100, Frank Joerdens wrote:
  Hello,
  
  this would be one of the freakiest problems I've ever seen: If I open an
  e.g. JPEG or Quicktime Movie with the Quicktime player application from
  a share, it won't work if the file is inside a folder that has a name
  which is longer than 12 characters. If I open the same file with e.g.
  the Internet Explorer, no problem. If I put the folder on a local disk
  or another Windows computer on the network (!), no problem either. 
  
  I was able to reproduce the problem with both Samba 2.0.6 and 2.2.4.
  
  Any ideas? Could someone check if they have the same problem (it might
  be somthing I've configured identically on both Linux boxes).
 
 Can you test on 2.2.6 please ? I fixed a long standing bug with
 name mangling for folders for 2.2.6.

Cool. 2.2.6 indeed does not have the problem. This is why I am addicted
to Open Source software: You report your problem to the list, one of the
developers writes back with the solution within, like, 20 minutes - and
your problem is gone!

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



RE: [Samba] Which tree should I be barking up?

2002-10-31 Thread Noel Kelly
You are being treated as a guest user because map to guest = Bad User

Bad User - Means  user  logins  with  an  invalid
password  are  rejected, unless the username does
not exist, in which case it is treated as a guest
login and mapped into the  guest account.


This means that your login name or password is not being recognised and you
are being treated as the guest user - default is 'nobody'.  If nobody does
not exist in your domain then you need to create a user called this.

However, that will only get you as far as guest shares - and I suppose you
need to address the actual matter of not being recognised yourself.  Are the
permissions on directory /home/apps 770 with group GPSC+domain users or
something similar?

If so then see what you get if you do a 'getent passwd' or 'getent group'.

HTH a bit,
Noel



looks like I am being recognized as a 'guest user' which is a problem but
for testing purposes I have changed smb.conf for this share to allow guest
access, which it does not seem to.

I am also attempting to achieve a successful integration with winbind as I
don't want to manage users on two platforms.

wbinfo -u gives a list of domain users
wbinfo -g gives a list of domain groups
wbinfo -t gives 'secret is good'

Here is my smb.conf:

# Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2002/10/23 15:08:25

# Global parameters
[global]
workgroup = GPSC
netbios name = WILLIAM
server string = GPSC Application Samba Server
interfaces = lo eth0
bind interfaces only = Yes
security = DOMAIN
encrypt passwords = Yes
map to guest = Bad User
password server = *
log level = 3
log file = /var/log/samba.%m
max log size = 50
keepalive = 30
os level = 2
local master = No
dns proxy = No
wins server = 192.168.1.2
kernel oplocks = No
winbind uid = 1-2
winbind gid = 1-2
template homedir = /home/win/%D/%U
winbind separator = +
invalid users = root
printer admin = DOM+PRINTADMIN
hosts allow = 127. 192.168.
print command =
lpq command =
lprm command =

[homes]
comment = Home Directories
read only = No
create mask = 0750
browseable = No

[Apps]
comment = Where network apps are loaded
path = /home/apps
guest ok = Yes

Kind regards,

Steven S. Macfarlane

tel 712.204.8875

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Port 139 versus Port 445

2002-10-31 Thread Jason Joines
Andrew Bartlett wrote:


Joel Hammer wrote:
 

I suspect that you can have two smbd's running. Each one will spawn other
daemons as needed, I THINK.
Joel
   


You can only have one smbd running as a daemon.  You can start others
via inetd however.  The issue of 139/445 has been addressed in 3.0 by
listining on both ports by default.

Andrew Bartlett

 


   Anyone have a sample line from inetd.conf that gets smbd to start on 
port 445 when smbd is already running on 139 from the samba startup 
script?  I haven't had any luck yet?

Thanks,

Jason Joines
==

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


Re: [Samba] PDC connect problem: II

2002-10-31 Thread Richard Fox


 This is all you should need for a bare minimum PDC to work.

 snip


I tried this, it didn't work, I then found out about DIAGNOSTICS.txt in the
samba distribution and started going through it step by step. I failed Step
5, which reads:


TEST 5:
---

run the command nmblookup -B ACLIENT '*'

You should get the PCs IP address back. If you don't then the client
software on the PC isn't installed correctly, or isn't started, or you
got the name of the PC wrong.

If ACLIENT doesn't resolve via DNS then use the IP address of the
client in the above test.
*

When I run nmblookup -B mercury '*' I get:
[rootthor etc]# nmblookup -B MERCURY '*'
querying * on 192.168.1.7
name_query failed to find name *

The address to mercury is resolved fine, but the lookup failed. This means
that the TCP/IP setup on the mercury NT box is wrong, no? Any ideas what
this could be?


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



[Samba] Head Rotor VE 11/01

2002-10-31 Thread diesel fuel injection
Dear Sir,  

 *¡°ÖзͨÅä¼þ³§¡±×¨ÒµÉú²úVE±ÃÍ·(VE·ÖÅä±Ã±ÃÍ·×ܳÉ),Ö÷ÒªÐͺÅÓÐ
ÎåÊ®Áå4JB1,¿µÃ÷˹6BT,ÒÀά¿ÂµÍÅÅ·Å,ÎåÊ®ÁäƤ¿¨.



 * ÖзͨÅä¼þ³§ÓжàÄêÉú²úVE±ÃÍ·µÄ¾­Ñé, ×÷Ϊ½ÏÔç½øÈëÓͱÃÓÍ×ìÐÐ
   ÒµµÄרҵ³§,ÎÒÃÇʱ¿Ì¸ú×Ù¹ú¼Ê¸÷µØÆäËü²ñÓÍȼÓÍÅçÉäϵͳµÄÖÆ
   ÔìÉ̵ÄÉú²ú¹¤ÒÕ,²¢ÇÒ²»¶ÏÎüÊÕ¹ú¼ÊÉÏ×îÏȽøµÄ¼Ó¹¤,²âÊÔ¹¤.²úÆ·µÄ
   ÖÊÁ¿ºÍÍâ¹Ûͬ¹úÍâͬÀà²úÆ·Ï൱. 

 * Èç¶ÔÎÒÃǵIJúÆ·¸ÐÐËȤ,Çë֪ͨÎÒÃÇ.




 
   we have been in the field of diesel fuel injection 
systems for quite a few years.(CHINA)

  Recently we have developed a new kind of hr,
AM Bosch number HD90100A.Its unit price is USD120/pc.And 
we also adjust the unit price of Nozzle , Plunger to USD4~5/pc
respectively.

   We tell you that we will update our VE hr
(hydraulic heads for the VE distributor pump) list in our 

homepages.Thirty more models will be added.And the minimum
order will be 6pcs a model.We quote them as follows:
3-cyl:USD:55/1pcs
4-cyl:USD:45/1pcs
5-cyl:USD:55/1pcs
6-cyl:USD:50/1pcs

   We can ship the following three models to you within 8~10 weeks. after
we receive your payment.
  If you feel interested in our products,please advise the details about 
what you need,such model name,part number,quantity and so on.We are always
within your touch.
  Looking forward to our favorable cooperation.
  Hope to hear from you soon.
(NIPPON DENSO)
096400-0143
096400-0242
096400-0262
096400-0371
096400-0432
096400-1030
096400-1060
096400-1090
096400-1210
096400-1220
096400-1230
096400-1240
096400-1250
096400-1330
096400-1331
096400-1600
096540-0080 
146400-2220
145400-3320
146400-4520
146400-5521
146400-8821
146400-9720
146401-0520
146401-2120
146402-0820
146402-0920
146402-1420
146402-4020
146402-4320
146402-3820
146403-2820
146403-3120
146403-3520
146404-1520
146404-2200
146405-1920
146430-1420
1 468 333 320
1 468 333 323

1 468 334 313
1 468 334 327
1 468 334 565
1 468 334 337
1 468 334 378
1 468 334 424
1 468 334 475
1 468 334 485
1 468 334 494
1 468 334 496
1 468 334 580
1 468 334 590
1 468 334 564
1 468 334 565
1 468 334 575
1 468 334 592
1 468 334 595
1 468 334 596
1 468 334 603
1 468 334 604
1 468 334 606
1 468 334 617
1 468 334 675
1 468 334 678
1 468 334 720
1 468 334 780
1 468 334 798
1 468 334 859
1 468 334 874
1 468 334 899
1 468 334 946
1 468 335 345
2 468 335 022
1 468 336 335
1 468 336 352
1 468 336 364
1 468 336 403
1 468 336 423
1 468 336 464
1 468 336 480
1 468 336 528
1 468 336 608
1 468 336 614
1 468 336 626
1 468 336 632
2 468 334 050
2 468 334 021
2 468 336 013

 
 


C.Hua

Sales  purchasing director
http://WWW.China-LuTon.com 
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Going Then Other Way (see NT from Unix)

2002-10-31 Thread Matthew Hannigan
On Thu, Oct 31, 2002 at 04:30:58PM +0100, Frank Matthieß wrote:
 On Thu, Oct 31, 2002 at 02:51:51PM +, [EMAIL PROTECTED] wrote:
  Hi all, I am new to Samba and from what I understand Unix partitions can be
  shared by NT machines how do I revers this that a NT drive is seen by Unix
  as file system
 
 smbfs is your friend.
 
 With that you are able to mount remote smb shares. Inside a windows
 domain you have to make sure that the unix maschine ist also domain
 member.

smbfs is Linux only I think. 

smbclient provides an ftp like interface
smbsh provides a shell interface


Depends on what you want.

If you want to see the NT machines as a file system
from all processes, then Samba can't currently do it;
you need to NFS for Windows, which is available from
Microsoft (SFU -- Services for Unix) and versions of 
NFS for Windows are also available from other 3rd party
vendors.


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



[Samba] 2.2.6 nmbd dies unexpectedly.

2002-10-31 Thread awesome-dave1
Hello,
I'm having difficulty getting 2.2.6 working in a domain setting. nmbd
keeps periodically dying, and i'm not getting any output in my logs, i'm
on debug level 1. I'm also trying to have nmbd act as a wins server for
my windows boxes. Has anyone noticed this before?
Thanks.
Dave.



Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] (no subject)

2002-10-31 Thread Michael J. Luevane
Hello, Samba user folks :)

I have a few very likely newbie questions:

1. I installed Samba 2.2.6 from sources and I don't seem to have smbclient
or nmblookup. Did I goof somewhere and forget something that would have
included them?

2. I am curious about upgrading samba via CVS - I've looked at the
instructions and it seems pretty straightforward. Is there anything to watch
out for as far as updating Samba files while the smbd is running?

3. Windows has this nasty (okay, it's actually a decent thing - if you could
turn it off...) where it creates a brand new profile if you join a new
domain - even if that new domain has the exact same name. Will upgrading the
Samba files trigger this behavior?  I'm thinking not, but after the havoc
this caused after the switch from NT to Linux - along with the unexpected
gift of Win2K autmatically creating roaming profiles (which it had never
done before when connecting to a new Windows domain), I am, I believe,
rightly paranoid about all this.

Many thanks in advance,

/===\
| Michael Luevane  +|
| System Administrator +   mikel  quantec llc . com|
| Quantec, LLC +   www.quantecllc.com   |
| 503-228-2992 +|
\===/

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



Re: [Samba] 2.2.6 nmbd dies unexpectedly.

2002-10-31 Thread jra
On Thu, Oct 31, 2002 at 12:51:23PM -0500, [EMAIL PROTECTED] wrote:
 Hello,
   I'm having difficulty getting 2.2.6 working in a domain setting. nmbd
 keeps periodically dying, and i'm not getting any output in my logs, i'm
 on debug level 1. I'm also trying to have nmbd act as a wins server for
 my windows boxes. Has anyone noticed this before?

Have you set a panic action ? Can you do this and see if nmbd is
crashing.

Thanks,

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



[Samba] Samba 2.2.6 RPM for RedHat 8.0

2002-10-31 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

FYI

I just uploaded an [S]RPM for RedHat 8.0.  See
http://download.samba.org/samba/ftp/Binary_Packages/redhat/

The 2.2.6-2 is only because I had to change the spec file a little 
for build on RedHat 8.  Many thanks to Axel Thimm for clueing
me in on the problem with the 'x' bit for files in examples/  docs/

The mirrors will update shortly.


cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9wa54IR7qMdg1EfYRAhKCAJwKNy1FFyoFlssG+fSMnzypBi7SNACfSqNU
z8nvtn06t4bMYRg4Y/d6GRk=
=CdAo
-END PGP SIGNATURE-

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



Re: [Samba] Help: configure error with cvs download samba 3.x

2002-10-31 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 28 Oct 2002, David Shapiro wrote:

 Hello,
 
 I used cvs to download and build samba, but it failed to build with error
 message:
 
 checking configure summary... configure: error: summary failure. Aborting
 config

The best clue will be at the tail end of config.log



cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9wbcPIR7qMdg1EfYRAk6mAJ49ZnqCM6o9Qp9TK04FGFm9T1jhBgCgvyAx
QtbFut9EnQDKfuaNK4F4GLs=
=kkWm
-END PGP SIGNATURE-

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



Re: [Samba] printing

2002-10-31 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 28 Oct 2002, Nils Neumann wrote:

 I have following configuration :
 [global]
   workgroup = testing
   server string = Samba-Server
   security = SHARE
   encrypt passwords = Yes
   map to guest = Bad User
   socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
   character set = ISO8859-15
   kernel oplocks = No
 [printers]
   comment = All Printers
   path = /var/spool/samba
   hosts allow = 192.168.0.20
   browseable = no
   public = yes
   writeable = no
   printable = yes
 
 1.) My Client has the IP 192.168.0.4, but there is no problem for the client 
 to print on my samba server. If I add the line hosts deny = 192.168.0.4, my 
 client can still printing. Is this normal a normal behaviour of the samba ? 
 Or is my configuration file wrong ?
 
 2.) If I change the line public = yes to public = no, I can print with the 
 client without a password ? Is this normal, too ?
 
 (System : Debian stable/testing, Samba 2.2.3a-6, kernel 2.4.19)

I think this is an old bug affecting NT+ clients.  Please 
test 2.2.6.




cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9wbehIR7qMdg1EfYRAjNiAKCz0dxO7n3njcnt5fMJ0AjySGy1/gCeJzPl
i5nJijcwAiYT8FKUz4Nr4uo=
=Z/jM
-END PGP SIGNATURE-

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



[Samba] initialise groups winbind making samba useless

2002-10-31 Thread Edward Mann
I have posted with this error/bug before, so now i am back at it again.
I am having a problem with samba, winbindd and groups. If a users is in
a large number of groups i get the following error when they try to
connect to the samba server

Oct 31 18:00:44 localhost smbd[11086]: [2002/10/31 18:00:44, 0]
smbd/sec_ctx.c:initialise_groups(244) 
Oct 31 18:00:44 localhost smbd[11086]:   Unable to initgroups. Error was
Operation not permitted 
Oct 31 18:03:17 localhost smbd[11091]: [2002/10/31 18:03:17, 0]
smbd/sec_ctx.c:initialise_groups(244) 
Oct 31 18:03:17 localhost smbd[11091]:   Unable to initgroups. Error was
Operation not permitted 
Oct 31 18:03:19 localhost smbd[11091]: [2002/10/31 18:03:19, 0]
smbd/sec_ctx.c:initialise_groups(244) 
Oct 31 18:03:19 localhost smbd[11091]:   Unable to initgroups. Error was
Operation not permitted 
Oct 31 18:03:23 localhost smbd[11091]: [2002/10/31 18:03:23, 0]
smbd/sec_ctx.c:initialise_groups(244) 
Oct 31 18:03:23 localhost smbd[11091]:   Unable to initgroups. Error was
Operation not permitted 

They cannot connect to any of the shares now.

How do i fix this?

I am using samba-2.2.6
RedHat 7.3
Kernel 2.4.19
libgcc-3.0.1-3

What other info do you need to help fix this problem. Even if someone
would write me back and tell me that i'm totally screwed, that would be
better than nothing.

I will say that this is the first time that i have posted a question to
the net and no one could respond to it. Is this something that only i am
having problems with?

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



Re: [Samba] HELP!

2002-10-31 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 31 Oct 2002, Don Collins wrote:

 I was previouslly getting read_socket_data and write_socket_data errors and
 so I tried everything, I have now downgraded samba and get new errors
 
 
 [2002/10/31 14:59:57, 0] smbd/nttrans.c:call_nt_transact_ioctl(2387)
   call_nt_transact_ioctl: Currently not implemented.

This is not disconnecting your clients.  It is an informative message 
only,  Check your network hardware  drivers for problematic settings.




cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9wcL2IR7qMdg1EfYRAoKCAJ0SjfI3TvQ+LUTMrIetvYFyfolQ7ACeM54h
XLlHuxu0GtZmL3dssk8JjXs=
=C1zf
-END PGP SIGNATURE-

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



Re: [Samba] initialise groups winbind making samba useless

2002-10-31 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 31 Oct 2002, Edward Mann wrote:

 I have posted with this error/bug before, so now i am back at it again.
 I am having a problem with samba, winbindd and groups. If a users is in
 a large number of groups i get the following error when they try to
 connect to the samba server
 
 Oct 31 18:00:44 localhost smbd[11086]: [2002/10/31 18:00:44, 0]
 smbd/sec_ctx.c:initialise_groups(244) 
 Oct 31 18:00:44 localhost smbd[11086]:   Unable to initgroups. Error was
 Operation not permitted 
...
 What other info do you need to help fix this problem. Even if someone
 would write me back and tell me that i'm totally screwed, that would be
 better than nothing.
 
 I will say that this is the first time that i have posted a question to
 the net and no one could respond to it. Is this something that only i am
 having problems with?

Isn't there a limit of 32 secondary rgoups under linux 2.4 ?
Trying to remember exactly...




cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9wcNKIR7qMdg1EfYRAoWqAJ0WUauzjpi+8XKxdS9Jw2FTyz7PTgCg33BG
i7E1Xatfn7ygD9H5G2VOWtU=
=8a89
-END PGP SIGNATURE-

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



Re: [Samba] initialise groups winbind making samba useless

2002-10-31 Thread Edward Mann
Jerry, 

thanks for the info, you are right there is a limit of only 32. I am
going to see what problems it would cause if i changed this to something
a little higher.

Thanks again.

On Thu, 2002-10-31 at 17:56, Gerald (Jerry) Carter wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 31 Oct 2002, Edward Mann wrote:
 
  I have posted with this error/bug before, so now i am back at it again.
  I am having a problem with samba, winbindd and groups. If a users is in
  a large number of groups i get the following error when they try to
  connect to the samba server
  
  Oct 31 18:00:44 localhost smbd[11086]: [2002/10/31 18:00:44, 0]
  smbd/sec_ctx.c:initialise_groups(244) 
  Oct 31 18:00:44 localhost smbd[11086]:   Unable to initgroups. Error was
  Operation not permitted 
 ...
  What other info do you need to help fix this problem. Even if someone
  would write me back and tell me that i'm totally screwed, that would be
  better than nothing.
  
  I will say that this is the first time that i have posted a question to
  the net and no one could respond to it. Is this something that only i am
  having problems with?
 
 Isn't there a limit of 32 secondary rgoups under linux 2.4 ?
 Trying to remember exactly...
 
 
 
 
 cheers, jerry
  -
  Hewlett-Packard   - http://www.hp.com
  SAMBA Team-- http://www.samba.org
  GnuPG Key  http://www.plainjoe.org/gpg_public.asc
  ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
  I never saved anything for the swim back. Ethan Hawk in Gattaca
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.0 (GNU/Linux)
 Comment: For info see http://quantumlab.net/pine_privacy_guard/
 
 iD8DBQE9wcNKIR7qMdg1EfYRAoWqAJ0WUauzjpi+8XKxdS9Jw2FTyz7PTgCg33BG
 i7E1Xatfn7ygD9H5G2VOWtU=
 =8a89
 -END PGP SIGNATURE-
 

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



  1   2   >