Re: [Samba] Sharing GDI printers

2006-12-01 Thread Hans du Plooy
On Fri, 2006-12-01 at 08:51 +0100, Martin Zielinski wrote:
 Hello,
 
 you tell nothing about the software you're using
 (Samba version, cups ???, logs), so it's difficult to help you.

Sorry, I neglected.  It is samba-3.0.22-13.18 and cups-1.1.23-39 stock
standard on SUSE 10.1.   But I've seen it over and over on just about
every version of any distro I've used over the last few years.

Nothing useful in the logs.

 a) The paused printers may be paused by cups, if an error occurs.
 If you're using cups, then check the logs and try to change the error 
 policy of your print queue.
I'll look into that.

 b) GDI printers need bidirectional communication with the host. They 
 might ask the host to perform an operation and get the result back.
Thanks, this makes sense.

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


[Samba] Sharing GDI printers

2006-11-30 Thread Hans du Plooy
Hi guys,

Can someone explain why sharing a GDI printer (think Laserjet
1000/1005/1020 for example) is so unreliable?  I'm not moaning about
Samba - I just want to understand.

I have seen this several times.  I get the printer working fine under
Linux, then print to it through Samba, also fine.  But then I get a call
a day later we can't print and when I get there the printer is paused
(an no user has the privs to paus/resume it).

The last case, with a Laserjet 1000, after it paused the first time, it
simply wouldn't print again - ever.  It could still print directly from
the Linux box, but not through Samba.

I also noticed that these printers wouldn't work properly through a
hardware print server.

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


[Samba] Samba + Mac OS 9

2006-10-30 Thread Hans du Plooy
Hi guys,

Is there anything out of the ordinary I have to do for an OS 9 Mac to be
able to talk to samba?  When I try connect to server (or something
like that), it doesn't matter in what format I enter the IP address - I
simply cannot connect to it.

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


Re: [Samba] Problems on FC4 with roaming profiles

2006-10-12 Thread Hans du Plooy
On Thu, 12 Oct 2006 07:25:45 +0100, Alan Goodman [EMAIL PROTECTED]
wrote:
 Hans du Plooy wrote:
 Did you check how large the roaming profiles are?  If they are large
 then investigate what is causing the extra size.

Yes, as mentioned in my original mail, the profiles are no bigger than 2GB. 
This is large, but I have other clients who have profiles of up to 6GB.  Sure,
they take long to logon/logoff, but not this long and they don't not finish,
like these ones do.

Thanks
Hans

smb.conf:

# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-10-05
[global]
# Identification
workgroup = DOMAIN
netbios name = SERVER
server string = Associated Magazines Server JHB

# Networking
interfaces = 192.168.2.1/24
#include = /etc/samba/dhcp.conf
domain master = yes
local master = yes
preferred master = yes
wins support = yes
# os level default is 65
os level = 99

# User management and security
username map = /etc/samba/smbusers
map to guest = Bad User
security = user
add machine script = /usr/sbin/useradd  -c Machine -d /dev/null -s 
/bin/false
%m$

# Logon  Domain settings
domain logons = yes
logon path =  \\%N\Profiles\%U
logon home = \\%L\%U
logon drive = H:
#   logon script = netlogon.bat

# Password management
passdb backend = smbpasswd
passwd program = /usr/bin/smbpasswd %u
unix password sync = yes
encrypt passwords = yes
#   passwd chat = *New*password* %n\n *Please*retype*new*password* %n\n
*password*successfully*updated*

# Logging
log level = 2
syslog = 0

# Printing
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
#printer admin = @ntadmin, root, administrator


[netlogon]
path = /home/shares/netlogon
write list = @ntadmin
read only = Yes
browseable = no

[homes]
comment = Home Directories
valid users = %S
browseable = no
read only = no
inherit acls = yes
create mask = 0664
 directory mask = 0775

[profiles]
comment = Network Profiles Service
path = /home/shares/profiles
read only = no
store dos attributes = yes
create mask = 0600
directory mask = 0700

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
use client driver = yes
printer admin = root, Administrator, jcurtis

# Custom Shares

[Technical]
comment = Software, drivers, etc
path = /shares/technical
browseable = yes
valid users =
read list =
write list = administrator

[Shared]
comment = General share
path = /shares/shared
browseable = yes
valid users =
writeable = yes
create mask = 0777
directory mask = 0777

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


[Samba] Problems on FC4 with roaming profiles

2006-10-11 Thread Hans du Plooy
Hi guys,

I do seme help-out work for a company whose IT guys setup a FC4 box with
Samba (fully up to date via YUM) running as a DC.  The client desktops
are all identical (at least after they got stolen and replaced).
Profiles are roaming, so the users can log on on any machine.  The
software they run is fairly limited - Office 2003, Outlook with
Communigate Pro plugin, Norman antivirus, Adobe reader.  That's about
it.

The problem is that logging in gets slower and slower, logging out even
more so and on a lot of machines just never finish.   I have moved My
Documents out of the profile and into the mapped home shares, to
bring down the size of the profiles.  This helps a little, but before
long it slows down again.  There is only one more thing I can think of -
somehow cause samba to exclude the Outlook offline store (in
$profile/Application Data/Microsoft/Outlook/Outlook/) but even if I
delete it, log out, login to the server, make sure it's deleted there,
log in again on the workstation, and logout without opening Outlook (so
that store isn't created again), I still get the same problem.  Still,
the profiles tend to be under 2GB.

The domain users have no prevs on their machines, so they can't mess up
Windows.

What bothers me even more is that I have the exact same smb.conf on a
number of SUSE (9.1 through 10.0) and Debian Sarge/Etch servers, and on
those networks I never have this problem, even where the machines are
all different, use various bits of different software, the domain user
account have local admin prevs, and profiles are up to 10GB.

Is there any reason for this to happen?  Is it just FC4's samba that's
buggy (like just about everything else seems to be on FC4) or is there a
real cause for this?

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


Re: [Samba] File size limit of 2Gb ish ?

2006-05-20 Thread Hans du Plooy
On Sat, 2006-05-20 at 23:32 +0100, Dave S wrote:
 I am using 2.6.12 kernel, fat 32 on windows but not on my other ubuntu 
 machine :)

If memory serves me right, fat32 doesn't support larger than 2GB.  Also,
as far as I remember, if you mount with smbfs, there was an option
(lfs maybe) that supports files of 2GB+ on the client side.

Hans

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


[Samba] When to restart or reload

2006-05-10 Thread Hans du Plooy
Hi guys,

Is there a guide somewhere out there outlining when one should restart
samba, and when one should reload?

Thanks
Hans

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


Re: [Samba] file transfer problem

2006-04-22 Thread Hans du Plooy
On Mon, 2006-04-10 at 22:14 -0500, Elvar wrote:
 I'm having a problem copying large amounts of data from our Win2k3 
 server to a samba share on the samba server. I've turned debugging on in 
 the smb.conf file all the way up to level 10 and I still do not see what 
 is causing my file transfers to abort. It consistently aborts copying 
 files as small as 10 gigs even. I've read through the performance tuning 
 section in the handbook and tried those options, but I'm still not 
 having any luck. I tried copying the same data using ftp instead and did 
 not have any problems so I do not think there is a physical networking 
 problem. If anyone has any suggestions I would greatly appreciate them.

Elvar, have you had any luck with this?  I'm having the same problem.
NTbackup can write an 82gb file to the samba box, but I cannot copy it
back to the Windows 2000 server to put it on an external drive to take
it off-site.

It doesn't happen between two win2k servers, and if I mount the samba
share on another linux server, it also doesn't happen.  But it happens
between windows and samba, which leads me to believe it's an
interoperability issue of sorts.

I've updated the kernel, the network card driver (tg3 for a broadcom
gigabit) as well as samba.

Something else I notice, is if I copy via the samba server's onboard
crappy 100mbit network, the problem doesn't occur.  So I wonder if
there's a transfer setting of sort that causes problems at high transfer
rates that needs to be backed off a bit?

Thanks
Hans

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


[Samba] Transfer interruptions

2006-03-22 Thread Hans du Plooy
Hi guys,

Setup is as follows:
SUSE 9.3 with all patches applied
samba-3.0.13-1.1
kernel-default-2.6.11.4-21.11

Network card is:
Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15)
using the tg3 driver.

From time to time I see this in my log.smbd:

[2006/03/23 01:03:57, 0] lib/util_sock.c:read_socket_data(384)
  read_socket_data: recv failure for 4. Error = Connection reset by peer


When this is logged any transfers get interrupted, and I can momentarily
not connect to any shares.

Is this a software or hardware issue?  I'm not sure where to start
looking.  I left an scp operation on overnight to see if that gets
interrupted too.  Unfortunately the file that needs to get shipped
accross is 80gb and the scp happens between a 1.6 P4 and a 2.0 Xeon -
not the fastest pair.  Will see what it does.

Thanks
Hans

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


[Samba] WINS and isolating groups

2005-12-10 Thread Hans du Plooy
Hi guys,

I'm planning a fileserver for around 12 small companies (two to five
people each) who share one buidling/office and all IT resources.

Since I'm not responsible or involved in the client support, I want to
prevent the different companies from seeing each other's PCs through
network browsing, for example, company A consists of Joe, Mary and Pete,
and Company B consists of Gary, Willy and Sue.   Members of Company A,
when they open their Network neigbourhood shouls see only Joe, Mary,
Pete and Server, and members of Compayn B should on see Gary, willy Sue
and Server.

Is this possible?  I have read of a WinNT4 setting - Wins scope (or
something like that) but I can't find something similar in samba's
manpages.

This will not be a domain controller, just a file server.

Thanks
Hans

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


Re: [Samba] Re: MS SQL server and samba

2005-10-09 Thread Hans du Plooy
On Sunday 09 October 2005 03:47, jamrock wrote:
 Note that most people use Enterprise Manager to backup from SQL to the
 local drive.  They then use backup software to backup from disk to tape or
 disk to disk.

Thanks for the link - gives me an idea of where to start hacking on it.

We are actually using another product, Cortex Backupassist, which works like a 
charm and has no problem backup up to a samba share.  But the guys who set up 
the SQL server before us had Enterprise Manager do the backups to local disc. 
These backups are now getting to big, and fill up the disc with every round.  
And for the life of me I cannot get Enterprise Manager to delete that backup 
schedule.  So I thought, well, double backups isn't such a bad idea, I just 
need to get them diverted somewhere else...

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


[Samba] MS SQL server and samba

2005-10-08 Thread Hans du Plooy
Hi guys,

I setup a Samba box to act as a backup server (storage), for the windows 
servers to dump their backups on.   The MS SQL 2000 server won't see the 
samba box.  Windows it self does, but SQL not.  Even if I map a network path 
to a local drive, it still doesn't see it, so I cannot point the backups that 
way.

Is there any special trick to getting this to work?

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


[Samba] Domain client - win2k to win2k3

2005-08-22 Thread Hans du Plooy

Hi guys,

I have a samba box set up as a backup server for a bunch of windows 
servers, all part of a Windows 2000 Domain.   The DC is going to be 
upraded to Windows 2003 some time soon.


I just want to know, is there anything that needs to change on the samba 
box?


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


[Samba] samba + pptp

2005-05-10 Thread Hans du Plooy
Hi guys,

I have samba domain controller running at a client.  It's a fairly
simple and straightforward setup, uses smbpasswd for auth, nothing
fancy.

The client wants to be able to vpn in and access their files.  I setup
pptp, and use the built in WindowsXP client.

After establishing the vpn connection, I can access the domain
controller.  I get asked for my username and pass - type in DOMAIN\user
+ pass, and can see a list of the shares in explorer.  But I can't
access anything.  I just get a message saying something like I don't
have permission to access this resource (sorry, paraphrasing).

Has anybody done this sort of thing before?  Any tips?

Thanks

-- 
Kind regards
Hans du Plooy
SagacIT (Pty) Ltd
hansdp at sagacit dot com

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


[Samba] weird permission problem

2005-05-03 Thread Hans du Plooy
Hi all,

I setup a DC for a company who until now have been using standalone
WindowsXP Pro desktops in a workgroup.

Initially I just added the users, standard setup.  They all belong to
the group users.

Then they asked for a limited group to have access to the financial
folders.  So I added a group financial and limited access to users in
the financial group.

Now, for some reason, only the people in financial can print.

In my log.smbd file I see the user connect and it says authentication
succeeds, but the user gets an access denied.

Has anyone seen this behaviour before?  The setup is the standards SUSE
9.2 samba, with users in smbpasswd file.  I've used SUSE 9.2 for many
domain controllers before, all with printing, most with multiple groups,
and I've never seen this before.

Thanks
-- 
Kind regards
Hans du Plooy
SagacIT (Pty) Ltd
hansdp at sagacit dot com

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


Re: [Samba] weird permission problem

2005-05-03 Thread Hans du Plooy
On Tue, 2005-05-03 at 14:07 -0400, Michael Joyner wrote:
 Please supply smb.conf

[snip from global section]
# Printing
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
load printers = yes

[snip]
[printers]
browseable = no
printable = yes
path = /var/tmp
create mask = 0660
comment = All Printers
valid users = jake,mike,pete,ross,@users,@print
public = yes


zeus:~ # ls -lh /var/tmp
total 0
drwxrwxrwt   2 root root  48 May  3 20:27 .
drwxr-xr-x  15 root root 384 Apr 29 11:19 ..
zeus:~ #

group print contains all the users, same as group users

I've found a suggestion on google in the meantime to add
client driver = yes to my smb.conf file - will try that tomorrow

Thanks
-- 
Kind regards
Hans du Plooy
SagacIT (Pty) Ltd
hansdp at sagacit dot com

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


Re: [Samba] Files =2GB

2005-04-28 Thread Hans du Plooy
On Thu, 2005-04-28 at 10:49 +0200, Schreiber Martin wrote:
 Do i need to compile with option -m64 , or is the underlaying FS
 responseable for a successful
 action
I may be wrong, but as far as I know if the underlying filesystem can
handle large files, samba server will too.

Client is a different matter, you have to mount the shares with -o lfs,
but I'm not sure.  I've only had to do that once, when mounting a share
on an Win2k box.

Either ways, I copied a 2.5gb ISO image to a samba server using
konqueror's smb:// plugin, without any hassles.  It does report the
filesize incorrectly, though.

-- 
Kind regards
Hans du Plooy
SagacIT (Pty) Ltd
hansdp at sagacit dot com

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


Re: [Samba] NIS schema clash [solved]

2005-04-26 Thread Hans du Plooy
On Mon, 2005-04-25 at 18:15 -0400, Adam Tauno Williams wrote:
  There seems to be a conflict between schemas.  I get the following
  message when starting the ldap server:
  Starting ldap-server /etc/openldap/schema/nis.schema: line 40:
  Dubplicate attributeType: 1.3.6.1.1.1.1.0
 
 What attribute is this?  Have you looked at just commenting out the
 offending attribute in one of the files?  For instance, several schemas
 define displayName,  you just pick one to provide it.

Hi, I found the problem.  SUSE 9.2 Pro has a rfc2307bis.schema file too,
which contains everything that the nis.schema file contains, and a whole
lot more.  removing nis.schema thus has no ill-efect, but removing the
rfc2307bis one makes ldap complain about missing attributes from
samba.schema.  So nis goes. :-)

Thanks
-- 
Kind regards
Hans du Plooy
SagacIT (Pty) Ltd
hansdp at sagacit dot com

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


[Samba] NIS schema clash

2005-04-25 Thread Hans du Plooy
Hi list,

I'm trying to set up an OpenLDAP server to provide the goodies for samba
and postfix running on the same box - SUSE 9.2 Pro

The trouble start fairly early, unfortunately.  I'm following the
idealx.org documentation, which suggest using samba.schema as well as
inetorgperson.schema and nis.schema.  (John Terpstra's book suggest this
as well).

There seems to be a conflict between schemas.  I get the following
message when starting the ldap server:

Starting ldap-server /etc/openldap/schema/nis.schema: line 40:
Dubplicate attributeType: 1.3.6.1.1.1.1.0

If I disable the nis.schema, I don't get the error and openldap starts
cleanly.  Is it safe to disable the nis schema, or is it necessary for
samba?

Thanks
-- 
Kind regards
Hans du Plooy
SagacIT (Pty) Ltd
hansdp at sagacit dot com

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


[Samba] dhcp.conf

2005-04-21 Thread Hans du Plooy
Hi all,

I just want to double check.

include = /etc/samba/dhcp.conf

Does this the same as the ordinary /etc/dhcpd.conf or is it a different
file?   What should be the content be?

Searching google for /etc/SAMBA/dhcp.conf only brings up multiple
entries of the smb.conf line.

Thanks

-- 
Kind regards
Hans du Plooy
SagacIT (Pty) Ltd
hansdp at sagacit dot com

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


Re: [Samba] Email server

2005-01-24 Thread Hans du Plooy
On Monday 24 January 2005 22:59, Saad Ahmed wrote:
 The question is not really related to Samba but to Red Hat. I want to
 install some EMail Server program on my RH 9 so that I could use my Red Hat
 PC as email server. Do you guys know of any program that I can use?

http://www.postfix.org/lists.html is the mailing list you're looking for

-- 
Kind regards
Hans du Plooy
Newington Consulting Services
hansdp at newingtoncs dot co dot za
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 2.2 to 3.0.9 DC upgrade problems

2005-01-12 Thread Hans du Plooy
Hi all,

I just replaced a client's SUSE 8.0/Samba 2.2 DC with a SUSE 9.2/Samba 3.0.9 
DC.  Drives were giving trouble, and since that box was a first attempt at a 
linux DC there was a lot of room for improvement.

I copied the profiles and home directories over to the new machine, chowned 
them to the new users.  I also did extracted the securid from the old DC and 
set it to the new one (using the net command).  I expected the clients not to 
notice.  Oh dear...

First off, the Windows 98 clients, stupid as they are on a network, didn't 
notice at all.  But the Windows 2000 and Windows XP Pro ones had trouble.  
They all logged in fine, but they all had all sorts of weird problems.  For 
example, upon starting outlook, it did the whole 
install-the-user-specific-stuff routine you get when you run it for the first 
time.  I ended up having to rename the profile and have it create a new one.  
Lot's of unhappy users

Can anyone tell me what I did wrong?  My suspicion, in hindsight, is that the 
local copy of the profile on each client, belongs to the domain user, as 
identified by it's userid (I'm sure I've seen windows refering to a Unix 
user 514 or something similar before), and that the user id has changed 
(which it has - SUSE 8.0 maps users from 500 up, 9.2 from 1000 up).  Can 
anyone shed some light?

Thanks
-- 
Kind regards
Hans du Plooy
Newington Consulting Services
hansdp at newingtoncs dot co dot za
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 2.2 to 3.0.9 DC upgrade problems

2005-01-12 Thread Hans du Plooy
On Wednesday 12 January 2005 23:06, John H Terpstra wrote:
 You can recover the SID from the old system by running (for Samba-3):

   net getlocalsid

 You can set the SID on the new server by running:

   net setlocalsid S-1-5-21-X-X-XX

This I did - in fact, I was quite paranoid about it and checked it over and 
over just to be absolutely sure.

 Note: The SID must be the one you obtained from the old server.
 Additionally, you must ensure that each user has the same UID and GID as
 they were on old server.
I think this must have been the problem.  Do you refer to UID and GID withing 
samba, or the unix UID and GID?

Thanks
-- 
Kind regards
Hans du Plooy
Newington Consulting Services
hansdp at newingtoncs dot co dot za
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] LDAP+samba dc docs

2005-01-08 Thread Hans du Plooy
Hi John,(sorry for the personal reply, mistake on my part)

On Friday 07 January 2005 17:45, John H Terpstra wrote:
 What version of Samba are you using?
samba-3.0.9-2.1 standard that came with SUSE-9.2 Pro with all updates applied.  
LADP is openldap2-2.2.15-5

 What version of the Idealx scripts are you using? Where did you obtain it?
smbldap-tools-0.8.5 from idealx.org

 The version of the Idealx scripts must match the version of Samba you are
 using because there have been a number of schema changes over the 3.x
 series.
How do I know which version I should use for my Samba?  The pdf the idealx 
supplies only mentions samba-3.0.2

Thanks for the perl instructions.  I will try that now.  Our ADSL is down so 
I'm on dial-up - takes a bit of time, will report back later.

Thanks for all your help!
-- 
Kind regards
Hans du Plooy
Newington Consulting Services
hansdp at newingtoncs dot co dot za
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] LDAP+samba dc docs

2005-01-08 Thread Hans du Plooy
I managed to fix the Perl, it seems, I get the original error again :-) The 
tools are installed in /var/lib/samba/sbin/ and symlinked to /usr/sbin/
More on the error I get:

ncshans:/usr/sbin # smbldap-populate
Using builtin directory structure
adding new entry: dc=newingtoncs,dc=co,dc=za
failed to add entry: Bad file descriptor at /usr/sbin/smbldap-populate line 
388, GEN1 line 2.
adding new entry: ou=Users,dc=newingtoncs,dc=co,dc=za
failed to add entry: Bad file descriptor at /usr/sbin/smbldap-populate line 
388, GEN1 line 3.
adding new entry: ou=Groups,dc=newingtoncs,dc=co,dc=za
failed to add entry: Bad file descriptor at /usr/sbin/smbldap-populate line 
388, GEN1 line 4.
adding new entry: ou=Computers,dc=newingtoncs,dc=co,dc=za
failed to add entry: Bad file descriptor at /usr/sbin/smbldap-populate line 
388, GEN1 line 5.
adding new entry: ou=Idmap,dc=newingtoncs,dc=co,dc=za
failed to add entry: Bad file descriptor at /usr/sbin/smbldap-populate line 
388, GEN1 line 6.
adding new entry: cn=NextFreeUnixId,dc=newingtoncs,dc=co,dc=za
failed to add entry: Bad file descriptor at /usr/sbin/smbldap-populate line 
388, GEN1 line 7.
adding new entry: uid=Administrator,ou=Users,dc=newingtoncs,dc=co,dc=za
failed to add entry: Bad file descriptor at /usr/sbin/smbldap-populate line 
388, GEN1 line 8.
adding new entry: uid=nobody,ou=Users,dc=newingtoncs,dc=co,dc=za
failed to add entry: Bad file descriptor at /usr/sbin/smbldap-populate line 
388, GEN1 line 9.
adding new entry: cn=Domain Admins,ou=Groups,dc=newingtoncs,dc=co,dc=za
failed to add entry: Bad file descriptor at /usr/sbin/smbldap-populate line 
388, GEN1 line 10.
adding new entry: cn=Domain Users,ou=Groups,dc=newingtoncs,dc=co,dc=za
failed to add entry: Bad file descriptor at /usr/sbin/smbldap-populate line 
388, GEN1 line 11.
adding new entry: cn=Domain Guests,ou=Groups,dc=newingtoncs,dc=co,dc=za
failed to add entry: Bad file descriptor at /usr/sbin/smbldap-populate line 
388, GEN1 line 19.
adding new entry: cn=Print Operators,ou=Groups,dc=newingtoncs,dc=co,dc=za
failed to add entry: Bad file descriptor at /usr/sbin/smbldap-populate line 
388, GEN1 line 20.
adding new entry: cn=Backup Operators,ou=Groups,dc=newingtoncs,dc=co,dc=za
failed to add entry: Can't contact LDAP server at /usr/sbin/smbldap-populate 
line 388, GEN1 line 21.
adding new entry: cn=Replicators,ou=Groups,dc=newingtoncs,dc=co,dc=za
failed to add entry: Can't contact LDAP server at /usr/sbin/smbldap-populate 
line 388, GEN1 line 21.

Thanks
-- 
Kind regards
Hans du Plooy
Newington Consulting Services
hansdp at newingtoncs dot co dot za
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] LDAP+samba dc docs

2005-01-07 Thread Hans du Plooy
Hi John,

Thanks for your help and congrats on a great book - it's the best samba/ldap 
info I've seen so far!

I have gone through all the relevant stuff, but I'm getting stuck on the LDAP 
database initialisation.  With the smbldap tools I get a error that I thought 
had something to do with a missing perl module (net::ldap::ldif or something 
like that) - I downloaded and installed that, and managed to break my perl in 
the process, so I can't get that particular message again.

Nevertheless, I looked at the Alternative LDAP Database Initialization 
section in Appendix 5, assembled the script (I had trouble with it too but 
managed to edit it to work).  Now, trying out the line:

ncshans:/home/hansdp/ldap-setup # slapadd -c -v -l NEWINGTONCS.ldif

gives me:

slapadd: could not add entry dn=dc=newingtoncs,dc=co,dc=za (line=8): already 
exists
slapadd: could not parse entry (line=70)

I'm not sure about the first error, but regarding the second one, line 70 
looks like:

objectClass: sambaGroupMapping

I googled around and this seems to be a problem with whitespaces, mostly, but 
I checked every line.

Any idea why this is causing trouble?

Thanks

-- 
Kind regards
Hans du Plooy
Newington Consulting Services
hansdp at newingtoncs dot co dot za
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] LDAP+samba dc docs

2005-01-05 Thread Hans du Plooy
Hi,

Could someone please point me towards good documentation for setting up samba3 
as a DC and using ldap for authentication.  The part I'm having trouble with 
is setting up ldap in the right way, and the ldap docs are a bit confusing.

I'm also looking for good docs on upgrading a DC from samba2.x to samba3, 
while upgrading the whole OS (SuSE 8.0 to SUSE 9.2).  I have extracted the 
SID from the old box and figured out how to put it in the new one, but I'm 
not sure what else I have to look out for.

Any help or links would be appreciated

Thank you
-- 
Kind regards
Hans du Plooy
Newington Consulting Services
hansdp at newingtoncs dot co dot za
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] LDAP+samba dc docs

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

Hi Koenraad,

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

Thanks for your reply and to John H Terpstra

Dankie
-- 
Kind regards
Hans du Plooy
Newington Consulting Services
hansdp at newingtoncs dot co dot za
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba