RE: [Samba] samba loses its browse list

2005-07-04 Thread Guus Leeuw jr.
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:samba-
 [EMAIL PROTECTED] On Behalf Of Csere Matyas
 Cc: samba@lists.samba.org
 Subject: [Samba] samba loses its browse list
 
 hello
 
 i've asked this question a while ago, but noone could help me with it..
 ill try to give more detail in this message:
 
 so, there is a samba file server on our lan, and the clients are all
 windows XP's.
 when i start the samba server, it becomes the local/domain master, and
 starts to build up its browse list (i can see that from the browse.dat
 file, and when i browse the network i can see computers in it)
 but after some while, cant quite define the time, it loses the list
 (browsing then network doesnt show up computers, and the browse.dat file
 becomes EMPTY)
 
 anyone has a clue, what could be causing this?
 or, do you need any other information?

Please check your network. Seems that one of your XPs is becoming the master
browser. Please the nmbd logs on your samba server to know which box is
becoming the master browser. If it's an XP machine, check Microsoft website.
I seem to remember that there are two settings in Windows which will prevent
a Windows box becoming the master browser.

Cheers,
Guu
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.8/37 - Release Date: 01/07/2005
 

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


RE: [Samba] samba loses its browse list

2005-07-04 Thread Guus Leeuw jr.
 -Original Message-
 From: Csere Matyas [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 04, 2005 09:16
 To: Guus Leeuw jr.
 Cc: samba@lists.samba.org
 Subject: Re: [Samba] samba loses its browse list
 
 is it possible that it looses the master browser status, and it still
 thinks that it is the master browser? (which it does)
 

Unless there is some grave mistake in the sources, I wouldn't think so...
The master browser status is obtained via a competition protocol whereby the
server with the maximum free CPU cycles normally wins the competition, and
gets the status after which it will announce the new master browser.

Did you check following samba configuration flag:
* preferred master
This flag should be set to Yes so that the samba is most likely to become
master browser all the time.

Cheers,
Guus
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.8/37 - Release Date: 01/07/2005
 

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


RE: [Samba] Samba Compile Error on 3.0.7 and 3.0.8 Pre 1 on X64 Fedora

2005-07-04 Thread Guus Leeuw jr.
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:samba-
 [EMAIL PROTECTED] On Behalf Of Bent Vangli
 Sent: Monday, July 04, 2005 22:49
 
 It may be a compilatotor/linker error when assembler code is created, but
 it may as well be some some 32/64 bit spesific code creating this odd
 stuff. The generated assemblercode is deleted before I could investigate
 it, and I haven't the knowledge of how to keep it.

gcc -S source.c  source.S

Guus 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.8/37 - Release Date: 01/07/2005
 

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


RE: [Samba] Samba3 by example problems

2005-01-17 Thread Guus Leeuw jr.
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:samba-
 [EMAIL PROTECTED] On Behalf Of Angela Williams
 Sent: lundi 17 janvier 2005 17:34
 To: samba@lists.samba.org
 Subject: [Samba] Samba3 by example problems

[snipped]

 
 Be that as it may i then pressed on to checking the ldap database for per
 section 5 after ldap was stopped and started.
 root#  slapcat | grep -i idmap gave no output so idmap does not exist in
 the
 database.
 Then followed the instructions to create and ldif with the required ou for
 idmap but when I tried to run
  ldapadd -x -D cn=Manager,dc=rossmould,dc=biz -w not24get
  /etc/openldap/idmap.LDIF
 (All one line!)
 I got back
 ldap_add: Constraint violation
 additional info: structuralObjectClass: no user modification
 allowed
 
This is correct behaviour of (Open)LDAP ;)
The samba-docs is wrong here, though.
From the website:
dn: ou=Idmap,dc=abmas,dc=biz
objectClass: organizationalUnit
ou: idmap
structuralObjectClass: organizationalUnit

Remove the last line (structural...Unit) and rerun the ldapadd.
That should be it.


John,

Could you pls update accordingly? ;) TIA

Guus

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005
 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005

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


RE: [Samba] SWAT not running

2004-11-14 Thread Guus Leeuw jr.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:samba-
 [EMAIL PROTECTED] On Behalf Of Peter Discart
 Sent: dimanche 14 novembre 2004 13:44
 
 However, when I want to access the swat pages http://192.168.5.240:901
 http://192.168.5.240:901/

Did you check /etc/services whether there is an entry for 901 like:
swat901/tcp

Also does your (x)inetd listen to 901 to serve a swat service?

Cheers,
Guus


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

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


[Samba] XP to Samba PDC, permissions. Please give me a hand.

2004-07-13 Thread guus
Hello list readers,
 
After setting up a Samba PDC on Suse Linux prof. 9.1. I succeeded in making
my Windows XP prof. workstation a member of the Samba domain.
When I, after succesfully logging in to the domain from XP, create or copy a
file in my own user directory (guus) permissions on te linux machine are set
right, like here:
 
-rwxrwxr--+ 1 guus users 4 2004-07-13 23:16 /home/guus/test
 
However, when I create or copy a file in the share pub the rights look like
this:
 
-rwx--  1 guus users 4 2004-07-13 23:19 /home/pub/test
 
Although the create mask for the share pub is set to 0775 so the rights
should look like -rwxrwxr-x+.

The directories where these files are in have rights -rwxrwxr-x+ for user
guus en group users.
 
I tried almost everything including reading the official Samba 3 howto
reader and tried various configurations in smb.conf. Both by editing by hand
and by using the swat tool and restart Samba each time, renew login etc.

Unfortunately I couldn't solve this problem. Can anyone give me a hand
please?
 
Here is a listing of my smb.conf:
 
# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2004/07/13 22:20:22
 
# Global parameters
[global]
 workgroup = THNET
 server string = Samba
 interfaces = eth0, 10.0.0.130/24, lo
 bind interfaces only = Yes
 map to guest = Bad User
 passdb backend = smbpasswd:/etc/samba/smbpasswd
 guest account = guest
 passwd program = /usr/bin/passwd %u
 passwd chat = *password* %n\n *password* %n\n *changed*
 passwd chat debug = Yes
 username map = /etc/samba/smbusers
 unix password sync = Yes
 log level = 1
 log file = /var/log/samba/log.%m
 debug uid = Yes
 name resolve order = dns wins bcast host lmhosts
 socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY
 hostname lookups = Yes
 printcap name = /etc/printcap
 add user script = ldapsmb -a -u
 delete user script = ldapsmb -d -u
 add group script = ldapsmb -a -g
 delete group script = ldapsmb -d -g
 add user to group script = ldapsmb -j -u
 delete user from group script = ldapsmb -j -u
 set primary group script = ldapsmb -m -u
 add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s
/bin/false %m$
 shutdown script = ldapsmb --shutdown=
 abort shutdown script = ldapsmb --abortshutdown
 logon script = start.bat
 logon path = \\%L\profiles\%u
 logon drive = P:
 domain logons = Yes
 os level = 65
 domain master = Yes
 wins support = Yes
 ldap suffix = dc=domain, dc=com
 ldap ssl = no
 add share command = /var/lib/samba/scripts/modify_samba_config.pl
 delete share command = /var/lib/samba/scripts/modify_samba_config.pl
 socket address = 10.0.0.130
 write list = guus
 printer admin = @ntadmin, root, administrator
 create mask = 0777
 force create mode = 0775
 force security mode = 0770
 directory mask = 0777
 force directory mode = 0775
 force directory security mode = 0770
 hosts allow = 10.0.0.0/24, 127.0.0.1/24
 hosts deny = ALL
 printing = lprng
 print command = lpr -r -P'%p' %s
 lpq command = lpq -P'%p'
 lprm command = lprm -P'%p' %j
 lppause command = lpc hold '%p' %j
 lpresume command = lpc release '%p' %j
 queuepause command = lpc stop '%p'
 queueresume command = lpc start '%p'
 
[profiles]
 path = /var/lib/samba/profiles
 read only = No
 create mask = 0600
 directory mask = 0700
 
[netlogon]
 comment = Network Logon Service
 path = /var/lib/samba/netlogon
 browseable = No
 
[homes]
 comment = Home Directories
 read only = No
 create mask = 0755
 directory mask = 0755
 browseable = No
 
[users]
 comment = All users
 path = /home
 read only = No
 create mask = 0744
 directory mask = 0744
 inherit permissions = Yes
 guest ok = Yes
 veto files = /aquota.user/groups/shares/
 
[pdf]
 comment = PDF creator
 path = /var/tmp
 create mask = 0600
 guest ok = Yes
 printable = Yes
 
[printers]
 comment = All Printers
 path = /var/spool/samba
 guest ok = Yes
 printable = Yes
 browseable = No
 
[print$]
 comment = Printer Drivers
 path = /var/lib/samba/drivers
 write list = @ntadmin, root
 force group = ntadmin
 create mask = 0664
 directory mask = 0775
 printable = Yes
 
[pub]
 comment = pub
 path = /home/pub
 read only = No
 create mask = 0775
 security mask = 0775
 directory mask = 0775
 inherit permissions = Yes
 guest ok = Yes
 
[linux_docs]
 comment = Linux docs
 path = /usr/share/doc/
 
[mfc3820cn]
 path = /var/tmp
 printable = Yes

Thanks you very much in advance.

Guus


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


[Samba] Problem accessing protected resources from any platform

2003-12-19 Thread Guus Holshuijsen
Hi,

Here is my problem:

I set up Samba v2.2.8a on a linux host (RedHat Linux 8.0) for my workgroup.

My other hosts in the workgroup are Windows 2000 and Windows XP hosts and a 3COM 
firewall.

All directories that are not protected can be accessed by all users.

The workgroup uses encrypted passwords (using non ecrypted passwords does not solve 
the problem).

Samba is configured to synchronize the samba and linux passwords.

Samba is configured to be the WINS server.

The home directory (configured using the [homes] section in smb.conf) of none of the 
users can be accessed from any of the hosts, including the linux host.
The Windows hosts return the illegal password or unknown username error message, 
while the linux host returns NT_STATUS_WRONG_PASSWORD, when I try to log in with the 
correct username/password combination. The linux host returns NT_STATUS_LOGON_FAILURE 
when I try to log in with a correct username and a wrong password.

Does anyone recognize this problem? 
I tried everything I could think of, but nothing solved the problem.
I searched the mail archive 
I checked name resolution  WINS, DNS, DHCP

I'm lost

Thanks for any suggestions!
Guus

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